Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- C# DateTime to UNIX timestamps
- C# HttpClient POST or PUT Json with content type application/json
- C# get results from Task.WhenAll
- Write to file from multiple threads async with C# and .NET Core
- Run tasks in parallel using .NET Core, C# and async coding
- Build .net core 6 projects with Azure Devops using yml files
- .NET API CORS: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header.NET API
Archive
Meta
Category Archives: Microsoft Azure
C# Azure Table Storage QueryAsync, Paging and Filtering
Azure Table Storage is a NoSQL key-value store that can store massive amounts of data in a semi-structured way. Data is stored using a PartitionKey/RowKey keyset and a list of values. So far so good, but how do we query … Continue reading
Posted in .net, .NET Core, c#, General .NET, Microsoft Azure
Tagged Azure, Continuationtoken, ITableEntity, KeyValue, NoSql, Pagination, QueryAsync, Table Storage
Leave a comment
Build .net core 6 projects with Azure Devops using yml files
DevOps is a complicated discipline, so when we as developers have to set up a build pipeline in Azure Devops we are sometimes in deep water. 2023-05-25: Updated Example to use Windows-2022 pool, not windows-2019 pool. Thats why I made … Continue reading
Posted in .net, .NET Core, c#, General .NET, Microsoft Azure
Tagged .NET 6.0, .NET Core, Artifacts, Azure, Build, DevOps, Pipelines, PublishWithAspNetCoreTargetManifest, yaml, yml
Leave a comment
C# SQL Connection Using Azure Managed Identity
Azure Managed Identity is Microsoft’s solution to manage credentials for you, eliminating the need to store usernames, passwords, certificates and other secrets in your config files. Basically, with Managed Identity you establish a trust between a server and a resource. … Continue reading
Posted in .net, .NET Core, c#, General .NET, Microsoft Azure
Tagged Azure, Dapper, Managed Identity, SQL
Leave a comment
C# Convert WebP to JPEG in .NET
WebP is a new compressed image format developed by Google. If you want to convert WebP to any other format, you seem to be mostly out of luck if you are using C#. There is, however, some tools out there. … Continue reading
C# Log to Application Insights and File from your .NET 6 Application
So why would you ever log to Application Insights AND File log at the same time? Well, if you are hosting your own applications on your own machine, it can be great to have a file version of what’s happened. … Continue reading
Posted in .net, .NET Core, c#, General .NET, Microsoft Azure
Tagged Application Insights, Log, Logging, Serilog
7 Comments
Read and Update Azure App Configuration settings with C#
Azure App Configuration is a nifty way of storing configuration settings in the cloud, and with the live reload feature you can change the config settings and they will automatically update in your app without a need for redeploy. But … Continue reading
Posted in .net, .NET Core, c#, General .NET, Microsoft Azure
Tagged Azure, Azure App Configuration, Config, Configuration, ConfigurationClient
Leave a comment
Writing to Azure EventHub using EventHubBufferedProducerClient
The Azure Event Hub is a big data queue system capable of handling millions of events per second and packs nifty tricks in both the read and write end. I have written plenty of articles on how to read and … Continue reading
Posted in .net, .NET Core, c#, General .NET, Microsoft Azure
Tagged Azure, Azure Event Hub, Azure Queue, Event Hub, Queue
Leave a comment
Create a custom Azure Dashboard Tile Using an Azure Function and Markdown Format
The tiles on an Azure Dashboard will only display data from Azure itself. So if you have data from the outside, like a database, you need to make a few workarounds. Now, you cannot make your custom tile as pretty … Continue reading
Posted in .NET Core, c#, Microsoft Azure
Tagged Azure, Azure Dashboard, Azure Function, Grafana, SQL
1 Comment
Read and Write blob file from Microsoft Azure Storage with .NET Core
The documentation on the Azure Storage Blobs are a little fuzzy, as the NuGet packages and the approach have changed over time. The latest NuGet Package is now called: Azure.Storage.Blobs The concept of blob storages are the same though: You … Continue reading