(Complete ASP.NET MVC beginner alert!)
I have created a default ASP.NET application in Visual Studio 2019. When I deploy it (which by default deploys as Release), I notice that
<system.web><compilation/>
does not have a value for the
debug attribute, which I am guessing means this defaults to false?
When I do a Debug deploy, I get...
<system.web>
<compilation debug="true"/>
</system.web>
...which means I lose all the styling applied to the pages and they render using the default browser styles.
I am guessing that this is because the setting turns of the bundling and minimisation?
It feels to me like I need to have finer control over this. I imagine that having
debug set to false turns off a lot more than just bundling and minification? For example, is it possible to see what I see in my local IIS on the remote site and still see detailed ASP.NET errors?
I guess more generally I am just trying to get a handle on the best way of being able to debug code on the remote (development) IIS server.
What I have tried:
I've tried deploying as Debug and Release and done a comparison of the two deployed versions. The only difference between them is this one setting in
Web.config.