- dotnet new mvc --dry-run --no-restore --name SportsStoreWebApp --framework net6.0 (Will only do a dry run)
- dotnet new mvc --no-restore --name SportsStoreWebApp --framework net6.0 (Will create the project without the libraries)
- Nuget packages for the project
- For Razor Page Runtime Compilation
- dotnet add package Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation --version 6.0.30
- For Azure Storage For Blobs
- dotnet add package Azure.Storage.Common --version 12.19.0
- dotnet add package Azure.Storage.Blobs --version 12.20.0
- For Cosmos Db
- dotnet add package Microsoft.Azure.Cosmos --version 3.40.0
- For Azure Application Insights
- dotnet add package Microsoft.ApplicationInsights.AspNetCore --version 2.22.0
- dotnet add package Microsoft.Extensions.Logging.ApplicationInsights --version 2.22.0 (for logging ILogger user defined logs in ApplicationInsights)
- For Azure Identity (required for Azure KeyVault DefaultAzureCredential())
- dotnet add package Azure.Identity --version 1.11.3
- For Azure KeyVault
- dotnet add package Azure.Security.KeyVault.Secrets --version 4.6.0
- dotnet add package Azure.Extensions.AspNetCore.Configuration.Secrets --version 1.3.1 (For adding the KeyVault to the ConfigurationBuilder)
- For Redis Cache
- dotnet add package Microsoft.Extensions.Caching.StackExchangeRedis --version 8.0.5 (This is the replacement for the Microsoft.Extensions.Caching.Redis package)
- dotnet add package StackExchange.Redis --version 2.7.33 (This is the original package for the Microsoft.Extensions.Caching.StackExchangeRedis package)
- dotnet add package Microsoft.Extensions.Caching.Redis --version 2.2.0 (Deprecated)
- For Razor Page Runtime Compilation