Copied to clipboard

Flag this post as spam?

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


  • Arie 224 posts 675 karma points
    Nov 23, 2012 @ 19:47
    Arie
    0

    System.Web.Routing - update when upgrading to 4.11?

    During my upgrade from 4.10 to 4.11 I noticed that the (new) 4.11 has an additional namespace in \views\Web.config:

    4.10:

      <system.web.webPages.razor>
        <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <pages pageBaseType="System.Web.Mvc.WebViewPage">
          <namespaces>
            <add namespace="System.Web.Mvc" />
            <add namespace="System.Web.Mvc.Ajax" />
            <add namespace="System.Web.Mvc.Html" />
            <add namespace="System.Web.Routing" />
    <add namespace="Umbraco.Web" />
    <add namespace="Umbraco.Core" />
    <add namespace="Umbraco.Core.Models" />
          </namespaces>

     

    4.11:

     

      <system.web.webPages.razor>
        <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <pages pageBaseType="System.Web.Mvc.WebViewPage">
          <namespaces>
            <add namespace="System.Web.Mvc" />
            <add namespace="System.Web.Mvc.Ajax" />
            <add namespace="System.Web.Mvc.Html" />
            <add namespace="System.Web.Routing" />
    <add namespace="Umbraco.Web" />
    <add namespace="Umbraco.Core" />
    <add namespace="Umbraco.Core.Models" />
    <add namespace="Umbraco.Web.Mvc" /> </namespaces>
        </pages>

    Should the namespace "Umbraco.Web.Mvc" be added during the upgrade?

Please Sign in or register to post replies

Write your reply to:

Draft