ASP.NET MVC 4 Replacement for ProfileCommon?
-
26-04-2021 - |
Domanda
I am migrating a WebForms application to MVC. One of the core components of my application though is heavy use of the ProfileCommon class. My question is, how the hell do I get my existing Profile data from my database into my ASP.NET MVC controller? It looks like ProfileCommon isn't supported. At the same time, there isn't really a clear migration path.
Soluzione
Web application projects don't auto generate that file, check out http://weblogs.asp.net/joewrobel/archive/2008/02/03/web-profile-builder-for-web-application-projects.aspx and http://archive.msdn.microsoft.com/WebProfileBuilder.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow