Hi Guest
MobileUser
HomePage
Jobs
WalkIn
Articles
Agile
DotNet
WebServices
Mathematics
OOPS
WEB
SharePoint
Java
DataBase
Artificial Intelligence
BigData
Android
XML
Agile
Software
SEO
Science Techonlogy
Repository Questions
PHP
Frameworks
Server
Testing
HR
Java
TPF
Tutorial
Tools
Test and Papers
Silverlight
Science Techonlogy
----- Select Country -----
----- Select Location -----
----- Select Category -----
:) Latest Topic
Partner API
Composite API
Open API
Internal API
Composite API
Soap API
FullContact API
Amazon S3 API
Boss Mobile
Fujezone Mobile
Nokia Mobile
:) Hot Jobs
:) Latest Articles
Follow
Step to publish Web API on IIS Server?
Question Posted on 12 Oct 2021
Home
>>
API
>>
API Questions
>>
Step to publish Web API on IIS Server?
Step to publish Web API on IIS Server?
In below step first we will publish asp.net web api then will host on to the server. Below are the different steps to publish and deploy the Web API.
(1)First we will build ASP.NET web API project and solution in release mode.
(2)Now in next step we will right click on Web API project and click "Publish" menu as given in below screen
(3)In next step Publish Web pane is opened where we need to click on Profile tab on left. And there is "Select or import a public profile" in which you can either choose existing one or create new publish profile as in the below image
after that we will click on ok and move on the connection tab in publish web.
(4)In next screen we will get below screen where we choose the File System in publish method and choose desired location in Target Location which we will used to map IIS.
(5)Now we choose configuration mode Release as in the following image and click on Next button.
There are some options such as Delete all existing files prior to publish which means it delete all existing files in target location publish folder and create new files.
(6)Now we get publish preview which shows publish path and profile name.
Now click on publish button and all published files created at target location as in the following image
Now to Host below are the three step
(1)Open IIS by click inetmgr
(2)In the IIS manager, Right click on Sites under Connections pane as in the following image
(3)In last step we will put sitename,application pool and also physical path as gievne below
Now API IS ready for test
0
0
Input Your Comments Or suggestions(If Any)
Name
Email
(optional)
Comments
Other Important Questions
How to set only JSON output in WebApiConfig file in App_Start folder?
What are the five main symptoms of Bot Attacks on APIs
What do you mean by Rate Limiting in API?
Step to publish Web API on IIS Server?
Getting error in dotnet "EntityFrameworkCore does not exist in the namespace Microsoft"
Top Searches:
asp net questions
vb net questions
sql query
uddl questions
class
javascript Questions
sharepoint interview questions and concept
silverlight questions and concept
wcf questions
beans
general knowledge
ajax questions
PHP
|
Biztalk
|
Testing
|
SAP
|
HR
|
Privacy policy |
Terms and Conditions
| Blog
If the copyright of any questions or content or syntax belong to you email us we will remove that(info@crackyourinterview.com or crackyourinterview2018@gmail.com)
Home
About Us
GroupChat
Sitemap
Feedback
Contact us