2019-10-15 21:13:18 +03:00
|
|
|
# Steeltoe Main Site
|
|
|
|
|
2020-08-05 20:48:06 +03:00
|
|
|
The site was built using [Blazor](https://docs.microsoft.com/en-us/aspnet/core/blazor/) in Visual Studio 2019.
|
2019-10-15 21:13:18 +03:00
|
|
|
|
|
|
|
## Install Dependencies
|
2020-03-03 23:40:18 +03:00
|
|
|
Requires .NET Core SDK 3.1
|
2019-10-15 21:13:18 +03:00
|
|
|
|
2020-08-05 20:48:06 +03:00
|
|
|
```powershell
|
|
|
|
PS> dotnet new -i Microsoft.AspNetCore.Blazor.Templates
|
2019-10-15 21:13:18 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
## Local testing of Steeltoe site
|
|
|
|
|
2020-08-05 20:48:06 +03:00
|
|
|
1. Change into the Client project folder
|
|
|
|
```powershell
|
|
|
|
PS> cd src/Client
|
|
|
|
```
|
|
|
|
|
|
|
|
2. Run the application with the `watch` command. So as changes are made in Visual Studio, the site will refresh.
|
|
|
|
```powershell
|
|
|
|
PS> dotnet watch run
|
2019-10-15 21:13:18 +03:00
|
|
|
|
2020-08-05 20:48:06 +03:00
|
|
|
watch : Started
|
|
|
|
info: Microsoft.Hosting.Lifetime[0]
|
|
|
|
Now listening on: http://localhost:8080
|
|
|
|
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: C:\source\Steeltoe\MainSite\src\Client
|
2019-10-15 21:13:18 +03:00
|
|
|
```
|
|
|
|
|
2020-03-03 23:40:18 +03:00
|
|
|
Visit site locally at [http://localhost:8080](http://localhost:8080)
|