Skip to content

Commit

Permalink
Update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
RickStrahl committed Jun 1, 2015
1 parent aa09336 commit c0bed6c
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# West Wind Album Viewer VNext Sample
** Sample SPA application demonstrating some VNext features**
# West Wind Album Viewer ASP.NET 5 Sample
**Sample SPA application demonstrating ASP.NET 5 features**

This is the sample code for the Album Viewer sample application from the
CoDe Magazine Article *A First Look at ASP.NET vNext* and various vNext blog
posts from Rick Strahl's Web Log.

This sample is a Mobile Web enabled album viewer that allows you to browse, add and music albums and artists that demonstrates using a client side AngularJs application talking to a ASP.NET 5 API backend using Entity Framework and a simple layer to handle data access.

> Current Supported Version: Beta4 (use tags for others)
* [A First Look at ASP.NET VNext](http://www.codemag.com/Article/1501081)
* [ASP.NET VNext: The Next Generation](http://www.codemag.com/Article/1501061)

Expand All @@ -16,9 +20,9 @@ The sample uses SQL Server sample data which you can import from a SQL script.
To use it:

* Open the Sql Data Tools or Sql Server Management Studio
* Create a database named MusicStore
* Select the MusicStore database
* Run the MusicStore.sql script from the AlbumViewerVNext\App_Data folder
* Create a database named AlbumViewerVNext (or whatever)
* Select the database
* Run the AlbumViewerVNext.sql script from the AlbumViewerAspNet5\App_Data folder

The script creates the tables and sample data in order for the application to run.

Expand All @@ -30,8 +34,8 @@ the application. Alternately you can run the sample from the command line.
**From Visual Studio**
* Open Visual Studio
* Open the AlbumViewerVNext Solution
* Run the AlbumViewerVNext Project
* Or: Select Index.html and View in Web Browser
* Run the AlbumViewerAspNet5 Project
* Or: Select Index.html in /wwwroot/ and View in Web Browser


**From the command line:**
Expand All @@ -41,24 +45,18 @@ If you don't have the KRE Runtime installed:
* Go to: https://github.com/aspnet/Home#getting-started
* Follow the KRuntime install directions
* Install with PowerShell
* Run kvm upgrade -runtime CoreClr
* Run kvm upgrade -runtime Clr
* Run dnvm upgrade -runtime CoreClr
* Run dnvm upgrade -runtime Clr

Once the runtime is installed:

* Change to <install>\src\albumviewervnext folder
* Run k web
* Run dnx web
* Navigate to http://localhost:5000/ in your browser

Alternately:

* Run k kestrel (to use the native .NET Kestrel Web server)
* Navigate to http://localhost:5004/index.html


**Requirements:**
* .NET 4.5.1 or later
* KRuntime Installation
* dnx Runtime Installation (see supported version in tags)

**License:**
This sample is licensed under MIT license. Use, play with integrate code from
Expand Down

0 comments on commit c0bed6c

Please sign in to comment.