Articles → ASP .NET CORE → Difference Between .Net 5.0 Core And .Net 6.0 Core
Difference Between .Net 5.0 Core And .Net 6.0 Core
Webapplication Class
Difference 1
Click to Enlarge
Difference 2
Click to Enlarge
Click to Enlarge
Difference 3
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}
// Read configuration
Configuration["ConnectionString"];
var builder = WebApplication.CreateBuilder(args);
// Read configuration
builder.Configuration[“ConnectionString”]
Difference 4
Click to Enlarge
Click to Enlarge