ASP.NET Core MVC controllers in separate assembly -


i'm using asp.net mvc core rc-2. have web project targeting full .net framework. have separate class library in solution, targeting full framework.

in class library, have controller, marked route attribute. have referenced class library web project. assembly references nuget package microsoft.aspnetcore.mvc v. 1.0.0-rc2-final.

it understanding external controller discovered automatically, e.g. http://www.strathweb.com/2015/04/asp-net-mvc-6-discovers-controllers/

however doesn't work me- browse url of route , blank page , doesn't hit controller breakpoint.

any ideas how working?

interestingly, seem work web projects targeting .net core framework, referencing class library targeting .net core. not web project targeting full framework, referencing standard .net class library.

note: mvc core supposed support kind of scenario without mvc<=4 routing overrides.

i believe hitting following known issue in rc2. https://github.com/aspnet/mvc/issues/4674 (workaround mentioned in bug)

this has been fixed since available in next release (unless ok using nightly builds)


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -