(MVC) MVC (2018)

<<назад Web.config (Contoso University).

   1:  <?xml version="1.0" encoding="utf-8"?>
   2:  <!--
   3:    For more information on how to configure your ASP.NET application, please visit
   4:    https://go.microsoft.com/fwlink/?LinkId=301880
   5:    -->
   6:  <configuration>
   7:    <configSections>
   8:      <!-- 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" />
  10:    </configSections>
  11:    <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" />
  16:    </appSettings>
  17:    <system.web>
  18:      <compilation debug="true" targetFramework="4.7.2" />
  19:      <httpRuntime targetFramework="4.7.2" />
  20:    </system.web>
  21:    <runtime>
  22:      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  23:        <dependentAssembly>
  24:          <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
  25:          <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  26:        </dependentAssembly>
  27:        <dependentAssembly>
  28:          <assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" />
  29:          <bindingRedirect oldVersion="0.0.0.0-4.0.2.1" newVersion="4.0.2.1" />
  30:        </dependentAssembly>
  31:        <dependentAssembly>
  32:          <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
  33:          <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
  34:        </dependentAssembly>
  35:        <dependentAssembly>
  36:          <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  37:          <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  38:        </dependentAssembly>
  39:        <dependentAssembly>
  40:          <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  41:          <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  42:        </dependentAssembly>
  43:        <dependentAssembly>
  44:          <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  45:          <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  46:        </dependentAssembly>
  47:        <dependentAssembly>
  48:          <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  49:          <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  50:        </dependentAssembly>
  51:        <dependentAssembly>
  52:          <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  53:          <bindingRedirect oldVersion="1.0.0.0-5.2.4.0" newVersion="5.2.4.0" />
  54:        </dependentAssembly>
  55:      </assemblyBinding>
  56:    </runtime>
  57:    <system.webServer>
  58:      <modules>
  59:        <remove name="TelemetryCorrelationHttpModule" />
  60:        <add name="TelemetryCorrelationHttpModule" type="Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation" preCondition="integratedMode,managedHandler" />
  61:      </modules>
  62:    </system.webServer>
  63:    <system.codedom>
  64:      <compilers>
  65:        <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" />
  66:        <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+" />
  67:      </compilers>
  68:    </system.codedom>
  69:    <entityFramework>
  70:      <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  71:      <providers>
  72:        <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  73:      </providers>
  74:    </entityFramework>
  75:  </configuration>


Comments ( )
Link to this page: //www.vb-net.com/EF-missing-FAQ/Code/Web.config.htm
< THANKS ME>