You have an old .NET app and would like to upgrade to .NET 6, to be up-to date with the latest features and go forward with the app. Every time you think…
Tag: .NET
Transforming your Asp.Net Core MVC app to native with Electron
In the last post I showed how to transform your Asp.Net Core MVC app into a PWA, thus allowing to install it and access the OS features. We can go a step…
Transforming your Asp.Net Core MVC app into a PWA
You have developed your Asp.Net Core MVC, it’s working fine and then you want to take it into the next level: to make it installable and allow it to be distributed in…
Using the new WebView2 in a WPF app
Times have changed and Microsoft is not the same: Edge, the new Microsoft browser has been remodeled and now it’s using the Chromium engine, an open source browser engine developed by Google….
Mocking non-virtual methods of a class with Microsoft Fakes
After I finished last article, I started to think that there should be another way to test the non-virtual methods of a class. And, as a matter of fact, there is another…
Mocking non-virtual methods of a class
Introduction Usually I use interfaces for my unit tests. This is a good practice, and should be followed when possible. But, last week I was testing some legacy code, which had no…
Learning and documenting .NET with dotnet try
Introduction Learning a new programming language is always hard. You have to read the documentation, stop, go to the IDE of your choice, start a new project, compile and run the program…
Analyzing your app with NDepend
One of the perks of being an MVP is to receive some tools for my own use, so I can evaluate them and if, I find them valuable, I can use them…
Accessing Sharepoint data with C#
You need to create customized reports based on Sharepoint data and you don’t have the access to the server to create a new web part to access it directly. You need to…
Cleaning your code with VS 2019
One book that I recommend the reading is Clean Code, by Robert Martin. It is a well written book with wonderful techniques to create better code and improve your current programs, so…