In this blog post I will not only stick to technical side of the problem, but I will also put some thoughts on how sometimes in development everything goes wrong. And how to deal with the situation, till you get the solution. iOS13 was released on September 19th. Quickly after release, on one of the […]
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.
On Android, when pairing with Bluetooth device is in progress, popup form requesting pin is displayed. Everything is ok, except awkward message “Try 000 or 1234”. For some users this is confusing, because they simply type in what pairing popup is suggesting. Of course, pairing fails due to wrong pin entered. Let’s take a look how I fixed this issue.
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 […]
A push notification is a message that pops up on a mobile device. Push notifications are messages send via application to directly address the end users. In this blog post, I will show how to use App Center Push service and show how to implement push notifications in Xamarin Forms. For now, I will focus […]
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 […]
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 […]
If you read my previous blog post how to create Bluetooth GATT server on top of UWP, then you should be familiar with basics of Bluetooth. In this post I will extend on other side of the “wire” of the Bluetooth communication. I will do this with Xamarin.Forms. In this post I will create simple […]
Developing applications which use Bluetooth can be tricky. Commonly, on one side of the communication you have some hardware or maybe some IoT device, while on other, there is some mobile app or similar. When doing geenfield projects, normally you don’t have everything in place on the device side, but you need to develop Bluetooth […]