Last post Jan 30, 2019 05:37 PM by PatriceSc
Jan 30, 2019 05:10 PM|bsashcraft|LINK
I am writing an ASP .Net Core Razor (Version 2.2) web application that is non-MVC.
I would like to integrate a CMS/Blog (using Markdown) into my application, but do not want to write one from scratch.
I want the Blog to reside in a /blog folder in my project.
My research shows me that there are several GitHub project available that I can integrate.
However, quite a few of them are MVC based.
My project is not MVC.
I do not understand how to integrate an MVC application into my non-MVC project.
Any guidance/resources appreciated.
Thanks in advance for your time!
Jan 30, 2019 05:27 PM|mgebhard|LINK
Add MVC and a route in Configure method.
If you are asking how to integrate ASP.NET MVC into ASP.NET Core then you need two different projects and perhaps share the auth cookie.
Jan 30, 2019 05:29 PM|bsashcraft|LINK
Yes, I'm asking now to integrate an ASP .Net MVC project into my ASP .Net Core Razor (non-MVC) project.
Thanks for the reference. I will take a look at it.
Jan 30, 2019 05:37 PM|PatriceSc|LINK
Another option could be to create a child application inside a parent site so that you can move each part separately. For example you have
https://marcstan.net/blog/2017/09/16/Asp.Net-core-sub-applications-in-IIS/ for how to fix problems it could cause.
If you prefer to have them in a single VS project I expect this to just work and I doubt you'll find some guidance about that. If unfamiliar with MVC try perhaps tocreate a MVC project and add Razor Pages to see what happens. If you need further help please
be more explicit about the first problem you have when trying.