live.asp.net

其他类别 2025-07-26

live.asp.net

Code for the ASP.NET Community Stand-up site.

Staging - https://ms-asp-standup-staging.az*ure*websi*tes.net/

Production - https://live.as***p.net/

Local Development Configuration

This project now requires Visual Studio 2017 RC build 15.0.0-RC.3+26127.0 or higher, or if using the .NET CLI with VS Code or an OmniSharp enabled editor, .NET Core SDK 1.0 RC3 build 004530 or higher.

To run the site locally with live data and login, you'll need some configuration values in your user secrets store. If the values aren't found, hard-coded YouTube sample data will be used, and the next show details will be saved to the root of the app in a JSON file.

To enable sign-in to the Admin page, you'll need configuration values in your secret store for an Azure AD endpoint, plus you'll need to update the Authorization section of appsettings.json to list the usernames of the Azure AD accounts you want to allow.

To configure the secret values, use the user-secret command, e.g.:

dotnet user-secrets set AppSettings:YouTubeApiKey 
  
dotnet user-secrets set AppSettings:AzureStorageConnectionString 

dotnet user-secrets set Authentication:AzureAd:Domain 

dotnet user-secrets set Authentication:AzureAd:PostLogoutRedirectUri "https://*localhost**:44300/"
下载源码

通过命令行克隆项目:

git clone https://github.com/aspnet/live.asp.net.git