Skip to content

PaulSenior69/GFCTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Share Your Experience

Description

Build Status

develop

Build status

master

Build status

Table of contents

Development and Test Environment

Framework

  • .Net Core 2.2

NuGet Package Sources

For GDSHelpers add this link to list of NuGet package sources. For The GOV.UK Notify client add this link to list of NuGet package sources.

Tools

  • Visual Studio 2017 or Visual Studio Code

  • Azure Cosmos DB Emulator download from here.

    Once you install and start the emulator please create databse, collection and populate it with data. You can find officual documentation (including limitations) for Cosmos DB emulator here.

    Alternatively you can use Docker image of Azure Cosmos DB Emulator**.

** This is not tested by SYE development team yet.

Caching

Session

Building

Developing and Testing locally (Debugging locally)

  • If you are in the middle of piece of work that requires access to existing Cosmos Db in cloud, please change "ASPNETCORE_ENVIRONMENT" in launchSettings.json from "Local" to "Development".

Testing

Deploying

Key Contacts

AI Logging

// Following is only required if capturing logs from Program and Startup to Application Insights.
// Otherwise you can just use loggingBuilder.AddApplicationInsights() without any arguments and iKey will be picked up from application settings
var iKey = builderContext?.Configuration?.GetSection("ApplicationInsights").GetValue<string>("InstrumentationKey");
if (!string.IsNullOrWhiteSpace(iKey))
{
    loggingBuilder.AddApplicationInsights(iKey);
    loggingBuilder.AddFilter<ApplicationInsightsLoggerProvider>(typeof(Program).FullName, LogLevel.Error);
    loggingBuilder.AddFilter<ApplicationInsightsLoggerProvider>(typeof(Startup).FullName, LogLevel.Error);
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published