MENU

Fun & Interesting

Endpoint URLS in ASP NET Core | Getting Started with ASP.NET Core Series

Rahul Nath 2,274 8 months ago
Video Not Working? Fix It Now

Hello 👋 .NET 8 ASP NET Core apps listen on the URL http localhost 5000 ([http://localhost:5000](http://localhost:5000/)) by default However, you might need to override your app's default URLs or ports for various reasons. The standard ports might already be in use, or they might be needed for specific deployment scenarios, like configuring multiple applications on a single server or complying with network security policies. So, Let’s learn 8 different ways you can configure your ASP NET Applications URLs. 1. launchSettings.json 2. UseUrls() 3. WebApplication 4. Environment Variables for URLs 5. Environment Variables For Ports 6. Appsettings.json file 7. Command Line Arguments 8. Kestrel Options 🔗8 ways to set the URLs for an ASP.NET Core app - https://andrewlock.net/8-ways-to-set-the-urls-for-an-aspnetcore-app/ Additional Watching 📹User Secrets - https://youtu.be/PkLLP2tcd28 📹ASP NET Core Series -https://bit.ly/asp-net-core-series 📹CSharp Series https://bit.ly/mycsharp 📹AWS Series https://bit.ly/aws-net-series This video is sponsored by AWS and is part of my ASP NET Series. Come say hi! ✋ 🌍 Blog - https://rahulpnath.com/ ✉ Subscribe to my Newsletter - https://www.rahulpnath.com/subscribe 🐦Twitter - https://twitter.com/rahulpnath 📸Instagram - https://www.instagram.com/rahulpnath/ 🎥 Recording Setup and Workflow - https://www.rahulpnath.com/blog/youtube_setup_and_workflow/ Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!

Comment