ASP.NET MVC 4 Replacement for ProfileCommon?
-
26-04-2021 - |
Question
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.
La solution
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.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow