How to deploy a .NET Web API in IIS

Опубликовано: 05 Сентябрь 2024
на канале: Remigiusz Zalewski
1,466
57

In today's vidIn this video, I'll guide you through the entire process of deploying a .NET Web API to IIS (Internet Information Services) on a virtual machine in Azure, setting up MSSQL Server, and exposing your API to the public. We’ll walk through everything from configuring IIS and deploying your app, to setting up MSSQL in the virtual machine, opening ports, and making the API accessible from other devices.

What you'll learn:
Setting up IIS – How to install and configure IIS on both local machines and virtual machines in Azure.

Publishing Your .NET Web API – A walkthrough on how to publish your .NET Web API from Visual Studio.

Deploying the API to IIS – Step-by-step instructions on deploying your application to IIS on your virtual machine.

Setting up MSSQL Server – How to install and configure Microsoft SQL Server on your Azure VM, and connect your Web API to the database.

Configuring IIS in Virtual Machines – Specific steps to set up IIS in Azure, bind your application, and configure authentication settings.

Opening Ports and Inbound Traffic Rules – How to open the necessary ports and configure firewall settings to allow external access to your API and MSSQL server.

Accessing the API and MSSQL from Other Devices – After setup, I’ll show you how to access your Web API and database from other devices, and how to troubleshoot common issues.

This tutorial is perfect for developers looking to deploy their .NET applications and MSSQL databases in a production environment and expose them for public access.

If you find this video helpful, don’t forget to like, comment, and subscribe for more tutorials!

Github repository:
https://github.com/RemigiuszZalewski/...

Timecodes:
00:00 - 00:58 Introduction
00:58 - 01:26 Web API used in video
01:27 - 04:51 Setup IIS for .NET (local PC/Virtual Machine)
04:51 - 09:30 Setup MSSQL in virtual machine
09:30 - 12:45 Publish and adjust .NET Web API
12:45 - 14:30 Create Site in IIS for .NET Web API
14:30 - 16:21 Setup .NET Web API in IIS Site
16:21 - 17:20 Inbound rules for .NET Web API (VM)
17:20 - 18:40 Inbound rules in Azure Virtual Machine NSG


Смотрите видео How to deploy a .NET Web API in IIS онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Remigiusz Zalewski 05 Сентябрь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,46 раз и оно понравилось 5 людям.