background preloader

Coding

Facebook Twitter

WS-Federated Authentication Module Overview. Windows Identity Foundation [Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.] Windows® Identity Foundation (WIF) includes support for federated authentication in ASP.NET applications through the WS-Federated Authentication Module (WS-FAM). This topic is written to help you understand how federated authentication works and how to use it. Federated authentication allows a Security Token Service (STS) in one trust domain to provide authentication information to an STS in another trust domain when there is a trust relationship between the two domains.

<federatedAuthentication><! Data URL Maker, Data URL CSS Optimizer and the Data URL Toolkit. DATAURL.NET is home to some open source tools for creating and working with Data URLs (RFC 2397). Two of these tools are web-based and available here: Data URL Maker converts files to Data URLs.Data URL CSS Optimizer optimizes CSS files by embedding external images as Data URLs. Various modules, code examples and GUI/command line tools for UNIX systems are available in Downloads.

What are Data URLs? Data URLs are a Uniform Resource Identifier scheme that allow you to include data items inline in a web page as if they were being referenced as external resources. Data URLs are a form of Uniform Resource Locators, although they do not in fact remotely locate anything. Instead, the resource data is contained within the URL string itself as a base64-encoded string.

History The data URL scheme was defined in RFC 2397 specification of the Internet Engineering Task Force. What do Data URLs look like? Data URLs use the following syntax: data:[mimetype][;base64],[data] Advantages of Data URLs Maintainers. Online PNG optimizer. Visual jQuery 1.2.6. NirSoft - freeware utilities: password recovery, system utilities, desktop utilities.

How WebAPI does Parameter Binding - Mike Stall's .NET Debugging Blog. Here’s an overview of how WebAPI binds parameters to an action method. I’ll describe how parameters can be read, the set of rules that determine which technique is used, and then provide some examples. [update] Parameter binding is ultimately about taking a HTTP request and converting it into .NET types so that you can have a better action signature. The request message has everything about the request, including the incoming URL with query string, content body, headers, etc. Eg, without parameter binding, every action would have to take the request message and manually extract the parameters, kind of like this: public object MyAction(HttpRequestMessage request) { // make explicit calls to get parameters from the request object int id = int.Parse(request.RequestUri.ParseQueryString().Get("id")); // need error logic!

That’s ugly, error prone, repeats boiler plate code, is missing corner cases, and hard to unit test. Public object MyAction(int id, Customer c) { } Model Binding vs. . /? /? /? ASP.NET Image Resizing & Cropping Module for IIS - Free & Open Source. Dart: Structured web apps | DartLang.org.