I would like to stick to a class in a folder hierarchy. The script is too trivial to guarantee your own project or a separate website. However, I hate to prevent my top-level App_Code from being used by the tiny corner of the site.
Is there a way in web.config to include another file or folder in the compilation process?
<configuration> <system.web> <compilation> <assemblies> <add assembly="<AssemblyName>, Version=<Version>, Culture=<Culture>, PublicKeyToken=<PublicKeyToken>"/> </assemblies> </compilation> </system.web> </configuration>
It looks like you are using the type of project "Website". You might want to switch to the Web Application project type, which is more like a traditional project that allows you to have a much more flexible folder structure (the code can go anywhere, and App_Code is not a special folder).
"" / "" - -:
http://forums.asp.net/p/1233004/2232697.aspx#2232697
Source: https://habr.com/ru/post/1698907/More articles:Is there a concept for shared sessions in ASP.NET? - cachingЕсть ли что-то между обычной учетной записью пользователя и корнем? - pythonFile structure / architecture for AJAX site? - ajaxRuns as administrator sometimes - c #How to check if mod_rewrite is working - apacheWhat's new in Visual Studio 2008 vs 2005 or C # 3.0 vs C # 2.0? - c #Custom Collections - Still Worth the Extra Work? - performanceИспользуя код схемы для решения квадратного уравнения? - coding-styleDetect file system changes since last scan - filesystemsHow to find which character set the database is using - character-encodingAll Articles