We are currently using VS 2013 to develop asp.net (silverlight) applications for multiple environments (dev / test / quality assurance / prod) and are currently using web conversion features when we publish assemblies.
We have several rows that are extremely large in master web.config (as in 400+ columns). We understand that for readability, the correct approach should be to split them into several lines, but in our particular case we would prefer that they remain as long as they are.
So, the problem is that if you publish and point to one of the publishing profiles using web conversion, then the resulting Web.Config file will not save one long line. During the conversion, it is automatically divided (wrapped in words) into several lines for easy reading. I understand why Microsoft does this, but I definitely thought that somewhere there would be a simple setup where we can turn off any "automatic formatting", "automatic word wrap", etc. However, I was not lucky to find him.
Another way to see the behavior without affecting the issue of full publishing is to right-click, for example, Web.Test.Config, in the Web.Config master record in the Solution Explorer, and select Transform Preview. Here you can clearly see how the converted version is an automatic formatting and puts line breaks in lines in the main website. A configuration that goes through a certain number of characters. We would like to disable this behavior if possible ... we want the actual values ββto change / transform, not formatting.
Does anyone know if this is possible, and if so, how to do it? Was this just a simple setup that we missed?
Finally, a few quick examples. If I run a βpreviewβ to see the changes when I go from our main website. Config to our Web.Test.Config, I see the following behaviors:
this line in the main web.config:
<add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=XXXXXXXXXXXXXXX"/>
turns this into the final published web.config:
<add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=XXXXXXXXXXXXXXX"/>
and this line in the main web.config:
<sessionState timeout="300"></sessionState>
turns this into the final published web.config:
<sessionState timeout="300"> </sessionState>
Thanks in advance for any help you can provide.