webtestpractice/MyWebApp/README.md

30 lines
1.2 KiB
Markdown
Raw Normal View History

2023-01-19 15:22:06 +00:00
# MyWebApp
A generic default ASP.NET web app, for use as a punch-dummy for testing tools like PlayWright and Cypress.
Feel free to fork this, and modify it as needed.
### Run
```bash
$ dotnet watch (15m)|*[main]
dotnet watch 🔥 Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload.
💡 Press "Ctrl + R" to restart.
dotnet watch 🔧 Building...
Determining projects to restore...
All projects are up-to-date for restore.
MyWebApp -> /Users/YOU/Projects/YOUR_PROJECTS/MyWebApp/bin/Debug/net7.0/MyWebApp.dll
dotnet watch 🚀 Started
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5296
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /Users/YOU/Projects/YOUR_PROJECTS/MyWebApp
```
Your default browser will fire up once the app is loaded, and will navigate to the localhost port where the app is hosted. You should see a "Gumby" page in the header links.
![MyWebApp](assets/MyWebApp.png)