2

Lets say I have an MVC project called Test123. When I publish it from VS in the bin folder I have all referensed non-global(?) DLLs and Test123.dll. What is the purpose of this last file? Can I safely delete it? I thought ASP.NET will compile the site on 1st access.

1
  • Thanks spender, just haven't noticed this feature ;) Commented Nov 25, 2010 at 0:23

1 Answer 1

8

Your assumption is wrong. In Asp.net MVC only the views are compiled on 1st access. The models and controllers will be precompiled into a DLL. Remove it, and your project will not run.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.