Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • k 255 posts 652 karma points
    Apr 23, 2015 @ 13:43
    k
    0

    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

     

  • Dennis Aaen 4457 posts 17970 karma points admin hq c-trib
    Apr 23, 2015 @ 13:53
    Dennis Aaen
    0

    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

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Apr 23, 2015 @ 13:56
    Jan Skovgaard
    0

    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

  • k 255 posts 652 karma points
    Apr 23, 2015 @ 14:19
    k
    0

    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)

     

     

     

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Aug 07, 2015 @ 13:45
    Alex Skrypnyk
    0

    Hi Kusum,

    Yes, it will slow your site, why do you need to combine these technologies?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies