Web API Hosting issue


I created an web api application with .net 5 and trying to publish on my machine. I can not access my application after publishing. It shows me Internal server error with error code 0x8007000d. By googling I found this is URL-Rewrite issue. Then I install url-rewrite. But it still not working. Here is my web.config file:

<?xml version="1.0" encoding="utf-8"?>
  <location path="." inheritInChildApplications="false">
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      <aspNetCore processPath="dotnet" arguments=".\WebApplication5.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
<!--ProjectGuid: c1a20709-d2a2-4f99-a917-c45766f4e9aa-->

Please help me

asked on Stack Overflow Apr 4, 2021 by Nasir

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0