Download Onion Architecture with ASP.NET MVC
Description
Onion Architecture with ASP.NET MVC
Source Files
The download file onionarch.zip has the following entries.
.hgignore//from w w w . j a v a2s . c o m
src/AcmeShippingServices/AcmeShippingService.svc
src/AcmeShippingServices/AcmeShippingService.svc.cs
src/AcmeShippingServices/AcmeShippingServices.csproj
src/AcmeShippingServices/Properties/AssemblyInfo.cs
src/AcmeShippingServices/Web.Debug.config
src/AcmeShippingServices/Web.Release.config
src/AcmeShippingServices/Web.config
src/ContosoInventoryServices/ContosoInventoryService.svc
src/ContosoInventoryServices/ContosoInventoryService.svc.cs
src/ContosoInventoryServices/ContosoInventoryServices.csproj
src/ContosoInventoryServices/Properties/AssemblyInfo.cs
src/ContosoInventoryServices/Web.Debug.config
src/ContosoInventoryServices/Web.Release.config
src/ContosoInventoryServices/Web.config
src/Core/Core.csproj
src/Core/Domain/Category.cs
src/Core/Domain/CreditCard.cs
src/Core/Domain/IDataContext.cs
src/Core/Domain/Product.cs
src/Core/Domain/ShoppingCart.cs
src/Core/Properties/AssemblyInfo.cs
src/Core/ServiceLocator.cs
src/Core/Services/IInventoryService.cs
src/Core/Services/ILogger.cs
src/Core/Services/IOrderProcessor.cs
src/Core/Services/IShippingService.cs
src/Core/Services/IShoppingCartProcessor.cs
src/Core/Services/IUserSession.cs
src/Core/Services/Impl/SecurityService.cs
src/Core/Services/Impl/ShoppingCartProcessor.cs
src/Core/packages.config
src/DependencyResolution/App_Start/NinjectWebCommon.cs
src/DependencyResolution/DependencyHttpModule.cs
src/DependencyResolution/DependencyRegistrar.cs
src/DependencyResolution/DependencyResolution.csproj
src/DependencyResolution/NinjectServiceLocator.cs
src/DependencyResolution/OutputTo/OutputTargets.txt
src/DependencyResolution/Properties/AssemblyInfo.cs
src/DependencyResolution/UnityServiceLocator.cs
src/DependencyResolution/packages.config
src/E-Commerce.sln
src/E-Commerce.vsmdi
src/Infrastructure/EntityFramework/EfDataContext.cs
src/Infrastructure/Infrastructure.csproj
src/Infrastructure/Properties/AssemblyInfo.cs
src/Infrastructure/Properties/Settings.Designer.cs
src/Infrastructure/Properties/Settings.settings
src/Infrastructure/Service References/ExternalServices.AcmeShippingService/AcmeShippingService.disco
src/Infrastructure/Service References/ExternalServices.AcmeShippingService/AcmeShippingService.wsdl
src/Infrastructure/Service References/ExternalServices.AcmeShippingService/AcmeShippingService.xsd
src/Infrastructure/Service References/ExternalServices.AcmeShippingService/AcmeShippingService1.xsd
src/Infrastructure/Service References/ExternalServices.AcmeShippingService/Reference.cs
src/Infrastructure/Service References/ExternalServices.AcmeShippingService/Reference.svcmap
src/Infrastructure/Service References/ExternalServices.AcmeShippingService/configuration.svcinfo
src/Infrastructure/Service References/ExternalServices.AcmeShippingService/configuration91.svcinfo
src/Infrastructure/Service References/ExternalServices.ContosoInventoryService/ContosoInventoryService.disco
src/Infrastructure/Service References/ExternalServices.ContosoInventoryService/ContosoInventoryService.wsdl
src/Infrastructure/Service References/ExternalServices.ContosoInventoryService/ContosoInventoryService.xsd
src/Infrastructure/Service References/ExternalServices.ContosoInventoryService/ContosoInventoryService1.xsd
src/Infrastructure/Service References/ExternalServices.ContosoInventoryService/Reference.cs
src/Infrastructure/Service References/ExternalServices.ContosoInventoryService/Reference.svcmap
src/Infrastructure/Service References/ExternalServices.ContosoInventoryService/configuration.svcinfo
src/Infrastructure/Service References/ExternalServices.ContosoInventoryService/configuration91.svcinfo
src/Infrastructure/Service References/ExternalServices.PayPalService/Infrastructure.ExternalServices.PayPalService.CardValidationResult.datasource
src/Infrastructure/Service References/ExternalServices.PayPalService/PayPalService.disco
src/Infrastructure/Service References/ExternalServices.PayPalService/PayPalService.wsdl
src/Infrastructure/Service References/ExternalServices.PayPalService/PayPalService.xsd
src/Infrastructure/Service References/ExternalServices.PayPalService/PayPalService1.xsd
src/Infrastructure/Service References/ExternalServices.PayPalService/PayPalService2.xsd
src/Infrastructure/Service References/ExternalServices.PayPalService/Reference.cs
src/Infrastructure/Service References/ExternalServices.PayPalService/Reference.svcmap
src/Infrastructure/Service References/ExternalServices.PayPalService/configuration.svcinfo
src/Infrastructure/Service References/ExternalServices.PayPalService/configuration91.svcinfo
src/Infrastructure/Services/AcmeShippingServiceAdapter.cs
src/Infrastructure/Services/ContosoInventoryServiceAdapter.cs
src/Infrastructure/Services/Log4NetLogger.cs
src/Infrastructure/Services/PayPalOrderProcessor.cs
src/Infrastructure/app.config
src/Infrastructure/packages.config
src/Local.testsettings
src/Mvc4/App_Data/ECommerce.sdf
src/Mvc4/App_Start/FilterConfig.cs
src/Mvc4/App_Start/RouteConfig.cs
src/Mvc4/Controllers/HomeApiController.cs
src/Mvc4/Controllers/HomeController.cs
src/Mvc4/Framework/IoCDependencyResolver.cs
src/Mvc4/Framework/ServiceResolverAdapter.cs
src/Mvc4/Global.asax
src/Mvc4/Global.asax.cs
src/Mvc4/Mvc4.csproj
src/Mvc4/Properties/AssemblyInfo.cs
src/Mvc4/Views/Web.config
src/Mvc4/Web.Debug.config
src/Mvc4/Web.Release.config
src/Mvc4/Web.config
src/Mvc4/packages.config
src/PayPalServices/CardValidationResult.cs
src/PayPalServices/CreditCard.cs
src/PayPalServices/PayPalService.svc
src/PayPalServices/PayPalService.svc.cs
src/PayPalServices/PayPalServices.csproj
src/PayPalServices/Properties/AssemblyInfo.cs
src/PayPalServices/Web.Debug.config
src/PayPalServices/Web.Release.config
src/PayPalServices/Web.config
src/TraceAndTestImpact.testsettings
src/UI/App_Data/ECommerce.sdf
src/UI/Content/Site.css
src/UI/ControllerFactory.cs
src/UI/Controllers/HomeController.cs
src/UI/Controllers/ProductsController.cs
src/UI/Controllers/ShoppingCartController.cs
src/UI/DependencyInjectionRecap.cs
src/UI/Global.asax
src/UI/Global.asax.cs
src/UI/Models/ProductInput.cs
src/UI/Properties/AssemblyInfo.cs
src/UI/Services/HttpUserSession.cs
src/UI/UI.csproj
src/UI/Views/Home/About.aspx
src/UI/Views/Home/Index.aspx
src/UI/Views/Products/Index.aspx
src/UI/Views/Shared/Error.aspx
src/UI/Views/Shared/LogOnUserControl.ascx
src/UI/Views/Shared/Site.Master
src/UI/Views/ShoppingCart/Complete.aspx
src/UI/Views/ShoppingCart/Index.aspx
src/UI/Views/Web.config
src/UI/Web.Debug.config
src/UI/Web.Release.config
src/UI/Web.config
src/UI/_bin_deployableAssemblies/amd64/Microsoft.VC90.CRT/Microsoft.VC90.CRT.manifest
src/UI/_bin_deployableAssemblies/amd64/Microsoft.VC90.CRT/README_ENU.txt
src/UI/_bin_deployableAssemblies/amd64/Microsoft.VC90.CRT/msvcr90.dll
src/UI/_bin_deployableAssemblies/amd64/sqlceca40.dll
src/UI/_bin_deployableAssemblies/amd64/sqlcecompact40.dll
src/UI/_bin_deployableAssemblies/amd64/sqlceer40EN.dll
src/UI/_bin_deployableAssemblies/amd64/sqlceme40.dll
src/UI/_bin_deployableAssemblies/amd64/sqlceqp40.dll
src/UI/_bin_deployableAssemblies/amd64/sqlcese40.dll
src/UI/_bin_deployableAssemblies/x86/Microsoft.VC90.CRT/Microsoft.VC90.CRT.manifest
src/UI/_bin_deployableAssemblies/x86/Microsoft.VC90.CRT/README_ENU.txt
src/UI/_bin_deployableAssemblies/x86/Microsoft.VC90.CRT/msvcr90.dll
src/UI/_bin_deployableAssemblies/x86/sqlceca40.dll
src/UI/_bin_deployableAssemblies/x86/sqlcecompact40.dll
src/UI/_bin_deployableAssemblies/x86/sqlceer40EN.dll
src/UI/_bin_deployableAssemblies/x86/sqlceme40.dll
src/UI/_bin_deployableAssemblies/x86/sqlceqp40.dll
src/UI/_bin_deployableAssemblies/x86/sqlcese40.dll
src/UI/log-file.txt
src/UI/packages.config
src/packages/EntityFramework.4.3.1/Content/App.config.transform
src/packages/EntityFramework.4.3.1/Content/Web.config.transform
src/packages/EntityFramework.4.3.1/EntityFramework.4.3.1.nupkg
src/packages/EntityFramework.4.3.1/lib/net40/EntityFramework.dll
src/packages/EntityFramework.4.3.1/lib/net40/EntityFramework.xml
src/packages/EntityFramework.4.3.1/tools/EF4.3on.NET4.5Readme.txt
src/packages/EntityFramework.4.3.1/tools/EntityFramework.PowerShell.dll
src/packages/EntityFramework.4.3.1/tools/EntityFramework.psd1
src/packages/EntityFramework.4.3.1/tools/EntityFramework.psm1
src/packages/EntityFramework.4.3.1/tools/init.ps1
src/packages/EntityFramework.4.3.1/tools/install.ps1
src/packages/EntityFramework.4.3.1/tools/migrate.exe
src/packages/Microsoft.AspNet.Mvc.4.0.20505.0/Microsoft.AspNet.Mvc.4.0.20505.0.nupkg
src/packages/Microsoft.AspNet.Mvc.4.0.20505.0/lib/net40/System.Web.Mvc.dll
src/packages/Microsoft.AspNet.Mvc.4.0.20505.0/lib/net40/System.Web.Mvc.xml
src/packages/Microsoft.AspNet.Razor.2.0.20505.0/Microsoft.AspNet.Razor.2.0.20505.0.nupkg
src/packages/Microsoft.AspNet.Razor.2.0.20505.0/lib/net40/System.Web.Razor.dll
src/packages/Microsoft.AspNet.Razor.2.0.20505.0/lib/net40/System.Web.Razor.xml
src/packages/Microsoft.AspNet.WebApi.4.0.20505.0/Microsoft.AspNet.WebApi.4.0.20505.0.nupkg
src/packages/Microsoft.AspNet.WebApi.Client.4.0.20505.0/Microsoft.AspNet.WebApi.Client.4.0.20505.0.nupkg
src/packages/Microsoft.AspNet.WebApi.Client.4.0.20505.0/lib/net40/System.Net.Http.Formatting.dll
src/packages/Microsoft.AspNet.WebApi.Client.4.0.20505.0/lib/net40/System.Net.Http.Formatting.xml
src/packages/Microsoft.AspNet.WebApi.Core.4.0.20505.0/Microsoft.AspNet.WebApi.Core.4.0.20505.0.nupkg
src/packages/Microsoft.AspNet.WebApi.Core.4.0.20505.0/lib/net40/System.Web.Http.dll
src/packages/Microsoft.AspNet.WebApi.Core.4.0.20505.0/lib/net40/System.Web.Http.xml
src/packages/Microsoft.AspNet.WebApi.WebHost.4.0.20505.0/Microsoft.AspNet.WebApi.WebHost.4.0.20505.0.nupkg
src/packages/Microsoft.AspNet.WebApi.WebHost.4.0.20505.0/lib/net40/System.Web.Http.WebHost.dll
src/packages/Microsoft.AspNet.WebApi.WebHost.4.0.20505.0/lib/net40/System.Web.Http.WebHost.xml
src/packages/Microsoft.AspNet.WebPages.2.0.20505.0/Microsoft.AspNet.WebPages.2.0.20505.0.nupkg
src/packages/Microsoft.AspNet.WebPages.2.0.20505.0/lib/net40/System.Web.Helpers.dll
src/packages/Microsoft.AspNet.WebPages.2.0.20505.0/lib/net40/System.Web.Helpers.xml
src/packages/Microsoft.AspNet.WebPages.2.0.20505.0/lib/net40/System.Web.WebPages.Deployment.dll
src/packages/Microsoft.AspNet.WebPages.2.0.20505.0/lib/net40/System.Web.WebPages.Deployment.xml
src/packages/Microsoft.AspNet.WebPages.2.0.20505.0/lib/net40/System.Web.WebPages.Razor.dll
src/packages/Microsoft.AspNet.WebPages.2.0.20505.0/lib/net40/System.Web.WebPages.Razor.xml
src/packages/Microsoft.AspNet.WebPages.2.0.20505.0/lib/net40/System.Web.WebPages.dll
src/packages/Microsoft.AspNet.WebPages.2.0.20505.0/lib/net40/System.Web.WebPages.xml
src/packages/Microsoft.Net.Http.2.0.20505.0/Microsoft.Net.Http.2.0.20505.0.nupkg
src/packages/Microsoft.Net.Http.2.0.20505.0/lib/net40/System.Net.Http.WebRequest.dll
src/packages/Microsoft.Net.Http.2.0.20505.0/lib/net40/System.Net.Http.WebRequest.xml
src/packages/Microsoft.Net.Http.2.0.20505.0/lib/net40/System.Net.Http.dll
src/packages/Microsoft.Net.Http.2.0.20505.0/lib/net40/System.Net.Http.xml
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/Content/web.config.transform
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/Microsoft.SqlServer.Compact.4.0.8854.2.nupkg
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/amd64/Microsoft.VC90.CRT/Microsoft.VC90.CRT.manifest
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/amd64/Microsoft.VC90.CRT/README_ENU.txt
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/amd64/Microsoft.VC90.CRT/msvcr90.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/amd64/sqlceca40.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/amd64/sqlcecompact40.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/amd64/sqlceer40EN.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/amd64/sqlceme40.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/amd64/sqlceqp40.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/amd64/sqlcese40.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/x86/Microsoft.VC90.CRT/Microsoft.VC90.CRT.manifest
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/x86/Microsoft.VC90.CRT/README_ENU.txt
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/x86/Microsoft.VC90.CRT/msvcr90.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/x86/sqlceca40.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/x86/sqlcecompact40.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/x86/sqlceer40EN.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/x86/sqlceme40.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/x86/sqlceqp40.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/NativeBinaries/x86/sqlcese40.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/SQLCE_EULA_ENU.rtf
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/lib/net40/System.Data.SqlServerCe.dll
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/tools/Install.ps1
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/tools/Uninstall.ps1
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/tools/VS.psd1
src/packages/Microsoft.SqlServer.Compact.4.0.8854.2/tools/VS.psm1
src/packages/Microsoft.Web.Infrastructure.1.0.0.0/Microsoft.Web.Infrastructure.1.0.0.0.nupkg
src/packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll
src/packages/Microsoft.Web.Infrastructure.1.0.0.0/tools/Install.ps1
src/packages/Microsoft.Web.Infrastructure.1.0.0.0/tools/Uninstall.ps1
src/packages/Microsoft.Web.Infrastructure.1.0.0.0/tools/VS.psd1
src/packages/Microsoft.Web.Infrastructure.1.0.0.0/tools/VS.psm1
src/packages/Newtonsoft.Json.4.5.1/Newtonsoft.Json.4.5.1.nupkg
src/packages/Newtonsoft.Json.4.5.1/lib/net40/Newtonsoft.Json.dll
src/packages/Newtonsoft.Json.4.5.1/lib/net40/Newtonsoft.Json.xml
src/packages/Ninject.3.0.1.10/Ninject.3.0.1.10.nupkg
src/packages/Ninject.3.0.1.10/lib/net35/Ninject.dll
src/packages/Ninject.3.0.1.10/lib/net35/Ninject.xml
src/packages/Ninject.3.0.1.10/lib/net40/Ninject.dll
src/packages/Ninject.3.0.1.10/lib/net40/Ninject.xml
src/packages/Ninject.3.0.1.10/lib/net45-full/Ninject.dll
src/packages/Ninject.3.0.1.10/lib/net45-full/Ninject.xml
src/packages/Ninject.3.0.1.10/lib/sl2/Ninject.dll
src/packages/Ninject.3.0.1.10/lib/sl2/Ninject.xml
src/packages/Ninject.3.0.1.10/lib/sl3-wp/Ninject.dll
src/packages/Ninject.3.0.1.10/lib/sl3-wp/Ninject.xml
src/packages/Ninject.3.0.1.10/lib/sl3/Ninject.dll
src/packages/Ninject.3.0.1.10/lib/sl3/Ninject.xml
src/packages/Ninject.3.0.1.10/lib/sl4-windowsphone71/Ninject.dll
src/packages/Ninject.3.0.1.10/lib/sl4-windowsphone71/Ninject.xml
src/packages/Ninject.3.0.1.10/lib/sl4/Ninject.dll
src/packages/Ninject.3.0.1.10/lib/sl4/Ninject.xml
src/packages/Ninject.3.0.1.10/lib/sl5/Ninject.dll
src/packages/Ninject.3.0.1.10/lib/sl5/Ninject.xml
src/packages/Ninject.Web.Common.3.0.0.7/Content/App_Start/NinjectWebCommon.cs.pp
src/packages/Ninject.Web.Common.3.0.0.7/Ninject.Web.Common.3.0.0.7.nupkg
src/packages/Ninject.Web.Common.3.0.0.7/lib/net35-full/Ninject.Web.Common.dll
src/packages/Ninject.Web.Common.3.0.0.7/lib/net35-full/Ninject.Web.Common.xml
src/packages/Ninject.Web.Common.3.0.0.7/lib/net40-full/Ninject.Web.Common.dll
src/packages/Ninject.Web.Common.3.0.0.7/lib/net40-full/Ninject.Web.Common.xml
src/packages/Ninject.Web.Common.3.0.0.7/lib/net45-full/Ninject.Web.Common.dll
src/packages/Ninject.Web.Common.3.0.0.7/lib/net45-full/Ninject.Web.Common.xml
src/packages/NuGetPowerTools.0.29/NuGetPowerTools.0.29.nupkg
src/packages/NuGetPowerTools.0.29/tools/MSBuild.psm1
src/packages/NuGetPowerTools.0.29/tools/NuGetMSBuild.psm1
src/packages/NuGetPowerTools.0.29/tools/NuGetPowerTools.psd1
src/packages/NuGetPowerTools.0.29/tools/NuGetPowerTools.psm1
src/packages/NuGetPowerTools.0.29/tools/VS.psm1
src/packages/NuGetPowerTools.0.29/tools/init.ps1
src/packages/OutputTo.1.1/OutputTo.1.1.nupkg
src/packages/OutputTo.1.1/content/OutputTo/OutputTargets.txt
src/packages/OutputTo.1.1/tools/Install.ps1
src/packages/OutputTo.1.1/tools/ModifyProject.psm1
src/packages/OutputTo.1.1/tools/OutputTo.targets
src/packages/OutputTo.1.1/tools/Uninstall.ps1
src/packages/WebActivator.1.5.1/WebActivator.1.5.1.nupkg
src/packages/WebActivator.1.5.1/lib/net40/WebActivator.dll
src/packages/log4net.1.2.10/lib/1.0/log4net.dll
src/packages/log4net.1.2.10/lib/1.0/log4net.xml
src/packages/log4net.1.2.10/lib/1.1/log4net.dll
src/packages/log4net.1.2.10/lib/1.1/log4net.xml
src/packages/log4net.1.2.10/lib/2.0/log4net.dll
src/packages/log4net.1.2.10/lib/2.0/log4net.xml
src/packages/log4net.1.2.10/log4net.1.2.10.nupkg
src/packages/repositories.config
Download
Click the following link to download onionarch.zip.
onionarch.zip