Iain Buchananblog.buchanan.dev·Aug 4, 2022Entity Framework scaffolding with AutofacScaffolding is a great way to build an app or microservice around an existing database. Instead of writing "code first" models to match an existing database, you can run dotnet ef dbcontext scaffold ... and get all your tables and views in seconds. T...Discuss·172 readsefcore
Cecil Phillipcecilphillip.dev·May 31, 2017Refactoring dependencies with Autofac Aggregate ServicesIf you make considerable usage of constructor injection and the dependency inversion principle in your applications, you may eventually run into a situation where you have a fairly long list of dependencies that need to get provided to your class. Mo...DiscussAutoFac,
Cecil Phillipcecilphillip.dev·May 1, 2017Dependency Injection Conventions with ASP.NET Core 1.1 and AutofacWith the 1.1 release of ASP.NET Core, it has now become a little easier to configure 3rd party dependency injection containers into your application. Autofac.Extensions.DependencyInjection 4.1.0 was recently released with support for this new feature...DiscussAspnetcore