简体   繁体   中英

Avoid ProfileCommon creation in asp.net

I'm using asp.net profile functionality. I need to use some profile property names like "test/appname".

When I try to star the web application I get an error about invalid property name. I think the problem is the autogenerated profilecommon class.

I'm accesing profile properties with getters and setters so I don't need the profilecommon class

How can I avoid this class creation?

Is this a Website project or a Web Application project?

EDIT

How to assign Profile values?

Check the part about having to implement profiles yourself for the Web Project - also MVC AFAIK: http://www.codersbarn.com/post/2008/07/10/ASPNET-PayPal-Subscriptions-IPN.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM