Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:649460
More Search Options
RSS Available
Matching Posts
Re: changing default membership provider Programmatically c#
Have a look at http://jlchereau.blogspot.com/2008/11/how-to-configure-membership-provider.html You may also be interested in: http://www.velodoc.com http://www.memba.com
Posted to
Security
(Forum)
by
jlchereau
on 11/28/2008
Re: Switching between membership and Role providers programmatically
Have a look at http://jlchereau.blogspot.com/2008/11/how-to-configure-membership-provider.html You may also be interested in: http://www.velodoc.com http://www.memba.com
Posted to
Security
(Forum)
by
jlchereau
on 11/28/2008
Re: ASP.NET Membership and User Password Hashing (SHA1) Issues
This is how Microsoft does it: public string EncodePassword( string pass, string salt) { byte [] bytes = Encoding.Unicode.GetBytes(pass); byte [] src = Encoding.Unicode.GetBytes(salt); byte [] dst = new byte [src.Length + bytes.Length]; Buffer.BlockCopy(src, 0, dst, 0, src.Length); Buffer.BlockCopy(bytes, 0, dst, src.Length, bytes.Length); HashAlgorithm algorithm = HashAlgorithm.Create( "SHA1" ); byte [] inArray = algorithm.ComputeHash(dst); return Convert.ToBase64String(inArray); } Jacques
Posted to
Security
(Forum)
by
jlchereau
on 11/27/2008
Re: Beta1 BUG: Forms authentication prevents access to the PageMethods proxy
Leonid, thx for your interest. It is obviously not the WebMethod attribute although it did work once, but broke again on the following day. I have found the solutions to the problem. See: http://jlchereau.blogspot.com/2006/12/aspnet-ajax-page-method-on-login-page.html
Posted to
ASP.NET AJAX UI
(Forum)
by
jlchereau
on 12/19/2006
DOCUMENTATION: PageMethods on login.aspx page requires setting location in web.config
I have spent quite some time on this one, so I deliver it here cos it should probably be documented. If you have a PageMethod on a login page of a web site which has forms authentication, you need to add the following to web.config: < location path = " login.aspx " > < system.web > < authorization > < allow users = " * " /> </ authorization > </ system.web > </ location > Otherwise the call to ~/login.aspx/yourStaticScriptMethod will fail. Hope this helps
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
jlchereau
on 12/19/2006
BUG: ASP.NET Ajax 1.0 RC incompatible with Google AdSense (with sample code)
Run the following page in IE7 and you will get a Javascript error: <% @ Page Language ="C#" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < script runat ="server"> </ script > < html xmlns ="http://www.w3.org/1999/xhtml" > < head runat ="server"> < title > Untitled Page </ title > </ head > < body > < form id ="form1" runat ="server"> < asp : ScriptManager
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
jlchereau
on 12/19/2006
BUG: New incompatibility between ASP.NET Ajax RC and Google Adsense
Run the following page in IE7 and you will get a Javascript error: <% @ Page Language ="C#" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < script runat ="server"> </ script > < html xmlns ="http://www.w3.org/1999/xhtml" > < head runat ="server"> < title > Untitled Page </ title > </ head > < body > < form id ="form1" runat ="server"> < asp : ScriptManager
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
jlchereau
on 12/19/2006
Re: Beta1 BUG: Forms authentication prevents access to the PageMethods proxy
I have identified the problem. My PageMethod was decorated with both [System.Web.Services.WebMethod] [Microsoft.Web.Script.Services. ScriptMethod ] Removing WebMethod solved the issue.
Posted to
ASP.NET AJAX UI
(Forum)
by
jlchereau
on 12/6/2006
Re: PageMethods
Rick, Convincing point of view, although a form with 50 input fields seems theoretical to me because it is not very user friendly. I should not have said "it does not makes sense" but I still do not like it. Despite the fact that you definitely have a point, I prefer the more stateless approach of parsing the fields on the client and feeding a Javascript object that is passed to the web service or page method as you describe. Contrary to what you say, it is not needed to parse the object
Posted to
ASP.NET AJAX UI
(Forum)
by
jlchereau
on 10/24/2006
Beta1 BUG: Forms authentication prevents access to the PageMethods proxy
I am currently migrating my code from July CTP to Beta 1 I have a PageMethod in my forms autentication login page. It is used in the reset password section or the page to display the question corresponding to the email address that the user enters. This used to work in July CTP and it is broken in Beta 1 because the forms autentication prevents access to teh PageMethods proxy. Actually, calling http://localhost/login.aspx/js is redirected to http://localhost/login.aspx?ReturnUrl=%2flogin.aspx%2fjs
Posted to
ASP.NET AJAX UI
(Forum)
by
jlchereau
on 10/24/2006
Page 1 of 3 (24 items) 1
2
3
Next >
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
ASP.NET:
Hanselminutes Podcast 186: .NET Debugging 101 with Tess Ferrandez
TechNet Edge:
WinRE and free stuff with Sean Kearney
WindowsClient:
XslCompiledTransform and large template elements
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online