How to Organize the Program.cs File in Asp.Net Core Web API

Published: 05 August 2024
on channel: CodAffection
1,349
49

🍒 Related Videos
Role Based Authorization (Next Video):    • Authorization in Asp.Net Core Identit...  
JWT User Authentication (Prev. Video):    • JWT User Authentication in Asp.Net Co...  
User Registration (Part 1):    • User Registration in Asp.Net Core Ide...  
More .Net Core Web API Tutorials:    • Asp.Net Core Web API Tutorials  
(Angular & .Net Core API) Tutorials:    • Angular & Asp.Net Core API Tutorials  
(React & .Net Core API) Tutorials:    • React & Asp.Net Core API  
Asp.Net Core MVC Tutorials:    • Asp.Net Core MVC Tutorial  

📂 GitHub Repo
➤ https://bit.ly/4cb6ofZ

💖 Channel Support
➤ Paypal: https://bit.ly/3L36ut4
➤ UPI App: https://geni.us/ScanQRCode
➤ Amazon: https://geni.us/AmazonAffiliated

💌 For Business Inquiries
[email protected]

🚶‍♂️ Follow us
Facebook:   / codaffection  
Discord:   / discord  
Twitter:   / codaffection  

With the help of C# extension methods, we have organized the program.cs file in an asp.net core web API, including various minimal web API methods. and also injected an instance of AppConfiguration data.

following points are discussed in
00:00 - Organize builder.services
13:20 - Organize 'app' Methods
16:58 - Organize Web API Methods
25:34 - Best Practice in Reading AppSetting.json data

#aspnetcore #authentication #CodAffection


Watch video How to Organize the Program.cs File in Asp.Net Core Web API online without registration, duration hours minute second in high quality. This video was added by user CodAffection 05 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,349 once and liked it 49 people.