Reputation: 3515
Why does an assembly get created when I am building a web site? I mean a web site and not a web application.
Upvotes: 0
Views: 148
Reputation: 1039428
The difference is quite big. A web site is not compiled. Code is placed in the App_Code
folder and dynamically compiled by ASP.NET at runtime. A web application is precompiled meaning that you can place code wherever you want and it will produce an assembly at compile-time. You also get a project file .csproj associated with it.
Here's an overview on MSDN.
Upvotes: 3