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

Run WebApi on IIS express using command line

$
0
0

Hello!

I have two solutions: The one is a service [asp.net 5 API] and the other is the client [.NET console application]. I want the service will run every time I run the client.

I tried this command:

iisexpress /config:SERVICE_FOLDER\.vs\config\applicationhost.config

Or

iisexpress /config:SERVICE_FOLDER\.vs\config\applicationhost.config /site:My_SERVICE_NAME

The console show me an error.

I tried publish the solution and run it:

iisexpress /config: /path:PublishOutput\wwwroot

The IIS Express starts but when I call the service I get "HTTP Error 500.19 - Internal Server Error".

Thanks for any help!


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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