Permalink
Browse files

adding back the portables areas stuff

  • Loading branch information...
1 parent 989bc51 commit f95cc4646bfc759ab5fd0ffa89bfdbfab12ab607 @devinrader devinrader committed Dec 28, 2011
View
85 AdminArea/EBuy.AdminArea.csproj
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
+ <ProductVersion>8.0.30703</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{C7EFCA67-0025-4F1A-8982-394BF567A591}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>AdminArea</RootNamespace>
+ <AssemblyName>AdminArea</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <TargetFrameworkProfile>
+ </TargetFrameworkProfile>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+ <PlatformTarget>x86</PlatformTarget>
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+ <PlatformTarget>x86</PlatformTarget>
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup>
+ <StartupObject />
+ </PropertyGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="PAdmin\Views\PUsers\PUser.cshtml" />
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="PAdmin\Views\PUsers\PUsers.cshtml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="PAdmin\Views\Shared\" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="PAdmin\PAdminAreaRegistration.cs" />
+ <Compile Include="PAdmin\Controllers\PUsersController.cs" />
+ <Compile Include="PAdmin\Models\PUserViewModel.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
+ <ItemGroup>
+ <Reference Include="AutoMapper">
+ <HintPath>..\packages\AutoMapper.2.0.0\lib\net40-client\AutoMapper.dll</HintPath>
+ </Reference>
+ <Reference Include="Microsoft.Web.Mvc">
+ <HintPath>..\packages\Mvc3Futures.3.0.20105.0\lib\Microsoft.Web.Mvc.dll</HintPath>
+ </Reference>
+ <Reference Include="MvcContrib">
+ <HintPath>..\packages\MvcContrib.Mvc3-ci.3.0.94.0\lib\MvcContrib.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Web" />
+ <Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
+ <Reference Include="System.Web.Routing" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Core\Ebuy.Core.csproj">
+ <Project>{EFD6F198-A4E8-419E-ABBC-8573B29ACC42}</Project>
+ <Name>Ebuy.Core</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- 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>
View
42 AdminArea/PAdmin/Controllers/PUsersController.cs
@@ -0,0 +1,42 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+using Ebuy.DataAccess;
+using AutoMapper;
+using Ebuy.AdminArea.Admin.Models;
+
+namespace Ebuy.AdminArea.Admin.Controllers
+{
+ public class PUsersController : Controller
+ {
+ private readonly IRepository _repository;
+
+ public PUsersController(IRepository repository)
+ {
+ _repository = repository;
+ }
+
+ public ActionResult Index(int page = 0, int pageSize = 25)
+ {
+ var users = _repository.All<User>(page, pageSize);
+
+ var viewModel = users.Select(Mapper.DynamicMap<PUserViewModel>);
+
+ return View("PUsers", viewModel);
+ }
+
+ public new ActionResult User(string key)
+ {
+ var auction = _repository.Single<Auction>(key);
+
+ if (auction == null)
+ return View("NotFound");
+
+ var viewModel = Mapper.DynamicMap<PUserViewModel>(auction);
+ return View("PUser", viewModel);
+ }
+
+ }
+}
View
31 AdminArea/PAdmin/Models/PUserViewModel.cs
@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+
+namespace Ebuy.AdminArea.Admin.Models
+{
+ public class PUserViewModel
+ {
+ public virtual ICollection<Auction> Selling { get; private set; }
+
+ // public virtual ICollection<Bid> Bids { get; private set; }
+
+ public virtual string DisplayName
+ {
+ get { return _displayName ?? FullName; }
+ set { _displayName = value; }
+ }
+ private string _displayName;
+
+ public string EmailAddress { get; set; }
+
+ public virtual string FullName { get; set; }
+
+ public virtual ICollection<Payment> Payments { get; private set; }
+
+ public virtual ICollection<Review> Reviews { get; private set; }
+
+ public virtual ICollection<Auction> WatchedAuctions { get; private set; }
+ }
+}
View
37 AdminArea/PAdmin/PAdminAreaRegistration.cs
@@ -0,0 +1,37 @@
+using System.Web.Mvc;
+using MvcContrib.PortableAreas;
+
+namespace Ebuy.AdminArea.Admin
+{
+ public class PAdminAreaRegistration : PortableAreaRegistration
+ {
+ public override string AreaName
+ {
+ get
+ {
+ return "PAdmin";
+ }
+ }
+
+ public override void RegisterArea(AreaRegistrationContext context, IApplicationBus bus)
+ {
+ this.RegisterAreaEmbeddedResources();
+
+ //context.MapRoute(
+ // "resources",
+ // "PAdmin/Resource/{resourceName}",
+ // new { Controller = "EmbeddedResource", action = "Index" },
+ // new string[] { "MvcContrib.PortableAreas" });
+
+ //base.RegisterArea(context, bus);
+
+ context.MapRoute(
+ "PAdmin_default",
+ "PAdmin/{controller}/{action}/{id}",
+ new { controller = "PUsers", action = "Index", id = UrlParameter.Optional }
+ );
+
+
+ }
+ }
+}
View
5 AdminArea/PAdmin/Views/PUsers/PUser.cshtml
@@ -0,0 +1,5 @@
+@{
+ ViewBag.Title = "User";
+}
+
+<h2>User</h2>
View
24 AdminArea/PAdmin/Views/PUsers/PUsers.cshtml
@@ -0,0 +1,24 @@
+@model IEnumerable<Ebuy.AdminArea.Admin.Models.PUserViewModel>
+<link href="@Url.Content("~/Content/product.css")" rel="stylesheet" type="text/css" />
+@{
+ ViewBag.Title = "Users";
+}
+<h2>Users</h2>
+<div class="container">
+ <header>
+ <h3>
+ Users</h3>
+ <hr />
+ </header>
+ <div class="container clear-fix">
+ <ul id="users" class="list" data-role="listview">
+ @foreach (var user in Model)
+ {
+ <li class="listitem">
+ @user.DisplayName
+ @*@Html.Partial("_AuctionTile", user)*@
+ </li>
+ }
+ </ul>
+ </div>
+</div>
View
6 AdminArea/packages.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="AutoMapper" version="2.0.0" />
+ <package id="Mvc3Futures" version="3.0.20105.0" />
+ <package id="MvcContrib.Mvc3-ci" version="3.0.94.0" />
+</packages>
View
46 Programming ASP.NET MVC.sln
@@ -13,32 +13,78 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntegrationTests", "Integra
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ebuy.Website", "Website\Ebuy.Website.csproj", "{D739D3C5-5C15-4D36-B177-818DC676D57A}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EBuy.AdminArea", "AdminArea\EBuy.AdminArea.csproj", "{C7EFCA67-0025-4F1A-8982-394BF567A591}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|Mixed Platforms = Debug|Mixed Platforms
+ Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|Mixed Platforms = Release|Mixed Platforms
+ Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C0A18BF4-B56B-4E32-B1CD-2FF9EA43526F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C0A18BF4-B56B-4E32-B1CD-2FF9EA43526F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C0A18BF4-B56B-4E32-B1CD-2FF9EA43526F}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {C0A18BF4-B56B-4E32-B1CD-2FF9EA43526F}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {C0A18BF4-B56B-4E32-B1CD-2FF9EA43526F}.Debug|x86.ActiveCfg = Debug|Any CPU
{C0A18BF4-B56B-4E32-B1CD-2FF9EA43526F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C0A18BF4-B56B-4E32-B1CD-2FF9EA43526F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C0A18BF4-B56B-4E32-B1CD-2FF9EA43526F}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {C0A18BF4-B56B-4E32-B1CD-2FF9EA43526F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {C0A18BF4-B56B-4E32-B1CD-2FF9EA43526F}.Release|x86.ActiveCfg = Release|Any CPU
{EFD6F198-A4E8-419E-ABBC-8573B29ACC42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EFD6F198-A4E8-419E-ABBC-8573B29ACC42}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EFD6F198-A4E8-419E-ABBC-8573B29ACC42}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {EFD6F198-A4E8-419E-ABBC-8573B29ACC42}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {EFD6F198-A4E8-419E-ABBC-8573B29ACC42}.Debug|x86.ActiveCfg = Debug|Any CPU
{EFD6F198-A4E8-419E-ABBC-8573B29ACC42}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EFD6F198-A4E8-419E-ABBC-8573B29ACC42}.Release|Any CPU.Build.0 = Release|Any CPU
+ {EFD6F198-A4E8-419E-ABBC-8573B29ACC42}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {EFD6F198-A4E8-419E-ABBC-8573B29ACC42}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {EFD6F198-A4E8-419E-ABBC-8573B29ACC42}.Release|x86.ActiveCfg = Release|Any CPU
{6F8D99D7-A303-4BA7-9E29-7CCCD510FE78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6F8D99D7-A303-4BA7-9E29-7CCCD510FE78}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6F8D99D7-A303-4BA7-9E29-7CCCD510FE78}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {6F8D99D7-A303-4BA7-9E29-7CCCD510FE78}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {6F8D99D7-A303-4BA7-9E29-7CCCD510FE78}.Debug|x86.ActiveCfg = Debug|Any CPU
{6F8D99D7-A303-4BA7-9E29-7CCCD510FE78}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6F8D99D7-A303-4BA7-9E29-7CCCD510FE78}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6F8D99D7-A303-4BA7-9E29-7CCCD510FE78}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {6F8D99D7-A303-4BA7-9E29-7CCCD510FE78}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {6F8D99D7-A303-4BA7-9E29-7CCCD510FE78}.Release|x86.ActiveCfg = Release|Any CPU
{FD52AD83-2185-4093-94C3-D97D38D30110}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FD52AD83-2185-4093-94C3-D97D38D30110}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FD52AD83-2185-4093-94C3-D97D38D30110}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {FD52AD83-2185-4093-94C3-D97D38D30110}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {FD52AD83-2185-4093-94C3-D97D38D30110}.Debug|x86.ActiveCfg = Debug|Any CPU
{FD52AD83-2185-4093-94C3-D97D38D30110}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FD52AD83-2185-4093-94C3-D97D38D30110}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FD52AD83-2185-4093-94C3-D97D38D30110}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {FD52AD83-2185-4093-94C3-D97D38D30110}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {FD52AD83-2185-4093-94C3-D97D38D30110}.Release|x86.ActiveCfg = Release|Any CPU
{D739D3C5-5C15-4D36-B177-818DC676D57A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D739D3C5-5C15-4D36-B177-818DC676D57A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D739D3C5-5C15-4D36-B177-818DC676D57A}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {D739D3C5-5C15-4D36-B177-818DC676D57A}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {D739D3C5-5C15-4D36-B177-818DC676D57A}.Debug|x86.ActiveCfg = Debug|Any CPU
{D739D3C5-5C15-4D36-B177-818DC676D57A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D739D3C5-5C15-4D36-B177-818DC676D57A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D739D3C5-5C15-4D36-B177-818DC676D57A}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {D739D3C5-5C15-4D36-B177-818DC676D57A}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {D739D3C5-5C15-4D36-B177-818DC676D57A}.Release|x86.ActiveCfg = Release|Any CPU
+ {C7EFCA67-0025-4F1A-8982-394BF567A591}.Debug|Any CPU.ActiveCfg = Debug|x86
+ {C7EFCA67-0025-4F1A-8982-394BF567A591}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {C7EFCA67-0025-4F1A-8982-394BF567A591}.Debug|Mixed Platforms.Build.0 = Debug|x86
+ {C7EFCA67-0025-4F1A-8982-394BF567A591}.Debug|x86.ActiveCfg = Debug|x86
+ {C7EFCA67-0025-4F1A-8982-394BF567A591}.Debug|x86.Build.0 = Debug|x86
+ {C7EFCA67-0025-4F1A-8982-394BF567A591}.Release|Any CPU.ActiveCfg = Release|x86
+ {C7EFCA67-0025-4F1A-8982-394BF567A591}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {C7EFCA67-0025-4F1A-8982-394BF567A591}.Release|Mixed Platforms.Build.0 = Release|x86
+ {C7EFCA67-0025-4F1A-8982-394BF567A591}.Release|x86.ActiveCfg = Release|x86
+ {C7EFCA67-0025-4F1A-8982-394BF567A591}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
View
4 UnitTests/App.config
@@ -16,6 +16,10 @@
<assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
</dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
+ </dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
View
16 Website/App_Start/ViewEngines.cs
@@ -0,0 +1,16 @@
+using System.Web.Mvc;
+using Ebuy.Website.App_Start;
+using MvcContrib.PortableAreas;
+
+[assembly: WebActivator.PostApplicationStartMethod(typeof(Ebuy.Website.App_Start.ViewEngines), "Start")]
+
+namespace Ebuy.Website.App_Start
+{
+ public static class ViewEngines
+ {
+ public static void Start()
+ {
+ PortableAreaRegistration.RegisterEmbeddedViewEngine();
+ }
+ }
+}
View
61 Website/Areas/Web.config
@@ -0,0 +1,61 @@
+<?xml version="1.0"?>
+
+<configuration>
+ <configSections>
+ <sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
+ <section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
+ <section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
+ </sectionGroup>
+ </configSections>
+
+ <system.web.webPages.razor>
+ <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
+ <pages pageBaseType="System.Web.Mvc.WebViewPage">
+ <namespaces>
+ <add namespace="System.Web.Mvc" />
+ <add namespace="System.Web.Mvc.Ajax" />
+ <add namespace="System.Web.Mvc.Html" />
+ <add namespace="System.Web.Routing" />
+ <add namespace="Ebuy.Website" />
+ <add namespace="Ebuy.Website.Extensions" />
+ <add namespace="Ebuy.Website.Models" />
+ </namespaces>
+ </pages>
+ </system.web.webPages.razor>
+
+ <appSettings>
+ <add key="webpages:Enabled" value="false" />
+ </appSettings>
+
+ <system.web>
+ <httpHandlers>
+ <add path="*" verb="*" type="System.Web.HttpNotFoundHandler"/>
+ </httpHandlers>
+
+ <!--
+ Enabling request validation in view pages would cause validation to occur
+ after the input has already been processed by the controller. By default
+ MVC performs request validation before a controller processes the input.
+ To change this behavior apply the ValidateInputAttribute to a
+ controller or action.
+ -->
+ <pages
+ validateRequest="false"
+ pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
+ pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
+ userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
+ <controls>
+ <add assembly="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
+ </controls>
+ </pages>
+ </system.web>
+
+ <system.webServer>
+ <validation validateIntegratedModeConfiguration="false" />
+
+ <handlers>
+ <remove name="BlockViewHandler"/>
+ <add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
+ </handlers>
+ </system.webServer>
+</configuration>
View
14 Website/Ebuy.Website.csproj
@@ -64,9 +64,15 @@
<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, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <HintPath>..\packages\Mvc3Futures.3.0.20105.0\lib\Microsoft.Web.Mvc.dll</HintPath>
+ </Reference>
<Reference Include="Microsoft.Web.Optimization">
<HintPath>..\packages\Microsoft.Web.Optimization.0.1\lib\net40\Microsoft.Web.Optimization.dll</HintPath>
</Reference>
+ <Reference Include="MvcContrib, Version=3.0.94.0, Culture=neutral, processorArchitecture=MSIL">
+ <HintPath>..\packages\MvcContrib.Mvc3-ci.3.0.94.0\lib\MvcContrib.dll</HintPath>
+ </Reference>
<Reference Include="Ninject">
<HintPath>..\packages\Ninject.2.2.1.4\lib\net40-Full\Ninject.dll</HintPath>
</Reference>
@@ -132,6 +138,7 @@
<SubType>Code</SubType>
</Compile>
<Compile Include="App_Start\Routing.cs" />
+ <Compile Include="App_Start\ViewEngines.cs" />
<Compile Include="Areas\Admin\AdminAreaRegistration.cs" />
<Compile Include="Areas\Admin\Controllers\UsersController.cs" />
<Compile Include="Areas\Admin\Models\UserViewModel.cs" />
@@ -276,6 +283,10 @@
<Content Include="packages.config" />
</ItemGroup>
<ItemGroup>
+ <ProjectReference Include="..\AdminArea\EBuy.AdminArea.csproj">
+ <Project>{C7EFCA67-0025-4F1A-8982-394BF567A591}</Project>
+ <Name>EBuy.AdminArea</Name>
+ </ProjectReference>
<ProjectReference Include="..\Core\Ebuy.Core.csproj">
<Project>{EFD6F198-A4E8-419E-ABBC-8573B29ACC42}</Project>
<Name>Ebuy.Core</Name>
@@ -328,6 +339,9 @@
<ItemGroup>
<Content Include="Views\Auctions\SuccessfulBid.cshtml" />
</ItemGroup>
+ <ItemGroup>
+ <Content Include="Areas\Web.config" />
+ </ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
View
2 Website/Web.config
@@ -83,7 +83,7 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" />
+ <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
View
2 Website/packages.config
@@ -19,6 +19,8 @@
<package id="Microsoft.Web.Optimization" version="0.1" />
<package id="MicrosoftWebInfrastructure" version="1.0.0.0" />
<package id="Modernizr" version="2.0.6" />
+ <package id="Mvc3Futures" version="3.0.20105.0" />
+ <package id="MvcContrib.Mvc3-ci" version="3.0.94.0" />
<package id="Ninject" version="2.2.1.4" />
<package id="Ninject.MVC3" version="2.2.2.0" />
<package id="NLog" version="2.0.0.2000" />

0 comments on commit f95cc46

Please sign in to comment.