- Install Azure Service Fabric SDK: https://www.microsoft.com/web/handlers/webpi.ashx?command=getinstallerredirect&appid=MicrosoftAzure-ServiceFabric-CoreSDK
- Install SQL Server Express: https://www.microsoft.com/en-us/sql-server/sql-server-editions-express
- Acquire the required secrets from azure key vault. This can be done by running bootstrap.ps1 from an admin powershell window. This script will do 3 things:
- Download a secret required for using the
Microsoft.Azure.Services.AppAuthentication
package from the service fabric local dev cluster - Download and install the SSL cert used for local development from key vault
- Configure the SQL Server LocalDB instance for use from the local service fabric cluster
- Download a secret required for using the
- Make sure you have installed Entity Framework Core CLI by running
dotnet tool install --global dotnet-ef
- From the Maestro.Data project directory, run
dotnet ef --msbuildprojectextensionspath <full path to obj dir for Maestro repo (e.g. "C:\arcade-services\artifacts\obj\Maestro.Data\")> database update
.- Note that the generated files are in the root artifacts folder, not the artifacts folder within the Maestro.Data project folder
- Join the @maestro-auth-test org in GitHub (you will need to ask someone to manually add you to the org).
- In SQL Server Object Explorer in Visual Studio, find the local SQLExpression database for the build asset registry and populate the Repositories table with the following row:
- Repository: https://github.com/maestro-auth-test/maestro-test
- Installation Id: 289474
After successfully running bootstrap.ps1
running the MaestroApplication
project via F5 in VS (launch as elevated) will run the application on https://localhost:4430
Things to try:
- Clean your repo before building/running.
- Ensure the ASP.NET Workload is installed for Visual Studio.
- Search the web for the error you are seeing.