Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

Publishing a Web Api in IIS

$
0
0

Hi,

To publish an ASP.NET Core web service in IIS, I'm trying to get the steps sorted. I have it working on the development server and for testing I need to make that available on the same server. In Visual Studio it was running in IISExpress. During development I was running the API in HTTPS under IISExpress.

Now I want to put it into IIS and I'm having trouble. I did a build release and published to a folder on the file system. I created the folder as E:\ACL\WebApi and that is where is published to. In that folder are 5 files.

ACLWebApi.deps.json
ACLWebApi.dll
ACLWebApi.pdb
ACLWebApi.runtimeconfig.json
web.config

This server is Windows 2016 and has IIS installed and it is up and running and has other web applications on it. When I applied that and went in to change the settings on IIS, each module I double click on, I get a dialog box up that says

There was an error while performing this operation
Details:
Filename:\\?\E:\ACL\ACLWebApi\web.config
Error:

Any ideas?


Viewing all articles
Browse latest Browse all 555

Trending Articles



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