You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Move MvcApplication to the Microsoft.AspNet.Mvc assembly so that we can have a fallback for when the service provider isn't composed with MVC services. It'll make the following possible:
The code to fallback would look something like this:
publicMvcApplication(IServiceProvider services){_services=services;// Look for some marker that indicates if Mvc has be configured if(services.GetService<IActionSelector>()==null){_services=MvcServices.GetDefaultServices().BuildServiceProvider(services);}}
The check itself can change but we just need a way to figure out if the service provider is composed for mvc or not.
The text was updated successfully, but these errors were encountered:
Move MvcApplication to the Microsoft.AspNet.Mvc assembly so that we can have a fallback for when the service provider isn't composed with MVC services. It'll make the following possible:
The code to fallback would look something like this:
The check itself can change but we just need a way to figure out if the service provider is composed for mvc or not.
The text was updated successfully, but these errors were encountered: