If I understand your question correctly you want to use WebForms in your Umbraco 7.2.1 installation. It´s possible for you to do, but you need to make a change in to the UmbracoSettings.config. in the /Config folder in your Umbraco installation. Because from Umbraco version 7 iis run MVC as default.
umbraco 7.2.1
Hello,
I am using umbraco 7.2.1 , and I wanted to clarify if using :
<%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>
<asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">
</asp:Content>
in the template instead of @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{ }
has any impact on the website performance (the website is slower etc)
Thanks ,
kusum
Hi kusum,
If I understand your question correctly you want to use WebForms in your Umbraco 7.2.1 installation. It´s possible for you to do, but you need to make a change in to the UmbracoSettings.config. in the /Config folder in your Umbraco installation. Because from Umbraco version 7 iis run MVC as default.
Find the Mvcand set it to WebForms, documentation here: https://our.umbraco.org/documentation/Reference/Templating/Mvc/
There is also video on Umbraco showing it: http://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/installation/setting-up-the-rendering-engine/
You can still use Razor when you are using WebForms, don´t know if it has any website performance perhaps other knows this.
Hope this helps,
/Dennis
Hi Kusum
I think that MVC is supposed to be faster and more performant but webforms has been the default choice until v7 was released so webforms should be performant enough I guess - There is an article about Webforms vs. MVC performance here, which might be of interest http://www.codeproject.com/Articles/864950/ASP-NET-MVC-vs-ASP-NET-WebForm-performance-compari
/Jan
Thanks Dennis and Jan for your reply :).
You both got me right . I am using webforms in umbrao 7.2.1 template but i am using razor.
It's a combination of webforms and razor rather than webforms vs MVC.
Combinig webforms and razor slows my website ? (sorry to ask the same thing about the website performance :s)
Hi Kusum,
Yes, it will slow your site, why do you need to combine these technologies?
is working on a reply...