Sometimes we working with the fancy stuff like Azure Functions is not an option in certain project. Yet, what can we do with background tasks that we want to run outside the process of the web application? In Windows environments, Windows Service come in handy. But can i run a .NET 7 Minimal API webhook in a Windows Service? You'll find out in this video!
Join this channel to get source code access and other perks:
/ @codewrinkles
Running PowerShell in .NET Minmal API repo: github.com/gotmoo/MinimalApiP...
Also follow me here (especially if you are a self taught developer):
✅My other channel: / @danpatrascutech
✅Facebook: / danpatrascutech
✅Instagram: / danpatrascutech
✅TikTok: / danpatrascutech
Content
1. Intro: 00:00
2. Creating a Worker Service: 00:07
3. Publishing the project: 03:17
4. Deploying the Windows Service: 04:40
5. Creating A Minimal API service: 05:50
6. Publish and Deploy as Windows Service: 09:35
Негізгі бет Ғылым және технология Can I Run .NET 7 Minimal API in a Windows Service?
Пікірлер: 24