Skip to content

Commit

Permalink
Update README to 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalis committed Feb 7, 2019
1 parent ecf09a5 commit 9bc226d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Sample ASP.NET Core reference application, powered by Microsoft, demonstrating a single-process (monolithic) application architecture and deployment model.

This reference application is meant to support the free .PDF download ebook: [Architecting Modern Web Applications with ASP.NET Core and Azure](https://aka.ms/webappebook), updated to **ASP.NET Core 2.1**.
This reference application is meant to support the free .PDF download ebook: [Architecting Modern Web Applications with ASP.NET Core and Azure](https://aka.ms/webappebook), updated to **ASP.NET Core 2.2**.

You can also read the book in online pages at the .NET docs here:
https://docs.microsoft.com/en-us/dotnet/standard/modern-web-apps-azure-architecture/
Expand All @@ -14,10 +14,9 @@ The **eShopOnWeb** sample is related to the [eShopOnContainers](https://github.c
The goal for this sample is to demonstrate some of the principles and patterns described in the [eBook](https://aka.ms/webappebook). It is not meant to be an eCommerce reference application, and as such it does not implement many features that would be obvious and/or essential to a real eCommerce application.

> ### VERSIONS
> #### The `master` branch is currently running ASP.NET Core 2.1.
> #### The `master` branch is currently running ASP.NET Core 2.2.
> #### Older versions are tagged.

## Topics (eBook TOC)

- Introduction
Expand Down Expand Up @@ -56,9 +55,9 @@ You can also run the samples in Docker (see below).
}
```

2. Ensure your connection strings in `appsettings.json` point to a local SQL Server instance.
1. Ensure your connection strings in `appsettings.json` point to a local SQL Server instance.

3. Open a command prompt in the Web folder and execute the following commands:
1. Open a command prompt in the Web folder and execute the following commands:

```
dotnet restore
Expand All @@ -68,10 +67,12 @@ dotnet ef database update -c appidentitydbcontext -p ../Infrastructure/Infrastru

These commands will create two separate databases, one for the store's catalog data and shopping cart information, and one for the app's user credentials and identity data.

4. Run the application.
1. Run the application.

The first time you run the application, it will seed both databases with data such that you should see products in the store, and you should be able to log in using the demouser@microsoft.com account.

Note: If you need to create migrations, you can use these commands:

```
-- create migration (from Web folder CLI)
dotnet ef migrations add InitialModel --context catalogcontext -p ../Infrastructure/Infrastructure.csproj -s Web.csproj -o Data/Migrations
Expand Down

0 comments on commit 9bc226d

Please sign in to comment.