In this blog post I will show how to remotely debug simple .NET Core console application running on Raspberry Pi and Ubuntu Linux. The purpose of this blog post is not to debug complex application, but to show step by step procedure how to perform remote debugging of .NET Core application. In other words, I […]
Entity Framework (EF) Core is a lightweight, extensible, open source and cross-platform version of Entity Framework data access technology. It’s rewritten version of Entity Framework Object-Relation-Mapper for .NET Core. It’s under .NET Foundation , hosted on GitHub, mainly developed by Microsoft, but totally open source. On short, you can use it everywhere: commercial apps, open […]
Raspberry Pi 4 Model B with 4GB of RAM is really one very nice small device. In this blog post I will present how easy it is to use GPIO (general-purpose input/output) from .NET Core 3 and C# running on Ubuntu and Raspberry Pi4. I will show how to use Raspberry Pi4 GPIOs from .NET […]
.NET Core introduced one very useful deployment option: self-contained application deployment. This means that deployment package contains all the required artifacts to run the application. I can simply copy deploy output to target machine and run it. No runtime prerequisites needed as it is the case with .NET Framework. Furthermore, .NET Core 3.0 introduced self-contained […]
.NET Core is here to stay. It’s open source, super fast and super awesome. With .NET Core and cross platform mantra, a .NET renaissance has begun! Microsoft again found just the right way how to regain DEVELOPERS back with hot, interesting and modern development platform. Together with cross-platform development tools, it opens so many interesting voyages for us – .NET developers.
Task-based Asynchronous Pattern (TAP) was introduced in .NET Framework 4 and since then, it is the recommended approach to asynchronous programming in .NET.
Event-based Asynchronous Pattern (EAP) is still in use, especially at legacy systems, but for new development is not recommended anymore.
In this post I will show how to wrap EAP into TAP and use more modern approach.
As of this writing, C# 8 is still in Preview 5, so It’s not 100% clear if all listed features will end up in final release. C# 8 will be probably released at .NET Conf , September 23 — 25, 2019. Nevertheless, let’s take a look at new features of C# 8. List of reported […]
First, official introduction: Visual Studio App Center brings together multiple services commonly used by mobile developers into an integrated cloud solution. Developers use App Center to Build, Test, and Distribute applications. Once the app’s deployed, developers monitor the status and usage of the app using the Analytics and Diagnostics services, and engage with users using […]
C# lock is mechanism to prevent concurrent access to “restricted” resource in multi-threaded environment. In multi-threaded applications locks are used to ensure that the current thread executes a block of code to completion without interruption by other threads. The lock statement obtains a mutual exclusion lock for a given object so that one thread executes […]