From 0183ccb9c56ded46c4091c97fd655e46febbd84e Mon Sep 17 00:00:00 2001 From: James South Date: Thu, 14 Aug 2014 22:32:46 +0100 Subject: [PATCH] Removing unnecessary references Former-commit-id: 95844a4fa76b2edb1d2fc15bc483ca9efaa6c1fd --- .../WebForms/App_Start/BundleConfig.cs | 36 --------------- src/TestWebsites/WebForms/Bundle.config | 20 --------- src/TestWebsites/WebForms/Global.asax.cs | 1 - src/TestWebsites/WebForms/Site.Master | 41 ----------------- .../WebForms/Test_Website_Webforms.csproj | 2 - src/TestWebsites/WebForms/Web.config | 15 ++----- .../config/imageprocessor/processing.config | 45 +++++++++---------- .../config/imageprocessor/security.config | 20 ++++++--- src/TestWebsites/WebForms/packages.config | 3 -- 9 files changed, 39 insertions(+), 144 deletions(-) delete mode 100644 src/TestWebsites/WebForms/App_Start/BundleConfig.cs delete mode 100644 src/TestWebsites/WebForms/Bundle.config diff --git a/src/TestWebsites/WebForms/App_Start/BundleConfig.cs b/src/TestWebsites/WebForms/App_Start/BundleConfig.cs deleted file mode 100644 index 6e3260970..000000000 --- a/src/TestWebsites/WebForms/App_Start/BundleConfig.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.Optimization; - -namespace Test_Website_Webforms_NET45 -{ - public class BundleConfig - { - // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254726 - public static void RegisterBundles(BundleCollection bundles) - { - bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include( - "~/Scripts/WebForms/WebForms.js", - "~/Scripts/WebForms/WebUIValidation.js", - "~/Scripts/WebForms/MenuStandards.js", - "~/Scripts/WebForms/Focus.js", - "~/Scripts/WebForms/GridView.js", - "~/Scripts/WebForms/DetailsView.js", - "~/Scripts/WebForms/TreeView.js", - "~/Scripts/WebForms/WebParts.js")); - - bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include( - "~/Scripts/WebForms/MsAjax/MicrosoftAjax.js", - "~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js", - "~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js", - "~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js")); - - // Use the Development version of Modernizr to develop with and learn from. Then, when you’re - // ready for production, use the build tool at http://modernizr.com to pick only the tests you need - bundles.Add(new ScriptBundle("~/bundles/modernizr").Include( - "~/Scripts/modernizr-*")); - } - } -} \ No newline at end of file diff --git a/src/TestWebsites/WebForms/Bundle.config b/src/TestWebsites/WebForms/Bundle.config deleted file mode 100644 index 669a33e5b..000000000 --- a/src/TestWebsites/WebForms/Bundle.config +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/src/TestWebsites/WebForms/Global.asax.cs b/src/TestWebsites/WebForms/Global.asax.cs index 21e6fd992..57ad56372 100644 --- a/src/TestWebsites/WebForms/Global.asax.cs +++ b/src/TestWebsites/WebForms/Global.asax.cs @@ -14,7 +14,6 @@ namespace Test_Website_Webforms_NET45 void Application_Start(object sender, EventArgs e) { // Code that runs on application startup - BundleConfig.RegisterBundles(BundleTable.Bundles); RouteConfig.RegisterRoutes(RouteTable.Routes); } diff --git a/src/TestWebsites/WebForms/Site.Master b/src/TestWebsites/WebForms/Site.Master index ba076a8eb..4c342877f 100644 --- a/src/TestWebsites/WebForms/Site.Master +++ b/src/TestWebsites/WebForms/Site.Master @@ -5,35 +5,11 @@ <%: Page.Title %> - My ASP.NET Application - - <%: Scripts.Render("~/bundles/modernizr") %> - - -
- - - <%--To learn more about bundling scripts in ScriptManager see http://go.microsoft.com/fwlink/?LinkID=272931&clcid=0x409 --%> - <%--Framework Scripts--%> - - - - - - - - - - - - <%--Site Scripts--%> - - -
@@ -42,23 +18,6 @@

-
- - - - - -

- Hello, - ! - -

-
-
-