flowchart TD
subgraph FEATURES
Presentation --> Application
Application --> Domain
Domain --> Infrastructure
Infrastructure --> Database
end
This file contains hidden or 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 TaskExtended | |
{ | |
public static async Task<IEnumerable<T>> WhenAll<T>(params Task<T>[] tasks) | |
{ | |
var allTasks = Task.WhenAll(tasks); | |
try | |
{ | |
return await allTasks; | |
} |
This file contains hidden or 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
root = true | |
# Remove the line below if you want to inherit .editorconfig settings from higher directories | |
[*.json] | |
indent_size = 4 | |
indent_style = space | |
tab_width = 4 | |
# C# files | |
[*.cs] |
This file contains hidden or 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
version: '3.1' | |
services: | |
elasticsearch: | |
container_name: elasticsearch | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.2 | |
ports: | |
- 9200:9200 | |
volumes: |
This file contains hidden or 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 ILocalStorageService | |
{ | |
Task SetAsync<T>(string key, T item) where T: class; | |
Task SetStringAsync(string key, string value); | |
Task<T> GetAsync<T>(string key) where T: class; | |
Task<string> GetStringAsync(string key); |
This file contains hidden or 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
{ | |
"help": "https://go.microsoft.com/fwlink/?linkid=866610", | |
"root": true, | |
"dependentFileProviders": { | |
"add": { | |
"extensionToExtension": { | |
"add": { | |
".razor.css": [ | |
".razor" | |
], |
This file contains hidden or 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
/// <summary> | |
/// MassTransit configurations for ASP.NET Core | |
/// </summary> | |
public class ConfigureServicesMassTransit | |
{ | |
/// <summary> | |
/// ConfigureServices | |
/// </summary> | |
/// <param name="services"></param> | |
/// <param name="configuration"></param> |
NewerOlder