This repository contains source code for shared components used by the team, which is part of the Office organization, at Microsoft to build scalable and highly available distributed systems.
The code is released under the MIT license.
The release NuGet packages are available for download from Nuget.org
https://www.nuget.org/packages?q=omex
Additional source code from the OMEX team can be located at https://github.com/microsoft/PR-Metrics. This project is an Azure DevOps Extension and GitHub Action that augments PR titles with size and test coverage indicators.
- DocumentDb - This library contains wrapper APIs over Microsoft Azure Document Db .Net Client SDK.
- System - This library contains shared code for OMEX libraries. You'll find there utilities for logging, argument validation, resource management, caching and more.
- System.UnitTests.Shared - This library contains abstractions and utilities used for creating unit tests.
- Diagnostics.HealthChecks - This library offers a set of default composable classes to implement custom health checks implementing the .NET
IHealthCheck
interface.
Please contribute to this repository via pull requests against the main branch.
To build the solution you will need
- .NET Core 3.0 SDK or newer
- Visual Studio 2019 (16.3) or newer
Building in Visual Studio is straightforward. If you use .NET Core CLI then invoke
dotnet restore
dotnet build
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
Please follow the pattern of what you already see in the code.
The code is organized in different projects, each one having its own project file. Each project produces a NuGet package. All the projects are included in the main solution file in the root directory. Please contribute to existing projects. If you would like to create a new project, please discuss this with the Team first using GitHub issues.
All documentation is located in the ./doc
folder. If you would like to contribute to the documentation, please submit a pull request.
The easiest way to communicate with the team is via GitHub issues. Please file new issues, feature requests and suggestions.
There are two types of NuGet packages that get built from the code in this repository:
- Pre-release packages: the pre-release packages are built after every change on the main branch
- Release packages: after a period of time when more changes are made to main, the Team creates release packages which are published to NuGet.org. The release packages are built from the main branch. Public contributions are accepted only from the main branch.
The pre-release NuGet packages which are built from the main branch and could be published on request to Microsoft GitHub feed:
https://nuget.pkg.github.com/microsoft/index.json
The release packages are available for download from NuGet.org
https://www.nuget.org/packages?q=omex