Add WebApi support to your sitecore mvc site
Enables support for custom WebApi controllers in a Sitecore 6 or 7.0 MVC website.
Install-Package Thehuijb.SC.EnableWebApi -Version 1.1.1
dotnet add package Thehuijb.SC.EnableWebApi --version 1.1.1
<PackageReference Include="Thehuijb.SC.EnableWebApi" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Thehuijb.SC.EnableWebApi --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
release without aborting pipeline
All that's needed for this to work is regestering the route, aborting the pipeline is useless, therefore I removed that part.
- Microsoft.AspNet.WebApi.WebHost (>= 4.0.30506)