Integration options for existing MVC applications

Posted by Community Admin on 04-Aug-2018 18:25

Integration options for existing MVC applications

All Replies

Posted by Community Admin on 26-Jul-2013 00:00

We have many custom WebForm and MVC applications in subfolders on our current website. What is the easiest options for integration with Sitefinity? Can they run alone in their subfolder or do they have to be integrate as modules or widgets? What are the differences? What is the fastest method? We'd need the same master page and navigation on the CMS and on the applications.

Thanks,
Ross

Posted by Community Admin on 30-Jul-2013 00:00

Hi Ross,

You can really do it any number of ways. The preferred method would be to create new widgets using Sitefinity Thunder. You can build standard widgets or mvc widgets. Note that our mvc widgets supprt asp.net mvc 3 and not 4.

You can, however, build your own mvc 4 widgets, and web forms if needed. At it's core Sitefinity is just a .Net project and you can interface with the code via Visual Studio like you would any .Net project. All of our content modules are supported by native and fluent apis, so you could programmatically create your pages and integrate them with the project. It's probably easier to create controls rather than pages, cause you could still register them in the backend and drag and drop them on to your pages, but you have your aspx files as well. You just create a Sitefinity page and have it redirected to it. 

Regards,
David C
Telerik
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 30-Jul-2013 00:00

Hi David,

Are there other options aside from rebuilding our applications as widgets? We've got over 80 applications stored as separate Visual Studio projects. They are deployed to the website separately. It's not feasible for us to rewrite all 80 as Sitefinity widgets. How else can we run them in sub-folders of the site and use the same master pages?

Cheers,
Ross

Posted by Community Admin on 31-Jul-2013 00:00

Hi Ross,

Sorry, I didn't do a very good job of explaining that clearly. Yeah, without knowing more about the inner workings of your web apps and forms, I'm confident that you can use them as is with Sitefinity.

Will they be integrated with the Sitefinity project or will you have them in an external web project or dll? 

Let me know and I will send you some documentation accordingly. 

Regards,
David C
Telerik
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 31-Jul-2013 00:00

Hi David,
All our applications are separate solutions in Visual Studio. We deploy them to their own sub-folders on the web server. We do a high number of small applications and they are a mix of webforms and MVC although going forward we will be strictly using MVC. The separated projects make it easier for our team to keep them organized. Our current CMS generates static pages which are FTP'd to the web server. In that process it generates webform master pages and MVC layouts with navigation that the applications use.

Thanks,
Ross

Posted by Community Admin on 01-Aug-2013 00:00

Hi Ross,

This might be of some use. Add DotNet MVC project as virtual directory under Sitefinity Website
 
There's really not much in the way of documentation for this as the sitefinity project is just a standard asp.net/c# project, so you can add separate projects to the solution as you normally would. You can ref your assemblies from that project and use them in SF just as you normally would.  

Let me know if you have any additional questions.

Regards,
David C
Telerik
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed