About the EditorConfig File

EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable the editors to read the file format and adhere to the defined styles. EditorConfig files are easy to read and work well with version control systems. https://editorconfig.org Visual Studio 2019 and later support EditorConfig files, so you can use an EditorConfig file in Visual Studio to define and maintain code style settings. ...

March 10, 2026

Copyright

Copyright Generally the copyright notice for a project in the .NET Foundation is given as “Copyright (c) .NET Foundation and Contributors. All Rights Reserved”. The copyright notice should be placed in the LICENSE for the project so the beginning of the LICENSE for an MIT Licensed project would be: The MIT License (MIT) Copyright (c) .NET Foundation and Contributors All Rights Reserved Permission is hereby granted... And an Apache 2.0 Licensed project would begin ...

March 10, 2026

How to use Git version control gracefully

Introduction to Git Git is an open source distributed version control system for agile and efficient handling of any project, small or large. Clone repository Clone the remote repository locally, make modifications locally, and commit to the remote repository. Create repository Create a repository locally and push the local repository to the remote repository. Regarding the use of naming conventions for code repositories, use the KebabCaseLower nomenclature. Naming policy Original Converted PascalCase HelloShop HelloShop CamelCase HelloShop helloShop SnakeCaseLower HelloShop hello_shop SnakeCaseUpper HelloShop HELLO_SHOP KebabCaseLower HelloShop hello-shop KebabCaseUpper HelloShop HELLO-SHOP Local warehouse settings Git settings include global settings and repository settings, and multiple remote repositories can be set up. ...

March 10, 2026

Using .HTTP files in Visual Studio 2022

Comment Lines starting with # or // are comments and are ignored when Visual Studio sends an HTTP request. variable Lines starting with @ define variables using the syntax @VariableName=Value. @hostname=localhost @port=44320 GET https://{{hostname}}:{{port}}/weatherforecast multiple requests The request format is: [<HTTP-verb>] <url> [<HTTP-version>] [<request-headers>] [<request-body>] GET https://localhost:7220/weatherforecast ### GET https://localhost:7220/weatherforecast?date=2023-05-11&location=98006 ### GET https://localhost:7220/weatherforecast HTTP/3 ### Request headers GET https://localhost:7220/weatherforecast Date: Wed, 27 Apr 2023 07:28:00 GMT ### GET https://localhost:7220/weatherforecast Cache-Control: max-age=604800 Age: 100 ### request body POST https://localhost:7220/weatherforecast Content-Type: application/json { "date": "2023-05-11", "location": "98006" } Create an HTTP file using a template Right-click the ASP.NET Core project Add > New Item ASP.NET Core>General Select HTTP File, then select Add Use the Endpoint Explorer View > Other Windows > Endpoint Resource Management

March 10, 2026