Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

.Net Core 2.0 App working on dotnet command, but not on IIS

$
0
0

Hi,

I have a simple api application that runs perfectly when executed using "dotnet app.dll" command, but does not work when published in local IIS.

dotnet --version = 2.1.4

I already tried to publish:
  - Using command "dotnet publish $ SolutionFilePath -c Release -o $ publishPath"
  - Using "Publish" of Visual Studio 2017

IIS configuration is the same as this -> https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?tabs=aspnetcore2x

Thanks


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>