2014-07-31 02:56:02 +04:00
# MusicStore application
2014-05-13 11:24:36 +04:00
2016-03-03 21:28:17 +03:00
AppVeyor: [![AppVeyor ](https://ci.appveyor.com/api/projects/status/ja8a7j6jscj7k3xa/branch/dev?svg=true )](https://ci.appveyor.com/project/aspnetci/MusicStore/branch/dev)
Travis: [![Travis ](https://travis-ci.org/aspnet/MusicStore.svg?branch=dev )](https://travis-ci.org/aspnet/MusicStore)
2016-03-15 07:27:31 +03:00
This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the [Home ](https://github.com/aspnet/home ) repo.
2014-05-13 11:24:36 +04:00
2014-12-23 06:04:55 +03:00
## Run the application on Helios:
2014-11-06 22:39:55 +03:00
* If you have Visual Studio 2015
2014-12-23 06:04:55 +03:00
1. Open MusicStore.sln in Visual Studio 2015 and run the individual applications on `IIS Express` .
2014-11-06 22:39:55 +03:00
* If you don't have Visual Studio 2015
2015-05-13 17:52:58 +03:00
1. Open a command prompt and execute `cd \src\MusicStore\` .
2015-03-24 10:36:00 +03:00
2. Execute `dnu restore` .
2014-12-23 06:04:55 +03:00
3. Execute `Helios.cmd` to launch the app on IISExpress from command line (Application started at URL **http://localhost:5001/** ).
2015-05-13 17:52:58 +03:00
**NOTE:** App and tests require Visual Studio 2015 LocalDB on the machine to run.
2014-07-31 02:56:02 +04:00
2014-12-23 06:04:55 +03:00
## Run on WebListener/Kestrel:
* Open a command prompt and cd `\src\MusicStore\` .
2014-07-31 02:56:02 +04:00
* **[WebListener]:**
2015-03-25 08:24:37 +03:00
4. Run `dnx . web` (Application started at URL **http://localhost:5002/** ).
2014-07-31 02:56:02 +04:00
* **[Kestrel]:**
2015-03-25 08:24:37 +03:00
5. Run `dnx . kestrel` (Application started at URL **http://localhost:5004/** ).
2014-07-31 02:56:02 +04:00
* **[CustomHost]:**
2015-03-25 08:24:37 +03:00
6. Run `dnx . run` (This hosts the app in a console application - Application started at URL **http://localhost:5003/** ).
2014-05-01 21:59:06 +04:00
2014-12-23 06:04:55 +03:00
## To run the sample on Mac/Mono:
2015-05-13 17:52:58 +03:00
* Follow the instructions at the [Home ](https://github.com/aspnet/Home ) repository to install Mono and DNVM on Mac OS X.
2016-10-27 17:40:17 +03:00
* Open a command prompt and execute `cd samples/MusicStore.Standalone` .
* Execute `dotnet restore` .
* Try `dotnet run` to run the application.
2015-05-13 17:52:58 +03:00
**NOTE:** Since on Mono SQL client is not available the sample uses an InMemoryStore to run the application. So the changes that you make will not be persisted.
2014-08-22 22:35:54 +04:00
2014-09-16 20:31:38 +04:00
###NTLM authentication
2015-05-13 17:52:58 +03:00
More information at [src/MusicStore/StartupNtlmAuthentication.cs ](src/MusicStore/StartupNtlmAuthentication.cs ).
2015-01-16 00:12:56 +03:00
###OpenIdConnect authentication
2015-05-13 17:52:58 +03:00
More information at [src/MusicStore/StartupOpenIdConnect.cs ](src/MusicStore/StartupOpenIdConnect.cs ).