@ -0,0 +1,46 @@ | |||||
# Delete all containers | |||||
Write-Host "Deleting all running containers in the local Docker Host" | |||||
docker rm $(docker ps -a -q) -f | |||||
$eShopImagesToDelete = docker images --filter=reference="eshop/*" -q | |||||
If (-Not $eShopImagesToDelete) {Write-Host "Not deleting eShop images as there are no eShop images in the current local Docker repo."} | |||||
Else | |||||
{ | |||||
# Delete all eshop images | |||||
Write-Host "Deleting eShop images in local Docker repo" | |||||
Write-Host $eShopImagesToDelete | |||||
docker rmi $(docker images --filter=reference="eshop/*" -q) -f | |||||
} | |||||
$VSImagesToDelete = docker images --filter=reference="catalog.api:dev" -q | |||||
If (-Not $VSImagesToDelete) {Write-Host "Not deleting VS images as there are no VS images in the current local Docker repo."} | |||||
Else | |||||
{ | |||||
# Delete all eshop images | |||||
Write-Host "Deleting images created by VS in local Docker repo" | |||||
Write-Host $VSImagesToDelete | |||||
docker rmi $(docker images --filter=reference="*:dev" -q) -f | |||||
#docker rmi $(docker images --filter=reference="eshop/payment.api:dev" -q) -f | |||||
#docker rmi $(docker images --filter=reference="eshop/webspa:dev" -q) -f | |||||
#docker rmi $(docker images --filter=reference="eshop/webmvc:dev" -q) -f | |||||
#docker rmi $(docker images --filter=reference="eshop/catalog.api:dev" -q) -f | |||||
#docker rmi $(docker images --filter=reference="eshop/marketing.api:dev" -q) -f | |||||
#docker rmi $(docker images --filter=reference="eshop/ordering.api:dev" -q) -f | |||||
#docker rmi $(docker images --filter=reference="eshop/basket.api:dev" -q) -f | |||||
#docker rmi $(docker images --filter=reference="eshop/identity.api:dev" -q) -f | |||||
#docker rmi $(docker images --filter=reference="eshop/locations.api:dev" -q) -f | |||||
#docker rmi $(docker images --filter=reference="eshop/webstatus:dev" -q) -f | |||||
} | |||||
# DELETE ALL IMAGES AND CONTAINERS | |||||
# Delete all containers | |||||
# docker rm $(docker ps -a -q) -f | |||||
# Delete all images | |||||
# docker rmi $(docker images -q) | |||||
#Filter by image name (Has to be complete, cannot be a wildcard) | |||||
#docker ps -q --filter=ancestor=eshop/identity.api:dev | |||||
@ -1,9 +1,32 @@ | |||||
Param([string] $rootPath) | |||||
# rootPath: Root path of the repo (where docker-compose*.yml are). If not passed ../cli-windows/ is assumed | |||||
# buildBits: If the projects must be built before. Default value: $true | |||||
# customEventBusLoginPassword: If a custom RabbitMQ image is used that do not use the default user login/pwd. Default: $false (means assume use default spring2/rabbitmq image) | |||||
Param( | |||||
[parameter(Mandatory=$false)][string] $rootPath, | |||||
[parameter(Mandatory=$false)][bool] $customEventBusLoginPassword=$false, | |||||
[parameter(Mandatory=$false)][bool]$buildBits=$true | |||||
) | |||||
$scriptPath = Split-Path $script:MyInvocation.MyCommand.Path | $scriptPath = Split-Path $script:MyInvocation.MyCommand.Path | ||||
if ([string]::IsNullOrEmpty($rootPath)) { | if ([string]::IsNullOrEmpty($rootPath)) { | ||||
$rootPath = "$scriptPath\.." | $rootPath = "$scriptPath\.." | ||||
} | } | ||||
Write-Host "Root path used is $rootPath" -ForegroundColor Yellow | Write-Host "Root path used is $rootPath" -ForegroundColor Yellow | ||||
& .\build-bits.ps1 -rootPath $rootPath | |||||
docker-compose -f "$rootPath\docker-compose-windows.yml" -f "$rootPath\docker-compose-windows.override.yml" up | |||||
if ($buildBits) { | |||||
& $scriptPath\build-bits.ps1 -rootPath $rootPath | |||||
} | |||||
$env:ESHOP_EXTERNAL_DNS_NAME_OR_IP = "10.0.75.1" | |||||
$env:ESHOP_AZURE_STORAGE_CATALOG_URL ="http://10.0.75.1:5101/api/v1/catalog/items/[0]/pic/" | |||||
$env:ESHOP_AZURE_STORAGE_MARKETING_URL ="http://10.0.75.1:5110/api/v1/campaigns/[0]/pic/" | |||||
if (-Not $customEventBusLoginPassword) { | |||||
docker-compose -f "$rootPath\docker-compose-windows.yml" -f "$rootPath\docker-compose.override.yml" -f "$rootPath\docker-compose.override.windows.yml" up | |||||
} | |||||
else { | |||||
docker-compose -f "$rootPath\docker-compose-windows.yml" -f "$rootPath\docker-compose.override.yml" up | |||||
} |
@ -1,171 +0,0 @@ | |||||
version: '2.1' | |||||
# The default docker-compose.override file can use the "localhost" as the external name for testing web apps within the same dev machine. | |||||
# The ESHOP_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like: | |||||
# ESHOP_EXTERNAL_DNS_NAME_OR_IP=localhost | |||||
# but values present in the environment vars at runtime will always override those defined inside the .env file | |||||
# An external IP or DNS name has to be used (instead localhost and the 10.0.75.1 IP) when testing the Web apps and the Xamarin apps from remote machines/devices using the same WiFi, for instance. | |||||
services: | |||||
basket.api: | |||||
environment: | |||||
- ASPNETCORE_ENVIRONMENT=Development | |||||
- ASPNETCORE_URLS=http://0.0.0.0:80 | |||||
- ConnectionString=${ESHOP_AZURE_REDIS_BASKET_DB:-basket.data} | |||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110. | |||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 | |||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq} | |||||
- AzureServiceBusEnabled=False | |||||
ports: | |||||
- "5103:80" | |||||
catalog.api: | |||||
environment: | |||||
- ASPNETCORE_ENVIRONMENT=Development | |||||
- ASPNETCORE_URLS=http://0.0.0.0:80 | |||||
- ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word} | |||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG:-http://localhost:5101/api/v1/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110. | |||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq} | |||||
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_CATALOG_NAME} | |||||
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_CATALOG_KEY} | |||||
- UseCustomizationData=True | |||||
- AzureServiceBusEnabled=False | |||||
- AzureStorageEnabled=False | |||||
ports: | |||||
- "5101:80" | |||||
identity.api: | |||||
environment: | |||||
- ASPNETCORE_ENVIRONMENT=Development | |||||
- ASPNETCORE_URLS=http://0.0.0.0:80 | |||||
- SpaClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5104 | |||||
- XamarinCallback=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105/xamarincallback #localhost do not work for UWP login, so we have to use "external" IP always | |||||
- ConnectionStrings__DefaultConnection=${ESHOP_AZURE_IDENTITY_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word} | |||||
- MvcClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5100 #Local: You need to open your local dev-machine firewall at range 5100-5110. | |||||
- LocationApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5109 | |||||
- MarketingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5110 | |||||
- BasketApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5103 | |||||
- OrderingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5102 | |||||
- UseCustomizationData=True | |||||
ports: | |||||
- "5105:80" | |||||
ordering.api: | |||||
environment: | |||||
- ASPNETCORE_ENVIRONMENT=Development | |||||
- ASPNETCORE_URLS=http://0.0.0.0:80 | |||||
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word} | |||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110. | |||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 | |||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq} | |||||
- UseCustomizationData=True | |||||
- AzureServiceBusEnabled=False | |||||
ports: | |||||
- "5102:80" | |||||
webspa: | |||||
environment: | |||||
- ASPNETCORE_ENVIRONMENT=Development | |||||
- ASPNETCORE_URLS=http://0.0.0.0:80 | |||||
- CatalogUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5101 | |||||
- OrderingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5102 | |||||
- IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105. | |||||
- BasketUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5103 | |||||
- MarketingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5110 | |||||
- CatalogUrlHC=http://catalog.api/hc | |||||
- OrderingUrlHC=http://ordering.api/hc | |||||
- IdentityUrlHC=http://identity.api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser. | |||||
- BasketUrlHC=http://basket.api/hc | |||||
- MarketingUrlHC=http://marketing.api/hc | |||||
- UseCustomizationData=True | |||||
ports: | |||||
- "5104:80" | |||||
webmvc: | |||||
environment: | |||||
- ASPNETCORE_ENVIRONMENT=Development | |||||
- ASPNETCORE_URLS=http://0.0.0.0:80 | |||||
- CatalogUrl=http://catalog.api | |||||
- OrderingUrl=http://ordering.api | |||||
- BasketUrl=http://basket.api | |||||
- IdentityUrl=http://10.0.75.1:5105 | |||||
- MarketingUrl=http://marketing.api #Local: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser. | |||||
- UseCustomizationData=True #Remote: Use ${ESHOP_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser. | |||||
ports: | |||||
- "5100:80" | |||||
sql.data: | |||||
environment: | |||||
- SA_PASSWORD=Pass@word | |||||
- ACCEPT_EULA=Y | |||||
ports: | |||||
- "5433:1433" | |||||
nosql.data: | |||||
ports: | |||||
- "27017:27017" | |||||
locations.api: | |||||
environment: | |||||
- ASPNETCORE_ENVIRONMENT=Development | |||||
- ASPNETCORE_URLS=http://0.0.0.0:80 | |||||
- ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data} | |||||
- Database=LocationsDb | |||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110. | |||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 | |||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq} | |||||
- AzureServiceBusEnabled=False | |||||
ports: | |||||
- "5109:80" | |||||
marketing.api: | |||||
environment: | |||||
- ASPNETCORE_ENVIRONMENT=Development | |||||
- ASPNETCORE_URLS=http://0.0.0.0:80 | |||||
- ConnectionString=${ESHOP_AZURE_MARKETING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word} | |||||
- MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data} | |||||
- MongoDatabase=MarketingDb | |||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq} | |||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110. | |||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 | |||||
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI} | |||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING:-http://localhost:5110/api/v1/campaigns/[0]/pic/} | |||||
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_MARKETING_NAME} | |||||
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_MARKETING_KEY} | |||||
- AzureServiceBusEnabled=False | |||||
- AzureStorageEnabled=False | |||||
ports: | |||||
- "5110:80" | |||||
graceperiodmanager: | |||||
environment: | |||||
- ASPNETCORE_ENVIRONMENT=Development | |||||
- ASPNETCORE_URLS=http://0.0.0.0:80 | |||||
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word} | |||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq} | |||||
- AzureServiceBusEnabled=False | |||||
webstatus: | |||||
environment: | |||||
- ASPNETCORE_ENVIRONMENT=Development | |||||
- ASPNETCORE_URLS=http://0.0.0.0:80 | |||||
- CatalogUrl=http://catalog.api/hc | |||||
- OrderingUrl=http://ordering.api/hc | |||||
- BasketUrl=http://basket.api/hc | |||||
- IdentityUrl=http://identity.api/hc | |||||
- LocationsUrl=http://locations.api/hc | |||||
- MarketingUrl=http://marketing.api/hc | |||||
- mvc=http://webmvc/hc | |||||
- spa=http://webspa/hc | |||||
ports: | |||||
- "5107:80" | |||||
payment.api: | |||||
environment: | |||||
- ASPNETCORE_ENVIRONMENT=Development | |||||
- ASPNETCORE_URLS=http://0.0.0.0:80 | |||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq} | |||||
- AzureServiceBusEnabled=False | |||||
ports: | |||||
- "5108:80" |
@ -0,0 +1,53 @@ | |||||
version: '2.1' | |||||
# ONLY NEEDED WHEN RUNNING WINDOWS CONTAINERS | |||||
# | |||||
# This file sets the containers' environment variables: | |||||
# | |||||
# - EventBusUerName | |||||
# - EventBusPassword | |||||
# | |||||
# To the default username & password used in the spring2/rabbitmq image. | |||||
# | |||||
# If you are using any other rabbitmq image with any other username/pwd then you can: | |||||
# | |||||
# Set your shell environment variables: | |||||
# - ESHOP_SERVICE_BUS_USERNAME | |||||
# - ESHOP_SERVICE_BUS_PASSWORD | |||||
# | |||||
# With the appropiate values (note that you can use .env file also) AND DO NOT USE THIS FILE when launching windows container: | |||||
# | |||||
# docker-compose -f docker-compose-windows.yml -f docker-compose.override.yml up | |||||
# INSTEAD OF | |||||
# docker-compose -f docker-compose-windows.yml -f docker-compose.override.yml -f docker-compose.override.windows.yml up | |||||
services: | |||||
basket.api: | |||||
environment: | |||||
- EventBusUserName=admin | |||||
- EventBusPassword=password | |||||
catalog.api: | |||||
environment: | |||||
- EventBusUserName=admin | |||||
- EventBusPassword=password | |||||
ordering.api: | |||||
environment: | |||||
- EventBusUserName=admin | |||||
- EventBusPassword=password | |||||
marketing.api: | |||||
environment: | |||||
- EventBusUserName=admin | |||||
- EventBusPassword=password | |||||
payment.api: | |||||
environment: | |||||
- EventBusUserName=admin | |||||
- EventBusPassword=password | |||||
locations.api: | |||||
environment: | |||||
- EventBusUserName=admin | |||||
- EventBusPassword=password |
@ -1,5 +1,5 @@ | |||||
{ | { | ||||
"sdk": { | "sdk": { | ||||
"version":"1.1.0" | |||||
"version":"2.0.2" | |||||
} | } | ||||
} | } |
@ -1,14 +1,14 @@ | |||||
<Project Sdk="Microsoft.NET.Sdk"> | <Project Sdk="Microsoft.NET.Sdk"> | ||||
<PropertyGroup> | <PropertyGroup> | ||||
<TargetFramework>netstandard1.4</TargetFramework> | |||||
<TargetFramework>netstandard2.0</TargetFramework> | |||||
<RootNamespace>Microsoft.eShopOnContainers.BuildingBlocks.Resilience.Http</RootNamespace> | <RootNamespace>Microsoft.eShopOnContainers.BuildingBlocks.Resilience.Http</RootNamespace> | ||||
</PropertyGroup> | </PropertyGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.1.2" /> | |||||
<PackageReference Include="Newtonsoft.Json" Version="10.0.2" /> | |||||
<PackageReference Include="Polly" Version="5.1.0" /> | |||||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.0.0" /> | |||||
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" /> | |||||
<PackageReference Include="Polly" Version="5.3.1" /> | |||||
</ItemGroup> | </ItemGroup> | ||||
</Project> | </Project> |
@ -1,322 +1,34 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Project ToolsVersion="12.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')" /> | |||||
<Project Sdk="Microsoft.NET.Sdk"> | |||||
<PropertyGroup> | <PropertyGroup> | ||||
<MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion> | |||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |||||
<ProjectGuid>{67F9D3A8-F71E-4428-913F-C37AE82CDB24}</ProjectGuid> | |||||
<OutputType>Library</OutputType> | |||||
<AppDesignerFolder>Properties</AppDesignerFolder> | |||||
<RootNamespace>eShopOnContainers.Core</RootNamespace> | |||||
<AssemblyName>eShopOnContainers.Core</AssemblyName> | |||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | |||||
<FileAlignment>512</FileAlignment> | |||||
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | |||||
<NuGetPackageImportStamp> | |||||
</NuGetPackageImportStamp> | |||||
<TargetFrameworkProfile>Profile111</TargetFrameworkProfile> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |||||
<DebugSymbols>true</DebugSymbols> | |||||
<TargetFramework>netstandard2.0</TargetFramework> | |||||
<PackageTargetFallback>portable-net45+win8+wpa81+wp8</PackageTargetFallback> | |||||
<DebugType>full</DebugType> | <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|AnyCPU' "> | |||||
<DebugType>pdbonly</DebugType> | |||||
<Optimize>true</Optimize> | |||||
<OutputPath>bin\Release\</OutputPath> | |||||
<DefineConstants>TRACE</DefineConstants> | |||||
<ErrorReport>prompt</ErrorReport> | |||||
<WarningLevel>4</WarningLevel> | |||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | |||||
</PropertyGroup> | </PropertyGroup> | ||||
<ItemGroup> | |||||
<Compile Include="Animations\Base\AnimationBase.cs" /> | |||||
<Compile Include="Animations\Base\EasingType.cs" /> | |||||
<Compile Include="Animations\FadeToAnimation.cs" /> | |||||
<Compile Include="Animations\StoryBoard.cs" /> | |||||
<Compile Include="App.xaml.cs"> | |||||
<DependentUpon>App.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Behaviors\Base\BindableBehavior.cs" /> | |||||
<Compile Include="Behaviors\EventToCommandBehavior.cs" /> | |||||
<Compile Include="Controls\AddBasketButton.xaml.cs"> | |||||
<DependentUpon>AddBasketButton.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Controls\CustomTabbedPage.cs" /> | |||||
<Compile Include="Controls\ToggleButton.cs" /> | |||||
<Compile Include="Converters\DoubleConverter.cs" /> | |||||
<Compile Include="Converters\StringNullOrEmptyBoolConverter.cs" /> | |||||
<Compile Include="Converters\CountToBoolConverter.cs" /> | |||||
<Compile Include="Converters\DatetimeConverter.cs" /> | |||||
<Compile Include="Converters\ImageConverter.cs" /> | |||||
<Compile Include="Converters\InverseBoolConverter.cs" /> | |||||
<Compile Include="Converters\InverseCountToBoolConverter.cs" /> | |||||
<Compile Include="Converters\ItemsToHeightConverter.cs" /> | |||||
<Compile Include="Converters\ItemTappedEventArgsConverter.cs" /> | |||||
<Compile Include="Converters\ToUpperConverter.cs" /> | |||||
<Compile Include="Converters\WebNavigatedEventArgsConverter.cs" /> | |||||
<Compile Include="Exceptions\ServiceAuthenticationException.cs" /> | |||||
<Compile Include="Extensions\ObservableExtension.cs" /> | |||||
<Compile Include="GlobalSettings.cs" /> | |||||
<Compile Include="Helpers\EasingHelper.cs" /> | |||||
<Compile Include="Helpers\RandomNumberGenerator.cs" /> | |||||
<Compile Include="Helpers\ServicesHelper.cs" /> | |||||
<Compile Include="Helpers\Settings.cs" /> | |||||
<Compile Include="Models\Basket\BasketCheckout.cs" /> | |||||
<Compile Include="Models\Basket\BasketItem.cs" /> | |||||
<Compile Include="Models\Basket\CustomerBasket.cs" /> | |||||
<Compile Include="Models\Catalog\CatalogBrand.cs" /> | |||||
<Compile Include="Models\Catalog\CatalogItem.cs" /> | |||||
<Compile Include="Models\Catalog\CatalogRoot.cs" /> | |||||
<Compile Include="Models\Catalog\CatalogType.cs" /> | |||||
<Compile Include="Models\Location\Location.cs" /> | |||||
<Compile Include="Models\Marketing\CampaignItem.cs" /> | |||||
<Compile Include="Models\Marketing\CampaignRoot.cs" /> | |||||
<Compile Include="Models\Navigation\TabParameter.cs" /> | |||||
<Compile Include="Models\Orders\CancelOrderCommand.cs" /> | |||||
<Compile Include="Models\Orders\CardType.CS" /> | |||||
<Compile Include="Models\Orders\Order.cs" /> | |||||
<Compile Include="Models\Orders\OrderItem.cs" /> | |||||
<Compile Include="Models\Orders\OrderStatus.cs" /> | |||||
<Compile Include="Models\User\Address.cs" /> | |||||
<Compile Include="Models\User\LogoutParameter.cs" /> | |||||
<Compile Include="Models\User\PaymentInfo.cs" /> | |||||
<Compile Include="Models\User\UserInfo.cs" /> | |||||
<Compile Include="Properties\AssemblyInfo.cs" /> | |||||
<Compile Include="Services\Basket\BasketMockService.cs" /> | |||||
<Compile Include="Services\Basket\BasketService.cs" /> | |||||
<Compile Include="Services\Basket\IBasketService.cs" /> | |||||
<Compile Include="Services\Catalog\CatalogMockService.cs" /> | |||||
<Compile Include="Services\Catalog\CatalogService.cs" /> | |||||
<Compile Include="Services\Catalog\ICatalogService.cs" /> | |||||
<Compile Include="Services\Common\Common.cs" /> | |||||
<Compile Include="Services\Dialog\DialogService.cs" /> | |||||
<Compile Include="Services\Dialog\IDialogService.cs" /> | |||||
<Compile Include="Services\Identity\IdentityService.cs" /> | |||||
<Compile Include="Services\Identity\IIdentityService.cs" /> | |||||
<Compile Include="Services\Location\ILocationService.cs" /> | |||||
<Compile Include="Services\Location\LocationService.cs" /> | |||||
<Compile Include="Services\Marketing\ICampaignService.cs" /> | |||||
<Compile Include="Services\Marketing\CampaignMockService.cs" /> | |||||
<Compile Include="Services\Marketing\CampaignService.cs" /> | |||||
<Compile Include="Services\Navigation\INavigationService.cs" /> | |||||
<Compile Include="Services\Navigation\NavigationService.cs" /> | |||||
<Compile Include="Services\OpenUrl\IOpenUrlService.cs" /> | |||||
<Compile Include="Services\OpenUrl\OpenUrlService.cs" /> | |||||
<Compile Include="Services\Order\IOrderService.cs" /> | |||||
<Compile Include="Services\Order\OrderMockService.cs" /> | |||||
<Compile Include="Services\Order\OrderService.cs" /> | |||||
<Compile Include="Services\RequestProvider\HttpRequestExceptionEx.cs" /> | |||||
<Compile Include="Services\RequestProvider\IRequestProvider.cs" /> | |||||
<Compile Include="Services\RequestProvider\RequestProvider.cs" /> | |||||
<Compile Include="Services\User\IUserService.cs" /> | |||||
<Compile Include="Services\User\UserMockService.cs" /> | |||||
<Compile Include="Services\User\UserService.cs" /> | |||||
<Compile Include="Triggers\BeginAnimation.cs" /> | |||||
<Compile Include="Validations\IsNotNullOrEmptyRule.cs" /> | |||||
<Compile Include="Validations\IValidationRule.cs" /> | |||||
<Compile Include="Validations\IValidity.cs" /> | |||||
<Compile Include="Validations\ValidatableObject.cs" /> | |||||
<Compile Include="ViewModels\Base\ExtendedBindableObject.cs" /> | |||||
<Compile Include="ViewModels\Base\MessageKeys.cs" /> | |||||
<Compile Include="ViewModels\Base\ViewModelBase.cs" /> | |||||
<Compile Include="ViewModels\Base\ViewModelLocator.cs" /> | |||||
<Compile Include="ViewModels\BasketViewModel.cs" /> | |||||
<Compile Include="ViewModels\CampaignDetailsViewModel.cs" /> | |||||
<Compile Include="ViewModels\CampaignViewModel.cs" /> | |||||
<Compile Include="ViewModels\CatalogViewModel.cs" /> | |||||
<Compile Include="ViewModels\CheckoutViewModel.cs" /> | |||||
<Compile Include="ViewModels\LoginViewModel.cs" /> | |||||
<Compile Include="ViewModels\MainViewModel.cs" /> | |||||
<Compile Include="ViewModels\OrderDetailViewModel.cs" /> | |||||
<Compile Include="ViewModels\ProfileViewModel.cs" /> | |||||
<Compile Include="ViewModels\SettingsViewModel.cs" /> | |||||
<Compile Include="Views\BasketView.xaml.cs"> | |||||
<DependentUpon>BasketView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\CampaignView.xaml.cs"> | |||||
<DependentUpon>CampaignView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\CatalogView.xaml.cs"> | |||||
<DependentUpon>CatalogView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\CampaignDetailsView.xaml.cs"> | |||||
<DependentUpon>CampaignDetailsView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\CheckoutView.xaml.cs"> | |||||
<DependentUpon>CheckoutView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\CustomNavigationView.xaml.cs"> | |||||
<DependentUpon>CustomNavigationView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\FiltersView.xaml.cs"> | |||||
<DependentUpon>FiltersView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\LoginView.xaml.cs"> | |||||
<DependentUpon>LoginView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\MainView.xaml.cs"> | |||||
<DependentUpon>MainView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\OrderDetailView.xaml.cs"> | |||||
<DependentUpon>OrderDetailView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\ProfileView.xaml.cs"> | |||||
<DependentUpon>ProfileView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\SettingsView.xaml.cs"> | |||||
<DependentUpon>SettingsView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\Templates\BasketItemTemplate.xaml.cs"> | |||||
<DependentUpon>BasketItemTemplate.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\Templates\OrderItemTemplate.xaml.cs"> | |||||
<DependentUpon>OrderItemTemplate.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\Templates\OrderTemplate.xaml.cs"> | |||||
<DependentUpon>OrderTemplate.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\Templates\CampaignTemplate.xaml.cs"> | |||||
<DependentUpon>CampaignTemplate.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\Templates\ProductTemplate.xaml.cs"> | |||||
<DependentUpon>ProductTemplate.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Converters\WebNavigatingEventArgsConverter.cs" /> | |||||
<Compile Include="Converters\FirstValidationErrorConverter.cs" /> | |||||
<Compile Include="Effects\EntryLineColorEffect.cs" /> | |||||
<Compile Include="Behaviors\LineColorBehavior.cs" /> | |||||
<Compile Include="Models\Token\UserToken.cs" /> | |||||
<Compile Include="Effects\ThemeEffects.cs" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<None Include="app.config" /> | |||||
<None Include="project.json" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Controls\AddBasketButton.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
<EmbeddedResource Include="Views\Templates\BasketItemTemplate.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
<EmbeddedResource Include="Views\Templates\OrderItemTemplate.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
<EmbeddedResource Include="Views\Templates\OrderTemplate.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
<EmbeddedResource Include="Views\Templates\ProductTemplate.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\BasketView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\CatalogView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\CheckoutView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\CustomNavigationView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\FiltersView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\LoginView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\MainView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\OrderDetailView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\ProfileView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\SettingsView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="App.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\CampaignView.xaml"> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
<SubType>Designer</SubType> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\CampaignDetailsView.xaml"> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
<SubType>Designer</SubType> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\Templates\CampaignTemplate.xaml"> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
<SubType>Designer</SubType> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" /> | |||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | |||||
<PropertyGroup> | |||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | |||||
</PropertyGroup> | |||||
<Error Condition="!Exists('..\..\..\..\packages\Xamarin.Forms.2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Xamarin.Forms.2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets'))" /> | |||||
</Target> | |||||
<Import Project="..\..\..\..\packages\Xamarin.Forms.2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets" Condition="Exists('..\..\..\..\packages\Xamarin.Forms.2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.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> | |||||
<ItemGroup> | |||||
<PackageReference Include="Acr.UserDialogs" Version="6.3.3" /> | |||||
<PackageReference Include="Autofac" Version="4.5.0" /> | |||||
<PackageReference Include="IdentityModel" Version="2.10.0" /> | |||||
<PackageReference Include="Microsoft.NETCore.Platforms" Version="2.0.0" /> | |||||
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" /> | |||||
<PackageReference Include="PCLCrypto" Version="2.0.147" /> | |||||
<PackageReference Include="SlideOverKit" Version="2.1.4" /> | |||||
<PackageReference Include="Splat" Version="1.6.2" /> | |||||
<PackageReference Include="System.ComponentModel.Annotations" Version="4.4.0" /> | |||||
<PackageReference Include="Xam.Plugin.Geolocator" Version="3.0.4" /> | |||||
<PackageReference Include="Xam.Plugins.Settings" Version="2.6.0.12-beta" /> | |||||
<PackageReference Include="Xamarin.FFImageLoading.Forms" Version="2.2.9" /> | |||||
<PackageReference Include="Xamarin.Forms" Version="2.3.4.231" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<!-- https://bugzilla.xamarin.com/show_bug.cgi?id=55591 --> | |||||
<None Remove="**\*.xaml" /> | |||||
<Compile Update="**\*.xaml.cs" DependentUpon="%(Filename)" /> | |||||
<EmbeddedResource Include="**\*.xaml" SubType="Designer" Generator="MSBuild:UpdateDesignTimeXaml" /> | |||||
</ItemGroup> | |||||
</Project> |
@ -0,0 +1,322 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Project ToolsVersion="12.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> | |||||
<MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion> | |||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |||||
<ProjectGuid>{67F9D3A8-F71E-4428-913F-C37AE82CDB24}</ProjectGuid> | |||||
<OutputType>Library</OutputType> | |||||
<AppDesignerFolder>Properties</AppDesignerFolder> | |||||
<RootNamespace>eShopOnContainers.Core</RootNamespace> | |||||
<AssemblyName>eShopOnContainers.Core</AssemblyName> | |||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | |||||
<FileAlignment>512</FileAlignment> | |||||
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | |||||
<NuGetPackageImportStamp> | |||||
</NuGetPackageImportStamp> | |||||
<TargetFrameworkProfile>Profile111</TargetFrameworkProfile> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |||||
<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|AnyCPU' "> | |||||
<DebugType>pdbonly</DebugType> | |||||
<Optimize>true</Optimize> | |||||
<OutputPath>bin\Release\</OutputPath> | |||||
<DefineConstants>TRACE</DefineConstants> | |||||
<ErrorReport>prompt</ErrorReport> | |||||
<WarningLevel>4</WarningLevel> | |||||
</PropertyGroup> | |||||
<ItemGroup> | |||||
<Compile Include="Animations\Base\AnimationBase.cs" /> | |||||
<Compile Include="Animations\Base\EasingType.cs" /> | |||||
<Compile Include="Animations\FadeToAnimation.cs" /> | |||||
<Compile Include="Animations\StoryBoard.cs" /> | |||||
<Compile Include="App.xaml.cs"> | |||||
<DependentUpon>App.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Behaviors\Base\BindableBehavior.cs" /> | |||||
<Compile Include="Behaviors\EventToCommandBehavior.cs" /> | |||||
<Compile Include="Controls\AddBasketButton.xaml.cs"> | |||||
<DependentUpon>AddBasketButton.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Controls\CustomTabbedPage.cs" /> | |||||
<Compile Include="Controls\ToggleButton.cs" /> | |||||
<Compile Include="Converters\DoubleConverter.cs" /> | |||||
<Compile Include="Converters\StringNullOrEmptyBoolConverter.cs" /> | |||||
<Compile Include="Converters\CountToBoolConverter.cs" /> | |||||
<Compile Include="Converters\DatetimeConverter.cs" /> | |||||
<Compile Include="Converters\ImageConverter.cs" /> | |||||
<Compile Include="Converters\InverseBoolConverter.cs" /> | |||||
<Compile Include="Converters\InverseCountToBoolConverter.cs" /> | |||||
<Compile Include="Converters\ItemsToHeightConverter.cs" /> | |||||
<Compile Include="Converters\ItemTappedEventArgsConverter.cs" /> | |||||
<Compile Include="Converters\ToUpperConverter.cs" /> | |||||
<Compile Include="Converters\WebNavigatedEventArgsConverter.cs" /> | |||||
<Compile Include="Exceptions\ServiceAuthenticationException.cs" /> | |||||
<Compile Include="Extensions\ObservableExtension.cs" /> | |||||
<Compile Include="GlobalSettings.cs" /> | |||||
<Compile Include="Helpers\EasingHelper.cs" /> | |||||
<Compile Include="Helpers\RandomNumberGenerator.cs" /> | |||||
<Compile Include="Helpers\ServicesHelper.cs" /> | |||||
<Compile Include="Helpers\Settings.cs" /> | |||||
<Compile Include="Models\Basket\BasketCheckout.cs" /> | |||||
<Compile Include="Models\Basket\BasketItem.cs" /> | |||||
<Compile Include="Models\Basket\CustomerBasket.cs" /> | |||||
<Compile Include="Models\Catalog\CatalogBrand.cs" /> | |||||
<Compile Include="Models\Catalog\CatalogItem.cs" /> | |||||
<Compile Include="Models\Catalog\CatalogRoot.cs" /> | |||||
<Compile Include="Models\Catalog\CatalogType.cs" /> | |||||
<Compile Include="Models\Location\Location.cs" /> | |||||
<Compile Include="Models\Marketing\CampaignItem.cs" /> | |||||
<Compile Include="Models\Marketing\CampaignRoot.cs" /> | |||||
<Compile Include="Models\Navigation\TabParameter.cs" /> | |||||
<Compile Include="Models\Orders\CancelOrderCommand.cs" /> | |||||
<Compile Include="Models\Orders\CardType.CS" /> | |||||
<Compile Include="Models\Orders\Order.cs" /> | |||||
<Compile Include="Models\Orders\OrderItem.cs" /> | |||||
<Compile Include="Models\Orders\OrderStatus.cs" /> | |||||
<Compile Include="Models\User\Address.cs" /> | |||||
<Compile Include="Models\User\LogoutParameter.cs" /> | |||||
<Compile Include="Models\User\PaymentInfo.cs" /> | |||||
<Compile Include="Models\User\UserInfo.cs" /> | |||||
<Compile Include="Properties\AssemblyInfo.cs" /> | |||||
<Compile Include="Services\Basket\BasketMockService.cs" /> | |||||
<Compile Include="Services\Basket\BasketService.cs" /> | |||||
<Compile Include="Services\Basket\IBasketService.cs" /> | |||||
<Compile Include="Services\Catalog\CatalogMockService.cs" /> | |||||
<Compile Include="Services\Catalog\CatalogService.cs" /> | |||||
<Compile Include="Services\Catalog\ICatalogService.cs" /> | |||||
<Compile Include="Services\Common\Common.cs" /> | |||||
<Compile Include="Services\Dialog\DialogService.cs" /> | |||||
<Compile Include="Services\Dialog\IDialogService.cs" /> | |||||
<Compile Include="Services\Identity\IdentityService.cs" /> | |||||
<Compile Include="Services\Identity\IIdentityService.cs" /> | |||||
<Compile Include="Services\Location\ILocationService.cs" /> | |||||
<Compile Include="Services\Location\LocationService.cs" /> | |||||
<Compile Include="Services\Marketing\ICampaignService.cs" /> | |||||
<Compile Include="Services\Marketing\CampaignMockService.cs" /> | |||||
<Compile Include="Services\Marketing\CampaignService.cs" /> | |||||
<Compile Include="Services\Navigation\INavigationService.cs" /> | |||||
<Compile Include="Services\Navigation\NavigationService.cs" /> | |||||
<Compile Include="Services\OpenUrl\IOpenUrlService.cs" /> | |||||
<Compile Include="Services\OpenUrl\OpenUrlService.cs" /> | |||||
<Compile Include="Services\Order\IOrderService.cs" /> | |||||
<Compile Include="Services\Order\OrderMockService.cs" /> | |||||
<Compile Include="Services\Order\OrderService.cs" /> | |||||
<Compile Include="Services\RequestProvider\HttpRequestExceptionEx.cs" /> | |||||
<Compile Include="Services\RequestProvider\IRequestProvider.cs" /> | |||||
<Compile Include="Services\RequestProvider\RequestProvider.cs" /> | |||||
<Compile Include="Services\User\IUserService.cs" /> | |||||
<Compile Include="Services\User\UserMockService.cs" /> | |||||
<Compile Include="Services\User\UserService.cs" /> | |||||
<Compile Include="Triggers\BeginAnimation.cs" /> | |||||
<Compile Include="Validations\IsNotNullOrEmptyRule.cs" /> | |||||
<Compile Include="Validations\IValidationRule.cs" /> | |||||
<Compile Include="Validations\IValidity.cs" /> | |||||
<Compile Include="Validations\ValidatableObject.cs" /> | |||||
<Compile Include="ViewModels\Base\ExtendedBindableObject.cs" /> | |||||
<Compile Include="ViewModels\Base\MessageKeys.cs" /> | |||||
<Compile Include="ViewModels\Base\ViewModelBase.cs" /> | |||||
<Compile Include="ViewModels\Base\ViewModelLocator.cs" /> | |||||
<Compile Include="ViewModels\BasketViewModel.cs" /> | |||||
<Compile Include="ViewModels\CampaignDetailsViewModel.cs" /> | |||||
<Compile Include="ViewModels\CampaignViewModel.cs" /> | |||||
<Compile Include="ViewModels\CatalogViewModel.cs" /> | |||||
<Compile Include="ViewModels\CheckoutViewModel.cs" /> | |||||
<Compile Include="ViewModels\LoginViewModel.cs" /> | |||||
<Compile Include="ViewModels\MainViewModel.cs" /> | |||||
<Compile Include="ViewModels\OrderDetailViewModel.cs" /> | |||||
<Compile Include="ViewModels\ProfileViewModel.cs" /> | |||||
<Compile Include="ViewModels\SettingsViewModel.cs" /> | |||||
<Compile Include="Views\BasketView.xaml.cs"> | |||||
<DependentUpon>BasketView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\CampaignView.xaml.cs"> | |||||
<DependentUpon>CampaignView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\CatalogView.xaml.cs"> | |||||
<DependentUpon>CatalogView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\CampaignDetailsView.xaml.cs"> | |||||
<DependentUpon>CampaignDetailsView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\CheckoutView.xaml.cs"> | |||||
<DependentUpon>CheckoutView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\CustomNavigationView.xaml.cs"> | |||||
<DependentUpon>CustomNavigationView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\FiltersView.xaml.cs"> | |||||
<DependentUpon>FiltersView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\LoginView.xaml.cs"> | |||||
<DependentUpon>LoginView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\MainView.xaml.cs"> | |||||
<DependentUpon>MainView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\OrderDetailView.xaml.cs"> | |||||
<DependentUpon>OrderDetailView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\ProfileView.xaml.cs"> | |||||
<DependentUpon>ProfileView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\SettingsView.xaml.cs"> | |||||
<DependentUpon>SettingsView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\Templates\BasketItemTemplate.xaml.cs"> | |||||
<DependentUpon>BasketItemTemplate.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\Templates\OrderItemTemplate.xaml.cs"> | |||||
<DependentUpon>OrderItemTemplate.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\Templates\OrderTemplate.xaml.cs"> | |||||
<DependentUpon>OrderTemplate.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\Templates\CampaignTemplate.xaml.cs"> | |||||
<DependentUpon>CampaignTemplate.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\Templates\ProductTemplate.xaml.cs"> | |||||
<DependentUpon>ProductTemplate.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Converters\WebNavigatingEventArgsConverter.cs" /> | |||||
<Compile Include="Converters\FirstValidationErrorConverter.cs" /> | |||||
<Compile Include="Effects\EntryLineColorEffect.cs" /> | |||||
<Compile Include="Behaviors\LineColorBehavior.cs" /> | |||||
<Compile Include="Models\Token\UserToken.cs" /> | |||||
<Compile Include="Effects\ThemeEffects.cs" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<None Include="app.config" /> | |||||
<None Include="project.json" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Controls\AddBasketButton.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
<EmbeddedResource Include="Views\Templates\BasketItemTemplate.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
<EmbeddedResource Include="Views\Templates\OrderItemTemplate.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
<EmbeddedResource Include="Views\Templates\OrderTemplate.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
<EmbeddedResource Include="Views\Templates\ProductTemplate.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\BasketView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\CatalogView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\CheckoutView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\CustomNavigationView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\FiltersView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\LoginView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\MainView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\OrderDetailView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\ProfileView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\SettingsView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="App.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\CampaignView.xaml"> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
<SubType>Designer</SubType> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\CampaignDetailsView.xaml"> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
<SubType>Designer</SubType> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<EmbeddedResource Include="Views\Templates\CampaignTemplate.xaml"> | |||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> | |||||
<SubType>Designer</SubType> | |||||
</EmbeddedResource> | |||||
</ItemGroup> | |||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" /> | |||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | |||||
<PropertyGroup> | |||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | |||||
</PropertyGroup> | |||||
<Error Condition="!Exists('..\..\..\..\packages\Xamarin.Forms.2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Xamarin.Forms.2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets'))" /> | |||||
</Target> | |||||
<Import Project="..\..\..\..\packages\Xamarin.Forms.2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets" Condition="Exists('..\..\..\..\packages\Xamarin.Forms.2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.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> |
@ -1,24 +0,0 @@ | |||||
{ | |||||
"dependencies": { | |||||
"Acr.UserDialogs": "6.3.3", | |||||
"Autofac": "4.5.0", | |||||
"IdentityModel": "1.3.1", | |||||
"Microsoft.Bcl": "1.1.10", | |||||
"Microsoft.Bcl.Build": "1.0.21", | |||||
"Microsoft.Net.Http": "2.2.29", | |||||
"modernhttpclient": "2.4.2", | |||||
"Newtonsoft.Json": "9.0.1", | |||||
"PCLCrypto": "2.0.147", | |||||
"SlideOverKit": "2.1.4", | |||||
"Splat": "1.6.2", | |||||
"System.ComponentModel.Annotations": "4.3.0", | |||||
"Xam.Plugin.Geolocator": "3.0.4", | |||||
"Xam.Plugins.Settings": "2.6.0.12-beta", | |||||
"Xamarin.FFImageLoading": "2.2.9", | |||||
"Xamarin.FFImageLoading.Forms": "2.2.9", | |||||
"Xamarin.Forms": "2.3.4.231" | |||||
}, | |||||
"frameworks": { | |||||
".NETPortable,Version=v4.5,Profile=Profile111": {} | |||||
} | |||||
} |
@ -1,18 +0,0 @@ | |||||
{ | |||||
"dependencies": { | |||||
"Microsoft.NETCore.UniversalWindowsPlatform": "5.3.3", | |||||
"Xamarin.Forms": "2.3.4.231", | |||||
"xunit.runner.devices": "2.1.0" | |||||
}, | |||||
"frameworks": { | |||||
"uap10.0": {} | |||||
}, | |||||
"runtimes": { | |||||
"win10-arm": {}, | |||||
"win10-arm-aot": {}, | |||||
"win10-x86": {}, | |||||
"win10-x86-aot": {}, | |||||
"win10-x64": {}, | |||||
"win10-x64-aot": {} | |||||
} | |||||
} |
@ -1,71 +1,20 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Project ToolsVersion="14.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')" /> | |||||
<Project Sdk="Microsoft.NET.Sdk"> | |||||
<PropertyGroup> | <PropertyGroup> | ||||
<MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion> | |||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |||||
<ProjectGuid>{F7B6A162-BC4D-4924-B16A-713F9B0344E7}</ProjectGuid> | |||||
<OutputType>Library</OutputType> | |||||
<AppDesignerFolder>Properties</AppDesignerFolder> | |||||
<RootNamespace>eShopOnContainers.UnitTests</RootNamespace> | |||||
<AssemblyName>eShopOnContainers.UnitTests</AssemblyName> | |||||
<DefaultLanguage>es-ES</DefaultLanguage> | |||||
<FileAlignment>512</FileAlignment> | |||||
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | |||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | |||||
<TargetFrameworkProfile>Profile111</TargetFrameworkProfile> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |||||
<DebugSymbols>true</DebugSymbols> | |||||
<TargetFramework>netstandard2.0</TargetFramework> | |||||
<PackageTargetFallback>portable-net45+win8+wpa81+wp8</PackageTargetFallback> | |||||
<DebugType>full</DebugType> | <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|AnyCPU' "> | |||||
<DebugType>pdbonly</DebugType> | |||||
<Optimize>true</Optimize> | |||||
<OutputPath>bin\Release\</OutputPath> | |||||
<DefineConstants>TRACE</DefineConstants> | |||||
<ErrorReport>prompt</ErrorReport> | |||||
<WarningLevel>4</WarningLevel> | |||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | |||||
</PropertyGroup> | </PropertyGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<Compile Include="Properties\AssemblyInfo.cs" /> | |||||
<Compile Include="Mocks\MockEventToCommandBehavior.cs" /> | |||||
<Compile Include="Services\BasketServiceTests.cs" /> | |||||
<Compile Include="Services\CatalogServiceTests.cs" /> | |||||
<Compile Include="Services\MarketingServiceTests.cs" /> | |||||
<Compile Include="ViewModels\CatalogViewModelTests.cs" /> | |||||
<Compile Include="ViewModels\MainViewModelTests.cs" /> | |||||
<Compile Include="ViewModels\MarketingViewModelTests.cs" /> | |||||
<Compile Include="ViewModels\OrderViewModelTests.cs" /> | |||||
<Compile Include="Services\OrdersServiceTests.cs" /> | |||||
<Compile Include="Behaviors\EventToCommandBehaviorTests.cs" /> | |||||
<Compile Include="Mocks\MockViewModel.cs" /> | |||||
<Compile Include="ViewModels\MockViewModelTests.cs" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<None Include="app.config" /> | |||||
<None Include="project.json" /> | |||||
<PackageReference Include="xunit" Version="2.2.0" /> | |||||
<PackageReference Include="xunit.runner.console" Version="2.2.0" /> | |||||
<PackageReference Include="Xamarin.Forms" Version="2.3.4.231" /> | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<ProjectReference Include="..\eShopOnContainers.Core\eShopOnContainers.Core.csproj"> | |||||
<Project>{67f9d3a8-f71e-4428-913f-c37ae82cdb24}</Project> | |||||
<Name>eShopOnContainers.Core</Name> | |||||
</ProjectReference> | |||||
<ProjectReference Include="..\eShopOnContainers.Core\eShopOnContainers.Core.csproj" /> | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup /> | |||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.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> | |||||
--> | |||||
<Import Project="..\..\..\..\packages\Xamarin.Forms.2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets" Condition="Exists('..\..\..\..\packages\Xamarin.Forms.2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" /> | |||||
</Project> | </Project> |
@ -0,0 +1,71 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Project ToolsVersion="14.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> | |||||
<MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion> | |||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |||||
<ProjectGuid>{F7B6A162-BC4D-4924-B16A-713F9B0344E7}</ProjectGuid> | |||||
<OutputType>Library</OutputType> | |||||
<AppDesignerFolder>Properties</AppDesignerFolder> | |||||
<RootNamespace>eShopOnContainers.UnitTests</RootNamespace> | |||||
<AssemblyName>eShopOnContainers.UnitTests</AssemblyName> | |||||
<DefaultLanguage>es-ES</DefaultLanguage> | |||||
<FileAlignment>512</FileAlignment> | |||||
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | |||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | |||||
<TargetFrameworkProfile>Profile111</TargetFrameworkProfile> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |||||
<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|AnyCPU' "> | |||||
<DebugType>pdbonly</DebugType> | |||||
<Optimize>true</Optimize> | |||||
<OutputPath>bin\Release\</OutputPath> | |||||
<DefineConstants>TRACE</DefineConstants> | |||||
<ErrorReport>prompt</ErrorReport> | |||||
<WarningLevel>4</WarningLevel> | |||||
</PropertyGroup> | |||||
<ItemGroup> | |||||
<Compile Include="Properties\AssemblyInfo.cs" /> | |||||
<Compile Include="Mocks\MockEventToCommandBehavior.cs" /> | |||||
<Compile Include="Services\BasketServiceTests.cs" /> | |||||
<Compile Include="Services\CatalogServiceTests.cs" /> | |||||
<Compile Include="Services\MarketingServiceTests.cs" /> | |||||
<Compile Include="ViewModels\CatalogViewModelTests.cs" /> | |||||
<Compile Include="ViewModels\MainViewModelTests.cs" /> | |||||
<Compile Include="ViewModels\MarketingViewModelTests.cs" /> | |||||
<Compile Include="ViewModels\OrderViewModelTests.cs" /> | |||||
<Compile Include="Services\OrdersServiceTests.cs" /> | |||||
<Compile Include="Behaviors\EventToCommandBehaviorTests.cs" /> | |||||
<Compile Include="Mocks\MockViewModel.cs" /> | |||||
<Compile Include="ViewModels\MockViewModelTests.cs" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<None Include="app.config" /> | |||||
<None Include="project.json" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<ProjectReference Include="..\eShopOnContainers.Core\eShopOnContainers.Core.csproj"> | |||||
<Project>{67f9d3a8-f71e-4428-913f-c37ae82cdb24}</Project> | |||||
<Name>eShopOnContainers.Core</Name> | |||||
</ProjectReference> | |||||
</ItemGroup> | |||||
<ItemGroup /> | |||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.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> | |||||
--> | |||||
<Import Project="..\..\..\..\packages\Xamarin.Forms.2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets" Condition="Exists('..\..\..\..\packages\Xamarin.Forms.2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" /> | |||||
</Project> |
@ -1,26 +0,0 @@ | |||||
{ | |||||
"dependencies": { | |||||
"Acr.UserDialogs": "6.3.3", | |||||
"IdentityModel": "1.3.1", | |||||
"Microsoft.NETCore.UniversalWindowsPlatform": "5.3.3", | |||||
"Newtonsoft.Json": "9.0.1", | |||||
"PCLCrypto": "2.0.147", | |||||
"SlideOverKit": "2.1.4", | |||||
"Xam.Plugin.Geolocator": "3.0.4", | |||||
"Xam.Plugins.Settings": "2.6.0.12-beta", | |||||
"Xamarin.FFImageLoading": "2.2.9", | |||||
"Xamarin.FFImageLoading.Forms": "2.2.9", | |||||
"Xamarin.Forms": "2.3.4.231" | |||||
}, | |||||
"frameworks": { | |||||
"uap10.0": {} | |||||
}, | |||||
"runtimes": { | |||||
"win10-arm": {}, | |||||
"win10-arm-aot": {}, | |||||
"win10-x86": {}, | |||||
"win10-x86-aot": {}, | |||||
"win10-x64": {}, | |||||
"win10-x64-aot": {} | |||||
} | |||||
} |
@ -1,8 +0,0 @@ | |||||
FROM microsoft/dotnet:1.1-runtime-nanoserver | |||||
SHELL ["powershell"] | |||||
ARG source | |||||
WORKDIR /app | |||||
RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord | |||||
EXPOSE 80 | |||||
COPY ${source:-obj/Docker/publish} . | |||||
ENTRYPOINT ["dotnet", "Basket.API.dll"] |
@ -1,8 +0,0 @@ | |||||
FROM microsoft/dotnet:1.1-runtime-nanoserver | |||||
SHELL ["powershell"] | |||||
ARG source | |||||
WORKDIR /app | |||||
RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord | |||||
EXPOSE 80 | |||||
COPY ${source:-obj/Docker/publish} . | |||||
ENTRYPOINT ["dotnet", "Catalog.API.dll"] |
@ -0,0 +1,25 @@ | |||||
using Microsoft.EntityFrameworkCore; | |||||
using Microsoft.EntityFrameworkCore.Metadata.Builders; | |||||
using Microsoft.eShopOnContainers.Services.Catalog.API.Model; | |||||
namespace Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure.EntityConfigurations | |||||
{ | |||||
class CatalogBrandEntityTypeConfiguration | |||||
: IEntityTypeConfiguration<CatalogBrand> | |||||
{ | |||||
public void Configure(EntityTypeBuilder<CatalogBrand> builder) | |||||
{ | |||||
builder.ToTable("CatalogBrand"); | |||||
builder.HasKey(ci => ci.Id); | |||||
builder.Property(ci => ci.Id) | |||||
.ForSqlServerUseSequenceHiLo("catalog_brand_hilo") | |||||
.IsRequired(); | |||||
builder.Property(cb => cb.Brand) | |||||
.IsRequired() | |||||
.HasMaxLength(100); | |||||
} | |||||
} | |||||
} |
@ -0,0 +1,39 @@ | |||||
using Microsoft.EntityFrameworkCore; | |||||
using Microsoft.EntityFrameworkCore.Metadata.Builders; | |||||
using Microsoft.eShopOnContainers.Services.Catalog.API.Model; | |||||
namespace Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure.EntityConfigurations | |||||
{ | |||||
class CatalogItemEntityTypeConfiguration | |||||
: IEntityTypeConfiguration<CatalogItem> | |||||
{ | |||||
public void Configure(EntityTypeBuilder<CatalogItem> builder) | |||||
{ | |||||
builder.ToTable("Catalog"); | |||||
builder.Property(ci => ci.Id) | |||||
.ForSqlServerUseSequenceHiLo("catalog_hilo") | |||||
.IsRequired(); | |||||
builder.Property(ci => ci.Name) | |||||
.IsRequired(true) | |||||
.HasMaxLength(50); | |||||
builder.Property(ci => ci.Price) | |||||
.IsRequired(true); | |||||
builder.Property(ci => ci.PictureFileName) | |||||
.IsRequired(false); | |||||
builder.Ignore(ci => ci.PictureUri); | |||||
builder.HasOne(ci => ci.CatalogBrand) | |||||
.WithMany() | |||||
.HasForeignKey(ci => ci.CatalogBrandId); | |||||
builder.HasOne(ci => ci.CatalogType) | |||||
.WithMany() | |||||
.HasForeignKey(ci => ci.CatalogTypeId); | |||||
} | |||||
} | |||||
} |
@ -0,0 +1,25 @@ | |||||
using Microsoft.EntityFrameworkCore; | |||||
using Microsoft.EntityFrameworkCore.Metadata.Builders; | |||||
using Microsoft.eShopOnContainers.Services.Catalog.API.Model; | |||||
namespace Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure.EntityConfigurations | |||||
{ | |||||
class CatalogTypeEntityTypeConfiguration | |||||
: IEntityTypeConfiguration<CatalogType> | |||||
{ | |||||
public void Configure(EntityTypeBuilder<CatalogType> builder) | |||||
{ | |||||
builder.ToTable("CatalogType"); | |||||
builder.HasKey(ci => ci.Id); | |||||
builder.Property(ci => ci.Id) | |||||
.ForSqlServerUseSequenceHiLo("catalog_type_hilo") | |||||
.IsRequired(); | |||||
builder.Property(cb => cb.Type) | |||||
.IsRequired() | |||||
.HasMaxLength(100); | |||||
} | |||||
} | |||||
} |