Frot tarafı angular, back tarafı asp api yer alıyor. Sunucuya dosya yüklemeye çalışıyorum api ile. Localde çalışırken herhangi bir sıkıntı vermiyor. Gayet stabil çalıyor. Fakat hostinge atınca ekteki hatayı veriyor. web.config dosyam aşagıdaki gibi. Yardımcı olabilecek varsa sevinirim.
web.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<remove name="WebDAV" />
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".webapi.dll" stdoutLogEnabled="false" stdoutLogFile=".logsstdout" hostingModel="inprocess" />
<modules runAllManagedModulesForAllRequests="true">
<remove name="WebDAVModule"/>
</modules>
</system.webServer>
</location>
</configuration>
