.NET Naming Best Practises: Services vs. Providers
In many code bases there are Services and Providers - and often they do the same thing structurally; but what is the idea of a Service- and Provider-Classes?
In many code bases there are Services and Providers - and often they do the same thing structurally; but what is the idea of a Service- and Provider-Classes?
Database entities are the objects that represent the tables in your database. They are the objects that you use to read and write the database.
Read Blog PostOften seen, often used incorrectly: DTOs. Data Transfer Objects.
In principle, DTO is an umbrella term, a design pattern that is used to transfer data between. In reality, however, the umbrella term is used directly as an implementation, which has disadvantages in all cases.
Read Blog PostA frequent requirement in apps is the conversion of templates, e.g. for sending e-mails, for PDF templates or other text modules. There are many different ways to do this, ranging from simple string replacements to the Razor engine of ASP.NET Core.
Read Blog PostQR codes are a simple and very popular way of exchanging data and information - even in .NET. They have become part of everyday life.
Read Blog PostThere are various ways to deploy an application, but Zip deployment is the variant that is recommended the most - regardless of whether you are using Azure, AWS or other cloud and hosting providers.
Read Blog PostWith .NET 8, the System.ComponentModel.DataAnnotations Namespace has been revised and some new attributes have been added that have been requested by the community for some time and have only been implemented through custom implementations.
Read Blog PostA database entity represents an identifiable entry, often also things from the real world, which are to be stored and managed in the database. The purpose of database entities is to provide a structured and efficient implementation for organizing and managing information. By identifying entities, defining attributes and establishing relationships, a coherent and meaningful structure is created that allows data to be stored, retrieved and updated effectively. This facilitates data management and analysis in applications and systems.
Read Blog PostIn C#, optional arguments are parameters in a method that have default values specified in the method’s declaration. This means that when you call the method, you can omit values for these optional parameters and the method will use the default values defined in its signature. Optional arguments were introduced in C# 4.0 to make it more convenient to work with methods that have a large number of parameters with sensible default values.
Read Blog PostAs has been the case for many releases, the .NET 8 team is spending a lot of development effort to improve the .NET Runtime in terms of performance. Because fast performance means one thing above all: low energy consumption and high scalability.
Read Blog Post