In the webform world, when I set the debug flag by
<% Page Language="C#" Debug="true">.
This used to give me ability to look into the compiled .cs code. I want to do the same with MVC. I can locate and see the compiled dll, however, I don’t see any .cs file. I have set the Debug=true in the web.config. Any ideas what I might be missing?
It’s normal that you cannot see any .cs file in an ASP.NET MVC view and there shouldn’t be any. Views should contain only markup and no code at all. Code goes into controllers and models. ASP.NET MVC is just a different pattern than classic WebForms.