Is there a problem in using System.Web in a desktop application
I just added System.Web reference to a dll assembly, the assembly is for windows applications and for web applications.
IF the assembly will be deployed on a server, System.Web will be shared using GAC, a开发者_高级运维nd there is no overhead.
But what about windows clients. I am wondering if there are extra resources or any kind of problems when System.Web is loaded into memory?
Thanks
If the client only has the .Net Framework Client Profile installed. This could be a problem.
The Client Profile is the default installation on an end-user PC for .Net 4.
Normally Visual Studio is intelligent enough to warn you about this situation, but you need to set the "Target framework" to a "* Client profile" in the Properties of a project.
精彩评论