Skip to content

This library add metadata endpoints to a .NET Core Api

Notifications You must be signed in to change notification settings

gainsway/lib-dotnet-metadata-endpoints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lib-dotnet-metadata-endpoints

This library add metadata endpoints to a .NET Core Api

Configuration

  1. Install Gainsway.MetadataEndpoints package in the target project
dotnet add package Gainsway.MetadataEndpoints
  1. Register the Metadata Endpoints services in Program.cs:
  /// Program.cs

  //... 
  app.AddMetadataEndpoints();

  //...
  app.MapControllers();
  app.Run();

Environment variables

The metadata endpoint will return data in the following environment variables:

  • GIT_SHORT_SHA

About

This library add metadata endpoints to a .NET Core Api

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages