Field trip report from ITCamp 2016
Last week I have attended ITCamp in Cluj-Napoca, Romania. The conference has already established itself as the most important community-driven technology conference in Romania and lately, as the...
View ArticleHow to determine what CLR versions are installed using C++
You may have multiple versions of the .NET framework installed and used on your machine. The framework has two components: the set of assemblies that provide functionalities for your application, and...
View ArticleVisual Studio 2017 Releases
Microsoft recently announced that it released version 15.5 of Visual Studio 2017 (and Visual Studio for Mac version 7.3). There are various improvements to performance and diagnostics (such as cutting...
View ArticleMarch good reads
Here is my list of good reads from March. C++ in Tony Tables constexpr-format – Compile-time printf-like string formatting in C++17 Compact multidimensional sorting and searching with kdtools Don’t...
View ArticleWindows Runtime
Windows Runtime, or shortly WinRT, is a new runtime (siting on top of the Windows kernel) that allows developers to write Metro style applications for Windows 8, using a variety of languages including...
View ArticleWhy won’t my .NET redistributable assemblies show up in Visual Studio’s ‘Add...
The Problem You install a .NET redistributable package and want to reference the assemblies in your project. However, though everything is correctly installed to GAC, the assemblies don’t show up in...
View Articleerror C3510: cannot locate dependent type library ”...
Problem I have recently migrated a C# 2.0 project registered for COM interop to .NET 4.5 and when I imported the type library in a C++ project with no_registry, suddenly I got some errors because the...
View ArticleBindings for DataGridView hosted in an MFC application
A WinForms DataGridView control has the ability to automatically generate its columns and populate from a specified data source (which can be a DataSet, a simple list or something else). All you have...
View ArticleRender the screen of a Windows Store App to a bitmap in Windows 8.1
In WPF, Silverlight and Windows Phone it is possible to render a visual object into a bitmap using the RenderTargetBitmap. This functionality, that I find pretty basic, was not available for Windows...
View ArticleField trip report from ITCamp 2016
Last week I have attended ITCamp in Cluj-Napoca, Romania. The conference has already established itself as the most important community-driven technology conference in Romania and lately, as the...
View ArticleHow to determine what CLR versions are installed using C++
You may have multiple versions of the .NET framework installed and used on your machine. The framework has two components: the set of assemblies that provide functionalities for your application, and...
View ArticleVisual Studio 2017 Releases
Microsoft recently announced that it released version 15.5 of Visual Studio 2017 (and Visual Studio for Mac version 7.3). There are various improvements to performance and diagnostics (such as cutting...
View ArticleMarch good reads
Here is my list of good reads from March. C++ in Tony Tables constexpr-format – Compile-time printf-like string formatting in C++17 Compact multidimensional sorting and searching with kdtools Don’t...
View ArticleUnit testing non-public types and members for .NET projects
Unit testing is usually used for testing public types and members. However, there are cases when you might need to test types or members that are not public. These could be internal classes or private...
View ArticleEnabling TLS 1.2 in your .NET framework applications
A functionality of one of the products I’m working on suddenly stopped working without any code changes on our side. Our application connects to a web service to get some data and that no longer...
View ArticleData-driven unit tests for managed code
The Microsoft unit testing code for managed code allows to create test methods that are executed with data automatically fetched from an external data source. This is very helpful because we can extend...
View ArticleC++/CLI projects targeting .NET Core 3.x
The .NET Core framework version 3.1 was released earlier this month, alongside with Visual Studio 2019 16.4 (which you must install in order to use .NET Core 3.1). Among the changes, it includes...
View ArticleMy book “Learn C# Programming” has been published
I am pleased to announce that my new book, Learn C# Programming, that I co-authored together with Raffaele Rialdi (Microsoft MVP/speaker) and Ankit Sharma (C# Corner MVP/Google Dev Expert/speaker) has...
View ArticleHighlights from Microsoft Build 2020
The Microsoft Build 2020 event happened this week, and, unlike all previous editions, it was a digital event only. Moreover, it was also free, so everybody could attend the 48 hours marathon. Microsoft...
View Article