I have WEB API developed in .net core (VS 2017) I need to deploy this api in IIS. This is the procedure I have followed.
After it is finished , there are some files in the physical path. I have copied the files on to the server where it is supposed to be hosted.
In the server, this is what I have done.
There is a simple Get method in the API for now, where it just returns a string.
Say if the IP address of the server is 10.1.1.1 , this is the URL I'm using.
http://10.1.1.1/ABC/api/GetData
I'm trying this through postman. I'm getting 500 Internal server error.
When I follow the same process for Web API developed in .Net framework, it is working perrfectly fine.
Is there any step which I'm missing for .net core which I have to do.
Any help in this regard is highly appreciated.
You need to ensure the following:
For details check https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-2.2
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加