Click here to Skip to main content
15,887,346 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionASP.net - Webforms - Dynamic controls Pin
tinaclement2-Mar-14 20:56
tinaclement2-Mar-14 20:56 
AnswerRe: ASP.net - Webforms - Dynamic controls Pin
Richard MacCutchan2-Mar-14 22:58
mveRichard MacCutchan2-Mar-14 22:58 
QuestionWindow.open Pin
Zeyad Jalil1-Mar-14 20:15
professionalZeyad Jalil1-Mar-14 20:15 
AnswerRe: Window.open Pin
Kornfeld Eliyahu Peter1-Mar-14 20:43
professionalKornfeld Eliyahu Peter1-Mar-14 20:43 
AnswerRe: Window.open Pin
jkirkerx2-Mar-14 9:19
professionaljkirkerx2-Mar-14 9:19 
QuestionPREVIEW ASP.NET PAGE ON A WEB BROWSER Pin
Member 106347491-Mar-14 0:15
Member 106347491-Mar-14 0:15 
SuggestionRe: PREVIEW ASP.NET PAGE ON A WEB BROWSER Pin
Richard Deeming3-Mar-14 0:50
mveRichard Deeming3-Mar-14 0:50 
QuestionMVC4 - WebMatrix.WebData.SimpleMembershipProvider vs System.Web.Security.MembershipProvider Pin
Swab.Jat27-Feb-14 17:17
Swab.Jat27-Feb-14 17:17 
So... with MVC4 and foreseeable future, you can't use
System.Web.Security.MembershipProvider 


And must extend your membership provide by inheriting from:
WebMatrix.WebData.SimpleMembershipProvider

or
WebMatrix.WebData.ExtendedMembershipProvider


I say you can't extend System.Web.Security.MembershipProvider because you'd run into the following error when "AccountController" calls "WebSecurity.Login":
"membership.provider" property must be an instance of "extendedmembershipprovider".


Am I understanding this correctly? You must now use WebMatrix SimpleMembershipProvider? - that System.Web.Security.MembershipProvider is obsolete in MVC space? that it's only suitable for web forms?

What's bothering me is, with SimpleMembershipProvider, you must call WebSecurity.InitializeDatabaseConnection at least once - what if I don't store my users in db? What if I just store my users in simple local csv? or xml file?

I think I found the answer here - new MVC 4.0 AccountController not compatible with old System.Web.Security.MembershipProvider.[^]. Thank you Uncle Soft! I so enjoy learning new patterns, especially when it does the same thing!

The new ASP.NET MVC 4 Internet application template AccountController requires SimpleMembership and is not compatible with previous MembershipProviders
You can continue to use existing ASP.NET Role and Membership providers in ASP.NET 4.5 and ASP.NET MVC 4 - just not with the ASP.NET MVC 4 AccountController
The existing ASP.NET Role and Membership provider system remains supported, as it is part of the ASP.NET core


modified 27-Feb-14 23:26pm.

QuestionWCF error, System.ServiceModel.CommunicationException the maximum message size quota for incoming messages has been exceeded Pin
littleGreenDude27-Feb-14 4:24
littleGreenDude27-Feb-14 4:24 
QuestionJQuery to get sum of testboxes values of each row in Repeater Control Pin
indian14326-Feb-14 11:30
indian14326-Feb-14 11:30 
AnswerRe: JQuery to get sum of testboxes values of each row in Repeater Control Pin
Ahmed Bensaid26-Feb-14 23:06
professionalAhmed Bensaid26-Feb-14 23:06 
GeneralRe: JQuery to get sum of testboxes values of each row in Repeater Control Pin
indian14327-Feb-14 5:50
indian14327-Feb-14 5:50 
QuestionClient side pagination is not working in jqGrid Pin
manishchourasia200026-Feb-14 1:16
professionalmanishchourasia200026-Feb-14 1:16 
AnswerRe: Client side pagination is not working in jqGrid Pin
Ahmed Bensaid26-Feb-14 2:33
professionalAhmed Bensaid26-Feb-14 2:33 
QuestionASP.NET Data Grid and Data List Click Event Pin
sivagiri126-Feb-14 1:04
sivagiri126-Feb-14 1:04 
AnswerRe: ASP.NET Data Grid and Data List Click Event Pin
Ahmed Bensaid26-Feb-14 2:30
professionalAhmed Bensaid26-Feb-14 2:30 
GeneralRe: ASP.NET Data Grid and Data List Click Event Pin
sivagiri126-Feb-14 17:43
sivagiri126-Feb-14 17:43 
SuggestionRe: ASP.NET Data Grid and Data List Click Event Pin
Ahmed Bensaid26-Feb-14 21:39
professionalAhmed Bensaid26-Feb-14 21:39 
Questionpassing value betwen pages Pin
tarzn24-Feb-14 5:47
tarzn24-Feb-14 5:47 
AnswerRe: passing value betwen pages Pin
Richard Deeming24-Feb-14 9:04
mveRichard Deeming24-Feb-14 9:04 
Questioncrystal report Pin
Member 1062089124-Feb-14 1:10
Member 1062089124-Feb-14 1:10 
AnswerRe: crystal report Pin
thatraja24-Feb-14 4:06
professionalthatraja24-Feb-14 4:06 
QuestionHow to develop a Website Pin
damiend12323-Feb-14 19:36
damiend12323-Feb-14 19:36 
AnswerRe: How to develop a Website Pin
Kornfeld Eliyahu Peter23-Feb-14 20:56
professionalKornfeld Eliyahu Peter23-Feb-14 20:56 
QuestionTransactions in Web applications Pin
Snesh Prajapati23-Feb-14 3:07
professionalSnesh Prajapati23-Feb-14 3:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.