Seems quite standard so no. Does it work ? Options were added over time to the web.config file and in 4.0 it was moved again to the general machine.config file so that you can have a simpler web.config file.
The options you see is to generate the same HTML markup and client ids in case you would have code depending on that...
Member
4 Points
47 Posts
Changes in web.config when .net framework is upgraded to 4.0 from 3.5
Jan 12, 2018 08:32 AM|hardeshis|LINK
I have web application which was originally written in .net framework 3.5. I have changed .net framework to 4.0.
I noticed some changes in web.config file.
Under 3.5 I had <runtime /> section in web.config file. But when I changed to .net framework to 4.0, I can not see this section in web.config file.
I had under 3.5 framework,
But under 4.0 I have following,
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
-----------
Wanted to know about these changes. Do I need to add <runtime /> section and change <pages /> section like 3.5 framework?
All-Star
48690 Points
18171 Posts
Re: Changes in web.config when .net framework is upgraded to 4.0 from 3.5
Jan 12, 2018 08:41 AM|PatriceSc|LINK
Hi,
Seems quite standard so no. Does it work ? Options were added over time to the web.config file and in 4.0 it was moved again to the general machine.config file so that you can have a simpler web.config file.
The options you see is to generate the same HTML markup and client ids in case you would have code depending on that...
Edit: see https://msdn.microsoft.com/en-us/library/s57a598e.aspx#aspnet_core_services and "Web.config File Refactoring".
Member
4 Points
47 Posts
Re: Changes in web.config when .net framework is upgraded to 4.0 from 3.5
Jan 14, 2018 01:35 PM|hardeshis|LINK
Yes without <runtime> section and <pages> section as per 4.0 it's working fine.