The new Visual Studio 2022 update with version number 17.9.0 was released recently. The release comes with a couple enhancements, including changes in the document well and non-modal debug visualizers. But my favorite new feature is the multi-project configuration which allows us to manage startup profiles. The feature is not mentioned in the “What’s new?” dialog in Visual Studio and is easy to overlook, so I provide some additional information.
Databases can use a lot of storage space. It is always good to know how the space is distributed among the tables and indexes. SQL Server allows us to query all relevant data and create our desired reports. In this article I will show different queries and alternative options to access the storage sizes at various levels of detail.
Many program languages support a concept called Enumerated Types or better known as Enums. An Enum is a set of named constants that can be used as a type. C# does also support Enums, and the construct is easy to use. But Enums have a few pitfalls that are not obvious and can lead to unexpected behavior. Not obvious is also, that C# supports two different kinds of Enums with slight differences.
C# is a high-level language and therefore one rarely needs to work with single bits. Nevertheless, C# offers all the possibilities to do so. Bit manipulations can be used for many purposes, like with Enums, low level hardware communication or mathematics.
In C# there is a handy feature which is often used, but whose definition is rather invisible: Collection Initializers. With Collection Initializers, collections can be filled with content directly during initialization.
This is my new blog. I used asp.net core, C# and SASS and deployed it with Docker on Azure. Docker is something I’m trying to learn right now, and I use this blog to test the deployment to Azure. It is tradition in software development to greet the world when taking first steps with new technologies. I also need a first article. Therefore, here we go: Hello, World!