Skip to content
代码片段 群组 项目
未验证 提交 090c53ce 编辑于 作者: Nate McMaster's avatar Nate McMaster 提交者: GitHub
浏览文件

Update dependencies with darc (#6714)

上级 0714466d
No related branches found
No related tags found
无相关合并请求
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Dependencies> <Dependencies>
<ProductDependencies> <ProductDependencies>
<Dependency Name="Microsoft.NET.Sdk.Razor" Version="3.0.0-preview-19057-06"> <Dependency Name="Microsoft.NET.Sdk.Razor" Version="3.0.0-preview-19066-02">
<Uri>https://github.com/aspnet/AspNetCore-Tooling</Uri> <Uri>https://github.com/aspnet/AspNetCore-Tooling</Uri>
<Sha>000000</Sha> <Sha>d5f0b4c0b4e48e14ce235036af67623290218372</Sha>
</Dependency> </Dependency>
<Dependency Name="dotnet-ef" Version="3.0.0-preview.18604.3"> <Dependency Name="dotnet-ef" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/EntityFrameworkCore</Uri> <Uri>https://github.com/aspnet/EntityFrameworkCore</Uri>
<Sha>000000</Sha> <Sha>cf0a6e19c93a9a7b92666b00408195418d8412a2</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.EntityFrameworkCore.Design" Version="3.0.0-preview.18604.3"> <Dependency Name="Microsoft.EntityFrameworkCore.Design" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/EntityFrameworkCore</Uri> <Uri>https://github.com/aspnet/EntityFrameworkCore</Uri>
<Sha>000000</Sha> <Sha>cf0a6e19c93a9a7b92666b00408195418d8412a2</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.EntityFrameworkCore.InMemory" Version="3.0.0-preview.18604.3"> <Dependency Name="Microsoft.EntityFrameworkCore.InMemory" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/EntityFrameworkCore</Uri> <Uri>https://github.com/aspnet/EntityFrameworkCore</Uri>
<Sha>000000</Sha> <Sha>cf0a6e19c93a9a7b92666b00408195418d8412a2</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.EntityFrameworkCore.Relational" Version="3.0.0-preview.18604.3"> <Dependency Name="Microsoft.EntityFrameworkCore.Relational" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/EntityFrameworkCore</Uri> <Uri>https://github.com/aspnet/EntityFrameworkCore</Uri>
<Sha>000000</Sha> <Sha>cf0a6e19c93a9a7b92666b00408195418d8412a2</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.EntityFrameworkCore.Sqlite" Version="3.0.0-preview.18604.3"> <Dependency Name="Microsoft.EntityFrameworkCore.Sqlite" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/EntityFrameworkCore</Uri> <Uri>https://github.com/aspnet/EntityFrameworkCore</Uri>
<Sha>000000</Sha> <Sha>cf0a6e19c93a9a7b92666b00408195418d8412a2</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.EntityFrameworkCore.SqlServer" Version="3.0.0-preview.18604.3"> <Dependency Name="Microsoft.EntityFrameworkCore.SqlServer" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/EntityFrameworkCore</Uri> <Uri>https://github.com/aspnet/EntityFrameworkCore</Uri>
<Sha>000000</Sha> <Sha>cf0a6e19c93a9a7b92666b00408195418d8412a2</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.EntityFrameworkCore.Tools" Version="3.0.0-preview.18604.3"> <Dependency Name="Microsoft.EntityFrameworkCore.Tools" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/EntityFrameworkCore</Uri> <Uri>https://github.com/aspnet/EntityFrameworkCore</Uri>
<Sha>000000</Sha> <Sha>cf0a6e19c93a9a7b92666b00408195418d8412a2</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.EntityFrameworkCore" Version="3.0.0-preview.18604.3"> <Dependency Name="Microsoft.EntityFrameworkCore" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/EntityFrameworkCore</Uri> <Uri>https://github.com/aspnet/EntityFrameworkCore</Uri>
<Sha>000000</Sha> <Sha>cf0a6e19c93a9a7b92666b00408195418d8412a2</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.AspNetCore.Analyzer.Testing" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.AspNetCore.Analyzer.Testing" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.AspNetCore.BenchmarkRunner.Sources" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.AspNetCore.BenchmarkRunner.Sources" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.ActivatorUtilities.Sources" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.ActivatorUtilities.Sources" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Caching.Abstractions" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Caching.Abstractions" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Caching.Memory" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Caching.Memory" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Caching.SqlServer" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Caching.SqlServer" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Caching.StackExchangeRedis" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Caching.StackExchangeRedis" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.CommandLineUtils.Sources" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.CommandLineUtils.Sources" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Configuration.Abstractions" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Configuration.Abstractions" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Configuration.AzureKeyVault" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Configuration.AzureKeyVault" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Configuration.Binder" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Configuration.Binder" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Configuration.CommandLine" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Configuration.CommandLine" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Configuration.FileExtensions" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Configuration.FileExtensions" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Configuration.Ini" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Configuration.Ini" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Configuration.Json" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Configuration.Json" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Configuration.KeyPerFile" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Configuration.KeyPerFile" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Configuration.UserSecrets" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Configuration.UserSecrets" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Configuration.Xml" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Configuration.Xml" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Configuration" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Configuration" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.DependencyInjection.Specification.Tests" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.DependencyInjection.Specification.Tests" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.DependencyInjection" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.DependencyInjection" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.DiagnosticAdapter" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.DiagnosticAdapter" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Diagnostics.HealthChecks" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Diagnostics.HealthChecks" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.FileProviders.Abstractions" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.FileProviders.Abstractions" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.FileProviders.Composite" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.FileProviders.Composite" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.FileProviders.Embedded" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.FileProviders.Embedded" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.FileProviders.Physical" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.FileProviders.Physical" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.FileSystemGlobbing" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.FileSystemGlobbing" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.HashCodeCombiner.Sources" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.HashCodeCombiner.Sources" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Hosting.Abstractions" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Hosting.Abstractions" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Hosting" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Hosting" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.HostFactoryResolver.Sources" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.HostFactoryResolver.Sources" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Http" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Http" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Localization.Abstractions" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Localization.Abstractions" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Localization" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Localization" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Logging.Abstractions" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Logging.Abstractions" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Logging.AzureAppServices" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Logging.AzureAppServices" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Logging.Configuration" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Logging.Configuration" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Logging.Console" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Logging.Console" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Logging.Debug" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Logging.Debug" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Logging.EventSource" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Logging.EventSource" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Logging.TraceSource" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Logging.TraceSource" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Logging.Testing" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Logging.Testing" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Logging" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Logging" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.ObjectPool" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.ObjectPool" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Options.ConfigurationExtensions" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Options.ConfigurationExtensions" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Options.DataAnnotations" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Options.DataAnnotations" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Options" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Options" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.ParameterDefaultValue.Sources" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.ParameterDefaultValue.Sources" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.Primitives" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.Primitives" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.TypeNameHelper.Sources" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.TypeNameHelper.Sources" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.ValueStopWatch.Sources" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.ValueStopwatch.Sources" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.WebEncoders" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.Extensions.WebEncoders" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.JSInterop" Version="3.0.0-preview.19059.5"> <Dependency Name="Microsoft.JSInterop" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.CSharp" Version="4.6.0-preview.18619.1"> <Dependency Name="Microsoft.CSharp" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Win32.Registry" Version="4.6.0-preview.18619.1"> <Dependency Name="Microsoft.Win32.Registry" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.ComponentModel.Annotations" Version="4.6.0-preview.18619.1"> <Dependency Name="System.ComponentModel.Annotations" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Data.SqlClient" Version="4.7.0-preview.18619.1"> <Dependency Name="System.Data.SqlClient" Version="4.7.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Diagnostics.DiagnosticSource" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Diagnostics.DiagnosticSource" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Diagnostics.EventLog" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Diagnostics.EventLog" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.IO.Pipelines" Version="4.6.0-preview.18619.1"> <Dependency Name="System.IO.Pipelines" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Net.Http.WinHttpHandler" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Net.Http.WinHttpHandler" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Net.WebSockets.WebSocketProtocol" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Net.WebSockets.WebSocketProtocol" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Numerics.Vectors" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Numerics.Vectors" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Reflection.Metadata" Version="1.7.0-preview.18619.1"> <Dependency Name="System.Reflection.Metadata" Version="1.7.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Runtime.CompilerServices.Unsafe" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Runtime.CompilerServices.Unsafe" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Security.Cryptography.Cng" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Security.Cryptography.Cng" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Security.Cryptography.Pkcs" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Security.Cryptography.Pkcs" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Security.Cryptography.Xml" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Security.Cryptography.Xml" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Security.Permissions" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Security.Permissions" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Security.Principal.Windows" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Security.Principal.Windows" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.ServiceProcess.ServiceController" Version="4.6.0-preview.18619.1"> <Dependency Name="System.ServiceProcess.ServiceController" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Text.Encodings.Web" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Text.Encodings.Web" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="System.Threading.Channels" Version="4.6.0-preview.18619.1"> <Dependency Name="System.Threading.Channels" Version="4.6.0-preview.19066.2">
<Uri>https://github.com/dotnet/corefx</Uri> <Uri>https://github.com/dotnet/corefx</Uri>
<Sha>000000</Sha> <Sha>536ef01e18d6b3b2e7ef74057d0772c3daf893fa</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.Extensions.DependencyModel" Version="3.0.0-preview-27219-3"> <Dependency Name="Microsoft.Extensions.DependencyModel" Version="3.0.0-preview-27317-3">
<Uri>https://github.com/dotnet/core-setup</Uri> <Uri>https://github.com/dotnet/core-setup</Uri>
<Sha>000000</Sha> <Sha>dacf8569e562f9c89aba859ceed11f729ad62e42</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.NETCore.App" Version="3.0.0-preview-27219-3"> <Dependency Name="Microsoft.NETCore.App" Version="3.0.0-preview-27317-3">
<Uri>https://github.com/dotnet/core-setup</Uri> <Uri>https://github.com/dotnet/core-setup</Uri>
<Sha>000000</Sha> <Sha>dacf8569e562f9c89aba859ceed11f729ad62e42</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.DotNet.PlatformAbstractions" Version="3.0.0-preview-27219-3"> <Dependency Name="Microsoft.DotNet.PlatformAbstractions" Version="3.0.0-preview-27317-3">
<Uri>https://github.com/dotnet/core-setup</Uri> <Uri>https://github.com/dotnet/core-setup</Uri>
<Sha>000000</Sha> <Sha>dacf8569e562f9c89aba859ceed11f729ad62e42</Sha>
</Dependency> </Dependency>
</ProductDependencies> </ProductDependencies>
<ToolsetDependencies> <ToolsetDependencies>
<Dependency Name="Internal.AspNetCore.Analyzers" Version="3.0.0-preview.19065.2"> <Dependency Name="Internal.AspNetCore.Analyzers" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.AspNetCore.Testing" Version="3.0.0-preview.19065.2"> <Dependency Name="Microsoft.AspNetCore.Testing" Version="3.0.0-preview.19066.4">
<Uri>https://github.com/aspnet/Extensions</Uri> <Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>000000</Sha> <Sha>077ece9c7993fc2b120f8befc2058adf700f6d5f</Sha>
</Dependency> </Dependency>
</ToolsetDependencies> </ToolsetDependencies>
</Dependencies> </Dependencies>
此差异已折叠。
...@@ -41,12 +41,12 @@ namespace Microsoft.Extensions.DependencyInjection ...@@ -41,12 +41,12 @@ namespace Microsoft.Extensions.DependencyInjection
/// <para> /// <para>
/// By default the health check implementation will use the <see cref="DatabaseFacade.CanConnectAsync(CancellationToken)"/> method /// By default the health check implementation will use the <see cref="DatabaseFacade.CanConnectAsync(CancellationToken)"/> method
/// to test connectivity to the database. This method requires that the database provider has correctly implemented the /// to test connectivity to the database. This method requires that the database provider has correctly implemented the
/// <see cref="IDatabaseCreatorWithCanConnect" /> interface. If the database provide has not implemented this interface /// <see cref="IDatabaseCreator" /> interface. If the database provide has not implemented this interface
/// then the health check will report a failure. /// then the health check will report a failure.
/// </para> /// </para>
/// <para> /// <para>
/// Providing a <paramref name="customTestQuery" /> will replace the use of <see cref="DatabaseFacade.CanConnectAsync(CancellationToken)"/> /// Providing a <paramref name="customTestQuery" /> will replace the use of <see cref="DatabaseFacade.CanConnectAsync(CancellationToken)"/>
/// to test database connectivity. An implementation of a test query should handle exceptions that can arise due to connectivity failure, /// to test database connectivity. An implementation of a test query should handle exceptions that can arise due to connectivity failure,
/// and should return a pass/fail result. The test query should be be designed to complete in a short and predicatable amount of time. /// and should return a pass/fail result. The test query should be be designed to complete in a short and predicatable amount of time.
/// </para> /// </para>
/// </remarks> /// </remarks>
......
此差异已折叠。
...@@ -66,16 +66,17 @@ namespace MusicStore.Controllers ...@@ -66,16 +66,17 @@ namespace MusicStore.Controllers
var cart = ShoppingCart.GetCart(dbContext, HttpContext); var cart = ShoppingCart.GetCart(dbContext, HttpContext);
await cart.CreateOrder(order); await cart.CreateOrder(order);
_logger.LogInformation("User {userName} started checkout of {orderId}.", order.Username, order.OrderId);
// Save all changes // Save all changes
await dbContext.SaveChangesAsync(requestAborted); await dbContext.SaveChangesAsync(requestAborted);
_logger.LogInformation("User {userName} started checkout of {orderId}.", order.Username, order.OrderId);
return RedirectToAction("Complete", new { id = order.OrderId }); return RedirectToAction("Complete", new { id = order.OrderId });
} }
} }
catch catch (Exception ex)
{ {
_logger.LogError(ex, "Checkout failed");
//Invalid - redisplay with errors //Invalid - redisplay with errors
return View(order); return View(order);
} }
...@@ -110,4 +111,4 @@ namespace MusicStore.Controllers ...@@ -110,4 +111,4 @@ namespace MusicStore.Controllers
} }
} }
} }
} }
\ No newline at end of file
...@@ -18,7 +18,7 @@ namespace MusicStore.Models ...@@ -18,7 +18,7 @@ namespace MusicStore.Models
_shoppingCartId = id; _shoppingCartId = id;
} }
public static ShoppingCart GetCart(MusicStoreContext db, HttpContext context) public static ShoppingCart GetCart(MusicStoreContext db, HttpContext context)
=> GetCart(db, GetCartId(context)); => GetCart(db, GetCartId(context));
public static ShoppingCart GetCart(MusicStoreContext db, string cartId) public static ShoppingCart GetCart(MusicStoreContext db, string cartId)
...@@ -94,7 +94,7 @@ namespace MusicStore.Models ...@@ -94,7 +94,7 @@ namespace MusicStore.Models
.Include(c => c.Album) .Include(c => c.Album)
.ToListAsync(); .ToListAsync();
} }
public Task<List<string>> GetCartAlbumTitles() public Task<List<string>> GetCartAlbumTitles()
{ {
return _dbContext return _dbContext
...@@ -117,7 +117,7 @@ namespace MusicStore.Models ...@@ -117,7 +117,7 @@ namespace MusicStore.Models
public Task<decimal> GetTotal() public Task<decimal> GetTotal()
{ {
// Multiply album price by count of that album to get // Multiply album price by count of that album to get
// the current price for each of those albums in the cart // the current price for each of those albums in the cart
// sum all album price totals to get the cart total // sum all album price totals to get the cart total
...@@ -128,7 +128,7 @@ namespace MusicStore.Models ...@@ -128,7 +128,7 @@ namespace MusicStore.Models
.SumAsync(); .SumAsync();
} }
public async Task<int> CreateOrder(Order order) public async Task CreateOrder(Order order)
{ {
decimal orderTotal = 0; decimal orderTotal = 0;
...@@ -143,7 +143,7 @@ namespace MusicStore.Models ...@@ -143,7 +143,7 @@ namespace MusicStore.Models
var orderDetail = new OrderDetail var orderDetail = new OrderDetail
{ {
AlbumId = item.AlbumId, AlbumId = item.AlbumId,
OrderId = order.OrderId, Order = order,
UnitPrice = album.Price, UnitPrice = album.Price,
Quantity = item.Count, Quantity = item.Count,
}; };
...@@ -159,9 +159,6 @@ namespace MusicStore.Models ...@@ -159,9 +159,6 @@ namespace MusicStore.Models
// Empty the shopping cart // Empty the shopping cart
await EmptyCart(); await EmptyCart();
// Return the OrderId as the confirmation number
return order.OrderId;
} }
// We're using HttpContextBase to allow access to sessions. // We're using HttpContextBase to allow access to sessions.
...@@ -171,7 +168,7 @@ namespace MusicStore.Models ...@@ -171,7 +168,7 @@ namespace MusicStore.Models
if (cartId == null) if (cartId == null)
{ {
//A GUID to hold the cartId. //A GUID to hold the cartId.
cartId = Guid.NewGuid().ToString(); cartId = Guid.NewGuid().ToString();
// Send cart Id as a cookie to the client. // Send cart Id as a cookie to the client.
...@@ -181,4 +178,4 @@ namespace MusicStore.Models ...@@ -181,4 +178,4 @@ namespace MusicStore.Models
return cartId; return cartId;
} }
} }
} }
\ No newline at end of file
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="$(RepositoryRoot)src\Servers\IIS\build\testsite.props" /> <Import Project="$(RepositoryRoot)src\Servers\IIS\build\testsite.props" />
...@@ -6,22 +6,15 @@ ...@@ -6,22 +6,15 @@
<Description>Music store application on ASP.NET Core</Description> <Description>Music store application on ASP.NET Core</Description>
<TargetFramework>netcoreapp3.0</TargetFramework> <TargetFramework>netcoreapp3.0</TargetFramework>
<DefineConstants>$(DefineConstants);DEMO</DefineConstants> <DefineConstants>$(DefineConstants);DEMO</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RuntimeIdentifiers Condition="'$(Configuration)' != 'RuntimeStore'">win7-x86;win7-x64;linux-x64;osx-x64</RuntimeIdentifiers> <RuntimeIdentifiers Condition="'$(Configuration)' != 'RuntimeStore'">win7-x86;win7-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<Configurations>Debug;Release;RuntimeStore</Configurations>
<InProcessTestSite>true</InProcessTestSite> <InProcessTestSite>true</InProcessTestSite>
<AspNetCoreModuleName>AspNetCoreModuleV2</AspNetCoreModuleName>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Content Update="ForTesting\**\*" CopyToPublishDirectory="Never" Condition=" '$(PublishForTesting)' != 'true' " /> <Content Update="ForTesting\**\*" CopyToPublishDirectory="Never" Condition=" '$(PublishForTesting)' != 'true' " />
</ItemGroup> </ItemGroup>
<ItemGroup Condition=" '$(Configuration)' == 'RuntimeStore' "> <ItemGroup>
<Reference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<ItemGroup Condition=" '$(Configuration)' != 'RuntimeStore' ">
<Reference Include="Microsoft.AspNetCore" /> <Reference Include="Microsoft.AspNetCore" />
<Reference Include="Microsoft.AspNetCore.Authentication.Cookies" /> <Reference Include="Microsoft.AspNetCore.Authentication.Cookies" />
<Reference Include="Microsoft.AspNetCore.Authentication.Facebook" /> <Reference Include="Microsoft.AspNetCore.Authentication.Facebook" />
......
@ECHO OFF
%~dp0..\..\startvs.cmd %~dp0MusicStore.sln
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册