Skip to content

Commit e438d5c

Browse files
upgraded .NET Framework v4.7.2 to v4.8
1 parent 31d560d commit e438d5c

File tree

2 files changed

+38
-29
lines changed

2 files changed

+38
-29
lines changed

aspnet-mvc-blog/Web.config

Lines changed: 36 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,83 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0"?>
22
<!--
33
For more information on how to configure your ASP.NET application, please visit
44
https://go.microsoft.com/fwlink/?LinkId=301880
55
-->
66
<configuration>
77
<configSections>
88
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
9-
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
9+
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
1010
</configSections>
1111
<appSettings>
12-
<add key="webpages:Version" value="3.0.0.0" />
13-
<add key="webpages:Enabled" value="false" />
14-
<add key="ClientValidationEnabled" value="true" />
15-
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
12+
<add key="webpages:Version" value="3.0.0.0"/>
13+
<add key="webpages:Enabled" value="false"/>
14+
<add key="ClientValidationEnabled" value="true"/>
15+
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
1616
</appSettings>
17+
<!--
18+
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
19+
20+
The following attributes can be set on the <httpRuntime> tag.
21+
<system.Web>
22+
<httpRuntime targetFramework="4.8" />
23+
</system.Web>
24+
-->
1725
<system.web>
18-
<compilation debug="true" targetFramework="4.7.2" />
19-
<httpRuntime targetFramework="4.7.2" />
26+
<compilation debug="true" targetFramework="4.8"/>
27+
<httpRuntime targetFramework="4.8"/>
2028
<authentication mode="Forms">
21-
<forms loginUrl="~/Admin/Login" timeout="60" />
29+
<forms loginUrl="~/Admin/Login" timeout="60"/>
2230
</authentication>
2331
</system.web>
2432
<runtime>
2533
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
2634
<dependentAssembly>
27-
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
28-
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
35+
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f"/>
36+
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
2937
</dependentAssembly>
3038
<dependentAssembly>
31-
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
32-
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
39+
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
40+
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0"/>
3341
</dependentAssembly>
3442
<dependentAssembly>
35-
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
36-
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
43+
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
44+
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
3745
</dependentAssembly>
3846
<dependentAssembly>
39-
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
40-
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
47+
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
48+
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
4149
</dependentAssembly>
4250
<dependentAssembly>
43-
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
44-
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
51+
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
52+
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
4553
</dependentAssembly>
4654
<dependentAssembly>
47-
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
48-
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
55+
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
56+
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
4957
</dependentAssembly>
5058
<dependentAssembly>
51-
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
52-
<bindingRedirect oldVersion="1.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
59+
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
60+
<bindingRedirect oldVersion="1.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
5361
</dependentAssembly>
5462
</assemblyBinding>
5563
</runtime>
5664
<system.codedom>
5765
<compilers>
58-
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
59-
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
66+
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>
67+
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
6068
</compilers>
6169
</system.codedom>
6270
<entityFramework>
6371
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
6472
<parameters>
65-
<parameter value="mssqllocaldb" />
73+
<parameter value="mssqllocaldb"/>
6674
</parameters>
6775
</defaultConnectionFactory>
6876
<providers>
69-
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
77+
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
7078
</providers>
7179
</entityFramework>
7280
<connectionStrings>
73-
<add name="BlogConnection" connectionString="Data Source=.;Initial Catalog=MVCBlog;Integrated Security=True" providerName="System.Data.SqlClient" />
81+
<add name="BlogConnection" connectionString="Data Source=.;Initial Catalog=MVCBlog;Integrated Security=True" providerName="System.Data.SqlClient"/>
7482
</connectionStrings>
7583
</configuration>

aspnet-mvc-blog/aspnet-mvc-blog.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<AppDesignerFolder>Properties</AppDesignerFolder>
1515
<RootNamespace>aspnet_mvc_blog</RootNamespace>
1616
<AssemblyName>aspnet-mvc-blog</AssemblyName>
17-
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
17+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1818
<MvcBuildViews>false</MvcBuildViews>
1919
<UseIISExpress>true</UseIISExpress>
2020
<Use64BitIISExpress />
@@ -25,6 +25,7 @@
2525
<UseGlobalApplicationHostFile />
2626
<NuGetPackageImportStamp>
2727
</NuGetPackageImportStamp>
28+
<TargetFrameworkProfile />
2829
</PropertyGroup>
2930
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3031
<DebugSymbols>true</DebugSymbols>

0 commit comments

Comments
 (0)