C#

Using Android Java libraries in Xamarin Forms – a practical example.

Posted on
xamarin cs java android

Android ecosystem has huge numbers of libraries which can be used in Android-based applications. Technically, these libraries are files with .jar or .aar extensions. When developing Android application with Java these libraries can be directly included/linked in the application and used. Of course, re-usage of these java-based libraries in Xamarin Forms is possible, but the […]

Development

Azure CDN to speed up WordPress web site

Posted on
azure-cdn-network-promo

Responsiveness and speed are important characteristics of modern web sites. But, soon as we start using some web (commonly oversized) Content Management System (CMS) we often end up with heavy web portal. High resolution background images, fancy animations, enormous JavaScript frameworks, page with hundreds of http/s server calls, tons of unused plugins (server side) and […]

.Net Core

C#: From Event-based Asynchronous Pattern to Task-based Asynchronous Pattern

Posted on

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.

Development

Windows Subsystem for Linux

Posted on

The Windows Subsystem for Linux (WSL) enables developers to run a Linux system directly on Windows. This is done without the overhead of a traditional virtual machines. WSL is primarily intended for developers. This allows developers to use Bash, common Linux tools and many Linux-first tools and frameworks (Ruby, Python, etc.) on Windows. In this […]

.Net Core

App Center and WPF.

Posted on

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 […]

.Net Core

C# locks and async Tasks.

Posted on

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 […]