Skip to main content
2 of 4
edited body

DXA 2.0: Switch to REST provider

I've set up the REST service (https://github.com/dd4t/DD4T.RestService.WebApi) to expose content, and would like to experiment with using the REST provider (https://github.com/dd4t/DD4T.Providers.Rest) to consume content within a DXA 1.2 application.

Struggling to find much documentation, but thought it was a matter of installing the REST provider NuGet package, and wiring up the dependency in the Unity configuration. Seems to be the case for a DD4T application, but (I could be wrong), with the DXA it's not so clear.

Is the DXA more tightly coupled with the SDLTridion2013sp1 provider, or can an alternative be used? If so, can anyone point explain how this is configured? Checking the code, even if I can inject the REST provider I think I need to configure the service endpoint in some manner as well.