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! π

Code Canvas With Touseef
6.5K views β’ Jul 13, 2025

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
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) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.