asp.netvs-web-application-project

how I can publish my web application and generate separate dlls?


I mean when I publish my web application asp.net publisher generate one assembly why ? I like to have different assembly. is it possible ?


Solution

  • While publishing, Asp.net compiles all your code files into a single assembly and uploads it with other UI files i.e .aspx or .cshtml. It does so to make your application precomplied for faster performance. Every .net project has a single assembly. If you want to factor your assembly then make different projects according to your liking for getting different dlls.

    For further information you visit this video link Deploying A Web Application Using Visual Studio 2010 Web Deployment Tool