WebApp with WebForms and MVC
Hello
I started developing a web site using ASP.Net web forms and custom user controls
We have in our team a new developer that is expert in MVC technology
I have two questions: is it possible to use both methods for continuing on the site developement?
I have installed the MVC 4 framework on our server: when i open the web app with Visual Studio and try to add a new item, I can't see from the list the MVC item. Do i have to (re)configure the project in some way?
Thanks
Diego
Diego,
I think this blog post is what you're looking for.
hi tim
thanks for your reply
i hope the solution will work for visual studio 2010 and sitefinity 6.3
best regards
diego
Hello,
You can use Sitefinity and MVC. We support three types of MVC usage: Classic, Pure and Hybrid, from which you can choose depending on the features you will need and the usage.
You can read more information about this in the documentation.
The MVC features in Visual Studio could be enabled using the blog post provided by Tim.
Regards,
Nikola Zagorchev
Telerik
Hello Nikola
I have read Tim's post together with a lot of other related threads also in other forums, and there are very different advices...
So, before starting, I would like to know if I have also to edit/add something in the web.config in order to activate the MVC framework and if I have to include dll to the SiteFinityWebApp references.
Thanks
Diego
Hello Diego,
Sitefinity supports ASP.NET MVC 4. We support only the Razor view engine and C# for MVC views. You can get more information from here. You can get ASP.NET MVC 4 for VS 2010 from here.
Regards,
Nikola Zagorchev
Telerik
Thanks, Nikola
I solved my problems
Regards
Diego