0

Is it possible to have an ASP .NET MVC 3 project compiled into an assembly that an IIS site will import? I'd like to keep the .cs files off of the web server if I can help it. Ideally I would like to compile the views as resources into the assembly as well unless that can't (or shouldn't) be done.

So can MVC be separated this way?

1 Answer 1

1

Yes publish your app .... You should never deploy your .cs files .... Ever I would however keep your views as files.... Why take any additional overhead as compiled resources even if you could?

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.