Changed to eShopOnContainers and added basic NetStandard Libraries for Models and SqlData/Repositories code

This commit is contained in:
Cesar De la Torre 2016-09-07 13:52:26 -07:00
parent 42d10f343c
commit e898bc0daf
162 changed files with 552 additions and 170 deletions

View File

@ -1,83 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{932D8224-11F6-4D07-B109-DA28AD288A63}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3AF739CD-81D8-428D-A08A-0A58372DEBF6}"
ProjectSection(SolutionItems) = preProject
global.json = global.json
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Microservices", "Microservices", "{91CF7717-08AB-4E65-B10E-0B426F01E2E8}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Web Apps", "Web Apps", "{E279BF0F-7F66-4F3A-A3AB-2CDA66C1CD04}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Mobile Apps", "Mobile Apps", "{F61357CE-1CC2-410E-8776-B16EEBC98EB8}"
ProjectSection(SolutionItems) = preProject
src\Mobile\Xamarin projects when created.txt = src\Mobile\Xamarin projects when created.txt
EndProjectSection
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Containerized-eShop.WebMVC", "src\Web\Microsoft.Containerized-eShop.WebMVC\Microsoft.Containerized-eShop.WebMVC.xproj", "{1D40C583-ABF0-400B-8C63-2C3669268C8B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Catalog", "Catalog", "{326A7FB3-5295-468C-A4FE-67DCB823E1E5}"
ProjectSection(SolutionItems) = preProject
src\Microservices\Catalog\Additional related projects-images like DataSources or related microservices.txt = src\Microservices\Catalog\Additional related projects-images like DataSources or related microservices.txt
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Basket", "Basket", "{BF3EF4F3-E4F5-41DA-9D2D-57223687D1A8}"
ProjectSection(SolutionItems) = preProject
src\Microservices\Basket\Additional related projects-images like Redis Cache.txt = src\Microservices\Basket\Additional related projects-images like Redis Cache.txt
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Ordering", "Ordering", "{0BD0DB92-2D98-44D9-9AC0-C59186D59B0B}"
ProjectSection(SolutionItems) = preProject
src\Microservices\Ordering\Additional projects-images like DataSources or Related microservices.txt = src\Microservices\Ordering\Additional projects-images like DataSources or Related microservices.txt
EndProjectSection
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Containerized-eShop.BasketAPI", "src\Microservices\Basket\Microsoft.Containerized-eShop.BasketAPI\Microsoft.Containerized-eShop.BasketAPI.xproj", "{F6A031AF-D7AE-47C1-AB53-1456A528280C}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Containerized-eShop.OrderingAPI", "src\Microservices\Ordering\Microsoft.Containerized-eShop.OrderingAPI\Microsoft.Containerized-eShop.OrderingAPI.xproj", "{941B2DBA-8827-447E-AC82-7BEB118A968B}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Containerized-eShop.CatalogAPI", "src\Microservices\Catalog\Microsoft.Containerized-eShop.CatalogAPI\Microsoft.Containerized-eShop.CatalogAPI.xproj", "{2D26AFB4-0ECB-4009-98D6-CAB5825E62A8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1D40C583-ABF0-400B-8C63-2C3669268C8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1D40C583-ABF0-400B-8C63-2C3669268C8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1D40C583-ABF0-400B-8C63-2C3669268C8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1D40C583-ABF0-400B-8C63-2C3669268C8B}.Release|Any CPU.Build.0 = Release|Any CPU
{F6A031AF-D7AE-47C1-AB53-1456A528280C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F6A031AF-D7AE-47C1-AB53-1456A528280C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F6A031AF-D7AE-47C1-AB53-1456A528280C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F6A031AF-D7AE-47C1-AB53-1456A528280C}.Release|Any CPU.Build.0 = Release|Any CPU
{941B2DBA-8827-447E-AC82-7BEB118A968B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{941B2DBA-8827-447E-AC82-7BEB118A968B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{941B2DBA-8827-447E-AC82-7BEB118A968B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{941B2DBA-8827-447E-AC82-7BEB118A968B}.Release|Any CPU.Build.0 = Release|Any CPU
{2D26AFB4-0ECB-4009-98D6-CAB5825E62A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2D26AFB4-0ECB-4009-98D6-CAB5825E62A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2D26AFB4-0ECB-4009-98D6-CAB5825E62A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2D26AFB4-0ECB-4009-98D6-CAB5825E62A8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{91CF7717-08AB-4E65-B10E-0B426F01E2E8} = {932D8224-11F6-4D07-B109-DA28AD288A63}
{E279BF0F-7F66-4F3A-A3AB-2CDA66C1CD04} = {932D8224-11F6-4D07-B109-DA28AD288A63}
{F61357CE-1CC2-410E-8776-B16EEBC98EB8} = {932D8224-11F6-4D07-B109-DA28AD288A63}
{1D40C583-ABF0-400B-8C63-2C3669268C8B} = {E279BF0F-7F66-4F3A-A3AB-2CDA66C1CD04}
{326A7FB3-5295-468C-A4FE-67DCB823E1E5} = {91CF7717-08AB-4E65-B10E-0B426F01E2E8}
{BF3EF4F3-E4F5-41DA-9D2D-57223687D1A8} = {91CF7717-08AB-4E65-B10E-0B426F01E2E8}
{0BD0DB92-2D98-44D9-9AC0-C59186D59B0B} = {91CF7717-08AB-4E65-B10E-0B426F01E2E8}
{F6A031AF-D7AE-47C1-AB53-1456A528280C} = {BF3EF4F3-E4F5-41DA-9D2D-57223687D1A8}
{941B2DBA-8827-447E-AC82-7BEB118A968B} = {0BD0DB92-2D98-44D9-9AC0-C59186D59B0B}
{2D26AFB4-0ECB-4009-98D6-CAB5825E62A8} = {326A7FB3-5295-468C-A4FE-67DCB823E1E5}
EndGlobalSection
EndGlobal

116
eShopOnContainers.sln Normal file
View File

@ -0,0 +1,116 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{932D8224-11F6-4D07-B109-DA28AD288A63}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3AF739CD-81D8-428D-A08A-0A58372DEBF6}"
ProjectSection(SolutionItems) = preProject
global.json = global.json
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Services", "Services", "{91CF7717-08AB-4E65-B10E-0B426F01E2E8}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Web Apps", "Web Apps", "{E279BF0F-7F66-4F3A-A3AB-2CDA66C1CD04}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Mobile Apps", "Mobile Apps", "{F61357CE-1CC2-410E-8776-B16EEBC98EB8}"
ProjectSection(SolutionItems) = preProject
src\Mobile\Xamarin projects when created.txt = src\Mobile\Xamarin projects when created.txt
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Catalog", "Catalog", "{326A7FB3-5295-468C-A4FE-67DCB823E1E5}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Basket", "Basket", "{BF3EF4F3-E4F5-41DA-9D2D-57223687D1A8}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Ordering", "Ordering", "{0BD0DB92-2D98-44D9-9AC0-C59186D59B0B}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "eShopOnContainers.WebMVC", "src\Web\Microsoft.eShopOnContainers.WebMVC\eShopOnContainers.WebMVC.xproj", "{F0333D8E-0B27-42B7-B2C6-78F3657624E2}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Basket.API", "src\Services\Basket\Basket.API\Basket.API.xproj", "{2110CBB0-3B38-4EE4-A743-DF6968D80D90}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Catalog.API", "src\Services\Catalog\Catalog.API\Catalog.API.xproj", "{42681D9D-750A-4DF7-BD9F-9292CFD5C253}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Ordering.API", "src\Services\Ordering\Ordering.API\Ordering.API.xproj", "{231226CE-690B-4979-8870-9A79D80928E2}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Basket.Model", "src\Services\Basket\Basket.Model\Basket.Model.xproj", "{C666D3AB-BBD9-4209-8161-C4B5028C6BC3}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Catalog.Model", "src\Services\Catalog\Catalog.Model\Catalog.Model.xproj", "{586D8F57-492B-4365-A87B-38A8F40096AB}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Ordering.Domain", "src\Services\Ordering\Ordering.Domain\Ordering.Domain.xproj", "{F5598DCB-6DDE-4661-AD9D-A55612DA7E76}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Basket.RedisData", "src\Services\Basket\Basket.RedisData\Basket.RedisData.xproj", "{D78C4572-F8D8-4B49-ACD0-F0567CB15F0D}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Catalog.SqlData", "src\Services\Catalog\Catalog.SqlData\Catalog.SqlData.xproj", "{D9FDCDDA-7823-4043-8C40-634E5FD78046}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Ordering.SqlData", "src\Services\Ordering\Ordering.SqlData\Ordering.SqlData.xproj", "{5DA6EF13-C7E0-4EC4-8599-A61C6AC2628D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F0333D8E-0B27-42B7-B2C6-78F3657624E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F0333D8E-0B27-42B7-B2C6-78F3657624E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F0333D8E-0B27-42B7-B2C6-78F3657624E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F0333D8E-0B27-42B7-B2C6-78F3657624E2}.Release|Any CPU.Build.0 = Release|Any CPU
{2110CBB0-3B38-4EE4-A743-DF6968D80D90}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2110CBB0-3B38-4EE4-A743-DF6968D80D90}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2110CBB0-3B38-4EE4-A743-DF6968D80D90}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2110CBB0-3B38-4EE4-A743-DF6968D80D90}.Release|Any CPU.Build.0 = Release|Any CPU
{42681D9D-750A-4DF7-BD9F-9292CFD5C253}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{42681D9D-750A-4DF7-BD9F-9292CFD5C253}.Debug|Any CPU.Build.0 = Debug|Any CPU
{42681D9D-750A-4DF7-BD9F-9292CFD5C253}.Release|Any CPU.ActiveCfg = Release|Any CPU
{42681D9D-750A-4DF7-BD9F-9292CFD5C253}.Release|Any CPU.Build.0 = Release|Any CPU
{231226CE-690B-4979-8870-9A79D80928E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{231226CE-690B-4979-8870-9A79D80928E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{231226CE-690B-4979-8870-9A79D80928E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{231226CE-690B-4979-8870-9A79D80928E2}.Release|Any CPU.Build.0 = Release|Any CPU
{C666D3AB-BBD9-4209-8161-C4B5028C6BC3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C666D3AB-BBD9-4209-8161-C4B5028C6BC3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C666D3AB-BBD9-4209-8161-C4B5028C6BC3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C666D3AB-BBD9-4209-8161-C4B5028C6BC3}.Release|Any CPU.Build.0 = Release|Any CPU
{586D8F57-492B-4365-A87B-38A8F40096AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{586D8F57-492B-4365-A87B-38A8F40096AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{586D8F57-492B-4365-A87B-38A8F40096AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{586D8F57-492B-4365-A87B-38A8F40096AB}.Release|Any CPU.Build.0 = Release|Any CPU
{F5598DCB-6DDE-4661-AD9D-A55612DA7E76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F5598DCB-6DDE-4661-AD9D-A55612DA7E76}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F5598DCB-6DDE-4661-AD9D-A55612DA7E76}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F5598DCB-6DDE-4661-AD9D-A55612DA7E76}.Release|Any CPU.Build.0 = Release|Any CPU
{D78C4572-F8D8-4B49-ACD0-F0567CB15F0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D78C4572-F8D8-4B49-ACD0-F0567CB15F0D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D78C4572-F8D8-4B49-ACD0-F0567CB15F0D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D78C4572-F8D8-4B49-ACD0-F0567CB15F0D}.Release|Any CPU.Build.0 = Release|Any CPU
{D9FDCDDA-7823-4043-8C40-634E5FD78046}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D9FDCDDA-7823-4043-8C40-634E5FD78046}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D9FDCDDA-7823-4043-8C40-634E5FD78046}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D9FDCDDA-7823-4043-8C40-634E5FD78046}.Release|Any CPU.Build.0 = Release|Any CPU
{5DA6EF13-C7E0-4EC4-8599-A61C6AC2628D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5DA6EF13-C7E0-4EC4-8599-A61C6AC2628D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5DA6EF13-C7E0-4EC4-8599-A61C6AC2628D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5DA6EF13-C7E0-4EC4-8599-A61C6AC2628D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{91CF7717-08AB-4E65-B10E-0B426F01E2E8} = {932D8224-11F6-4D07-B109-DA28AD288A63}
{E279BF0F-7F66-4F3A-A3AB-2CDA66C1CD04} = {932D8224-11F6-4D07-B109-DA28AD288A63}
{F61357CE-1CC2-410E-8776-B16EEBC98EB8} = {932D8224-11F6-4D07-B109-DA28AD288A63}
{326A7FB3-5295-468C-A4FE-67DCB823E1E5} = {91CF7717-08AB-4E65-B10E-0B426F01E2E8}
{BF3EF4F3-E4F5-41DA-9D2D-57223687D1A8} = {91CF7717-08AB-4E65-B10E-0B426F01E2E8}
{0BD0DB92-2D98-44D9-9AC0-C59186D59B0B} = {91CF7717-08AB-4E65-B10E-0B426F01E2E8}
{F0333D8E-0B27-42B7-B2C6-78F3657624E2} = {E279BF0F-7F66-4F3A-A3AB-2CDA66C1CD04}
{2110CBB0-3B38-4EE4-A743-DF6968D80D90} = {BF3EF4F3-E4F5-41DA-9D2D-57223687D1A8}
{42681D9D-750A-4DF7-BD9F-9292CFD5C253} = {326A7FB3-5295-468C-A4FE-67DCB823E1E5}
{231226CE-690B-4979-8870-9A79D80928E2} = {0BD0DB92-2D98-44D9-9AC0-C59186D59B0B}
{C666D3AB-BBD9-4209-8161-C4B5028C6BC3} = {BF3EF4F3-E4F5-41DA-9D2D-57223687D1A8}
{586D8F57-492B-4365-A87B-38A8F40096AB} = {326A7FB3-5295-468C-A4FE-67DCB823E1E5}
{F5598DCB-6DDE-4661-AD9D-A55612DA7E76} = {0BD0DB92-2D98-44D9-9AC0-C59186D59B0B}
{D78C4572-F8D8-4B49-ACD0-F0567CB15F0D} = {BF3EF4F3-E4F5-41DA-9D2D-57223687D1A8}
{D9FDCDDA-7823-4043-8C40-634E5FD78046} = {326A7FB3-5295-468C-A4FE-67DCB823E1E5}
{5DA6EF13-C7E0-4EC4-8599-A61C6AC2628D} = {0BD0DB92-2D98-44D9-9AC0-C59186D59B0B}
EndGlobalSection
EndGlobal

View File

@ -6,8 +6,8 @@
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>2d26afb4-0ecb-4009-98d6-cab5825e62a8</ProjectGuid>
<RootNamespace>Microsoft.Containerized_eShop.CatalogAPI</RootNamespace>
<ProjectGuid>2110cbb0-3b38-4ee4-a743-df6968d80d90</ProjectGuid>
<RootNamespace>Microsoft.eShopOnContainers.Services.Basket.API</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
@ -16,4 +16,4 @@
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet.Web\Microsoft.DotNet.Web.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>
</Project>

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Microsoft.Containerized_eShop.CatalogAPI.Controllers
namespace Microsoft.eShopOnContainers.Services.Basket.API.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
namespace Microsoft.Containerized_eShop.CatalogAPI
namespace Microsoft.eShopOnContainers.Services.Basket.API
{
public class Program
{

View File

@ -3,7 +3,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:2923/",
"applicationUrl": "http://localhost:2160/",
"sslPort": 0
}
},
@ -16,7 +16,7 @@
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Microsoft.Containerized_eShop.BasketAPI": {
"Microsoft.eShopOnContainers.Services.Basket.API": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "http://localhost:5000/api/values",

View File

@ -8,7 +8,7 @@ using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Microsoft.Containerized_eShop.BasketAPI
namespace Microsoft.eShopOnContainers.Services.Basket.API
{
public class Startup
{

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>c666d3ab-bbd9-4209-8161-c4b5028c6bc3</ProjectGuid>
<RootNamespace>Microsoft.eShopOnContainers.Services.Basket.Model</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

View File

@ -0,0 +1,19 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Microsoft.eShopOnContainers.Services.Basket.Model")]
[assembly: AssemblyTrademark("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("c666d3ab-bbd9-4209-8161-c4b5028c6bc3")]

View File

@ -0,0 +1,13 @@
{
"version": "1.0.0-*",
"dependencies": {
"NETStandard.Library": "1.6.0"
},
"frameworks": {
"netstandard1.6": {
"imports": "dnxcore50"
}
}
}

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>d78c4572-f8d8-4b49-acd0-f0567cb15f0d</ProjectGuid>
<RootNamespace>Microsoft.eShopOnContainers.Services.Basket.RedisData</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

View File

@ -0,0 +1,19 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Microsoft.eShopOnContainers.Services.Basket.RedisData")]
[assembly: AssemblyTrademark("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("d78c4572-f8d8-4b49-acd0-f0567cb15f0d")]

View File

@ -0,0 +1,13 @@
{
"version": "1.0.0-*",
"dependencies": {
"NETStandard.Library": "1.6.0"
},
"frameworks": {
"netstandard1.6": {
"imports": "dnxcore50"
}
}
}

View File

@ -6,8 +6,8 @@
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>941b2dba-8827-447e-ac82-7beb118a968b</ProjectGuid>
<RootNamespace>Microsoft.Containerized_eShop.OrderingAPI</RootNamespace>
<ProjectGuid>42681d9d-750a-4df7-bd9f-9292cfd5c253</ProjectGuid>
<RootNamespace>Microsoft.eShopOnContainers.Services.Catalog.API</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
@ -16,4 +16,4 @@
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet.Web\Microsoft.DotNet.Web.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>
</Project>

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Microsoft.Containerized_eShop.BasketAPI.Controllers
namespace Microsoft.eShopOnContainers.Services.Catalog.API.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
namespace Microsoft.Containerized_eShop.OrderingAPI
namespace Microsoft.eShopOnContainers.Services.Catalog.API
{
public class Program
{

View File

@ -3,7 +3,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:2929/",
"applicationUrl": "http://localhost:2418/",
"sslPort": 0
}
},
@ -16,7 +16,7 @@
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Microsoft.Containerized_eShop.OrderingAPI": {
"Microsoft.eShopOnContainers.Services.Catalog.API": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "http://localhost:5000/api/values",

View File

@ -8,7 +8,7 @@ using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Microsoft.Containerized_eShop.OrderingAPI
namespace Microsoft.eShopOnContainers.Services.Catalog.API
{
public class Startup
{

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>586d8f57-492b-4365-a87b-38a8f40096ab</ProjectGuid>
<RootNamespace>Microsoft.eShopOnContainers.Services.Catalog.Model</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

View File

@ -0,0 +1,19 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Microsoft.eShopOnContainers.Services.Catalog.Model")]
[assembly: AssemblyTrademark("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("586d8f57-492b-4365-a87b-38a8f40096ab")]

View File

@ -0,0 +1,13 @@
{
"version": "1.0.0-*",
"dependencies": {
"NETStandard.Library": "1.6.0"
},
"frameworks": {
"netstandard1.6": {
"imports": "dnxcore50"
}
}
}

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>d9fdcdda-7823-4043-8c40-634e5fd78046</ProjectGuid>
<RootNamespace>Microsoft.eShopOnContainers.Services.Catalog.SqlData</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

View File

@ -0,0 +1,19 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Microsoft.eShopOnContainers.Services.Catalog.SqlData")]
[assembly: AssemblyTrademark("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("d9fdcdda-7823-4043-8c40-634e5fd78046")]

View File

@ -0,0 +1,13 @@
{
"version": "1.0.0-*",
"dependencies": {
"NETStandard.Library": "1.6.0"
},
"frameworks": {
"netstandard1.6": {
"imports": "dnxcore50"
}
}
}

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Microsoft.Containerized_eShop.OrderingAPI.Controllers
namespace Microsoft.eShopOnContainers.Services.Ordering.API.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller

View File

@ -6,8 +6,8 @@
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>f6a031af-d7ae-47c1-ab53-1456a528280c</ProjectGuid>
<RootNamespace>Microsoft.Containerized_eShop.BasketAPI</RootNamespace>
<ProjectGuid>231226ce-690b-4979-8870-9a79d80928e2</ProjectGuid>
<RootNamespace>Microsoft.eShopOnContainers.Services.Ordering.API</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
@ -16,4 +16,4 @@
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet.Web\Microsoft.DotNet.Web.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>
</Project>

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
namespace Microsoft.Containerized_eShop.BasketAPI
namespace Microsoft.eShopOnContainers.Services.Ordering.API
{
public class Program
{

View File

@ -3,7 +3,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:2933/",
"applicationUrl": "http://localhost:2446/",
"sslPort": 0
}
},
@ -16,7 +16,7 @@
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Microsoft.Containerized_eShop.CatalogAPI": {
"Microsoft.eShopOnContainers.Services.Ordering.API": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "http://localhost:5000/api/values",

View File

@ -8,7 +8,7 @@ using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Microsoft.Containerized_eShop.CatalogAPI
namespace Microsoft.eShopOnContainers.Services.Ordering.API
{
public class Startup
{

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>f5598dcb-6dde-4661-ad9d-a55612da7e76</ProjectGuid>
<RootNamespace>Microsoft.eShopOnContainers.Services.Ordering.Domain</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

View File

@ -0,0 +1,19 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Microsoft.eShopOnContainers.Services.Ordering.Domain")]
[assembly: AssemblyTrademark("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("f5598dcb-6dde-4661-ad9d-a55612da7e76")]

View File

@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork
{
public class AggregateRoot
{
}
}

View File

@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork
{
public class Entity
{
}
}

View File

@ -0,0 +1,13 @@
{
"version": "1.0.0-*",
"dependencies": {
"NETStandard.Library": "1.6.0"
},
"frameworks": {
"netstandard1.6": {
"imports": "dnxcore50"
}
}
}

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>5da6ef13-c7e0-4ec4-8599-a61c6ac2628d</ProjectGuid>
<RootNamespace>Microsoft.eShopOnContainers.Services.Ordering.SqlData</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

View File

@ -0,0 +1,19 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Microsoft.eShopOnContainers.Services.Ordering.Infrastructure")]
[assembly: AssemblyTrademark("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("5da6ef13-c7e0-4ec4-8599-a61c6ac2628d")]

View File

@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.Services.Ordering.Infrastructure.SeedWork
{
public class Repository
{
}
}

View File

@ -0,0 +1,13 @@
{
"version": "1.0.0-*",
"dependencies": {
"NETStandard.Library": "1.6.0"
},
"frameworks": {
"netstandard1.6": {
"imports": "dnxcore50"
}
}
}

View File

@ -1,6 +0,0 @@
@using Microsoft.Containerized_eShop.WebMVC
@using Microsoft.Containerized_eShop.WebMVC.Models
@using Microsoft.Containerized_eShop.WebMVC.Models.AccountViewModels
@using Microsoft.Containerized_eShop.WebMVC.Models.ManageViewModels
@using Microsoft.AspNetCore.Identity
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

View File

@ -8,11 +8,11 @@ using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Extensions.Logging;
using Microsoft.Containerized_eShop.WebMVC.Models;
using Microsoft.Containerized_eShop.WebMVC.Models.AccountViewModels;
using Microsoft.Containerized_eShop.WebMVC.Services;
using Microsoft.eShopOnContainers.WebMVC.Models;
using Microsoft.eShopOnContainers.WebMVC.Models.AccountViewModels;
using Microsoft.eShopOnContainers.WebMVC.Services;
namespace Microsoft.Containerized_eShop.WebMVC.Controllers
namespace Microsoft.eShopOnContainers.WebMVC.Controllers
{
[Authorize]
public class AccountController : Controller

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Microsoft.Containerized_eShop.WebMVC.Controllers
namespace Microsoft.eShopOnContainers.WebMVC.Controllers
{
public class HomeController : Controller
{

View File

@ -6,11 +6,11 @@ using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.Containerized_eShop.WebMVC.Models;
using Microsoft.Containerized_eShop.WebMVC.Models.ManageViewModels;
using Microsoft.Containerized_eShop.WebMVC.Services;
using Microsoft.eShopOnContainers.WebMVC.Models;
using Microsoft.eShopOnContainers.WebMVC.Models.ManageViewModels;
using Microsoft.eShopOnContainers.WebMVC.Services;
namespace Microsoft.Containerized_eShop.WebMVC.Controllers
namespace Microsoft.eShopOnContainers.WebMVC.Controllers
{
[Authorize]
public class ManageController : Controller

View File

@ -4,9 +4,9 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.Containerized_eShop.WebMVC.Models;
using Microsoft.eShopOnContainers.WebMVC.Models;
namespace Microsoft.Containerized_eShop.WebMVC.Data
namespace Microsoft.eShopOnContainers.WebMVC.Data
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{

View File

@ -7,7 +7,7 @@ using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Microsoft.Containerized_eShop.WebMVC.Data.Migrations
namespace Microsoft.eShopOnContainers.WebMVC.Data.Migrations
{
[DbContext(typeof(ApplicationDbContext))]
[Migration("00000000000000_CreateIdentitySchema")]
@ -126,7 +126,7 @@ namespace Microsoft.Containerized_eShop.WebMVC.Data.Migrations
b.ToTable("AspNetUserTokens");
});
modelBuilder.Entity("Microsoft.Containerized_eShop.WebMVC.Models.ApplicationUser", b =>
modelBuilder.Entity("Microsoft.eShopOnContainers.WebMVC.Models.ApplicationUser", b =>
{
b.Property<string>("Id");
@ -185,7 +185,7 @@ namespace Microsoft.Containerized_eShop.WebMVC.Data.Migrations
modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<string>", b =>
{
b.HasOne("Microsoft.Containerized_eShop.WebMVC.Models.ApplicationUser")
b.HasOne("Microsoft.eShopOnContainers.WebMVC.Models.ApplicationUser")
.WithMany("Claims")
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade);
@ -193,7 +193,7 @@ namespace Microsoft.Containerized_eShop.WebMVC.Data.Migrations
modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<string>", b =>
{
b.HasOne("Microsoft.Containerized_eShop.WebMVC.Models.ApplicationUser")
b.HasOne("Microsoft.eShopOnContainers.WebMVC.Models.ApplicationUser")
.WithMany("Logins")
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade);
@ -206,7 +206,7 @@ namespace Microsoft.Containerized_eShop.WebMVC.Data.Migrations
.HasForeignKey("RoleId")
.OnDelete(DeleteBehavior.Cascade);
b.HasOne("Microsoft.Containerized_eShop.WebMVC.Models.ApplicationUser")
b.HasOne("Microsoft.eShopOnContainers.WebMVC.Models.ApplicationUser")
.WithMany("Roles")
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade);

View File

@ -5,7 +5,7 @@ using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Microsoft.Containerized_eShop.WebMVC.Data.Migrations
namespace Microsoft.eShopOnContainers.WebMVC.Data.Migrations
{
public partial class CreateIdentitySchema : Migration
{

View File

@ -7,7 +7,7 @@ using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Microsoft.Containerized_eShop.WebMVC.Data.Migrations
namespace Microsoft.eShopOnContainers.WebMVC.Data.Migrations
{
[DbContext(typeof(ApplicationDbContext))]
partial class ApplicationDbContextModelSnapshot : ModelSnapshot
@ -125,7 +125,7 @@ namespace Microsoft.Containerized_eShop.WebMVC.Data.Migrations
b.ToTable("AspNetUserTokens");
});
modelBuilder.Entity("Microsoft.Containerized_eShop.WebMVC.Models.ApplicationUser", b =>
modelBuilder.Entity("Microsoft.eShopOnContainers.WebMVC.Models.ApplicationUser", b =>
{
b.Property<string>("Id");
@ -184,7 +184,7 @@ namespace Microsoft.Containerized_eShop.WebMVC.Data.Migrations
modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<string>", b =>
{
b.HasOne("Microsoft.Containerized_eShop.WebMVC.Models.ApplicationUser")
b.HasOne("Microsoft.eShopOnContainers.WebMVC.Models.ApplicationUser")
.WithMany("Claims")
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade);
@ -192,7 +192,7 @@ namespace Microsoft.Containerized_eShop.WebMVC.Data.Migrations
modelBuilder.Entity("Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<string>", b =>
{
b.HasOne("Microsoft.Containerized_eShop.WebMVC.Models.ApplicationUser")
b.HasOne("Microsoft.eShopOnContainers.WebMVC.Models.ApplicationUser")
.WithMany("Logins")
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade);
@ -205,7 +205,7 @@ namespace Microsoft.Containerized_eShop.WebMVC.Data.Migrations
.HasForeignKey("RoleId")
.OnDelete(DeleteBehavior.Cascade);
b.HasOne("Microsoft.Containerized_eShop.WebMVC.Models.ApplicationUser")
b.HasOne("Microsoft.eShopOnContainers.WebMVC.Models.ApplicationUser")
.WithMany("Roles")
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade);

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Models.AccountViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.AccountViewModels
{
public class ExternalLoginConfirmationViewModel
{

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Models.AccountViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.AccountViewModels
{
public class ForgotPasswordViewModel
{

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Models.AccountViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.AccountViewModels
{
public class LoginViewModel
{

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Models.AccountViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.AccountViewModels
{
public class RegisterViewModel
{

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Models.AccountViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.AccountViewModels
{
public class ResetPasswordViewModel
{

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace Microsoft.Containerized_eShop.WebMVC.Models.AccountViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.AccountViewModels
{
public class SendCodeViewModel
{

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Models.AccountViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.AccountViewModels
{
public class VerifyCodeViewModel
{

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace Microsoft.Containerized_eShop.WebMVC.Models
namespace Microsoft.eShopOnContainers.WebMVC.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Models.ManageViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.ManageViewModels
{
public class AddPhoneNumberViewModel
{

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Models.ManageViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.ManageViewModels
{
public class ChangePasswordViewModel
{

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace Microsoft.Containerized_eShop.WebMVC.Models.ManageViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.ManageViewModels
{
public class ConfigureTwoFactorViewModel
{

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Models.ManageViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.ManageViewModels
{
public class FactorViewModel
{

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace Microsoft.Containerized_eShop.WebMVC.Models.ManageViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.ManageViewModels
{
public class IndexViewModel
{

View File

@ -5,7 +5,7 @@ using System.Threading.Tasks;
using Microsoft.AspNetCore.Http.Authentication;
using Microsoft.AspNetCore.Identity;
namespace Microsoft.Containerized_eShop.WebMVC.Models.ManageViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.ManageViewModels
{
public class ManageLoginsViewModel
{

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Models.ManageViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.ManageViewModels
{
public class RemoveLoginViewModel
{

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Models.ManageViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.ManageViewModels
{
public class SetPasswordViewModel
{

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Models.ManageViewModels
namespace Microsoft.eShopOnContainers.WebMVC.Models.ManageViewModels
{
public class VerifyPhoneNumberViewModel
{

View File

@ -5,7 +5,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
namespace Microsoft.Containerized_eShop.WebMVC
namespace Microsoft.eShopOnContainers.WebMVC
{
public class Program
{

View File

@ -3,7 +3,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:2795/",
"applicationUrl": "http://localhost:2113/",
"sslPort": 0
}
},
@ -15,7 +15,7 @@
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Microsoft.Containerized_eShop.WebMVC": {
"Microsoft.eShopOnContainers.WebMVC": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "http://localhost:5000",

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Services
namespace Microsoft.eShopOnContainers.WebMVC.Services
{
public interface IEmailSender
{

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Services
namespace Microsoft.eShopOnContainers.WebMVC.Services
{
public interface ISmsSender
{

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Containerized_eShop.WebMVC.Services
namespace Microsoft.eShopOnContainers.WebMVC.Services
{
// This class is used by the application to send Email and SMS
// when you turn on two-factor authentication in ASP.NET Identity.

View File

@ -9,11 +9,11 @@ using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Containerized_eShop.WebMVC.Data;
using Microsoft.Containerized_eShop.WebMVC.Models;
using Microsoft.Containerized_eShop.WebMVC.Services;
using Microsoft.eShopOnContainers.WebMVC.Data;
using Microsoft.eShopOnContainers.WebMVC.Models;
using Microsoft.eShopOnContainers.WebMVC.Services;
namespace Microsoft.Containerized_eShop.WebMVC
namespace Microsoft.eShopOnContainers.WebMVC
{
public class Startup
{

Some files were not shown because too many files have changed in this diff Show More