Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Mixing regular asp.net mvc pages

Vote:
 

Mixing regular asp.net mvc pages

Did anyone try this before? Best practice to share? 

Thanks.

Gary.

#196335
Edited, Aug 27, 2018 11:45
Vote:
 

Yes, we tried this before.

Our client wanted an Episerver solution where public content is created by editors and fetched from Episerver, and "closed content" section where data is fetched from 3rd party systems while header, footer, news feeds, etc. must be the same on both sections.

Instead of creating 40+ "empty" page types, we used standard MVC controllers. You still have access to IContentLoader and other Epi stuff which allows you to fetch and display Episerver content on non-episerver pages.

#196336
Aug 27, 2018 13:44
Vote:
 

Just remember that you need to take care of security yourself when using custom routing (that you need to do with ordinary pages).

Here you can see how I use it inside Epi, but it could be as public view pages as well

https://world.episerver.com/blogs/Henrik-Fransas/Dates/2016/11/extending-the-episerver-editor-interface/

#196337
Aug 27, 2018 14:55
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.