diff --git a/SportsStore/SportsStore.Domain/Class1.cs b/SportsStore/SportsStore.Domain/Class1.cs new file mode 100644 index 0000000..ca99c64 --- /dev/null +++ b/SportsStore/SportsStore.Domain/Class1.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SportsStore.Domain +{ + public class Class1 + { + } +} diff --git a/SportsStore/SportsStore.Domain/Properties/AssemblyInfo.cs b/SportsStore/SportsStore.Domain/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..ed0b9da --- /dev/null +++ b/SportsStore/SportsStore.Domain/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SportsStore.Domain")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SportsStore.Domain")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("ff997080-9285-4855-9290-22f8922776c0")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/SportsStore/SportsStore.Domain/SportsStore.Domain.csproj b/SportsStore/SportsStore.Domain/SportsStore.Domain.csproj new file mode 100644 index 0000000..69a2f5c --- /dev/null +++ b/SportsStore/SportsStore.Domain/SportsStore.Domain.csproj @@ -0,0 +1,54 @@ + + + + + Debug + AnyCPU + ff997080-9285-4855-9290-22f8922776c0 + Library + Properties + SportsStore.Domain + SportsStore.Domain + v4.5.1 + 512 + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SportsStore/SportsStore.UnitTests/Properties/AssemblyInfo.cs b/SportsStore/SportsStore.UnitTests/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..3d2893d --- /dev/null +++ b/SportsStore/SportsStore.UnitTests/Properties/AssemblyInfo.cs @@ -0,0 +1,20 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("SportsStore.UnitTests")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SportsStore.UnitTests")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +[assembly: ComVisible(false)] + +[assembly: Guid("48bc3176-029c-4659-925b-613e0bdf7268")] + +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/SportsStore/SportsStore.UnitTests/SportsStore.UnitTests.csproj b/SportsStore/SportsStore.UnitTests/SportsStore.UnitTests.csproj new file mode 100644 index 0000000..f14a351 --- /dev/null +++ b/SportsStore/SportsStore.UnitTests/SportsStore.UnitTests.csproj @@ -0,0 +1,68 @@ + + + + + + Debug + AnyCPU + {48BC3176-029C-4659-925B-613E0BDF7268} + Library + Properties + SportsStore.UnitTests + SportsStore.UnitTests + v4.5.1 + 512 + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 15.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages + False + UnitTest + + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\MSTest.TestFramework.2.1.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + + + ..\packages\MSTest.TestFramework.2.1.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + + + + + + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + \ No newline at end of file diff --git a/SportsStore/SportsStore.UnitTests/UnitTest1.cs b/SportsStore/SportsStore.UnitTests/UnitTest1.cs new file mode 100644 index 0000000..ef6f907 --- /dev/null +++ b/SportsStore/SportsStore.UnitTests/UnitTest1.cs @@ -0,0 +1,14 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; + +namespace SportsStore.UnitTests +{ + [TestClass] + public class UnitTest1 + { + [TestMethod] + public void TestMethod1() + { + } + } +} diff --git a/SportsStore/SportsStore.UnitTests/packages.config b/SportsStore/SportsStore.UnitTests/packages.config new file mode 100644 index 0000000..020e044 --- /dev/null +++ b/SportsStore/SportsStore.UnitTests/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/SportsStore/SportsStore.WebUI/App_Start/RouteConfig.cs b/SportsStore/SportsStore.WebUI/App_Start/RouteConfig.cs new file mode 100644 index 0000000..2f301d8 --- /dev/null +++ b/SportsStore/SportsStore.WebUI/App_Start/RouteConfig.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.Mvc; +using System.Web.Routing; + +namespace SportsStore.WebUI +{ + public class RouteConfig + { + public static void RegisterRoutes(RouteCollection routes) + { + routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); + + routes.MapRoute( + name: "Default", + url: "{controller}/{action}/{id}", + defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } + ); + } + } +} diff --git a/SportsStore/SportsStore.WebUI/Global.asax b/SportsStore/SportsStore.WebUI/Global.asax new file mode 100644 index 0000000..d5409ee --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Global.asax @@ -0,0 +1 @@ +<%@ Application Codebehind="Global.asax.cs" Inherits="SportsStore.WebUI.MvcApplication" Language="C#" %> diff --git a/SportsStore/SportsStore.WebUI/Global.asax.cs b/SportsStore/SportsStore.WebUI/Global.asax.cs new file mode 100644 index 0000000..b79bc4d --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Global.asax.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.Mvc; +using System.Web.Routing; + +namespace SportsStore.WebUI +{ + public class MvcApplication : System.Web.HttpApplication + { + protected void Application_Start() + { + AreaRegistration.RegisterAllAreas(); + RouteConfig.RegisterRoutes(RouteTable.Routes); + } + } +} diff --git a/SportsStore/SportsStore.WebUI/Properties/AssemblyInfo.cs b/SportsStore/SportsStore.WebUI/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..5a6d95d --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SportsStore.WebUI")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SportsStore.WebUI")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("b2de8758-9a2c-48a6-804c-7349a3ff9b3c")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj b/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj new file mode 100644 index 0000000..1701b8c --- /dev/null +++ b/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj @@ -0,0 +1,154 @@ + + + + + Debug + AnyCPU + + + 2.0 + {B2DE8758-9A2C-48A6-804C-7349A3FF9B3C} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + SportsStore.WebUI + SportsStore.WebUI + v4.5.1 + true + + + + + + + + + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + true + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + ..\packages\Microsoft.AspNet.Razor.3.2.7\lib\net45\System.Web.Razor.dll + + + ..\packages\Microsoft.AspNet.Webpages.3.2.7\lib\net45\System.Web.Webpages.dll + + + ..\packages\Microsoft.AspNet.Webpages.3.2.7\lib\net45\System.Web.Webpages.Deployment.dll + + + ..\packages\Microsoft.AspNet.Webpages.3.2.7\lib\net45\System.Web.Webpages.Razor.dll + + + ..\packages\Microsoft.AspNet.Webpages.3.2.7\lib\net45\System.Web.Helpers.dll + + + ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll + + + ..\packages\Microsoft.AspNet.Mvc.5.2.7\lib\net45\System.Web.Mvc.dll + + + ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll + + + + + + + + + + Global.asax + + + + + + + + Web.config + + + Web.config + + + + + + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + True + True + 62342 + / + http://localhost:62342/ + False + False + + + False + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/SportsStore/SportsStore.WebUI/Views/web.config b/SportsStore/SportsStore.WebUI/Views/web.config new file mode 100644 index 0000000..427fcaf --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Views/web.config @@ -0,0 +1,42 @@ + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SportsStore/SportsStore.WebUI/Web.Debug.config b/SportsStore/SportsStore.WebUI/Web.Debug.config new file mode 100644 index 0000000..fae9cfe --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/SportsStore/SportsStore.WebUI/Web.Release.config b/SportsStore/SportsStore.WebUI/Web.Release.config new file mode 100644 index 0000000..da6e960 --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/SportsStore/SportsStore.WebUI/Web.config b/SportsStore/SportsStore.WebUI/Web.config new file mode 100644 index 0000000..ad0918d --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Web.config @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SportsStore/SportsStore.WebUI/packages.config b/SportsStore/SportsStore.WebUI/packages.config new file mode 100644 index 0000000..deca053 --- /dev/null +++ b/SportsStore/SportsStore.WebUI/packages.config @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/SportsStore/SportsStore.sln b/SportsStore/SportsStore.sln new file mode 100644 index 0000000..381a839 --- /dev/null +++ b/SportsStore/SportsStore.sln @@ -0,0 +1,37 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31410.357 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SportsStore.Domain", "SportsStore.Domain\SportsStore.Domain.csproj", "{FF997080-9285-4855-9290-22F8922776C0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SportsStore.WebUI", "SportsStore.WebUI\SportsStore.WebUI.csproj", "{B2DE8758-9A2C-48A6-804C-7349A3FF9B3C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SportsStore.UnitTests", "SportsStore.UnitTests\SportsStore.UnitTests.csproj", "{48BC3176-029C-4659-925B-613E0BDF7268}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FF997080-9285-4855-9290-22F8922776C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FF997080-9285-4855-9290-22F8922776C0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FF997080-9285-4855-9290-22F8922776C0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FF997080-9285-4855-9290-22F8922776C0}.Release|Any CPU.Build.0 = Release|Any CPU + {B2DE8758-9A2C-48A6-804C-7349A3FF9B3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B2DE8758-9A2C-48A6-804C-7349A3FF9B3C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B2DE8758-9A2C-48A6-804C-7349A3FF9B3C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B2DE8758-9A2C-48A6-804C-7349A3FF9B3C}.Release|Any CPU.Build.0 = Release|Any CPU + {48BC3176-029C-4659-925B-613E0BDF7268}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {48BC3176-029C-4659-925B-613E0BDF7268}.Debug|Any CPU.Build.0 = Debug|Any CPU + {48BC3176-029C-4659-925B-613E0BDF7268}.Release|Any CPU.ActiveCfg = Release|Any CPU + {48BC3176-029C-4659-925B-613E0BDF7268}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {45B9791C-1ABF-47DC-9BE0-8D45AD76DE9A} + EndGlobalSection +EndGlobal