Deploy ASP.NET Core Web API on IIS with Visual Studio 2022

Learn step-by-step how to deploy an ASP.NET Core Web API 9 on IIS using Visual Studio 2022. Perfect for beginners! πŸš€

Deploy ASP.NET Core Web API on IIS with Visual Studio 2022
Code Canvas With Touseef
6.5K views β€’ Jul 13, 2025
Deploy ASP.NET Core Web API on IIS with Visual Studio 2022

About this video

In this video tutorial, you'll learn how to deploy an ASP.NET Core Web API 9 to IIS (Internet Information Services) using Visual Studio 2022.
We’ll walk through everything step by step β€” from enabling IIS on Windows, publishing your project, configuring the IIS site, fixing common deployment issues, and successfully testing your API in a browser.

We’re using a real example project built in the previous video:
β€œ.NET 9 Web API CRUD Operations with Entity Framework Core”
https://www.youtube.com/watch?v=8coi05l-8DI&t=684s



Whether you’re new to hosting APIs on IIS or want to troubleshoot common errors like HTTP 500.19, 500 Internal Server Error, or SQL login issues, this tutorial will help you deploy smoothly.

πŸ•’ Timestamps:
00:00 – Introduction
00:15– What is IIS (Internet Information Services)?
01:10– How to enable IIS on Windows
02:00 – Open your Web API project in Visual Studio 2022
02:20– Publish the Web API project to a folder
03:10– Configure and add a new site in IIS
03:43– What is Application Pool in IIS
04:30– Test your API in the browser
04:40– Fix HTTP 500 / 500.19 errors (Hosting Bundle, Permissions, SQL issues)
07:10– Test your API in the Postman
07:45– Conclusion

πŸ”§ What You’ll Learn:
How to check if IIS is installed
How to enable required IIS features
How to publish an ASP.NET Core Web API
How to host and configure your API on IIS
What is Application Pool in IIS ?
How to troubleshoot deployment and runtime errors
How to test your API endpoint after deployment

πŸ”— If you found this video helpful, don't forget to Like, Comment, and Subscribe for more .NET Core, Web API, and full-stack development tutorials.

Watch My Other Videos

πŸ“Ή How to Containerize ASP.NET Core Web API 9 with Docker | Create Docker Image | Step-by-Step Guide
πŸ”— https://www.youtube.com/watch?v=dc3ATIJQaS4&t=51s

πŸ“Ή JWT Authentication in .NET 9 Web API | Access & Refresh Tokens | Complete API Testing using Postman
πŸ”— https://youtu.be/fZN9VhJh9ak

πŸ“Ή Multifield Dialog with Sling Model in AEM | AEM Component Development | AEM Tutorial#3
πŸ”— https://youtu.be/ih7uiD5dyJg

πŸ“Ή Build a New AEM Component from Scratch | Create AEM Component | AEM Tutorial#2
πŸ”— https://youtu.be/Zx-LLICqio8

πŸ“Ή .NET 9 Core Web API & EF Core Code First | Complete Tutorial | EF Migration
πŸ”— https://youtu.be/m_BJYeE-j34

πŸ“Ή How to Create a Setup .exe in Visual Studio 2022 Step by Step | Installer for C# Windows Forms
πŸ”— https://youtu.be/ROtDyb5tzz8

πŸ“Ή How to Use Swagger in .NET 9 | Install Swagger in .Net 9 | Step-by-Step Guide
πŸ”— https://youtu.be/Vh48XqZXf24

πŸ“Ή Top 8 SQL Server Query Optimization Tips | SQL Interview Tips
πŸ”— https://youtu.be/p_FuKOfdBq8

πŸ“Ή How to Bulk Insert CSV Data into SQL Server Database Table | Step-by-Step Tutorial
πŸ”— https://www.youtube.com/watch?v=DznD-Ixh2gU&t=39s

πŸ“Ή Understand SQL Window Functions with Real-World Examples | SQL Window Function | Top Interview Qs
πŸ”— https://www.youtube.com/watch?v=ZJGp6KtuTZQ

πŸ“Ή How to Create and Execute an SSIS Package in Visual Studio 2022 | Step-by-Step Tutorial
πŸ”— https://www.youtube.com/watch?v=tclXdZUVAuY&t=2s

πŸ“Ή Top 15 SQL Server Interview Queries | Popular SQL Queries for SQL Interview | Database Queries
πŸ”— https://www.youtube.com/watch?v=fwl3t-ImVB4&t=24s

πŸ“Ή 8 SQL Server Query Optimization Tips | SQL Interview Tips
πŸ”— https://www.youtube.com/watch?v=p_FuKOfdBq8&t=25s

πŸ“Ή Understanding Java Stream API with Examples
πŸ”— https://youtu.be/HAXj-CBrNGg

πŸ“Ή Cursor AI Tutorial for Beginners | AI Code Editor
πŸ”— https://youtu.be/VXSTtvOS9Dw


Thanks for watching!
#dotnetcore #aspnetcore #iisdeployment #webapi #visualstudio2022
#deploymenttutorial #iis #dotnetcorewebapi #crudoperations
#dotnet9 #codecanvas #touseefkhan #codecanvaswithtouseef #codecanvaswithtauseef

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

6.5K

Likes

91

Duration

8:24

Published

Jul 13, 2025

User Reviews

4.5
(1)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.