Since I'm new to ASP.NET and C# I would like to know if the file and folder structures of your Website/Application(Solution)
makes a difference when it comes to the Profile? I have those custom classes under App_Code, however the web.config,
aspx aswell as code-behind files are placed directly under the Website/Application(Solution) folder.. Did that make sense, lol?
1st_maza
Member
16 Points
27 Posts
Re: Profile and Custom Data Type
Jan 02, 2011 02:30 PM|LINK
I apologize for my grammar and sentence structures, lol.. but even with the following nothing can be found under Profile:
System.Web.HttpContext.Current.Profile.backEnd = null; (I get a redline under backEnd..)
backEnd can not be found under Profile and web.config has the following structure:
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0"/>
<profile>
<properties>
...
<add name="backEnd" type="BackEnd" serializeAs="Binary"/>
...
</properties>
</profile>
</system.web>
</configuration>
Since I'm new to ASP.NET and C# I would like to know if the file and folder structures of your Website/Application(Solution)
makes a difference when it comes to the Profile? I have those custom classes under App_Code, however the web.config,
aspx aswell as code-behind files are placed directly under the Website/Application(Solution) folder.. Did that make sense, lol?
Best regards
Richard