Trying to implement a WebAPI through DNN7 but it turned out not to be to easy. The work if I use the [AllowAnonymous] or no decorations at all (logged in as Host) but if I start to decorate my controllers/methods with stuff like [SupportedModules("ExploreSettings")] it never seem to work. In fact, it doesn't even work with the sample provided by Scott Schlesier here:
http://www.dnnsoftware.com/community-blog/cid/145174/services-framework-with-meat
No matter if I am logged in as host standing on a page with the ExploreSettings on it I will still get authentication error and am being asked for credentials. I've tried to amp up the loggin in log4net but can't really find anything useful there (log below). Any ideas? Routes etc should be fine as they do work with [AllowAnonymous]
Are there some actual documentation regarding the Service Framework or is a few year old blog posts all there is?
2015-12-07 23:10:58,907 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.MessageHandlers
2015-12-07 23:10:58,912 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.MessageHandlers
2015-12-07 23:10:58,915 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.MessageHandlers
2015-12-07 23:10:58,919 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.MessageHandlers
2015-12-07 23:10:58,923 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Request http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings
2015-12-07 23:10:58,936 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Controllers Route='controller:Settings,action:HostSettings'
2015-12-07 23:10:58,998 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Controllers Settings
2015-12-07 23:10:59,002 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Controllers
2015-12-07 23:10:59,006 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Controllers
2015-12-07 23:10:59,014 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Controllers ExploreSettings.SettingsController
2015-12-07 23:10:59,017 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Controllers ExploreSettings.SettingsController
2015-12-07 23:10:59,021 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Controllers
2015-12-07 23:10:59,028 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Action
2015-12-07 23:10:59,068 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Action Selected action 'HostSettings()'
2015-12-07 23:10:59,093 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Filters
2015-12-07 23:10:59,105 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Net.Http.Formatting Type='HttpError', formatters=[JsonMediaTypeFormatterTracer, XmlMediaTypeFormatterTracer, FormUrlEncodedMediaTypeFormatterTracer, FormUrlEncodedMediaTypeFormatterTracer, MediaTypeFormatterTracer]
2015-12-07 23:10:59,128 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Net.Http.Formatting Obtaining formatter of type 'JsonMediaTypeFormatter' for type='HttpError', mediaType='application/json; charset=utf-8'
2015-12-07 23:10:59,132 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Net.Http.Formatting Will use same 'JsonMediaTypeFormatter' formatter
2015-12-07 23:10:59,136 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Net.Http.Formatting Selected formatter='JsonMediaTypeFormatter', content-type='application/json; charset=utf-8'
2015-12-07 23:10:59,142 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Filters
2015-12-07 23:10:59,155 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Controllers
2015-12-07 23:10:59,160 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Request Content-type='application/json; charset=utf-8', content-length=unknown
2015-12-07 23:10:59,163 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.MessageHandlers
2015-12-07 23:10:59,166 [IMPROWISE_MBP15][Thread:44][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.MessageHandlers
2015-12-07 23:10:59,182 [IMPROWISE_MBP15][Thread:34][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.MessageHandlers
2015-12-07 23:10:59,190 [IMPROWISE_MBP15][Thread:34][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.MessageHandlers
2015-12-07 23:10:59,205 [IMPROWISE_MBP15][Thread:34][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Net.Http.Formatting Value='System.Web.Http.HttpError', type='HttpError', content-type='application/json; charset=utf-8'
2015-12-07 23:10:59,221 [IMPROWISE_MBP15][Thread:34][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Net.Http.Formatting
2015-12-07 23:10:59,231 [IMPROWISE_MBP15][Thread:34][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Controllers
2015-12-07 23:10:59,235 [IMPROWISE_MBP15][Thread:34][INFO] DotNetNuke.Web.Api.TraceWriter - GET http://dnn7.improwise.local/DesktopModules/ExploreSettings/API/Settings/HostSettings System.Web.Http.Controllers