From ef38ebcd1230404b9e5c62877e256aff7e95ad64 Mon Sep 17 00:00:00 2001 From: "alexander.beletsky" Date: Sat, 16 Apr 2011 16:16:36 +0300 Subject: [PATCH] implemented versioning of content based on assembly version --- .../Admin/Views/BlogManagement/AllPosts.aspx | 5 +-- src/Web/Areas/Admin/Views/Login/Index.aspx | 3 +- src/Web/Areas/Admin/Views/Shared/Admin.Master | 3 +- src/Web/Areas/User/Views/Dashboard/Index.aspx | 7 ++-- src/Web/Areas/User/Views/Share/Error.cshtml | 4 ++- src/Web/Areas/User/Views/Share/Index.cshtml | 4 +-- .../Areas/User/Views/Shared/Dashboard.Master | 12 ++++--- .../UrlContentWithVersionExtension.cs | 33 +++++++++++++++++++ src/Web/Views/Error/GenericError.aspx | 3 +- src/Web/Views/Login/Index.aspx | 3 +- src/Web/Views/Registration/Index.aspx | 5 +-- src/Web/Views/Registration/Mobile.cshtml | 7 ++-- src/Web/Views/Registration/Success.cshtml | 3 +- src/Web/Views/Shared/Public.Master | 5 +-- src/Web/Web.csproj | 1 + 15 files changed, 72 insertions(+), 26 deletions(-) create mode 100644 src/Web/Helpers/Extensions/UrlContentWithVersionExtension.cs diff --git a/src/Web/Areas/Admin/Views/BlogManagement/AllPosts.aspx b/src/Web/Areas/Admin/Views/BlogManagement/AllPosts.aspx index 9223641..4c9f8a7 100644 --- a/src/Web/Areas/Admin/Views/BlogManagement/AllPosts.aspx +++ b/src/Web/Areas/Admin/Views/BlogManagement/AllPosts.aspx @@ -1,4 +1,5 @@ <%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/BlogManagement.Master" Inherits="System.Web.Mvc.ViewPage" %> +<%@ Import Namespace = "Web.Helpers.Extensions" %> Search: @@ -7,6 +8,6 @@ - - + + diff --git a/src/Web/Areas/Admin/Views/Login/Index.aspx b/src/Web/Areas/Admin/Views/Login/Index.aspx index 696d742..2250063 100644 --- a/src/Web/Areas/Admin/Views/Login/Index.aspx +++ b/src/Web/Areas/Admin/Views/Login/Index.aspx @@ -1,11 +1,12 @@ <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %> +<%@ Import Namespace = "Web.Helpers.Extensions" %> Admin | Login - + " rel="stylesheet" type="text/css" />