Quantcast
Channel: csharp.christiannagel.com
Browsing all 36 articles
Browse latest View live

Click the Azure IoT Button – Part 1

Microsoft Azure offers great features for IoT devices. A simple device is the Azure IoT button. This button is – …

View Article



Azure Functions with Dependency Injection

Azure Functions got some improvements in the last months. Now it’s no longer necessary to create static methods, instance methods …

View Article

.NET Core at the Thrive Conference in Slovenia

This time the Thrive Conference in Slovenia celebrates 10 years! This time the conference is located in Postojna, at a …

View Article

Moving from the switch statement to switch expressions (C# 8)

Switch expressions and enhanced pattern matching are great new concepts working together with C# 8. I’ve already written some blog …

View Article

Click the Azure IoT Button – Part 2

In part 1 of this article series I’ve shown how to configure the Azure IoT button and how to invoke …

View Article


Blazor – on the server or on the client

With ASP.NET Core 3.0, the first version of Blazor will be released. Client-side Blazor allows writing .NET Code that runs …

View Article

Changing State with the Switch Expression (C# 8)

A previous blog article on moving from the switch statement to the C# 8 switch expression led to some comments …

View Article

Alignment with C# 8 Switch Expressions

Recently I’ve written two blog articles about the new C# 8 switch expression. I’ve changed my last blog article to …

View Article


Async Streaming with ASP.NET Core SignalR and C# 8

ASP.NET Core SignalR version 2.1 offers streaming from the server to the client. Using ASP.NET Core 3.0, streams can also …

View Article


Creating a Windows Service with .NET Core 3.0

In a previous version of a Professional C# book I’ve written a complete chapter on how to create Windows Services …

View Article

Image may be NSFW.
Clik here to view.

C# 9 – Positional or Nominal Creation

C# allows writing code with positional or nominal code style. Using positional code style, constructors can be used. Object initializer belong to the nominal category. So far the nominal category was...

View Article

Image may be NSFW.
Clik here to view.

Project Tye – easier development with .NET for Kubernetes

Visual Studio 2019 has great support for Docker and Kubernetes. After opening a solution, Dockerfile files and Helm charts can be added from within the Solution Explorer. For simple project, it still...

View Article

Image may be NSFW.
Clik here to view.

It’s all in the Host Class – Dependency Injection with .NET

I’ve written several articles about dependency injection with .NET Core. With changes since .NET Core 3, an update is necessary. This is an article of a services taking advantage of the Host class. In...

View Article


Image may be NSFW.
Clik here to view.

Azure App Configuration: Configuration of .NET Applications

In older solutions I’ve created a service that returns all the different configurations used by different projects in a solution, e.g. URLs to APIs, connection strings, and more. Now with Azure App...

View Article

Image may be NSFW.
Clik here to view.

Microsoft Build 2020 – Highlights

This Microsoft Build 2020 conference was very different from all the previous ones as a digital experience event because of the COVID-19 Coronavirus. Microsoft made it a great experience – with...

View Article


Image may be NSFW.
Clik here to view.

It’s all in the Host Class – Part 2: Configuration

In part 1 of this article series Dependency Injection was covered – one of the features of the Host class. This article shows another aspect that’s needed by nearly every application: configuration....

View Article

Image may be NSFW.
Clik here to view.

How Hello World! changed – top level statements and functions (C# 9)

C# 9 comes with many new features to enhance productivity and fix bugs. One productivity enhancement comes for small programs and learning C#: top level statements. This also allows for a new way to...

View Article


Image may be NSFW.
Clik here to view.

Local Users with ASP.NET Core – ASP.NET Core Identity

Authentication and authorization is a built-in feature of ASP.NET Core. Creating an application, you can select to authenticate with the Azure Active Directory or the Azure Active Directory B2C, or...

View Article

Image may be NSFW.
Clik here to view.

C# 8 Updates

For all my readers of Professional C# 7 and .NET Core 2 I’ve uploaded the new bonus chapter 6 with C# 8 updates! This bonus chapter covers these C# 8 features: Nullable reference types Using...

View Article

Image may be NSFW.
Clik here to view.

Professional C# and .NET – 2021 Edition

The new edition of my book is available – covering .NET, C#, WinUI, ASP.NET Core, EF Core, and more! Compared to the previous edition, it not only covers the newest editions of C# and .NET, you don’t...

View Article
Browsing all 36 articles
Browse latest View live




Latest Images