New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

Web Api 2 with attribute routing

Return to previous page

  • 12/6/2014
  • 3464 Views

Question:

Fabian Maison long time ago

How to setup up web api 2 with attribute routing in DNN. It seems I am limited here. I managed to get all the binding redirects but calling the new GlobalConfiguration.Configure(WebApiConfig.Register) causes DNN's HttpControllerSelector to through a null reference even though I am using its standard "desktopmodules/<modulefolder>/API/controllername.

Web Api 2 with attribute routing

Fabian Maison
Fabian Maison long time ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member