Is running Umbraco within an ASP.NET Core API possible?

PaxForce picture PaxForce · Aug 11, 2017 · Viewed 9.7k times · Source

Is it possible to utilize Umbraco with an ASP.NET Core API project? Can these two techs work together or do I have to use .NET 4.x ?

:::::::::::::::::::::::: UPDATE ::::::::::::::::::::::::

I accepted @mortenbock's answer, but I strongly suggest to people interested in this question to also read the comments below, where @Tseng has provided some very useful answers.

Answer

mortenbock picture mortenbock · Aug 13, 2017

Umbraco will not run on .Net Core in the current version 7.x

I believe they are working towards making it possible in version 9, which is still a long way off.

See the System requirements for Umbraco 8: IIS is still required and it will not run on ASP.NET Core

Shannon Deminick has been doing some PoC work on it: his blog post about "Umbraco CLI running on ASP.NET Core" has more details

You could use Umbraco as a headless CMS in a separate application, and then consume the content from you .Net Core application via REST or similar. At codegarden 2016 an example to use Umbraco CMS as an headless cms with custom frontend was shown