-
Notifications
You must be signed in to change notification settings - Fork 302
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
Refactoring for integration with IoC frameworks like AutoFac, Unity etc #2
Comments
affandar
added a commit
that referenced
this issue
Feb 8, 2016
shankarsama
pushed a commit
that referenced
this issue
Sep 3, 2019
* * Add DurableTask.ServiceFabric project. * Add Integration Tests. * Integrate with DTFx controllers. * Fixes: 1. Provide ability to store last N execution ids. 2. Provide ability to retun history (with the last event). 3. Fix Generic parameters for the stores. 4. Address code review comments. 5. Implement FabricService. * Provider IHasher interface to abstract hashing strategy. Create Register method. * Addressing code review comments. Listen for `ClientDisconnected` event. Merge both the event sources into single one. * Fix reported issue. * Address code review comments - Implement simple partition resolver, without local caching. * Fix duplicate orchestration issue. Refactor Event Source. * Introduce new interface `IServiceListener` to represent each listener… (#2) * Introduce new interface `IServiceListener` to represent each listener in StatefulService. This allows us to develop each listener separately. Migrate current codebase to consume the same. * Remove IOrchestrationsProvider interface. * Rename to AzureServiceFabric - Folders, CsProj files. * Rename Namespaces. * Add list of contributors. Update version. Address comments.
shankarsama
pushed a commit
to shankarsama/durabletask
that referenced
this issue
Apr 27, 2021
* * Add DurableTask.ServiceFabric project. * Add Integration Tests. * Integrate with DTFx controllers. * Fixes: 1. Provide ability to store last N execution ids. 2. Provide ability to retun history (with the last event). 3. Fix Generic parameters for the stores. 4. Address code review comments. 5. Implement FabricService. * Provider IHasher interface to abstract hashing strategy. Create Register method. * Addressing code review comments. Listen for `ClientDisconnected` event. Merge both the event sources into single one. * Fix reported issue. * Address code review comments - Implement simple partition resolver, without local caching. * Fix duplicate orchestration issue. Refactor Event Source. * Introduce new interface `IServiceListener` to represent each listener… (Azure#2) * Introduce new interface `IServiceListener` to represent each listener in StatefulService. This allows us to develop each listener separately. Migrate current codebase to consume the same. * Remove IOrchestrationsProvider interface. * Rename to AzureServiceFabric - Folders, CsProj files. * Rename Namespaces. * Add list of contributors. Update version. Address comments.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The idea is to be able to register an autofac container which can be used to resolve task orchestrations and activity instance objects.
In terms of the user model I was thinking that it should be similar to how Autofac integrates with Web API e.g:
http://blogs.msdn.com/b/roncain/archive/2012/07/16/dependency-injection-with-asp-net-web-api-and-autofac.aspx
Basically the dtfx exposes something like IDependencyResolver and then a separate package implements this for autofac and unit etc etc.
The text was updated successfully, but these errors were encountered: