Avoid Caching with MemoryCache and GetOrCreate in .NET
GetOrCreate or its asynchronous counterpart GetOrCreateAsync is an extension method to create a cache entry if it does not exist yet.
Blogbeitrag lesenGetOrCreate or its asynchronous counterpart GetOrCreateAsync is an extension method to create a cache entry if it does not exist yet.
Blogbeitrag lesenConfiguring an ASP.NET Core application can be done in a variety of ways, including using command-line arguments, environment variables and JSON files. One way to ensure that the options you have configured for your …
Blogbeitrag lesenA NullReferenceException is a common error that occurs in .NET applications when a null reference is accessed as if it were an object. This can happen when you attemp to call a method or access a property of a reference …
Blogbeitrag lesenBicep 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 like URLs in Bicep files. A corresponding warning looks like this:
Blogbeitrag lesenA 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 database. A full-text index is a special type of index that is used to …
Blogbeitrag lesenMicrosoft Ignite is a classic IT conference, but it also has news for us developers regarding innovations in our ecosystem.
Blogbeitrag lesenExpressions 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 the very best performing tools, which is why the .NET team is also …
Blogbeitrag lesen.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, is that it is not clear from the DateTime information which time …
Blogbeitrag lesenMicrosoft has announced in an impressive blog post on the .NET DevBlogs that they have started an enterprise-wide migration to migrate backend services.
Blogbeitrag lesenSometimes 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 principally reachable and the connection information as well as the …
Blogbeitrag lesen