Skip to Content
Serverless computing in Azure with .NET
book

Serverless computing in Azure with .NET

by Sasha Rosenbaum
August 2017
Intermediate to advanced
468 pages
12h 5m
English
Packt Publishing
Content preview from Serverless computing in Azure with .NET

Setting up local configuration

To enable Application Insights during local debugging, we need to install the Application Insights NuGet library in the TextEvaluation project, and add the same instrumentation key to the local configuration. To do so, execute the following steps:

  1. In Visual Studio, open the TextEvaluation project.
  2. Click on Tools -> NuGet Package Manager -> Package Manager Console.
  3. Run the following command:
      Install-Package Microsoft.ApplicationInsights -Pre
  1. In the local.settings.json file, add the following new setting:
        "APPINSIGHTS_INSTRUMENTATIONKEY": "<YourInstrumentationKey>"
  1. Now when you run the Function App locally in Visual Studio, your development machine will appear in the server list in Application Insights ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni
Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali

Publisher Resources

ISBN: 9781787288393Supplemental Content