Start Debugging

Blog

Page 8 of 21

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.
2023-11-10 csharpmauidotnet
MAUI: How to register handlers in a library
Learn how to register view handlers and services from within a .NET MAUI library using the builder pattern and MauiAppBuilder extension methods.
2023-11-09 csharpdotnet
How to fix: ‘Point’ does not have a predefined size, therefore sizeof can only be used in an unsafe context
Fix the C# error where sizeof cannot be used with Point outside an unsafe context. Two solutions: enabling unsafe code or using Marshal.SizeOf instead.
2023-11-08 csharpdotnetdotnet-8
C# Access private property backing field using Unsafe Accessor
Use UnsafeAccessorAttribute in .NET 8 to access auto-generated backing fields of private auto-properties in C# without reflection.
2023-11-07 react-native
How to create a 2 column Flexbox layout in React Native
Learn how to create a 2 column Flexbox layout in React Native using flex-wrap, with adjustable column counts and spacing between elements.
2023-11-06 csharpdotnetdotnet-8
C# ZIP files to Stream
.NET 8 includes new CreateFromDirectory and ExtractToDirectory overloads that let you create and extract ZIP files directly to and from a Stream, without writing to disk.
Prev Next