1.6 KiB
1.6 KiB
Music store application
Run the application:
- Run build.cmd to restore all the necessary packages and generate project files
- Open a command prompt and cd \src<AppFolder>\
- [Helios]: 4. Helios.cmd to launch the app on IISExpress (Application started at URL http://localhost:5001/).
- [SelfHost]: 5. Run Selfhost.cmd (This runs k web - Application started at URL http://localhost:5002/)
- [CustomHost]: 6. Run CustomHost.cmd (This hosts the app in a console application - Application started at URL http://localhost:5003/)
Adding a new package:
- Edit the project.json to include the package you want to install
- Do a build.cmd - This will restore the package and regenerate your csproj files to get intellisense for the installed packages.
Work against the latest build:
- Run Clean.cmd - This will clear all the packages and any temporary files generated
- Continue the topic "Steps to run the application"
Work against LKG Build:
- Everytime you do a build.cmd you will get the latest packages of all the included packages. If you would like to go back to an LKG build checkout the LKG.json file in the MusicStore folder.
- This is a captured snapshot of build numbers which worked for this application. This LKG will be captured once in a while.
Note:
- The scripts Helios.cmd, SelfHost.cmd and CustomHost.cmd will start the application on different ports. To change the port or URL modify the scripts or project.json (in case of selfhost alone).
- Use Visual studio only for editing & intellisense. Don't try to build or run the app from Visual studio.