Antrium A35D

Bir sonraki için en iyisini yap...

ASP.NET Core does not support mixing hosting models

Çözümü Aşağıdaki kodda;

Web.config dosyamıza ;

        <?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="." inheritInChildApplications="false">
    <system.webServer>
      <handlers>
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      </handlers>
      <aspNetCore processPath=".\firma_CORE_V2.exe" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" hostingModel="OutOfProcess">
         <environmentVariables>
          <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
        </environmentVariables>
        </aspNetCore>
    </system.webServer>
  </location>
</configuration>

107 Okunma | 14.10.2023 22:52

YORUMLAR

Yorum Yaz
Hüseyin ÖZKAN Yazılım Uzmanı

C#,MVC,MSSQL,Windows Forms