ChatGPT answers are cut off - how to fix
ChatGPT is a variant of the GPT-3 language model specifically designed for chatbot applications. It was trained on a large dataset of human-human con
ChatGPT is a variant of the GPT-3 language model specifically designed for chatbot applications. It was trained on a large dataset of human-human con
Testing exceptions in your code is an important part of ensuring that your code is robust and behaves correctly under various scenarios. One way to t
Getting the process ID by the name or path of a process can be useful for a variety of reasons, such as being able to kill a hanging process or check
GetOrCreate or its asynchronous counterpart GetOrCreateAsync is an extension method to create a cache entry if it does not exist yet. This method tak
Configuring an ASP.NET Core application can be done in a variety of ways, including using command-line arguments, environment variables, and JSON fil
A NullReferenceException is a common error that occurs in .NET applications when a null reference is accessed as if it were an object. This can happe
Bicep has a great feature, which meanwhile also leads to warnings during execution if you don't pay attention to it: the avoidance of static values l
A full-text catalog in Microsoft SQL Server is a specialized storage that is used to store and manage full-text indexes for one or more tables in a d
Microsoft Ignite is a classic IT conference, but it also has news for us developers regarding innovations in our ecosystem. Enclosed are the news tha
Expressions are now an absolute part of a developer's everyday life in .NET thanks to Linq. However, due to their nature, expressions are not one of
.NET has two principal ways for handling times: DateTime and DateTimeOffset. The big deficit of DateTime, which was also recognized early in .NET 1.0
Microsoft has announced in an impressive blog post on the .NET DevBlogs that they have started an enterprise-wide migration to migrate backend servic
Sometimes it is quite useful to be able to send a query to the MSSQL server independently of its schema; for example to check if the server is princi
Beginning with C# 3, variables that are declared at method scope can have an implicit "type" var. An implicitly typed local variable is st
There are several ways to integrate source code including code highlighting into blogs, but GitHub Gists are by far the most convenient and best main
The Microsoft Defender API - or Azure Security Center API - is an interface to obtain security-related information from its M365 or Azure tenant. At
Attention: the following configuration is recommended only for testing or very trusted applications, since username and password could be intercepte
Parsing HTML with .NET can be a useful skill for any developer working on web applications or data analysis projects. One tool that can be particular
ASP.NET Core provides a built-in mechanism for configuring an application's options using the Options pattern. This pattern allows you to define a cl
Writing XML files asynchronously is a useful technique for improving the performance and scalability of your application. By using an asynchronous ap
Writing JSON files asynchronously is a useful technique for improving the performance and scalability of your application. By using an asynchronous a
ActivityPub is an open, decentralized social networking protocol that allows users to share content and interact with each other across the internet.
To list the local administator accounts, you can just use the group membership command Get-LocalGroupMember -Group "Administrators" Object
First, you need to install the NuGet Package System.DirectoryServices.AccountManagement Now you can open a context and get all members of the built-i
Often you have the requirement that you need or want to add additional claims to a token - either the, ID token or the access token. This is especial
There are now an insane number of ways to register applications in Azure Active Directory - but many ways are no longer supported or have been discon
Heute hat Microsoft die .NET Updates von März 2022 auf ihrem Blogpost veröffentlicht. Fix CVE-2020-8927: .NET Remote Code Execution Vulnerability Fi
20 years ago today .NET was released! Congratulations - you are the best ecosystem!
In many scenarios it can make sense to host single page applications via an Azure Web App, for example if you have many small applications - then the
Das Microsoft ASP.NET Team hat nun die Roadmap zu .NET 7 veröffentlicht. Der Release ist für November 2022 geplant. Der GitHub Link: ASP.NET Core Roa
Heute hat Microsoft die .NET Updates von Februar 2022 auf ihrem Blogpost veröffentlicht. Fix CVE-2022-21986: .NET Denial of Service Vulnerability .N
Windows Forms aka WinForms Windows Forms ist eine sehr stark veraltete Technologie, die Aufgrund ihrer Einfachheit jedoch immer noch sehr beliebt ist
Bicep scripts are ideally part of the source code and can also be used as such in the build process of the application. This allows us to perform pot