Blog for Junior Developers C#/.NET

Tuesday, October 29, 2024
In the previous article I showed you how to separate the view code from the C# code. In this lesson we will work on the same project (default Blazor Web App template) and will show you how to style, how to add CSS files in Blazor [...]
Blazor - Adding CSS Styles
If you create a new Blazor Web App project (you can choose any rendering mode and any rendering location), then in the template, e.g. in the Counter.razor component, you can see that in one file we have both razor code, which is [...]
Separating C# Code From View in Blazor
With .NET 8, a new template called Blazor Web App was created, and this is the cherry on the cake when it comes to Blazor. In this article, I will describe what Blazor Web App is and how to create applications here. Introduction. In [...]
Introduction to Blazor Web Apps
With .NET 8, a new rendering mode called Server Side Rendering (SSR) has appeared. The name itself can be a bit confusing with Blazor Server. However, Blazor Server Side Rendering and Blazor Server are two different things [...]
Introduction to Blazor Server Side Rendering (SSR)
The second hosting model in Blazor is the so-called Blazor WebAssembly, or WASM for short. Initially, Blazor only provided these 2 models, but since .NET 8 it has improved it and added more. In this article, I will introduce you to [...]
Introduction to Blazor WebAssembly (WASM)
In Blazor, you can create different types of apps that can be separated based on the hosting model. The first type is Blazor Server based on SignalR. In this article, I will introduce you to this topic. Introduction. In Blazor Server [...]
Introduction to Blazor Server (SignalR)
Writing good unit tests is not easy. Especially the first tests can be a bit difficult for you, so to help you I wanted to present you 7 in my opinion the most common mistakes beginners make when writing unit tests, which you should [...]
7 Common Mistakes Programmers Make When Writing Unit Tests
When creating applications in C#, you will certainly often have to perform various operations related to text. That is, you will want to verify whether the given string contains a string of characters, swap characters, delete, modify [...]
19 Most Commonly Used String Methods You Should Know
Monday, October 21, 2024
Since C# 3.0, C#/.NET developers have access to the so-called implicit type var. You can learn exactly what var is, when and how to use it in C# in this article. What is the purpose of using the var keyword? I have prepared some [...]
What is VAR Implicit Type in C#?
In C#, we deal with two types, namely the value type, also known as the simple type, and the reference type. It is necessary to understand what these types really are, how to use them, and what are the differences between them. In [...]
Value Type and Reference Type in C#
© Copyright 2025 CodeWithKazik.com. All rights reserved. Privacy policy | AIDroga.pl
Design by Code With Kazik and Modest Programmer.