You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tools: Better ConfigureDesignTimeServices entry point #5617
Currently, if you want to configure design-time services (e.g. MigrationsCodeGenerator, DbContextWriter, EntityTypeWriter, etc.) you add a method named ConfigureDesignTimeServices to your Startup/Program/App class.
Instead, we should have a more structured approach similar to IDbContextFactory<>. We'll add an IDesignTimeServices interface. If there is an implementation of this interface in your startup assembly, we'll find it at design-time and use it to configure the design-time services.
changed the title [-]Commands: Better ConfigureDesignTimeServices entry point[/-][+]Tools: Better ConfigureDesignTimeServices entry point[/+]on Dec 12, 2016
Activity
divega commentedon Oct 17, 2016
Reopening to take through patch release approval.
@bricelam can you please put together a short paragraph explaining why we take this in 1.0.2?
cc @Eilon
bricelam commentedon Oct 18, 2016
Here is the commit of we'd like to take in the 1.0.2 patch: 85929c2
Eilon commentedon Nov 1, 2016
This patch is approved, please ensure it is merged into the correct branch and building as part of the patch train.
[-]Commands: Better ConfigureDesignTimeServices entry point[/-][+]Tools: Better ConfigureDesignTimeServices entry point[/+]