6 posts about Startup.cs by 6 contributors.
Know Startup.cs? Share what you know with developers who are learning it.
A complete guide to configuring database connections in ASP.NET Core using EF Core. Learn how to use IDesignTimeDbContextFactory, configure DbContext in Program.cs/Startup.cs, and use the OnConfiguring fallback method for design-time and runtime scenarios.
Explains why .NET 6 unified Startup.cs and Program.cs, covering the minimal hosting model, reduced boilerplate, Minimal APIs, configuration, and migration trade-offs.
Learn about the role of Program.cs and Startup.cs in ASP.NET Core applications. Understand their functions, including configuring the HTTP pipeline, middleware, and dependency injection. Explore various methods like ConfigureServices and Configure, along with middleware extensions like UseMvc and UseHttpsRedirection.
In ASP.NET Core, middleware is a component or piece of software that sits in the request-response pipeline. Middleware is used to handle or modify incoming HTTP requests and outgoing HTTP responses. It provides a way to add custom logic and behaviors to the application's processing flow.
In this article, you will learn how to create model and DbContext objects in ASP.Net Core razor pages using entity framework along with migrations.
This article will help you understand what is the role of the "Startup.cs" file in ASP.NET Core project, and in what ways it helps.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article