Startup.cs
6 posts about Startup.cs by 6 contributors.
Know Startup.cs? Share what you know with developers who are learning it.
- Articles
- 6
- Contributors
- 6
Articles about Startup.cs
- Article · Entity Framework
Configuring EF Core Database Connections in ASP.NET Core
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.
- Article · ASP.NET Core
Why Microsoft Merged Startup.cs and Program.cs in .NET 6: A Complete Explanation
Explains why .NET 6 unified Startup.cs and Program.cs, covering the minimal hosting model, reduced boilerplate, Minimal APIs, configuration, and migration trade-offs.
- Article · ASP.NET Core
What Is Startup Class And Program.cs In ASP.NET Core
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.
- Article · .NET Core
Resolving CORS Origin Using Custom Middle ware in ASP.Net Web API
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.
- Article · .NET Core
Creating a Model and Database in ASP.NET Core Razor Pages Using Entity Framework Core
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.
- Article · ASP.NET Core
Understanding The Role of Startup.cs File In ASP.NET Core Project
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.








