Clarity, Technology, and Solving Problems | PracticeThis.com
WP7 App with Key Windows Azure resources – Slides, Videos, How-To’s, and T-shooting – for quick consumption on the go.
I have captured quick steps for creating Claims Aware ASP.NET Web Site that utilize ASP.NET Profile feature.
<profile enabled="true" defaultProvider="AspNetSqlProfileProvider"> <providers> <clear/> <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/> </providers> <properties> <add name="PostalCode" type="System.String"/> </properties> </profile>
string user = string.Empty; protected void Page_Load(object sender, EventArgs e) { user = User.Identity.Name; } protected void Button1_Click(object sender, EventArgs e) { Profile.PostalCode = Server.HtmlEncode(TextBox1.Text); } protected override void OnPreRender(EventArgs e) { base.OnPreRender(e); Label1.Text = Profile.PostalCode + " " + user; }
Volume 1 for Windows Identity Foundation (WIF) Questions & Answers is published. The idea is actively monitor different sources with questions and answers and expose it in coherent easy to find and read Q&A hubs.
This is the first batch of Q&A’s.
Azure AppFabric Access Control Service (ACS) v2 provides powerful feature of token transformation. It gives you ability to transform a token by adding new claims or changing claims that come with the original token. Consider the following generic architecture of ACS:
Notice that the token received from IdP (Identity Provider), colored green, is different from the token received from ACS, colored blue. The transformation is done by ACS and its behavior can be controlled by using Rules and Rule Groups.
Each rule describes specific transformation. Rules are not directly associated with your application. Rules aggregated into Rule Groups, Rule Groups applied to your application (Relying Party). Consider the following diagram:
The process of creating token transformation can be described be as follows: