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 […]
In this blog post I will play around with Amazon AWS S3 and .NET Core 3.0. I will check how .NET Core is getting along with the most popular cloud platform.
In .NET world storing data into xml configuration files is very common scenario. While, web apps (Asp.Net) use web.config, desktops use app.config (renamed to <FullExecutableFilename>.exe.config at runtime). Every application sooner or later needs to collect, persist and restore some data (settings) from (to) end user. While web apps store these information almost always into database, […]
Modern applications are distributed, loose-coupled and service oriented. Decoupled systems perform and scale better, maintenance is far easier (by reducing complexity into smaller more maintainable parts). Communication system that glue together these decoupled parts is important part of the system. Windows Communication Foundation (WCF) has always been de-facto framework for communication between decoupled systems/processes in […]
.NET Core 3.0 Preview 4 was released! For the first time .NET Core also includes Desktop stacks (WinForms, WPF, UWP). Let’s check how WPF runs on .NET Core 3 Preview 4.