All Questions
Tagged with dependency-injection pipelines
6 questions
1
vote
2
answers
910
views
Custom Dependency Injection for Sitecore pipeline processor with Ninject
I've implemented a custom Resolver for my Controllers for Ninject which works fine, however this is not working for pipelines.
How can I create a custom dependency Injection for Sitecore pipelines?
...
1
vote
2
answers
2k
views
Could not create object from service provider - Registering service using Dependency Injection
I have created an ItemNotFoundResolver and injected it after ItemResolver pipeline as follows :
public class ItemNotFoundResolver : HttpRequestProcessor {
private readonly ISitecoreEntityService ...
4
votes
1
answer
3k
views
Dependency Injection for Sitecore pipeline processor
We are using Castel windsor for DI in our Sitecore solution. Though we haven't done any IOC registration using Sitecore pipelines, It still resolves the Controllers. I'm fine with it. But the same is ...
10
votes
1
answer
420
views
Initialize service in pipeline to be available through one httprequest
We're using Sitecore 8.2, habitat.
I have a service that I need to use throughout a full HTTP Request. This service should be instantiated once (we use dependancy injection) and then be available ...
5
votes
1
answer
790
views
Getting an instance of BaseCorePipelineManager
In the Sitecore doc Configuring Federated Authentication there are instructions to generate the URL links to initiate Federated Auth -- the lines are:
using Sitecore.Pipelines.GetSignInUrlInfo;
/*
[.....
8
votes
1
answer
2k
views
Castle Windsor on Sitecore 8.2 using Glass Mapper v4
I'm trying to setup Castle Windsor for Dependency Injection in Sitecore 8.2 Solution which is using Glass Mapper v4. As noted, Castle Windsor is no longer part of Glass Mapper, and thus not included. ...