├── .editorconfig ├── .gitattributes ├── .github ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md └── workflows │ ├── ci.yml │ └── update-copyright-years-in-license-file.yml ├── .gitignore ├── .gitmind ├── .vscode ├── launch.json └── tasks.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── assets └── output.png ├── docker-compose.yml ├── dotnet-core-sample.sln ├── dotnet-core-sample.sln.DotSettings ├── log-server ├── Controllers │ ├── LogEvent.cs │ └── LogEventsController.cs ├── Dockerfile ├── Program.cs ├── Properties │ └── launchSettings.json └── log-server.csproj ├── renovate.json └── sample ├── Dockerfile ├── Generators ├── Customer.cs ├── CustomerGenerator.cs ├── Order.cs └── OrderGenerator.cs ├── Program.cs ├── Sink └── CustomHttpClient.cs └── sample.csproj /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: http://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | [*] 7 | indent_style = space 8 | insert_final_newline = true 9 | 10 | [*.cs] 11 | indent_size = 4 12 | insert_final_newline = true 13 | # Sort using directives with System.* appearing first 14 | dotnet_sort_system_directives_first = true 15 | # Avoid "this." and "Me." if not necessary 16 | dotnet_style_qualification_for_field = false:suggestion 17 | dotnet_style_qualification_for_property = false:suggestion 18 | dotnet_style_qualification_for_method = false:suggestion 19 | dotnet_style_qualification_for_event = false:suggestion 20 | # Use language keywords instead of framework type names for type references 21 | dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion 22 | dotnet_style_predefined_type_for_member_access = true:suggestion 23 | # Suggest more modern language features when available 24 | dotnet_style_object_initializer = true:suggestion 25 | dotnet_style_collection_initializer = true:suggestion 26 | dotnet_style_coalesce_expression = true:suggestion 27 | dotnet_style_null_propagation = true:suggestion 28 | dotnet_style_explicit_tuple_names = true:suggestion 29 | # Prefer "var" everywhere 30 | csharp_style_var_for_built_in_types = true:suggestion 31 | csharp_style_var_when_type_is_apparent = true:suggestion 32 | csharp_style_var_elsewhere = true:suggestion 33 | # Prefer method-like constructs to have a expression body 34 | csharp_style_expression_bodied_methods = true:suggestion 35 | csharp_style_expression_bodied_constructors = true:suggestion 36 | csharp_style_expression_bodied_operators = true:suggestion 37 | # Prefer property-like constructs to have an expression-body 38 | csharp_style_expression_bodied_properties = true:suggestion 39 | csharp_style_expression_bodied_indexers = true:suggestion 40 | csharp_style_expression_bodied_accessors = true:suggestion 41 | # Suggest more modern language features when available 42 | csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion 43 | csharp_style_pattern_matching_over_as_with_null_check = true:suggestion 44 | csharp_style_inlined_variable_declaration = true:suggestion 45 | csharp_style_throw_expression = true:suggestion 46 | csharp_style_conditional_delegate_call = true:suggestion 47 | # Newline settings 48 | csharp_new_line_before_open_brace = all 49 | csharp_new_line_before_else = true 50 | csharp_new_line_before_catch = true 51 | csharp_new_line_before_finally = true 52 | csharp_new_line_before_members_in_object_initializers = true 53 | csharp_new_line_before_members_in_anonymous_types = true 54 | 55 | [*.csproj] 56 | indent_size = 2 57 | 58 | [*.config] 59 | indent_size = 4 60 | 61 | [*.json] 62 | indent_size = 2 63 | 64 | [*.{yaml,yml}] 65 | indent_size = 2 66 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | 3 | * text=auto 4 | -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, gender identity and expression, level of experience, 9 | education, socio-economic status, nationality, personal appearance, race, 10 | religion, or sexual identity and orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language 18 | * Being respectful of differing viewpoints and experiences 19 | * Gracefully accepting constructive criticism 20 | * Focusing on what is best for the community 21 | * Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | * Trolling, insulting/derogatory comments, and personal or political attacks 28 | * Public or private harassment 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, and other contributions 42 | that are not aligned to this Code of Conduct, or to ban temporarily or 43 | permanently any contributor for other behaviors that they deem inappropriate, 44 | threatening, offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting the project team at [INSERT EMAIL ADDRESS]. All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project team is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ## Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 72 | 73 | [homepage]: https://www.contributor-covenant.org -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change. 4 | 5 | Please note we have a [code of conduct](./CODE_OF_CONDUCT.md), please follow it in all your interactions with the project. 6 | 7 | ## Pull Request Process 8 | 9 | 1. Run tests and ensure that they all pass 10 | 2. Ensure that ReSharper report no errors 11 | 3. Rebase and squash your commits with meaningful commit messages 12 | 13 | ## Commit Messages 14 | 15 | Format of the commit message: 16 | ``` 17 | (): 18 | 19 | 20 | 21 |