New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate SDK to use new service registration and host builder pattern #1559

Open
fabiocav opened this Issue Feb 8, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@fabiocav
Member

fabiocav commented Feb 8, 2018

This is part of the larger DI work tracked by #1206

The goal for this issue is to track the following work:

  • Introduce the new host initialzation pattern (this follows the .NET Core/ASP.NET Core approach, also using the new Hosting feature)
    • New service registration and initialization pattern
      • Implement IHostedService
      • Register initial set of base/default services (this is the minimum required set, as additional changes will be done in subsequent commits/PRs)
    • New configuration/initialization pattern using IConfiguration and Options
      • Sample implementations using the options model
  • Required changes to existing core services, making them "DI friendly"
    • Changes to the SDK to work against core service abstractions instead of concrete implementations
  • IHostBuilder extension methods to simplify WebJobs use

@fabiocav fabiocav self-assigned this Feb 8, 2018

@fabiocav fabiocav added this to the Sprint 17 milestone Feb 8, 2018

@fabiocav fabiocav added the 3.x label Feb 8, 2018

@paulbatum paulbatum modified the milestones: Sprint 17, Sprint 18 Feb 21, 2018

@paulbatum paulbatum modified the milestones: Sprint 18, Sprint 19 Mar 7, 2018

@paulbatum paulbatum modified the milestones: Sprint 19, Sprint 21 Apr 4, 2018

@paulbatum

This comment has been minimized.

Member

paulbatum commented Apr 18, 2018

@fabiocav please break this up

@paulbatum paulbatum modified the milestones: Sprint 21, Backlog Apr 18, 2018

@hkusulja

This comment has been minimized.

hkusulja commented Dec 20, 2018

any progress / ETA on this?
We plan to use .NET Core with Dependency injection in Azure WebJobs and Azure functions ...

@paulbatum

This comment has been minimized.

Member

paulbatum commented Dec 20, 2018

@hkusulja I believe most of the work in this particular github issue is done and it needs to be closed. I'll let @fabiocav confirm when he's back from vacation. I will also let @fabiocav clarify which issue you should be tracking for your DI scenario.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment