Fix / problem for download links
This commit is contained in:
Родитель
9a6a688bce
Коммит
4d87fe5862
|
@ -1,23 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
|
||||
namespace ArtefactsSite
|
||||
{
|
||||
public class RouteConfig
|
||||
{
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
||||
|
||||
routes.MapRoute(
|
||||
name: "Default",
|
||||
url: "{controller}/{action}/{id}",
|
||||
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
|
||||
);
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
|
||||
namespace ArtefactsSite
|
||||
{
|
||||
public class RouteConfig
|
||||
{
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
||||
|
||||
routes.MapRoute(
|
||||
name: "Default",
|
||||
url: "{controller}/{action}/{id}",
|
||||
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,288 +1,289 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>
|
||||
</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{47D4E5F7-5C18-43FA-B8D2-58D7E9B6AAD9}</ProjectGuid>
|
||||
<ProjectTypeGuids>{E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ArtefactsSite</RootNamespace>
|
||||
<AssemblyName>ArtefactsSite</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<MvcBuildViews>false</MvcBuildViews>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<IISExpressSSLPort />
|
||||
<IISExpressAnonymousAuthentication />
|
||||
<IISExpressWindowsAuthentication />
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Data.Entity" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Web.DynamicData" />
|
||||
<Reference Include="System.Web.Entity" />
|
||||
<Reference Include="System.Web.ApplicationServices" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Web.Abstractions" />
|
||||
<Reference Include="System.Web.Routing" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.EnterpriseServices" />
|
||||
<Reference Include="EntityFramework">
|
||||
<HintPath>..\packages\EntityFramework.5.0.0\lib\net40\EntityFramework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Web.Mvc.FixedDisplayModes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.Mvc.FixedDisplayModes.1.0.0\lib\net40\Microsoft.Web.Mvc.FixedDisplayModes.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json">
|
||||
<HintPath>..\packages\Newtonsoft.Json.4.5.10\lib\net40\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.4.0.20710.0\lib\net40\System.Net.Http.Formatting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http.WebRequest">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.WebRequest.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.4.0.20710.0\lib\net40\System.Web.Http.WebHost.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Optimization">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.0.0\lib\net40\System.Web.Optimization.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Providers">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Providers.Core.1.2\lib\net40\System.Web.Providers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.Razor.2.0.20715.0\lib\net40\System.Web.Razor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.WebPages.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WebActivator">
|
||||
<HintPath>..\packages\WebActivator.1.5.3\lib\net40\WebActivator.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WebGrease">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\WebGrease.1.3.0\lib\WebGrease.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Antlr3.Runtime">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\WebGrease.1.3.0\lib\Antlr3.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="App_Start\BootstrapBundleConfig.cs" />
|
||||
<Compile Include="App_Start\BundleConfig.cs" />
|
||||
<Compile Include="App_Start\FilterConfig.cs" />
|
||||
<Compile Include="App_Start\RouteConfig.cs" />
|
||||
<Compile Include="App_Start\WebApiConfig.cs" />
|
||||
<Compile Include="Controllers\HomeController.cs" />
|
||||
<Compile Include="Data\ArtefactRepository.cs" />
|
||||
<Compile Include="Global.asax.cs">
|
||||
<DependentUpon>Global.asax</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewModels\ArtefactViewModel.cs" />
|
||||
<Compile Include="ViewModels\BuildDefinitionViewModel.cs" />
|
||||
<Compile Include="Models\BuildDefinition.cs" />
|
||||
<Compile Include="ViewModels\HomeIndexPageViewModel.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Content\bootstrap-responsive.css" />
|
||||
<Content Include="Content\bootstrap-responsive.min.css" />
|
||||
<Content Include="Content\bootstrap.css" />
|
||||
<Content Include="Content\bootstrap.min.css" />
|
||||
<Content Include="Content\images\glyphicons-halflings-white.png" />
|
||||
<Content Include="Content\images\glyphicons-halflings.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_glass_65_ffffff_1x400.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_glass_75_dadada_1x400.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_glass_75_e6e6e6_1x400.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_glass_95_fef1ec_1x400.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_highlight-soft_75_cccccc_1x100.png" />
|
||||
<Content Include="Content\themes\base\images\ui-icons_222222_256x240.png" />
|
||||
<Content Include="Content\themes\base\images\ui-icons_2e83ff_256x240.png" />
|
||||
<Content Include="Content\themes\base\images\ui-icons_454545_256x240.png" />
|
||||
<Content Include="Content\themes\base\images\ui-icons_888888_256x240.png" />
|
||||
<Content Include="Content\themes\base\images\ui-icons_cd0a0a_256x240.png" />
|
||||
<Content Include="Content\themes\base\jquery-ui.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.accordion.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.all.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.autocomplete.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.base.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.button.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.core.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.datepicker.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.dialog.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.menu.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.progressbar.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.resizable.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.selectable.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.slider.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.spinner.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.tabs.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.theme.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.tooltip.css" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_flat_0_aaaaaa_40x100.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_flat_75_ffffff_40x100.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_glass_55_fbf9ee_1x400.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_glass_65_ffffff_1x400.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_glass_75_dadada_1x400.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_glass_75_e6e6e6_1x400.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_glass_95_fef1ec_1x400.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_highlight-soft_75_cccccc_1x100.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-icons_222222_256x240.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-icons_2e83ff_256x240.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-icons_454545_256x240.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-icons_888888_256x240.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-icons_cd0a0a_256x240.png" />
|
||||
<Content Include="Content\themes\base\minified\jquery-ui.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.accordion.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.autocomplete.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.button.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.core.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.datepicker.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.dialog.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.menu.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.progressbar.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.resizable.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.selectable.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.slider.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.spinner.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.tabs.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.theme.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.tooltip.min.css" />
|
||||
<Content Include="Global.asax" />
|
||||
<Content Include="Content\Site.css" />
|
||||
<Content Include="App_Data\BuildDefinitions.json" />
|
||||
<None Include="Properties\PublishProfiles\Local Publish.pubxml" />
|
||||
<None Include="Scripts\jquery-1.8.2.intellisense.js" />
|
||||
<Content Include="Scripts\bootstrap.js" />
|
||||
<Content Include="Scripts\bootstrap.min.js" />
|
||||
<Content Include="Scripts\jquery-1.8.2.js" />
|
||||
<Content Include="Scripts\jquery-1.8.2.min.js" />
|
||||
<None Include="Scripts\jquery.validate-vsdoc.js" />
|
||||
<Content Include="Scripts\jquery-ui-1.9.2.js" />
|
||||
<Content Include="Scripts\jquery-ui-1.9.2.min.js" />
|
||||
<Content Include="Scripts\jquery.unobtrusive-ajax.js" />
|
||||
<Content Include="Scripts\jquery.unobtrusive-ajax.min.js" />
|
||||
<Content Include="Scripts\jquery.validate.js" />
|
||||
<Content Include="Scripts\jquery.validate.min.js" />
|
||||
<Content Include="Scripts\jquery.validate.unobtrusive.js" />
|
||||
<Content Include="Scripts\jquery.validate.unobtrusive.min.js" />
|
||||
<Content Include="Scripts\knockout-2.2.0.debug.js" />
|
||||
<Content Include="Scripts\knockout-2.2.0.js" />
|
||||
<Content Include="Scripts\modernizr-2.6.2.js" />
|
||||
<Content Include="Scripts\_references.js" />
|
||||
<Content Include="Web.config" />
|
||||
<Content Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Web.Release.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Views\Web.config" />
|
||||
<Content Include="Views\_ViewStart.cshtml" />
|
||||
<Content Include="Views\Shared\Error.cshtml" />
|
||||
<Content Include="Views\Shared\_Layout.cshtml" />
|
||||
<Content Include="Views\Home\Index.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Content Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
|
||||
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
|
||||
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
|
||||
</Target>
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||
<WebProjectProperties>
|
||||
<UseIIS>True</UseIIS>
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>0</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>http://localhost:2689/</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
</CustomServerUrl>
|
||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target> -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>
|
||||
</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{47D4E5F7-5C18-43FA-B8D2-58D7E9B6AAD9}</ProjectGuid>
|
||||
<ProjectTypeGuids>{E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ArtefactsSite</RootNamespace>
|
||||
<AssemblyName>ArtefactsSite</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<MvcBuildViews>false</MvcBuildViews>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<IISExpressSSLPort />
|
||||
<IISExpressAnonymousAuthentication />
|
||||
<IISExpressWindowsAuthentication />
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Data.Entity" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Web.DynamicData" />
|
||||
<Reference Include="System.Web.Entity" />
|
||||
<Reference Include="System.Web.ApplicationServices" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Web.Abstractions" />
|
||||
<Reference Include="System.Web.Routing" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.EnterpriseServices" />
|
||||
<Reference Include="EntityFramework">
|
||||
<HintPath>..\packages\EntityFramework.5.0.0\lib\net40\EntityFramework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Web.Mvc.FixedDisplayModes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.Mvc.FixedDisplayModes.1.0.0\lib\net40\Microsoft.Web.Mvc.FixedDisplayModes.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json">
|
||||
<HintPath>..\packages\Newtonsoft.Json.4.5.10\lib\net40\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.4.0.20710.0\lib\net40\System.Net.Http.Formatting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http.WebRequest">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.WebRequest.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.4.0.20710.0\lib\net40\System.Web.Http.WebHost.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Optimization">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.0.0\lib\net40\System.Web.Optimization.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Providers">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Providers.Core.1.2\lib\net40\System.Web.Providers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.Razor.2.0.20715.0\lib\net40\System.Web.Razor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.WebPages.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WebActivator">
|
||||
<HintPath>..\packages\WebActivator.1.5.3\lib\net40\WebActivator.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WebGrease">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\WebGrease.1.3.0\lib\WebGrease.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Antlr3.Runtime">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\WebGrease.1.3.0\lib\Antlr3.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="App_Start\BootstrapBundleConfig.cs" />
|
||||
<Compile Include="App_Start\BundleConfig.cs" />
|
||||
<Compile Include="App_Start\FilterConfig.cs" />
|
||||
<Compile Include="App_Start\RouteConfig.cs" />
|
||||
<Compile Include="App_Start\WebApiConfig.cs" />
|
||||
<Compile Include="Controllers\HomeController.cs" />
|
||||
<Compile Include="Data\ArtefactRepository.cs" />
|
||||
<Compile Include="Global.asax.cs">
|
||||
<DependentUpon>Global.asax</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewModels\ArtefactViewModel.cs" />
|
||||
<Compile Include="ViewModels\BuildDefinitionViewModel.cs" />
|
||||
<Compile Include="Models\BuildDefinition.cs" />
|
||||
<Compile Include="ViewModels\HomeIndexPageViewModel.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Content\bootstrap-responsive.css" />
|
||||
<Content Include="Content\bootstrap-responsive.min.css" />
|
||||
<Content Include="Content\bootstrap.css" />
|
||||
<Content Include="Content\bootstrap.min.css" />
|
||||
<Content Include="Content\images\glyphicons-halflings-white.png" />
|
||||
<Content Include="Content\images\glyphicons-halflings.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_glass_65_ffffff_1x400.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_glass_75_dadada_1x400.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_glass_75_e6e6e6_1x400.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_glass_95_fef1ec_1x400.png" />
|
||||
<Content Include="Content\themes\base\images\ui-bg_highlight-soft_75_cccccc_1x100.png" />
|
||||
<Content Include="Content\themes\base\images\ui-icons_222222_256x240.png" />
|
||||
<Content Include="Content\themes\base\images\ui-icons_2e83ff_256x240.png" />
|
||||
<Content Include="Content\themes\base\images\ui-icons_454545_256x240.png" />
|
||||
<Content Include="Content\themes\base\images\ui-icons_888888_256x240.png" />
|
||||
<Content Include="Content\themes\base\images\ui-icons_cd0a0a_256x240.png" />
|
||||
<Content Include="Content\themes\base\jquery-ui.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.accordion.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.all.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.autocomplete.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.base.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.button.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.core.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.datepicker.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.dialog.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.menu.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.progressbar.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.resizable.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.selectable.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.slider.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.spinner.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.tabs.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.theme.css" />
|
||||
<Content Include="Content\themes\base\jquery.ui.tooltip.css" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_flat_0_aaaaaa_40x100.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_flat_75_ffffff_40x100.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_glass_55_fbf9ee_1x400.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_glass_65_ffffff_1x400.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_glass_75_dadada_1x400.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_glass_75_e6e6e6_1x400.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_glass_95_fef1ec_1x400.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-bg_highlight-soft_75_cccccc_1x100.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-icons_222222_256x240.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-icons_2e83ff_256x240.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-icons_454545_256x240.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-icons_888888_256x240.png" />
|
||||
<Content Include="Content\themes\base\minified\images\ui-icons_cd0a0a_256x240.png" />
|
||||
<Content Include="Content\themes\base\minified\jquery-ui.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.accordion.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.autocomplete.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.button.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.core.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.datepicker.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.dialog.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.menu.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.progressbar.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.resizable.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.selectable.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.slider.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.spinner.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.tabs.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.theme.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.tooltip.min.css" />
|
||||
<Content Include="Global.asax" />
|
||||
<Content Include="Content\Site.css" />
|
||||
<Content Include="App_Data\BuildDefinitions.json" />
|
||||
<None Include="Properties\PublishProfiles\Local Publish.pubxml" />
|
||||
<None Include="Scripts\jquery-1.8.2.intellisense.js" />
|
||||
<Content Include="Scripts\bootstrap.js" />
|
||||
<Content Include="Scripts\bootstrap.min.js" />
|
||||
<Content Include="Scripts\jquery-1.8.2.js" />
|
||||
<Content Include="Scripts\jquery-1.8.2.min.js" />
|
||||
<None Include="Scripts\jquery.validate-vsdoc.js" />
|
||||
<Content Include="Scripts\jquery-ui-1.9.2.js" />
|
||||
<Content Include="Scripts\jquery-ui-1.9.2.min.js" />
|
||||
<Content Include="Scripts\jquery.unobtrusive-ajax.js" />
|
||||
<Content Include="Scripts\jquery.unobtrusive-ajax.min.js" />
|
||||
<Content Include="Scripts\jquery.validate.js" />
|
||||
<Content Include="Scripts\jquery.validate.min.js" />
|
||||
<Content Include="Scripts\jquery.validate.unobtrusive.js" />
|
||||
<Content Include="Scripts\jquery.validate.unobtrusive.min.js" />
|
||||
<Content Include="Scripts\knockout-2.2.0.debug.js" />
|
||||
<Content Include="Scripts\knockout-2.2.0.js" />
|
||||
<Content Include="Scripts\modernizr-2.6.2.js" />
|
||||
<Content Include="Scripts\_references.js" />
|
||||
<Content Include="Web.config" />
|
||||
<Content Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Web.Release.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Views\Web.config" />
|
||||
<Content Include="Views\_ViewStart.cshtml" />
|
||||
<Content Include="Views\Shared\Error.cshtml" />
|
||||
<Content Include="Views\Shared\_Layout.cshtml" />
|
||||
<Content Include="Views\Home\Index.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Content Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
|
||||
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
|
||||
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
|
||||
</Target>
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||
<WebProjectProperties>
|
||||
<UseIIS>False</UseIIS>
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>59208</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/buildartefacts/</DevelopmentServerVPath>
|
||||
<IISUrl>
|
||||
</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
</CustomServerUrl>
|
||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target> -->
|
||||
</Project>
|
|
@ -1,34 +1,38 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using ArtefactsSite.Data;
|
||||
using ArtefactsSite.ViewModels;
|
||||
|
||||
namespace ArtefactsSite.Controllers
|
||||
{
|
||||
public class HomeController : Controller
|
||||
{
|
||||
public ActionResult Index()
|
||||
{
|
||||
var defs = MvcApplication.BuildDefinitions;
|
||||
|
||||
var vm = new HomeIndexPageViewModel();
|
||||
|
||||
foreach (var buildDefinition in defs)
|
||||
{
|
||||
var build = new BuildDefinitionViewModel(buildDefinition.Title, buildDefinition.Anchor);
|
||||
build.Artefacts = ArtefactRepository.GetFileListing(buildDefinition.ArtefactQuery);
|
||||
|
||||
vm.Builds.Add(build);
|
||||
}
|
||||
|
||||
vm.RenderInformation = "Rendered at: " + DateTime.Now.ToString() +
|
||||
", .NET Version: " + Environment.Version;
|
||||
|
||||
return View(vm);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using ArtefactsSite.Data;
|
||||
using ArtefactsSite.ViewModels;
|
||||
|
||||
namespace ArtefactsSite.Controllers
|
||||
{
|
||||
public class HomeController : Controller
|
||||
{
|
||||
public ActionResult Index()
|
||||
{
|
||||
var defs = MvcApplication.BuildDefinitions;
|
||||
|
||||
var vm = new HomeIndexPageViewModel();
|
||||
|
||||
foreach (var buildDefinition in defs)
|
||||
{
|
||||
var artefacts = ArtefactRepository.GetFileListing(buildDefinition.ArtefactQuery);
|
||||
|
||||
var build = new BuildDefinitionViewModel(buildDefinition.Title, buildDefinition.Anchor)
|
||||
{
|
||||
Artefacts = artefacts
|
||||
};
|
||||
|
||||
vm.Builds.Add(build);
|
||||
}
|
||||
|
||||
vm.RenderInformation = "Rendered at: " + DateTime.Now.ToString() +
|
||||
", .NET Version: " + Environment.Version;
|
||||
|
||||
return View(vm);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,41 +1,45 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Caching;
|
||||
using ArtefactsSite.ViewModels;
|
||||
|
||||
namespace ArtefactsSite.Data
|
||||
{
|
||||
public static class ArtefactRepository
|
||||
{
|
||||
public static List<ArtefactViewModel> GetFileListing(string artefactQuery)
|
||||
{
|
||||
string cacheKey = artefactQuery + "CacheKey";
|
||||
object diCacheItem = HttpContext.Current.Cache[cacheKey];
|
||||
List<ArtefactViewModel> files = null;
|
||||
|
||||
if (null != diCacheItem)
|
||||
{
|
||||
return diCacheItem as List<ArtefactViewModel>;
|
||||
}
|
||||
else
|
||||
{
|
||||
string artefactDirectoryAbsolute = HttpContext.Current.Request.MapPath("~/");
|
||||
|
||||
var diQuery = from fn in Directory.EnumerateFiles(artefactDirectoryAbsolute, artefactQuery)
|
||||
select new ArtefactViewModel() { FileName = Path.GetFileName(fn), InternalCreationDate = File.GetCreationTime(fn) };
|
||||
|
||||
files = diQuery.OrderByDescending(f => f.InternalCreationDate).ToList();
|
||||
|
||||
HttpContext.Current.Cache.Insert(cacheKey,
|
||||
new List<ArtefactViewModel>(files),
|
||||
new CacheDependency(artefactDirectoryAbsolute));
|
||||
}
|
||||
|
||||
return files;
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Caching;
|
||||
using ArtefactsSite.ViewModels;
|
||||
|
||||
namespace ArtefactsSite.Data
|
||||
{
|
||||
public static class ArtefactRepository
|
||||
{
|
||||
public static List<ArtefactViewModel> GetFileListing(string artefactQuery)
|
||||
{
|
||||
string cacheKey = artefactQuery + "CacheKey";
|
||||
object diCacheItem = HttpContext.Current.Cache[cacheKey];
|
||||
List<ArtefactViewModel> files = null;
|
||||
|
||||
if (null != diCacheItem)
|
||||
{
|
||||
return diCacheItem as List<ArtefactViewModel>;
|
||||
}
|
||||
else
|
||||
{
|
||||
string artefactDirectoryAbsolute = HttpContext.Current.Request.MapPath("~/");
|
||||
|
||||
var diQuery = from fn in Directory.EnumerateFiles(artefactDirectoryAbsolute, artefactQuery)
|
||||
select new ArtefactViewModel()
|
||||
{
|
||||
FileName = Path.GetFileName(fn),
|
||||
InternalCreationDate = File.GetCreationTime(fn)
|
||||
};
|
||||
|
||||
files = diQuery.OrderByDescending(f => f.InternalCreationDate).ToList();
|
||||
|
||||
HttpContext.Current.Cache.Insert(cacheKey,
|
||||
new List<ArtefactViewModel>(files),
|
||||
new CacheDependency(artefactDirectoryAbsolute));
|
||||
}
|
||||
|
||||
return files;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,354 +1,355 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
|
||||
by editing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<TimeStampOfAssociatedLegacyPublishXmlFile />
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<File Include="App_Data/BuildDefinitions.json">
|
||||
<publishTime>02/12/2013 14:28:38</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Antlr3.Runtime.dll">
|
||||
<publishTime>02/12/2013 13:16:02</publishTime>
|
||||
</File>
|
||||
<File Include="bin/App_global.asax.compiled">
|
||||
<publishTime>02/12/2013 14:33:28</publishTime>
|
||||
</File>
|
||||
<File Include="bin/App_global.asax.dll">
|
||||
<publishTime>02/12/2013 14:33:28</publishTime>
|
||||
</File>
|
||||
<File Include="bin/ArtefactsSite.dll">
|
||||
<publishTime>02/12/2013 14:33:23</publishTime>
|
||||
</File>
|
||||
<File Include="bin/EntityFramework.dll">
|
||||
<publishTime>02/12/2013 13:15:35</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Microsoft.Web.Infrastructure.dll">
|
||||
<publishTime>02/12/2013 13:15:57</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Microsoft.Web.Mvc.FixedDisplayModes.dll">
|
||||
<publishTime>02/12/2013 13:15:59</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Newtonsoft.Json.dll">
|
||||
<publishTime>02/12/2013 13:15:57</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Net.Http.dll">
|
||||
<publishTime>02/12/2013 13:15:59</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Net.Http.Formatting.dll">
|
||||
<publishTime>02/12/2013 13:15:59</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Net.Http.WebRequest.dll">
|
||||
<publishTime>02/12/2013 13:16:00</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.Http.dll">
|
||||
<publishTime>02/12/2013 13:16:00</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.Http.WebHost.dll">
|
||||
<publishTime>02/12/2013 13:16:00</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.Mvc.dll">
|
||||
<publishTime>02/12/2013 13:15:58</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.Optimization.dll">
|
||||
<publishTime>02/12/2013 13:16:02</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.Providers.dll">
|
||||
<publishTime>02/12/2013 13:16:01</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.Razor.dll">
|
||||
<publishTime>02/12/2013 13:15:58</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.WebPages.Deployment.dll">
|
||||
<publishTime>02/12/2013 13:15:58</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.WebPages.dll">
|
||||
<publishTime>02/12/2013 13:15:58</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.WebPages.Razor.dll">
|
||||
<publishTime>02/12/2013 13:15:58</publishTime>
|
||||
</File>
|
||||
<File Include="bin/WebActivator.dll">
|
||||
<publishTime>02/12/2013 13:53:23</publishTime>
|
||||
</File>
|
||||
<File Include="bin/WebGrease.dll">
|
||||
<publishTime>02/12/2013 13:16:02</publishTime>
|
||||
</File>
|
||||
<File Include="Content/bootstrap-responsive.css">
|
||||
<publishTime>02/12/2013 13:53:05</publishTime>
|
||||
</File>
|
||||
<File Include="Content/bootstrap-responsive.min.css">
|
||||
<publishTime>02/12/2013 13:53:05</publishTime>
|
||||
</File>
|
||||
<File Include="Content/bootstrap.css">
|
||||
<publishTime>02/12/2013 13:53:05</publishTime>
|
||||
</File>
|
||||
<File Include="Content/bootstrap.min.css">
|
||||
<publishTime>02/12/2013 13:53:05</publishTime>
|
||||
</File>
|
||||
<File Include="Content/images/glyphicons-halflings-white.png">
|
||||
<publishTime>02/12/2013 13:53:05</publishTime>
|
||||
</File>
|
||||
<File Include="Content/images/glyphicons-halflings.png">
|
||||
<publishTime>02/12/2013 13:53:05</publishTime>
|
||||
</File>
|
||||
<File Include="Content/Site.css">
|
||||
<publishTime>02/12/2013 13:15:13</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-icons_222222_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-icons_2e83ff_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-icons_454545_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-icons_888888_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-icons_cd0a0a_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery-ui.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.accordion.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.all.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.autocomplete.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.base.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.button.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.core.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.datepicker.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.dialog.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.menu.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.progressbar.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.resizable.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.selectable.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.slider.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.spinner.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.tabs.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.theme.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.tooltip.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-icons_222222_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-icons_2e83ff_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-icons_454545_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-icons_888888_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-icons_cd0a0a_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery-ui.min.css">
|
||||
<publishTime>02/12/2013 13:15:51</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.accordion.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.autocomplete.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.button.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.core.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.datepicker.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.dialog.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.menu.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.progressbar.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.resizable.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.selectable.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.slider.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.spinner.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.tabs.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.theme.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.tooltip.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="packages.config">
|
||||
<publishTime>02/12/2013 13:53:26</publishTime>
|
||||
</File>
|
||||
<File Include="PrecompiledApp.config">
|
||||
<publishTime>02/12/2013 14:33:24</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/bootstrap.js">
|
||||
<publishTime>02/12/2013 13:53:04</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/bootstrap.min.js">
|
||||
<publishTime>02/12/2013 13:53:04</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery-1.8.2.js">
|
||||
<publishTime>02/12/2013 13:15:44</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery-1.8.2.min.js">
|
||||
<publishTime>02/12/2013 13:15:43</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery-ui-1.9.2.js">
|
||||
<publishTime>02/12/2013 13:15:50</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery-ui-1.9.2.min.js">
|
||||
<publishTime>02/12/2013 13:15:50</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery.unobtrusive-ajax.js">
|
||||
<publishTime>02/12/2013 13:15:56</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery.unobtrusive-ajax.min.js">
|
||||
<publishTime>02/12/2013 13:15:56</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery.validate.js">
|
||||
<publishTime>02/12/2013 13:15:49</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery.validate.min.js">
|
||||
<publishTime>02/12/2013 13:15:49</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery.validate.unobtrusive.js">
|
||||
<publishTime>02/12/2013 13:15:56</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery.validate.unobtrusive.min.js">
|
||||
<publishTime>02/12/2013 13:15:56</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/knockout-2.2.0.debug.js">
|
||||
<publishTime>02/12/2013 13:16:04</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/knockout-2.2.0.js">
|
||||
<publishTime>02/12/2013 13:16:04</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/modernizr-2.6.2.js">
|
||||
<publishTime>02/12/2013 13:15:56</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/_references.js">
|
||||
<publishTime>02/12/2013 13:15:57</publishTime>
|
||||
</File>
|
||||
<File Include="Views/Home/Index.cshtml">
|
||||
<publishTime>02/12/2013 14:18:45</publishTime>
|
||||
</File>
|
||||
<File Include="Views/Shared/Error.cshtml">
|
||||
<publishTime>02/12/2013 13:15:13</publishTime>
|
||||
</File>
|
||||
<File Include="Views/Shared/_Layout.cshtml">
|
||||
<publishTime>02/12/2013 14:00:41</publishTime>
|
||||
</File>
|
||||
<File Include="Views/Web.config">
|
||||
<publishTime>02/12/2013 13:15:13</publishTime>
|
||||
</File>
|
||||
<File Include="Views/_ViewStart.cshtml">
|
||||
<publishTime>02/12/2013 13:15:13</publishTime>
|
||||
</File>
|
||||
<File Include="Web.config">
|
||||
<publishTime>02/12/2013 14:20:14</publishTime>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
|
||||
by editing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<TimeStampOfAssociatedLegacyPublishXmlFile />
|
||||
<_PublishTargetUrl>D:\Temp\DeployArtefactsSite</_PublishTargetUrl>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<File Include="App_Data/BuildDefinitions.json">
|
||||
<publishTime>02/12/2013 14:28:38</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Antlr3.Runtime.dll">
|
||||
<publishTime>02/12/2013 13:16:02</publishTime>
|
||||
</File>
|
||||
<File Include="bin/App_global.asax.compiled">
|
||||
<publishTime>05/20/2013 17:22:35</publishTime>
|
||||
</File>
|
||||
<File Include="bin/App_global.asax.dll">
|
||||
<publishTime>05/20/2013 17:22:35</publishTime>
|
||||
</File>
|
||||
<File Include="bin/ArtefactsSite.dll">
|
||||
<publishTime>05/20/2013 17:22:31</publishTime>
|
||||
</File>
|
||||
<File Include="bin/EntityFramework.dll">
|
||||
<publishTime>02/12/2013 13:15:35</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Microsoft.Web.Infrastructure.dll">
|
||||
<publishTime>02/12/2013 13:15:57</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Microsoft.Web.Mvc.FixedDisplayModes.dll">
|
||||
<publishTime>02/12/2013 13:15:59</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Newtonsoft.Json.dll">
|
||||
<publishTime>02/12/2013 13:15:57</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Net.Http.dll">
|
||||
<publishTime>02/12/2013 13:15:59</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Net.Http.Formatting.dll">
|
||||
<publishTime>02/12/2013 13:15:59</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Net.Http.WebRequest.dll">
|
||||
<publishTime>02/12/2013 13:16:00</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.Http.dll">
|
||||
<publishTime>02/12/2013 13:16:00</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.Http.WebHost.dll">
|
||||
<publishTime>02/12/2013 13:16:00</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.Mvc.dll">
|
||||
<publishTime>02/12/2013 13:15:58</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.Optimization.dll">
|
||||
<publishTime>02/12/2013 13:16:02</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.Providers.dll">
|
||||
<publishTime>02/12/2013 13:16:01</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.Razor.dll">
|
||||
<publishTime>02/12/2013 13:15:58</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.WebPages.Deployment.dll">
|
||||
<publishTime>02/12/2013 13:15:58</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.WebPages.dll">
|
||||
<publishTime>02/12/2013 13:15:58</publishTime>
|
||||
</File>
|
||||
<File Include="bin/System.Web.WebPages.Razor.dll">
|
||||
<publishTime>02/12/2013 13:15:58</publishTime>
|
||||
</File>
|
||||
<File Include="bin/WebActivator.dll">
|
||||
<publishTime>02/12/2013 13:53:23</publishTime>
|
||||
</File>
|
||||
<File Include="bin/WebGrease.dll">
|
||||
<publishTime>02/12/2013 13:16:02</publishTime>
|
||||
</File>
|
||||
<File Include="Content/bootstrap-responsive.css">
|
||||
<publishTime>02/12/2013 13:53:05</publishTime>
|
||||
</File>
|
||||
<File Include="Content/bootstrap-responsive.min.css">
|
||||
<publishTime>02/12/2013 13:53:05</publishTime>
|
||||
</File>
|
||||
<File Include="Content/bootstrap.css">
|
||||
<publishTime>02/12/2013 13:53:05</publishTime>
|
||||
</File>
|
||||
<File Include="Content/bootstrap.min.css">
|
||||
<publishTime>02/12/2013 13:53:05</publishTime>
|
||||
</File>
|
||||
<File Include="Content/images/glyphicons-halflings-white.png">
|
||||
<publishTime>02/12/2013 13:53:05</publishTime>
|
||||
</File>
|
||||
<File Include="Content/images/glyphicons-halflings.png">
|
||||
<publishTime>02/12/2013 13:53:05</publishTime>
|
||||
</File>
|
||||
<File Include="Content/Site.css">
|
||||
<publishTime>02/12/2013 13:15:13</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-icons_222222_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-icons_2e83ff_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-icons_454545_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-icons_888888_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:55</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/images/ui-icons_cd0a0a_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery-ui.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.accordion.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.all.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.autocomplete.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.base.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.button.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.core.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.datepicker.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.dialog.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.menu.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.progressbar.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.resizable.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.selectable.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.slider.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.spinner.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.tabs.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.theme.css">
|
||||
<publishTime>02/12/2013 13:15:54</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/jquery.ui.tooltip.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-icons_222222_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-icons_2e83ff_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-icons_454545_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-icons_888888_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/images/ui-icons_cd0a0a_256x240.png">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery-ui.min.css">
|
||||
<publishTime>02/12/2013 13:15:51</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.accordion.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.autocomplete.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.button.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.core.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.datepicker.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.dialog.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.menu.min.css">
|
||||
<publishTime>02/12/2013 13:15:53</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.progressbar.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.resizable.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.selectable.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.slider.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.spinner.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.tabs.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.theme.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="Content/themes/base/minified/jquery.ui.tooltip.min.css">
|
||||
<publishTime>02/12/2013 13:15:52</publishTime>
|
||||
</File>
|
||||
<File Include="packages.config">
|
||||
<publishTime>02/12/2013 13:53:26</publishTime>
|
||||
</File>
|
||||
<File Include="PrecompiledApp.config">
|
||||
<publishTime>05/20/2013 17:22:33</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/bootstrap.js">
|
||||
<publishTime>02/12/2013 13:53:04</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/bootstrap.min.js">
|
||||
<publishTime>02/12/2013 13:53:04</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery-1.8.2.js">
|
||||
<publishTime>02/12/2013 13:15:44</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery-1.8.2.min.js">
|
||||
<publishTime>02/12/2013 13:15:43</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery-ui-1.9.2.js">
|
||||
<publishTime>02/12/2013 13:15:50</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery-ui-1.9.2.min.js">
|
||||
<publishTime>02/12/2013 13:15:50</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery.unobtrusive-ajax.js">
|
||||
<publishTime>02/12/2013 13:15:56</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery.unobtrusive-ajax.min.js">
|
||||
<publishTime>02/12/2013 13:15:56</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery.validate.js">
|
||||
<publishTime>02/12/2013 13:15:49</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery.validate.min.js">
|
||||
<publishTime>02/12/2013 13:15:49</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery.validate.unobtrusive.js">
|
||||
<publishTime>02/12/2013 13:15:56</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/jquery.validate.unobtrusive.min.js">
|
||||
<publishTime>02/12/2013 13:15:56</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/knockout-2.2.0.debug.js">
|
||||
<publishTime>02/12/2013 13:16:04</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/knockout-2.2.0.js">
|
||||
<publishTime>02/12/2013 13:16:04</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/modernizr-2.6.2.js">
|
||||
<publishTime>02/12/2013 13:15:56</publishTime>
|
||||
</File>
|
||||
<File Include="Scripts/_references.js">
|
||||
<publishTime>02/12/2013 13:15:57</publishTime>
|
||||
</File>
|
||||
<File Include="Views/Home/Index.cshtml">
|
||||
<publishTime>05/20/2013 17:20:58</publishTime>
|
||||
</File>
|
||||
<File Include="Views/Shared/Error.cshtml">
|
||||
<publishTime>02/12/2013 13:15:13</publishTime>
|
||||
</File>
|
||||
<File Include="Views/Shared/_Layout.cshtml">
|
||||
<publishTime>02/12/2013 14:00:41</publishTime>
|
||||
</File>
|
||||
<File Include="Views/Web.config">
|
||||
<publishTime>02/12/2013 13:15:13</publishTime>
|
||||
</File>
|
||||
<File Include="Views/_ViewStart.cshtml">
|
||||
<publishTime>02/12/2013 13:15:13</publishTime>
|
||||
</File>
|
||||
<File Include="Web.config">
|
||||
<publishTime>05/20/2013 17:03:31</publishTime>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,30 +1,30 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace ArtefactsSite.ViewModels
|
||||
{
|
||||
public class ArtefactViewModel
|
||||
{
|
||||
private string _fileName;
|
||||
private DateTime _internalCreationDate;
|
||||
|
||||
public string FileName
|
||||
{
|
||||
get { return _fileName; }
|
||||
set { _fileName = value; }
|
||||
}
|
||||
|
||||
public string CreationDate
|
||||
{
|
||||
get { return _internalCreationDate.ToString(); }
|
||||
}
|
||||
|
||||
public DateTime InternalCreationDate
|
||||
{
|
||||
get { return _internalCreationDate; }
|
||||
set { _internalCreationDate = value; }
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace ArtefactsSite.ViewModels
|
||||
{
|
||||
public class ArtefactViewModel
|
||||
{
|
||||
private string _fileName;
|
||||
private DateTime _internalCreationDate;
|
||||
|
||||
public string FileName
|
||||
{
|
||||
get { return _fileName; }
|
||||
set { _fileName = value; }
|
||||
}
|
||||
|
||||
public string CreationDate
|
||||
{
|
||||
get { return _internalCreationDate.ToString(); }
|
||||
}
|
||||
|
||||
public DateTime InternalCreationDate
|
||||
{
|
||||
get { return _internalCreationDate; }
|
||||
set { _internalCreationDate = value; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -46,7 +46,7 @@
|
|||
<tr>
|
||||
<td>@Html.DisplayFor(modelItem => artefact.FileName)</td>
|
||||
<td>@Html.DisplayFor(modelItem => artefact.CreationDate)</td>
|
||||
<td><a href="@Html.Encode(artefact.FileName)">Download</a></td>
|
||||
<td><a href="@Url.Content("~/" + artefact.FileName)">Download</a></td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
|
|
|
@ -1,99 +1,99 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
For more information on how to configure your ASP.NET application, please visit
|
||||
http://go.microsoft.com/fwlink/?LinkId=152368
|
||||
-->
|
||||
<configuration>
|
||||
<configSections>
|
||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="DefaultConnection" providerName="System.Data.SqlClient" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-ArtefactsSite-20130212131601;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-ArtefactsSite-20130212131601.mdf" />
|
||||
</connectionStrings>
|
||||
<appSettings>
|
||||
<add key="webpages:Version" value="2.0.0.0" />
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
<add key="PreserveLoginUrl" value="true" />
|
||||
<add key="ClientValidationEnabled" value="true" />
|
||||
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
||||
</appSettings>
|
||||
<system.web>
|
||||
<compilation debug="true" targetFramework="4.0" />
|
||||
<authentication mode="Forms">
|
||||
<forms loginUrl="~/Account/Login" timeout="2880" />
|
||||
</authentication>
|
||||
<pages>
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Helpers" />
|
||||
<add namespace="System.Web.Mvc" />
|
||||
<add namespace="System.Web.Mvc.Ajax" />
|
||||
<add namespace="System.Web.Mvc.Html" />
|
||||
<add namespace="System.Web.Optimization" />
|
||||
<add namespace="System.Web.Routing" />
|
||||
<add namespace="System.Web.WebPages" />
|
||||
</namespaces>
|
||||
</pages>
|
||||
<profile defaultProvider="DefaultProfileProvider">
|
||||
<providers>
|
||||
<add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
|
||||
</providers>
|
||||
</profile>
|
||||
<membership defaultProvider="DefaultMembershipProvider">
|
||||
<providers>
|
||||
<add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
|
||||
</providers>
|
||||
</membership>
|
||||
<roleManager defaultProvider="DefaultRoleProvider">
|
||||
<providers>
|
||||
<add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
|
||||
</providers>
|
||||
</roleManager>
|
||||
<!--
|
||||
If you are deploying to a cloud environment that has multiple web server instances,
|
||||
you should change session state mode from "InProc" to "Custom". In addition,
|
||||
change the connection string named "DefaultConnection" to connect to an instance
|
||||
of SQL Server (including SQL Azure and SQL Compact) instead of to SQL Server Express.
|
||||
-->
|
||||
<sessionState mode="InProc" customProvider="DefaultSessionProvider">
|
||||
<providers>
|
||||
<add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" />
|
||||
</providers>
|
||||
</sessionState>
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false" />
|
||||
<modules runAllManagedModulesForAllRequests="true" />
|
||||
<handlers>
|
||||
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
|
||||
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
|
||||
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
|
||||
<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||
<add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.3.0.0" newVersion="1.3.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<entityFramework>
|
||||
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
|
||||
</entityFramework>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
For more information on how to configure your ASP.NET application, please visit
|
||||
http://go.microsoft.com/fwlink/?LinkId=152368
|
||||
-->
|
||||
<configuration>
|
||||
<configSections>
|
||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="DefaultConnection" providerName="System.Data.SqlClient" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-ArtefactsSite-20130212131601;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-ArtefactsSite-20130212131601.mdf" />
|
||||
</connectionStrings>
|
||||
<appSettings>
|
||||
<add key="webpages:Version" value="2.0.0.0" />
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
<add key="PreserveLoginUrl" value="true" />
|
||||
<add key="ClientValidationEnabled" value="true" />
|
||||
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
||||
</appSettings>
|
||||
<system.web>
|
||||
<compilation debug="true" targetFramework="4.0" />
|
||||
<authentication mode="Forms">
|
||||
<forms loginUrl="~/Account/Login" timeout="2880" />
|
||||
</authentication>
|
||||
<pages>
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Helpers" />
|
||||
<add namespace="System.Web.Mvc" />
|
||||
<add namespace="System.Web.Mvc.Ajax" />
|
||||
<add namespace="System.Web.Mvc.Html" />
|
||||
<add namespace="System.Web.Optimization" />
|
||||
<add namespace="System.Web.Routing" />
|
||||
<add namespace="System.Web.WebPages" />
|
||||
</namespaces>
|
||||
</pages>
|
||||
<profile defaultProvider="DefaultProfileProvider">
|
||||
<providers>
|
||||
<add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
|
||||
</providers>
|
||||
</profile>
|
||||
<membership defaultProvider="DefaultMembershipProvider">
|
||||
<providers>
|
||||
<add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
|
||||
</providers>
|
||||
</membership>
|
||||
<roleManager defaultProvider="DefaultRoleProvider">
|
||||
<providers>
|
||||
<add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
|
||||
</providers>
|
||||
</roleManager>
|
||||
<!--
|
||||
If you are deploying to a cloud environment that has multiple web server instances,
|
||||
you should change session state mode from "InProc" to "Custom". In addition,
|
||||
change the connection string named "DefaultConnection" to connect to an instance
|
||||
of SQL Server (including SQL Azure and SQL Compact) instead of to SQL Server Express.
|
||||
-->
|
||||
<sessionState mode="InProc" customProvider="DefaultSessionProvider">
|
||||
<providers>
|
||||
<add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" />
|
||||
</providers>
|
||||
</sessionState>
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false" />
|
||||
<modules runAllManagedModulesForAllRequests="true" />
|
||||
<handlers>
|
||||
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
|
||||
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
|
||||
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
|
||||
<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||
<add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.3.0.0" newVersion="1.3.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<entityFramework>
|
||||
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
|
||||
</entityFramework>
|
||||
</configuration>
|
Загрузка…
Ссылка в новой задаче