In many cases, you’ll want to ship MVC controllers, possibly views or tag helpers, etc… as part of your class library. To do this correctly you’ll want to add your assembly to ASP.NET’s “Application Parts” on startup. Its quite simple to do but you might want to make sure you are not enabling all sorts of services that the user of your library doesn’t need.

Bharat Dwarkani shared on Sep 21, 2019
image
shazwazza.com
bookmarks
share
visibility4
visibility4 share bookmarks
add