[Archived] MusicStore test application that uses ASP.NET/EF Core. Project moved to https://github.com/aspnet/AspNetCore
Перейти к файлу
Pranav K 8562a5c454 Adding build.sh to MusicStore 2014-09-09 14:12:36 -07:00
src Fixing a build break 2014-09-08 18:14:45 -07:00
test/E2ETests Fixing KRE name for mono in deployment utility 2014-09-09 13:15:38 -07:00
.gitattributes Initial commit. 2014-01-28 02:27:26 -08:00
.gitignore Updating kproj file to match tooling changes 2014-05-18 22:34:02 -07:00
CONTRIBUTING.md Create CONTRIBUTING.md 2014-05-13 01:02:43 -07:00
Clean.cmd A few changes with this checkin: 2014-04-02 18:40:25 -07:00
LICENSE.txt Create LICENSE.txt 2014-05-08 16:32:44 -07:00
MusicStore.sln Catching up MusicStore app with code generated with latest templates 2014-05-23 14:35:08 -07:00
MusicStore.sln.DotSettings Drown your issues in Kool Aid (Updating K Music Store app to use EF/E API surface) 2014-02-13 08:49:26 -08:00
NuGet.Config Updating dev Nuget.config 2014-08-06 12:30:32 -07:00
README.md Adding a startup class to setup Ntlm authentication 2014-09-02 11:07:28 -07:00
build.cmd Adding in memory caching to the sample 2014-09-05 12:53:08 -07:00
build.sh Adding build.sh to MusicStore 2014-09-09 14:12:36 -07:00
makefile.shade Change the default author in makefile.shade 2014-06-18 16:33:46 -07:00

README.md

MusicStore application

This project is part of ASP.NET vNext. You can find samples, documentation and getting started instructions for ASP.NET vNext at the Home repo.

Run the application on Helios:

  • Execute build.cmd to restore all the necessary packages, and run tests. **NOTE: Tests require Visual Studio 2014 LocalDB on the machine to run.
  • Open MusicStore.sln in Visual Studio 2014 and run the individual applications on Helios.

Run on WebListener/Kestrel:

  • Open a command prompt and cd \src\MusicStore\
  • [Helios]: 4. Helios.cmd to launch the app on IISExpress from command line (Application started at URL http://localhost:5001/).
  • [WebListener]: 5. Run k WebListener (Application started at URL http://localhost:5002/)
  • [Kestrel]: 5. Run k Kestrel (Application started at URL http://localhost:5004/)
  • [CustomHost]: 6. Run k run (This hosts the app in a console application - Application started at URL http://localhost:5003/)

To run the sample on Mac/Mono:

  • Follow Home instructions to install mono, kvm on Mac
  • Open a command prompt and cd \src\MusicStore\
  • Execute ``kpm restore```
  • Try k kestrel to run the application **NOTE: On Mono since SQL client is not available the sample uses an InMemoryStore to run the application. So the changes that you make will not be persisted.

###NTLM authentication & Environment based Startup detection TODO

Note:

  1. Application is started on different ports on different hosts. To change the port or URL modify Helios.cmd or project.json commands section in case of self-host and customhost.