diff --git a/Jenkinsfile b/Jenkinsfile index 5d89365..9896cc2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ pipeline { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=169']) { + withEnv(['NEXT_BUILD_NUMBER=170']) { // env.versionNumber = VersionNumber(versionNumberString : '0.7.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '0.7.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'NKC' diff --git a/NKC_WF/App_Start/RouteConfig.cs b/NKC_WF/App_Start/RouteConfig.cs index a768593..0cf871b 100644 --- a/NKC_WF/App_Start/RouteConfig.cs +++ b/NKC_WF/App_Start/RouteConfig.cs @@ -13,6 +13,16 @@ namespace NKC_WF routes.EnableFriendlyUrls(settings); routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); + + // route default URL to index.aspx + routes.MapPageRoute( + routeName: "DefaultToHTML", + routeUrl: "", + physicalFile: "~/Default.aspx", + checkPhysicalUrlAccess: false, + defaults: new RouteValueDictionary(), + constraints: new RouteValueDictionary { { "placeholder", "" } } + ); routes.MapRoute( name: "Default", diff --git a/NKC_WF/Index.aspx b/NKC_WF/Index.aspx deleted file mode 100644 index 4b54832..0000000 --- a/NKC_WF/Index.aspx +++ /dev/null @@ -1,4 +0,0 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/SiteContent.master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="NKC_WF.Index" %> - -

Welcome!

-
diff --git a/NKC_WF/Index.aspx.cs b/NKC_WF/Index.aspx.cs deleted file mode 100644 index 71ca519..0000000 --- a/NKC_WF/Index.aspx.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace NKC_WF -{ - public partial class Index : System.Web.UI.Page - { - protected void Page_Load(object sender, EventArgs e) - { - Response.Redirect("site/Default"); - } - } -} \ No newline at end of file diff --git a/NKC_WF/Index.aspx.designer.cs b/NKC_WF/Index.aspx.designer.cs deleted file mode 100644 index fa77362..0000000 --- a/NKC_WF/Index.aspx.designer.cs +++ /dev/null @@ -1,15 +0,0 @@ -//------------------------------------------------------------------------------ -// -// Codice generato da uno strumento. -// -// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se -// il codice viene rigenerato. -// -//------------------------------------------------------------------------------ - -namespace NKC_WF { - - - public partial class Index { - } -} diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index 1bffb8a..3d59a1a 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -272,7 +272,6 @@ - @@ -501,13 +500,6 @@ Home.aspx - - Index.aspx - ASPXCodeBehind - - - Index.aspx - KitRequestImporter.aspx ASPXCodeBehind