Hi. I need to read/write the table aspnet_Profile in a Windows forms.
I tried this solution https://www.codeproject.com/articles/290929/using-asp-net-profile-feature-in-a-web-application that works on web application, but not in Windows forms.
I have this exception
Eccezione non gestita di tipo 'System.TypeLoadException' in System.Web.dll Ulteriori informazioni: error load type 'KatalegaleAccountManager.wProfile' dall'assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
On the call
public static wProfileCustom GetProfile(string userName)
{
return (wProfileCustom)Create(userName);
}
Exists any possibility to read/write informations in Windows forms? thanks
matteo ghetti