git cleanup, bootstrapping unit tests with xunit
This commit is contained in:
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net6.0",
|
||||
"frameworks": [
|
||||
{
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "6.0.0"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App",
|
||||
"version": "6.0.0"
|
||||
}
|
||||
],
|
||||
"configProperties": {
|
||||
"System.GC.Server": true,
|
||||
"System.Reflection.NullabilityInfoContext.IsSupported": true,
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"ConnectionStrings": {
|
||||
"FakePieShopDbContextConnection": "Server=(localdb)\\mssqllocaldb;Database=FakePieShop0123456;Trusted_Connection=true;MultipleActiveResultSets=true"
|
||||
}
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"defaultProvider": "cdnjs",
|
||||
"libraries": [
|
||||
{
|
||||
"library": "bootstrap@5.3.2",
|
||||
"destination": "wwwroot/lib/bootstrap/"
|
||||
},
|
||||
{
|
||||
"library": "jquery@3.7.1",
|
||||
"destination": "wwwroot/lib/jquery/"
|
||||
},
|
||||
{
|
||||
"library": "jquery-validate@1.20.0",
|
||||
"destination": "wwwroot/lib/jquery-validate/"
|
||||
},
|
||||
{
|
||||
"library": "jquery-validation-unobtrusive@4.0.0",
|
||||
"destination": "wwwroot/lib/jquery-validation-unobtrusive/"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
|
||||
@@ -1,23 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("FakePieShop")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("FakePieShop")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("FakePieShop")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
@@ -1,97 +0,0 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb = true
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = FakePieShop
|
||||
build_property.RootNamespace = FakePieShop
|
||||
build_property.ProjectDir = C:\Users\mikay\source\repos\FakePieShop\FakePieShop\
|
||||
build_property.RazorLangVersion = 6.0
|
||||
build_property.SupportLocalizedComponentNames =
|
||||
build_property.GenerateRazorMetadataSourceChecksumAttributes =
|
||||
build_property.MSBuildProjectDirectory = C:\Users\mikay\source\repos\FakePieShop\FakePieShop
|
||||
build_property._RazorSourceGeneratorDebug =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Pages/CheckoutCompletePage.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcQ2hlY2tvdXRDb21wbGV0ZVBhZ2UuY3NodG1s
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Pages/CheckoutPage.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcQ2hlY2tvdXRQYWdlLmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Pages/Shared/_PageLayout.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcU2hhcmVkXF9QYWdlTGF5b3V0LmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Pages/_ViewImports.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcX1ZpZXdJbXBvcnRzLmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Pages/_ViewStart.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcX1ZpZXdTdGFydC5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Contact/Index.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcQ29udGFjdFxJbmRleC5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Home/Index.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcSG9tZVxJbmRleC5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Order/Checkout.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcT3JkZXJcQ2hlY2tvdXQuY3NodG1s
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Order/CheckoutComplete.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcT3JkZXJcQ2hlY2tvdXRDb21wbGV0ZS5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Pie/Details.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcUGllXERldGFpbHMuY3NodG1s
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Pie/List.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcUGllXExpc3QuY3NodG1s
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Shared/Components/CategoryMenu/Default.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hhcmVkXENvbXBvbmVudHNcQ2F0ZWdvcnlNZW51XERlZmF1bHQuY3NodG1s
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Shared/Components/ShoppingCartSummary/Default.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hhcmVkXENvbXBvbmVudHNcU2hvcHBpbmdDYXJ0U3VtbWFyeVxEZWZhdWx0LmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Shared/_Carousel.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hhcmVkXF9DYXJvdXNlbC5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Shared/_Layout.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hhcmVkXF9MYXlvdXQuY3NodG1s
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Shared/_PieCard.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hhcmVkXF9QaWVDYXJkLmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Shared/_ShoppingCartItemCard.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hhcmVkXF9TaG9wcGluZ0NhcnRJdGVtQ2FyZC5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/ShoppingCart/Index.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hvcHBpbmdDYXJ0XEluZGV4LmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/_ViewImports.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcX1ZpZXdJbXBvcnRzLmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/_ViewStart.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcX1ZpZXdTdGFydC5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
@@ -1,17 +0,0 @@
|
||||
// <auto-generated/>
|
||||
global using global::Microsoft.AspNetCore.Builder;
|
||||
global using global::Microsoft.AspNetCore.Hosting;
|
||||
global using global::Microsoft.AspNetCore.Http;
|
||||
global using global::Microsoft.AspNetCore.Routing;
|
||||
global using global::Microsoft.Extensions.Configuration;
|
||||
global using global::Microsoft.Extensions.DependencyInjection;
|
||||
global using global::Microsoft.Extensions.Hosting;
|
||||
global using global::Microsoft.Extensions.Logging;
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Net.Http.Json;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
||||
@@ -1,18 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ProvideApplicationPartFactoryAttribute("Microsoft.AspNetCore.Mvc.ApplicationParts.ConsolidatedAssemblyApplicationPartFact" +
|
||||
"ory, Microsoft.AspNetCore.Mvc.Razor")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\appsettings.Development.json
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\appsettings.json
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\FakePieShop.staticwebassets.runtime.json
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\FakePieShop.exe
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\FakePieShop.deps.json
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\FakePieShop.runtimeconfig.json
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\FakePieShop.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\FakePieShop.pdb
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\FakePieShop.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\FakePieShop.AssemblyInfoInputs.cache
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\FakePieShop.AssemblyInfo.cs
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\FakePieShop.csproj.CoreCompileInputs.cache
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\FakePieShop.MvcApplicationPartsAssemblyInfo.cache
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\FakePieShop.RazorAssemblyInfo.cache
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\FakePieShop.RazorAssemblyInfo.cs
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\staticwebassets\msbuild.FakePieShop.Microsoft.AspNetCore.StaticWebAssets.props
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\staticwebassets\msbuild.build.FakePieShop.props
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\staticwebassets\msbuild.buildMultiTargeting.FakePieShop.props
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\staticwebassets\msbuild.buildTransitive.FakePieShop.props
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\staticwebassets.pack.json
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\staticwebassets.build.json
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\staticwebassets.development.json
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\scopedcss\bundle\FakePieShop.styles.css
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\FakePieShop.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\refint\FakePieShop.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\FakePieShop.pdb
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\FakePieShop.genruntimeconfig.cache
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\ref\FakePieShop.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\libman.json
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\FakePieShop.csproj.AssemblyReference.cache
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Azure.Core.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Azure.Identity.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Humanizer.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Bcl.AsyncInterfaces.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Data.SqlClient.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Abstractions.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Design.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Relational.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.SqlServer.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Extensions.Caching.Abstractions.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Extensions.Caching.Memory.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Extensions.Configuration.Abstractions.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Extensions.DependencyInjection.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Extensions.DependencyModel.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Extensions.Logging.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Extensions.Logging.Abstractions.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Extensions.Options.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Extensions.Primitives.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Identity.Client.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Identity.Client.Extensions.Msal.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.IdentityModel.Abstractions.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.IdentityModel.JsonWebTokens.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.IdentityModel.Logging.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.IdentityModel.Tokens.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.SqlServer.Server.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Microsoft.Win32.SystemEvents.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\Mono.TextTemplating.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\System.CodeDom.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\System.Configuration.ConfigurationManager.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\System.Drawing.Common.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\System.IdentityModel.Tokens.Jwt.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\System.Memory.Data.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\System.Runtime.Caching.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\System.Security.Cryptography.ProtectedData.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\System.Security.Permissions.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\System.Text.Encodings.Web.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\System.Text.Json.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\System.Windows.Extensions.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\unix\lib\net6.0\Microsoft.Data.SqlClient.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\win\lib\net6.0\Microsoft.Data.SqlClient.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\win\lib\net6.0\Microsoft.Win32.SystemEvents.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\unix\lib\net6.0\System.Drawing.Common.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\win\lib\net6.0\System.Drawing.Common.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\win\lib\net6.0\System.Runtime.Caching.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\win\lib\net6.0\System.Security.Cryptography.ProtectedData.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\browser\lib\net6.0\System.Text.Encodings.Web.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\bin\Debug\net6.0\runtimes\win\lib\net6.0\System.Windows.Extensions.dll
|
||||
C:\Users\mikay\source\repos\FakePieShop\FakePieShop\obj\Debug\net6.0\FakePieShop.csproj.CopyComplete
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,3 +0,0 @@
|
||||
<Project>
|
||||
<Import Project="Microsoft.AspNetCore.StaticWebAssets.props" />
|
||||
</Project>
|
||||
@@ -1,3 +0,0 @@
|
||||
<Project>
|
||||
<Import Project="..\build\FakePieShop.props" />
|
||||
</Project>
|
||||
@@ -1,3 +0,0 @@
|
||||
<Project>
|
||||
<Import Project="..\buildMultiTargeting\FakePieShop.props" />
|
||||
</Project>
|
||||
@@ -1,83 +0,0 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Users\\mikay\\source\\repos\\FakePieShop\\FakePieShop\\FakePieShop.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\mikay\\source\\repos\\FakePieShop\\FakePieShop\\FakePieShop.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\mikay\\source\\repos\\FakePieShop\\FakePieShop\\FakePieShop.csproj",
|
||||
"projectName": "FakePieShop",
|
||||
"projectPath": "C:\\Users\\mikay\\source\\repos\\FakePieShop\\FakePieShop\\FakePieShop.csproj",
|
||||
"packagesPath": "C:\\Users\\mikay\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\mikay\\source\\repos\\FakePieShop\\FakePieShop\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\mikay\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net6.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"dependencies": {
|
||||
"Microsoft.EntityFrameworkCore.SqlServer": {
|
||||
"target": "Package",
|
||||
"version": "[7.0.13, )"
|
||||
},
|
||||
"Microsoft.EntityFrameworkCore.Tools": {
|
||||
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
|
||||
"suppressParent": "All",
|
||||
"target": "Package",
|
||||
"version": "[7.0.13, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.AspNetCore.App": {
|
||||
"privateAssets": "none"
|
||||
},
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.401\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\mikay\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.7.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\mikay\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore\7.0.13\buildTransitive\net6.0\Microsoft.EntityFrameworkCore.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore\7.0.13\buildTransitive\net6.0\Microsoft.EntityFrameworkCore.props')" />
|
||||
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\7.0.13\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\7.0.13\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\mikay\.nuget\packages\microsoft.entityframeworkcore.tools\7.0.13</PkgMicrosoft_EntityFrameworkCore_Tools>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)system.text.json\7.0.0\buildTransitive\net6.0\System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json\7.0.0\buildTransitive\net6.0\System.Text.Json.targets')" />
|
||||
<Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\7.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\7.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -1,4 +0,0 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
|
||||
@@ -1,23 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("FakePieShop")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("FakePieShop")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("FakePieShop")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
@@ -1,97 +0,0 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb = true
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = FakePieShop
|
||||
build_property.RootNamespace = FakePieShop
|
||||
build_property.ProjectDir = C:\Users\mikay\source\repos\FakePieShop\FakePieShop\
|
||||
build_property.RazorLangVersion = 6.0
|
||||
build_property.SupportLocalizedComponentNames =
|
||||
build_property.GenerateRazorMetadataSourceChecksumAttributes =
|
||||
build_property.MSBuildProjectDirectory = C:\Users\mikay\source\repos\FakePieShop\FakePieShop
|
||||
build_property._RazorSourceGeneratorDebug =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Pages/CheckoutCompletePage.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcQ2hlY2tvdXRDb21wbGV0ZVBhZ2UuY3NodG1s
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Pages/CheckoutPage.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcQ2hlY2tvdXRQYWdlLmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Pages/Shared/_PageLayout.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcU2hhcmVkXF9QYWdlTGF5b3V0LmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Pages/_ViewImports.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcX1ZpZXdJbXBvcnRzLmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Pages/_ViewStart.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcX1ZpZXdTdGFydC5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Contact/Index.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcQ29udGFjdFxJbmRleC5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Home/Index.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcSG9tZVxJbmRleC5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Order/Checkout.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcT3JkZXJcQ2hlY2tvdXQuY3NodG1s
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Order/CheckoutComplete.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcT3JkZXJcQ2hlY2tvdXRDb21wbGV0ZS5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Pie/Details.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcUGllXERldGFpbHMuY3NodG1s
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Pie/List.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcUGllXExpc3QuY3NodG1s
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Shared/Components/CategoryMenu/Default.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hhcmVkXENvbXBvbmVudHNcQ2F0ZWdvcnlNZW51XERlZmF1bHQuY3NodG1s
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Shared/Components/ShoppingCartSummary/Default.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hhcmVkXENvbXBvbmVudHNcU2hvcHBpbmdDYXJ0U3VtbWFyeVxEZWZhdWx0LmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Shared/_Carousel.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hhcmVkXF9DYXJvdXNlbC5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Shared/_Layout.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hhcmVkXF9MYXlvdXQuY3NodG1s
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Shared/_PieCard.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hhcmVkXF9QaWVDYXJkLmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/Shared/_ShoppingCartItemCard.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hhcmVkXF9TaG9wcGluZ0NhcnRJdGVtQ2FyZC5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/ShoppingCart/Index.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcU2hvcHBpbmdDYXJ0XEluZGV4LmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/_ViewImports.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcX1ZpZXdJbXBvcnRzLmNzaHRtbA==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[C:/Users/mikay/source/repos/FakePieShop/FakePieShop/Views/_ViewStart.cshtml]
|
||||
build_metadata.AdditionalFiles.TargetPath = Vmlld3NcX1ZpZXdTdGFydC5jc2h0bWw=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
@@ -1,17 +0,0 @@
|
||||
// <auto-generated/>
|
||||
global using global::Microsoft.AspNetCore.Builder;
|
||||
global using global::Microsoft.AspNetCore.Hosting;
|
||||
global using global::Microsoft.AspNetCore.Http;
|
||||
global using global::Microsoft.AspNetCore.Routing;
|
||||
global using global::Microsoft.Extensions.Configuration;
|
||||
global using global::Microsoft.Extensions.DependencyInjection;
|
||||
global using global::Microsoft.Extensions.Hosting;
|
||||
global using global::Microsoft.Extensions.Logging;
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Net.Http.Json;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
||||
@@ -1,18 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ProvideApplicationPartFactoryAttribute("Microsoft.AspNetCore.Mvc.ApplicationParts.ConsolidatedAssemblyApplicationPartFact" +
|
||||
"ory, Microsoft.AspNetCore.Mvc.Razor")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
10
FakePieShopTests/Controllers/PieControllerTest.cs
Normal file
10
FakePieShopTests/Controllers/PieControllerTest.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace FakePieShopTests.Controllers;
|
||||
|
||||
public class PieControllerTest
|
||||
{
|
||||
[Fact]
|
||||
public void List_EmptyCategory_ReturnsAllPies()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
29
FakePieShopTests/FakePieShopTests.csproj
Normal file
29
FakePieShopTests/FakePieShopTests.csproj
Normal file
@@ -0,0 +1,29 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<IsPackable>false</IsPackable>
|
||||
<IsTestProject>true</IsTestProject>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
|
||||
<PackageReference Include="moq" Version="4.20.69" />
|
||||
<PackageReference Include="xunit" Version="2.4.2" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="coverlet.collector" Version="3.2.0">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\FakePieShop\FakePieShop.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
1
FakePieShopTests/GlobalUsings.cs
Normal file
1
FakePieShopTests/GlobalUsings.cs
Normal file
@@ -0,0 +1 @@
|
||||
global using Xunit;
|
||||
227
FakePieShopTests/Mocks/RepositoryMocks.cs
Normal file
227
FakePieShopTests/Mocks/RepositoryMocks.cs
Normal file
@@ -0,0 +1,227 @@
|
||||
using FakePieShop.Models;
|
||||
using FakePieShop.Repositories;
|
||||
using Moq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FakePieShopTests.Mocks
|
||||
{
|
||||
public class RepositoryMocks
|
||||
{
|
||||
public static Mock<IPieRepository> GetPieRepository()
|
||||
{
|
||||
var pies = new List<Pie>
|
||||
{
|
||||
new Pie
|
||||
{
|
||||
Name = "Apple Pie",
|
||||
Price = 12.95M,
|
||||
ShortDescription = "Our famous apple pies!",
|
||||
LongDescription =
|
||||
"Icing carrot cake jelly-o cheesecake. Sweet roll marzipan marshmallow toffee brownie brownie candy tootsie roll. Chocolate cake gingerbread tootsie roll oat cake pie chocolate bar cookie dragée brownie. Lollipop cotton candy cake bear claw oat cake. Dragée candy canes dessert tart. Marzipan dragée gummies lollipop jujubes chocolate bar candy canes. Icing gingerbread chupa chups cotton candy cookie sweet icing bonbon gummies. Gummies lollipop brownie biscuit danish chocolate cake. Danish powder cookie macaroon chocolate donut tart. Carrot cake dragée croissant lemon drops liquorice lemon drops cookie lollipop toffee. Carrot cake carrot cake liquorice sugar plum topping bonbon pie muffin jujubes. Jelly pastry wafer tart caramels bear claw. Tiramisu tart pie cake danish lemon drops. Brownie cupcake dragée gummies.",
|
||||
Category = Categories["Fruit pies"],
|
||||
ImageUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/applepie.jpg",
|
||||
InStock = true,
|
||||
IsPieOfTheWeek = true,
|
||||
ImageThumbnailUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/applepiesmall.jpg",
|
||||
AllergyInformation = ""
|
||||
},
|
||||
new Pie
|
||||
{
|
||||
Name = "Blueberry Cheese Cake",
|
||||
Price = 18.95M,
|
||||
ShortDescription = "You'll love it!",
|
||||
LongDescription =
|
||||
"Icing carrot cake jelly-o cheesecake. Sweet roll marzipan marshmallow toffee brownie brownie candy tootsie roll. Chocolate cake gingerbread tootsie roll oat cake pie chocolate bar cookie dragée brownie. Lollipop cotton candy cake bear claw oat cake. Dragée candy canes dessert tart. Marzipan dragée gummies lollipop jujubes chocolate bar candy canes. Icing gingerbread chupa chups cotton candy cookie sweet icing bonbon gummies. Gummies lollipop brownie biscuit danish chocolate cake. Danish powder cookie macaroon chocolate donut tart. Carrot cake dragée croissant lemon drops liquorice lemon drops cookie lollipop toffee. Carrot cake carrot cake liquorice sugar plum topping bonbon pie muffin jujubes. Jelly pastry wafer tart caramels bear claw. Tiramisu tart pie cake danish lemon drops. Brownie cupcake dragée gummies.",
|
||||
Category = Categories["Cheese cakes"],
|
||||
ImageUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/blueberrycheesecake.jpg",
|
||||
InStock = true,
|
||||
IsPieOfTheWeek = false,
|
||||
ImageThumbnailUrl =
|
||||
"https://gillcleerenpluralsight.blob.core.windows.net/files/blueberrycheesecakesmall.jpg",
|
||||
AllergyInformation = ""
|
||||
},
|
||||
new Pie
|
||||
{
|
||||
Name = "Cheese Cake",
|
||||
Price = 18.95M,
|
||||
ShortDescription = "Plain cheese cake. Plain pleasure.",
|
||||
LongDescription =
|
||||
"Icing carrot cake jelly-o cheesecake. Sweet roll marzipan marshmallow toffee brownie brownie candy tootsie roll. Chocolate cake gingerbread tootsie roll oat cake pie chocolate bar cookie dragée brownie. Lollipop cotton candy cake bear claw oat cake. Dragée candy canes dessert tart. Marzipan dragée gummies lollipop jujubes chocolate bar candy canes. Icing gingerbread chupa chups cotton candy cookie sweet icing bonbon gummies. Gummies lollipop brownie biscuit danish chocolate cake. Danish powder cookie macaroon chocolate donut tart. Carrot cake dragée croissant lemon drops liquorice lemon drops cookie lollipop toffee. Carrot cake carrot cake liquorice sugar plum topping bonbon pie muffin jujubes. Jelly pastry wafer tart caramels bear claw. Tiramisu tart pie cake danish lemon drops. Brownie cupcake dragée gummies.",
|
||||
Category = Categories["Cheese cakes"],
|
||||
ImageUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/cheesecake.jpg",
|
||||
InStock = true,
|
||||
IsPieOfTheWeek = false,
|
||||
ImageThumbnailUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/cheesecakesmall.jpg",
|
||||
AllergyInformation = ""
|
||||
},
|
||||
new Pie
|
||||
{
|
||||
Name = "Cherry Pie",
|
||||
Price = 15.95M,
|
||||
ShortDescription = "A summer classic!",
|
||||
LongDescription =
|
||||
"Icing carrot cake jelly-o cheesecake. Sweet roll marzipan marshmallow toffee brownie brownie candy tootsie roll. Chocolate cake gingerbread tootsie roll oat cake pie chocolate bar cookie dragée brownie. Lollipop cotton candy cake bear claw oat cake. Dragée candy canes dessert tart. Marzipan dragée gummies lollipop jujubes chocolate bar candy canes. Icing gingerbread chupa chups cotton candy cookie sweet icing bonbon gummies. Gummies lollipop brownie biscuit danish chocolate cake. Danish powder cookie macaroon chocolate donut tart. Carrot cake dragée croissant lemon drops liquorice lemon drops cookie lollipop toffee. Carrot cake carrot cake liquorice sugar plum topping bonbon pie muffin jujubes. Jelly pastry wafer tart caramels bear claw. Tiramisu tart pie cake danish lemon drops. Brownie cupcake dragée gummies.",
|
||||
Category = Categories["Fruit pies"],
|
||||
ImageUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/cherrypie.jpg",
|
||||
InStock = true,
|
||||
IsPieOfTheWeek = false,
|
||||
ImageThumbnailUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/cherrypiesmall.jpg",
|
||||
AllergyInformation = ""
|
||||
},
|
||||
new Pie
|
||||
{
|
||||
Name = "Christmas Apple Pie",
|
||||
Price = 13.95M,
|
||||
ShortDescription = "Happy holidays with this pie!",
|
||||
LongDescription =
|
||||
"Icing carrot cake jelly-o cheesecake. Sweet roll marzipan marshmallow toffee brownie brownie candy tootsie roll. Chocolate cake gingerbread tootsie roll oat cake pie chocolate bar cookie dragée brownie. Lollipop cotton candy cake bear claw oat cake. Dragée candy canes dessert tart. Marzipan dragée gummies lollipop jujubes chocolate bar candy canes. Icing gingerbread chupa chups cotton candy cookie sweet icing bonbon gummies. Gummies lollipop brownie biscuit danish chocolate cake. Danish powder cookie macaroon chocolate donut tart. Carrot cake dragée croissant lemon drops liquorice lemon drops cookie lollipop toffee. Carrot cake carrot cake liquorice sugar plum topping bonbon pie muffin jujubes. Jelly pastry wafer tart caramels bear claw. Tiramisu tart pie cake danish lemon drops. Brownie cupcake dragée gummies.",
|
||||
Category = Categories["Seasonal pies"],
|
||||
ImageUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/christmasapplepie.jpg",
|
||||
InStock = true,
|
||||
IsPieOfTheWeek = false,
|
||||
ImageThumbnailUrl =
|
||||
"https://gillcleerenpluralsight.blob.core.windows.net/files/christmasapplepiesmall.jpg",
|
||||
AllergyInformation = ""
|
||||
},
|
||||
new Pie
|
||||
{
|
||||
Name = "Cranberry Pie",
|
||||
Price = 17.95M,
|
||||
ShortDescription = "A Christmas favorite",
|
||||
LongDescription =
|
||||
"Icing carrot cake jelly-o cheesecake. Sweet roll marzipan marshmallow toffee brownie brownie candy tootsie roll. Chocolate cake gingerbread tootsie roll oat cake pie chocolate bar cookie dragée brownie. Lollipop cotton candy cake bear claw oat cake. Dragée candy canes dessert tart. Marzipan dragée gummies lollipop jujubes chocolate bar candy canes. Icing gingerbread chupa chups cotton candy cookie sweet icing bonbon gummies. Gummies lollipop brownie biscuit danish chocolate cake. Danish powder cookie macaroon chocolate donut tart. Carrot cake dragée croissant lemon drops liquorice lemon drops cookie lollipop toffee. Carrot cake carrot cake liquorice sugar plum topping bonbon pie muffin jujubes. Jelly pastry wafer tart caramels bear claw. Tiramisu tart pie cake danish lemon drops. Brownie cupcake dragée gummies.",
|
||||
Category = Categories["Seasonal pies"],
|
||||
ImageUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/cranberrypie.jpg",
|
||||
InStock = true,
|
||||
IsPieOfTheWeek = false,
|
||||
ImageThumbnailUrl =
|
||||
"https://gillcleerenpluralsight.blob.core.windows.net/files/cranberrypiesmall.jpg",
|
||||
AllergyInformation = ""
|
||||
},
|
||||
new Pie
|
||||
{
|
||||
Name = "Peach Pie",
|
||||
Price = 15.95M,
|
||||
ShortDescription = "Sweet as peach",
|
||||
LongDescription =
|
||||
"Icing carrot cake jelly-o cheesecake. Sweet roll marzipan marshmallow toffee brownie brownie candy tootsie roll. Chocolate cake gingerbread tootsie roll oat cake pie chocolate bar cookie dragée brownie. Lollipop cotton candy cake bear claw oat cake. Dragée candy canes dessert tart. Marzipan dragée gummies lollipop jujubes chocolate bar candy canes. Icing gingerbread chupa chups cotton candy cookie sweet icing bonbon gummies. Gummies lollipop brownie biscuit danish chocolate cake. Danish powder cookie macaroon chocolate donut tart. Carrot cake dragée croissant lemon drops liquorice lemon drops cookie lollipop toffee. Carrot cake carrot cake liquorice sugar plum topping bonbon pie muffin jujubes. Jelly pastry wafer tart caramels bear claw. Tiramisu tart pie cake danish lemon drops. Brownie cupcake dragée gummies.",
|
||||
Category = Categories["Fruit pies"],
|
||||
ImageUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/peachpie.jpg",
|
||||
InStock = false,
|
||||
IsPieOfTheWeek = false,
|
||||
ImageThumbnailUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/peachpiesmall.jpg",
|
||||
AllergyInformation = ""
|
||||
},
|
||||
new Pie
|
||||
{
|
||||
Name = "Pumpkin Pie",
|
||||
Price = 12.95M,
|
||||
ShortDescription = "Our Halloween favorite",
|
||||
LongDescription =
|
||||
"Icing carrot cake jelly-o cheesecake. Sweet roll marzipan marshmallow toffee brownie brownie candy tootsie roll. Chocolate cake gingerbread tootsie roll oat cake pie chocolate bar cookie dragée brownie. Lollipop cotton candy cake bear claw oat cake. Dragée candy canes dessert tart. Marzipan dragée gummies lollipop jujubes chocolate bar candy canes. Icing gingerbread chupa chups cotton candy cookie sweet icing bonbon gummies. Gummies lollipop brownie biscuit danish chocolate cake. Danish powder cookie macaroon chocolate donut tart. Carrot cake dragée croissant lemon drops liquorice lemon drops cookie lollipop toffee. Carrot cake carrot cake liquorice sugar plum topping bonbon pie muffin jujubes. Jelly pastry wafer tart caramels bear claw. Tiramisu tart pie cake danish lemon drops. Brownie cupcake dragée gummies.",
|
||||
Category = Categories["Seasonal pies"],
|
||||
ImageUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/pumpkinpie.jpg",
|
||||
InStock = true,
|
||||
IsPieOfTheWeek = true,
|
||||
ImageThumbnailUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/pumpkinpiesmall.jpg",
|
||||
AllergyInformation = ""
|
||||
},
|
||||
new Pie
|
||||
{
|
||||
Name = "Rhubarb Pie",
|
||||
Price = 15.95M,
|
||||
ShortDescription = "My God, so sweet!",
|
||||
LongDescription =
|
||||
"Icing carrot cake jelly-o cheesecake. Sweet roll marzipan marshmallow toffee brownie brownie candy tootsie roll. Chocolate cake gingerbread tootsie roll oat cake pie chocolate bar cookie dragée brownie. Lollipop cotton candy cake bear claw oat cake. Dragée candy canes dessert tart. Marzipan dragée gummies lollipop jujubes chocolate bar candy canes. Icing gingerbread chupa chups cotton candy cookie sweet icing bonbon gummies. Gummies lollipop brownie biscuit danish chocolate cake. Danish powder cookie macaroon chocolate donut tart. Carrot cake dragée croissant lemon drops liquorice lemon drops cookie lollipop toffee. Carrot cake carrot cake liquorice sugar plum topping bonbon pie muffin jujubes. Jelly pastry wafer tart caramels bear claw. Tiramisu tart pie cake danish lemon drops. Brownie cupcake dragée gummies.",
|
||||
Category = Categories["Fruit pies"],
|
||||
ImageUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/rhubarbpie.jpg",
|
||||
InStock = true,
|
||||
IsPieOfTheWeek = true,
|
||||
ImageThumbnailUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/rhubarbpiesmall.jpg",
|
||||
AllergyInformation = ""
|
||||
},
|
||||
new Pie
|
||||
{
|
||||
Name = "Strawberry Pie",
|
||||
Price = 15.95M,
|
||||
ShortDescription = "Our delicious strawberry pie!",
|
||||
LongDescription =
|
||||
"Icing carrot cake jelly-o cheesecake. Sweet roll marzipan marshmallow toffee brownie brownie candy tootsie roll. Chocolate cake gingerbread tootsie roll oat cake pie chocolate bar cookie dragée brownie. Lollipop cotton candy cake bear claw oat cake. Dragée candy canes dessert tart. Marzipan dragée gummies lollipop jujubes chocolate bar candy canes. Icing gingerbread chupa chups cotton candy cookie sweet icing bonbon gummies. Gummies lollipop brownie biscuit danish chocolate cake. Danish powder cookie macaroon chocolate donut tart. Carrot cake dragée croissant lemon drops liquorice lemon drops cookie lollipop toffee. Carrot cake carrot cake liquorice sugar plum topping bonbon pie muffin jujubes. Jelly pastry wafer tart caramels bear claw. Tiramisu tart pie cake danish lemon drops. Brownie cupcake dragée gummies.",
|
||||
Category = Categories["Fruit pies"],
|
||||
ImageUrl = "https://gillcleerenpluralsight.blob.core.windows.net/files/strawberrypie.jpg",
|
||||
InStock = true,
|
||||
IsPieOfTheWeek = false,
|
||||
ImageThumbnailUrl =
|
||||
"https://gillcleerenpluralsight.blob.core.windows.net/files/strawberrypiesmall.jpg",
|
||||
AllergyInformation = ""
|
||||
},
|
||||
};
|
||||
|
||||
var mockPieRepository = new Mock<IPieRepository>();
|
||||
mockPieRepository.Setup(repo => repo.AllPies).Returns(pies);
|
||||
mockPieRepository.Setup(repo => repo.PiesOfTheWeek).Returns(pies.Where(p => p.IsPieOfTheWeek));
|
||||
mockPieRepository.Setup(repo => repo.GetPieById(It.IsAny<int>())).Returns(pies[0]);
|
||||
return mockPieRepository;
|
||||
}
|
||||
|
||||
public static Mock<ICategoryRepository> GetCategoryRepository()
|
||||
{
|
||||
var categories = new List<Category>
|
||||
{
|
||||
new Category()
|
||||
{
|
||||
CategoryId = 1,
|
||||
CategoryName = "Fruit Pies",
|
||||
Description = "Lorem ipsum"
|
||||
},
|
||||
new Category()
|
||||
{
|
||||
CategoryId = 2,
|
||||
CategoryName = "Cheese cakes",
|
||||
Description = "Lorem ipsum"
|
||||
},
|
||||
new Category()
|
||||
{
|
||||
CategoryId = 3,
|
||||
CategoryName = "Fruit Pies",
|
||||
Description = "Seasonal pies"
|
||||
}
|
||||
};
|
||||
|
||||
var mockCategoryRepository = new Mock<ICategoryRepository>();
|
||||
mockCategoryRepository.Setup(repo => repo.AllCategories).Returns(categories);
|
||||
|
||||
return mockCategoryRepository;
|
||||
}
|
||||
|
||||
private static Dictionary<string, Category>? _categories;
|
||||
public static Dictionary<string, Category> Categories
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_categories == null)
|
||||
{
|
||||
var genresList = new Category[]
|
||||
{
|
||||
new Category { CategoryName = "Fruit pies" },
|
||||
new Category { CategoryName = "Cheese cakes" },
|
||||
new Category { CategoryName = "Seasonal pies" }
|
||||
};
|
||||
|
||||
_categories = new Dictionary<string, Category>();
|
||||
|
||||
foreach (var genre in genresList)
|
||||
{
|
||||
_categories.Add(genre.CategoryName, genre);
|
||||
}
|
||||
}
|
||||
|
||||
return _categories;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user