Introduction
A review of layers, core components and the best design patterns in .NET Core
Code example
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers();
services.AddDbContext<AppDbContext>(options =>
options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
}
}
Comments (0)
No comments have been published yet.
Leave a comment
Your email stays private. Comments are published after review.