Blog
Page 7 of 20
2024-04-27 dotnetdotnet-8
.NET 8 performance: Dictionary vs. FrozenDictionary
With .NET 8 we are introduced to a new dictionary type which improves the performance of read operations. The catch: you are not allowed to make any changes to the keys and values once the collection is created. This type is particularly useful for collections that are populated on first use and then persisted for…
2023-11-18 aiazurepython
Python: Detect text language using Azure AI Language service
Learn how to detect text language using the Azure AI Language service and the azure-ai-textanalytics Python SDK, with code samples and API payload examples.
2023-11-17 mauidotnetdotnet-8
How to: Add AdMob to your MAUI app
Learn how to display AdMob banner ads in your .NET MAUI app on both Android and iOS, with step-by-step setup and platform-specific handler implementations.
2023-11-16 aiazure
How to: Detect text language using Azure AI Language service
Learn how to detect text language using the Azure AI Language service, including provisioning, API payloads, and C# SDK examples with TextAnalyticsClient.
2023-11-15 aspiredotnet
Getting started with .NET Aspire
A step-by-step guide to building your first .NET Aspire application, covering project structure, service discovery, and the Aspire dashboard.
2023-11-15 aspiredotnet
How to install .NET Aspire
Learn how to install the prerequisites for .NET Aspire development: .NET 8, the Aspire workload, and Docker Desktop.
2023-11-14 aspiredotnet
What is .NET Aspire?
An overview of .NET Aspire, the cloud-oriented framework for building scalable distributed applications, covering orchestration, components, and tooling.
2023-11-13 informational
Converting Megabytes to Kilobytes Made Simple
Learn how to convert megabytes (MB) to kilobytes (KB) using the simple formula of multiplying by 1,024. Includes practical examples and tips for managing digital storage.
2023-11-12 csharpdotnetdotnet-8
C# Randomly choose items from a list
In C#, you can randomly select items from a list using Random.GetItems, a method introduced in .NET 8. Learn how it works with practical examples.
2023-11-11 dockerdotnet
How to publish container as tar.gz in .NET
Learn how to publish a .NET 8 container as a tar.gz archive using the ContainerArchiveOutputPath property with dotnet publish.