zaterdag, december 31, 2005

 

ASP.NET 2.0 Authentication API, Hell or tres belle?

I have 2 say, it´s not as easy as it looks to implement the new authentication controls. But once u get ur head around it, it works like a charm.

here some links and stuff u have 2 keep in mind:

!!! REMEMBER: THE ACCOUNT CREATING WEBCONTROL WONT WORK IN A PROTECTED FOLDER/FILE (web.config), you only get the 'cant show page' error with no extra info, drove me nuts to figure out!!

http://msdn2.microsoft.com/en-us/library/8ayhh5e2(en-US,VS.80).aspxhttp://msdn2.microsoft.com/en-us/library/yh26yfzy.aspx
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe
http://msdn2.microsoft.com/en-us/library/6e9y4s5t.aspx
http://fredrik.nsquared2.com/viewpost.aspx?PostID=353&showfeedback=true#feedbackhttp://forums.asp.net/1150474/ShowPost.aspx
only worked 4 me with (bug?):
minRequiredNonalphanumericCharacters="0"
http://aspnet.4guysfromrolla.com/articles/121405-1.aspxhttp://samples.gotdotnet.com/quickstart/aspplus/doc/authorization.aspx
http://weblogs.asp.net/scottgu/archive/2005/10/18/427754.aspx

ill post some webconfig and DB info later..