Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- C# HttpClient POST or PUT Json with content type application/json
- Using C# HttpClient from Sync and Async code
- Read blob file from Microsoft Azure Storage with .NET Core
- C# Get expiry timestamp from JWT token
- ASP.Net Core API - "'s' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0."
- C# Using Newtonsoft and dynamic ExpandoObject to convert one Json to another
- Creating dynamic arrays and lists using Dynamic and ExpandoObject in C#
Archive
Meta
Tag Archives: Azure
Azure Cognitive Search from .NET Core and C#
The Azure Cognitive Search engine is the search of choice in the Microsoft Azure. The search engine can be used in a myriad of ways and there are so many options that it can be difficult to find a starting … Continue reading
Posted in .NET Core, c#, General .NET, Microsoft Azure
Tagged Azure, Azure Cognitive Search, Azure Search, SOLR
Leave a comment
Using full Lucene Query Syntax in Azure Search
The Azure Cognitive Search is the search engine in Microsoft Azure. You can search using a simple queries (default) which is good at doing full text searches, or you can use full syntax which is a Lucene query syntax. The … Continue reading
Posted in .NET Core, Microsoft Azure
Tagged .NET Core, Azure, Azure Cognitive Search, c#, Lucene
1 Comment
Application Insights not working in .NET Core Console Application – Remember to flush the TelemetryClient
My .NET Core console application did not write to my Application Insights instance. Well, it did, but only sometimes. Writing to Application Insights is done asynchronously, usually every 30 seconds or 500 items. This means that you need to give … Continue reading
Posted in .NET Core, Microsoft Azure
Tagged Application Insights, Azure, TelemetryClient
Leave a comment
Sitecore and Application Insights – How to remove 90% of all log lines without sacrificing traceability
In this article I will explain how you can remove up to 90% of all log lines from the Application Insights log, but still keep every log line in the file log. All of this without loosing any important information. … Continue reading
Posted in Microsoft Azure, Sitecore 8, Sitecore 9
Tagged Application Insights, Azure, Log4Net, Logging, Microsoft Azure, Sitecore
2 Comments
Azure Functions CRON expressions
When creating Microsoft Azure Functions, you can have a timer that triggers your function. The time for when the function should run is specified in a CRON expression: The CRON format is widely used in UNIX environments, so therefore a … Continue reading
Read from Azure Queue with Azure WebJobs 3.0 and .NET Core
From WebJobs 2.0 to WebJobs 3.0 Microsoft have completely rewritten the way Azure WebJobs is used. The reasons are probably noble, but they require you to redo your work when upgrading. So I made this template that allows me to … Continue reading
Read blob file from Microsoft Azure Storage with .NET Core
In order to read a blob file from a Microsoft Azure Blob Storage, you need to know the following: The storage account connection string. This is the long string that looks like this: DefaultEndpointsProtocol=https; AccountName=someaccounfname; AccountKey=AVeryLongCrypticalStringThatContainsALotOfChars== The blob storage container … Continue reading
Azure ApplicationInsights track custom metrics using the TelemetryClient
The Microsoft.ApplicationInsights nuget package is your code gateway to the Microsoft Application Insights portal, and also to the Azure Monitor universe. You use these tools as a shared place for your log data, telemetry, alerts, diagnostics etc. The Application Insights comes … Continue reading
Posted in .net, c#, Microsoft Azure
Tagged Application Insights, Azure, Azure Monitor, Metrics, TelemetryClient
3 Comments