Closed PavelBansky closed 7 years ago
In principle, it should just work when you register both middlewares in the Startup class using app.UseNancy();
and app.UseDotvvm<...>();
. But I haven't tried that, so feel free to reopen the issue, if you have any specific problems.
I've created a simple demo app to show integration of Nancy and DotVVM in one app.
https://github.com/riganti/dotvvm-samples-combo-with-nancy
The sample is running OWIN and full .NET Framework.
For .NET Core, it will be even easier - jst add DotVVM.AspNetCore
package and register DotVVM services and middleware in Startup.cs
.
What is the right way to integrate dotvvm with NancyFx into web application.
Ideally I want to have dotvvm powered website with some REST API exposed via NancyFx
Thank you!