This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IFeedReader | |
{ | |
string Name { get; } | |
string GetSingleFeedTitle(); | |
} | |
public class BlogFeedReader : IFeedReader | |
{ | |
public BlogFeedReader() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /posts | |
GET /posts/{postId} | |
GET /authors | |
GET /authors/{authorId} | |
GET /tags | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dotnet run -p BlazorNpmSample |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dotnet new blazorwasm -n BlazorNpmSample |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dotnet new blazorwasm -n BlazorJsSample |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request | |
on: | |
pull_request: | |
branches: | |
- dev | |
types: | |
- opened | |
jobs: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Microsoft.KeyVault(SecretUri=https://<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[FunctionName(nameof(CreateBin))] | |
public async Task<IActionResult> CreateBin( | |
[HttpTrigger(AuthorizationLevel.Anonymous, "post", Route="bins")] HttpRequest req, | |
[DurableClient] IDurableClient client) | |
{ | |
... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EmbeddedRequest | |
{ | |
public virtual string PersonGroup { get; set; } | |
public virtual string Image { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sasToken = Environment.GetEnvironmentVariable("Blob__SasToken"); | |
var containerName = Environment.GetEnvironmentVariable("Blob__Container"); | |
var personGroup = Environment.GetEnvironmentVariable("Blob__PersonGroup"); | |
var numberOfPhotos = Convert.ToInt32(Environment.GetEnvironmentVariable("Blob__NumberOfPhotos")); | |
var tableName = Environment.GetEnvironmentVariable("Table__Name"); | |
var authKey = Environment.GetEnvironmentVariable("Face__AuthKey"); | |
var endpoint = Environment.GetEnvironmentVariable("Face__Endpoint"); | |
var confidence = Convert.ToDouble(Environment.GetEnvironmentVariable("Face__Confidence")); |