Temporal Product Catalog updates

Ignored Publish profile, removed project.lock.json, updated one package
that blocked deploy to Azure web Apps, updated startup instructions.
This commit is contained in:
Jovan Popovic
2016-10-17 00:04:49 +02:00
parent f894cac023
commit 16b2c5d865
4 changed files with 9 additions and 11350 deletions
@@ -4,4 +4,5 @@
bin/*
obj/*
*.sln
*.log
*.log
Properties/PublishProfiles/*
@@ -29,7 +29,8 @@ To run this sample, you need the following prerequisites.
**Software prerequisites:**
1. SQL Server 2016 (or higher) or an Azure SQL Database
2. Visual Studio 2015 Update 3 (or higher) or Visual Studio Code Editor with the ASP.NET Core 1.0 (or higher)
2. [ASP.NET Core 1.0 SDK](https://www.microsoft.com/net/core#windows) (or higher)
2.1. Optional: Visual Studio 2015 Update 3 (or higher) or Visual Studio Code Editor
**Azure prerequisites:**
@@ -43,7 +44,9 @@ To run this sample, you need the following prerequisites.
2. From SQL Server Management Studio or Visual Studio/Sql Server Data Tools connect to your SQL Server 2016 or Azure SQL database and execute setup.sql script that will create and populate Product table and create required stored procedures.
3. From Visual Studio 2015, open the **ProductCatalog.xproj** file from the root directory. Restore packages using right-click menu on the project in Visual Studio and by choosing Restore Packages item. As an alternative, you may run **dotnet restore** from the command line (from the root folder of application).
3. Build the project - Open command prompt in project root folder (the folder that contains project json), and run following commands: **dotnet restore** to take all necessary NuGet packages, **dotnet build** to build the project.
3.1. As an alternative, open the **ProductCatalog.xproj** file from the root directory using Visual Studio 2015 U3. Restore packages using right-click menu on the project in Visual Studio and by choosing Restore Packages item.
4. Locate Startup.cs file in the project, change connection string in ConfigureServices() method to reference your database (default value ProductCatalog database on local instance with integrated security), and build solution using Ctrl+Shift+B, right-click on project + Build, Build/Build Solution from menu, or **dotnet build** command from the command line (from the root folder of application).
@@ -73,6 +76,7 @@ You can easily modify this code to fit the architecture of your application.
## Related Links
You can find more information about the components that are used in this sample on these locations:
[.Net Core download](https://www.microsoft.com/net/core#windows)
[JQuery DataTables with row expansion](https://datatables.net/examples/api/row_details.html).
[JQuery UI Slider](https://jqueryui.com/slider/)
@@ -15,7 +15,7 @@
"tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
"version": "1.0.0-preview1-final",
"version": "1.0.0-*",
"imports": "portable-net45+win8+dnxcore50"
}
},
File diff suppressed because it is too large Load Diff