This is completely possible, in your new Class Library project you'll need to include a reference to UmbracoCms.Core and UmbracoCms.Web and you should be able to create all your controllers etc quite easily. I do this on a regular basis with API/Surface/RenderMvcControllers in order to seperate them from our core site project.
How to separate WebApi into a separate CL?
I would like to add a new Class Library and have all the Web API stuff sit inside this project for Umbraco 8 custom section calls.
How could I do this as I understand there a lot of references from Umbraco 8 that need to be included?
Thank you
Hi Linx,
This is completely possible, in your new Class Library project you'll need to include a reference to UmbracoCms.Core and UmbracoCms.Web and you should be able to create all your controllers etc quite easily. I do this on a regular basis with API/Surface/RenderMvcControllers in order to seperate them from our core site project.
Thanks
Nik
is working on a reply...