Rozšíření a úpravy web.config: Porovnání verzí

Z Prirucky
Řádek 1: Řádek 1:
Upravte soubor web.config
Upravte soubor web.config


místo
místo


<compilation targetFramework="4.0.0">
<compilation targetFramework="4.0.0">


vložte
vložte


<compilation targetFramework="4.6.1">
<compilation targetFramework="4.6.1">


Před poslední řádek v souboru web.config
Před poslední řádek v souboru web.config

Verze z 16. 3. 2020, 13:58

Upravte soubor web.config


místo

<compilation targetFramework="4.0.0">

vložte

<compilation targetFramework="4.6.1">

Před poslední řádek v souboru web.config

</configuration>

vložte níže uvedený text


<runtime>
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
      <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
      <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
    </dependentAssembly>
    <dependentAssembly>
      <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
      <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
    </dependentAssembly>
    <dependentAssembly>
      <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" />
      <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
    </dependentAssembly>
  </assemblyBinding>
</runtime>