.NET

Xamarin Forms: Open external application

Posted on
open-app-xamarin-forms-logo

In this blog post, I will show you how to open external application from Xamarin.Forms application. My demo application will try to open locally installed application, otherwise it will open app store web page where app can be downloaded and installed. So, let’s start. First, I create Xamarin Forms application targeting Android and iOS. In […]

Sql Server

Creating Markdown reports from SQL Server queries

Posted on
sql-server-query-to-markdown

Markdown is a lightweight markup language with plain-text-formatting syntax. It’s is often used for formatting simple readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor. You can read more on this link: https://daringfireball.net/projects/markdown/. Sometimes I need simple reports from my SQL Server queries and put […]

Android

Xamarin Forms and ODB2: Talking with the vehicles

Posted on
xamarin-forms-obd2-logo

Today, I will present Xamarin Forms (XF) mobile application (iOS and Android) which talks to the vehicle. I will present demo app which reads vehicle speed, engine revolutions per minute-RPM and some other data, such as engine temperature. For that I will use: Xamarin Forms as mobile development framework, On-board diagnostics – ODB2 as car […]

C#

Using Roslyn C# compiler in .NET 5

Posted on
csharp-roslyn-logo

.NET Compiler Platform, also known by its nickname Roslyn, is a set of open-source compilers and code analysis APIs for C# and Visual Basic .NET languages. The primary features of Roslyn are to provide compilers and APIs for code analysis and refactoring. There is a splendid must-read article about Roslyn entitled How Microsoft rewrote its […]

.Net Core

C# 9: Top-level statements

Posted on

C# is awesome programming language. The C# team at Microsoft is adding new features with every new version of the language. And forthcoming version C# 9 is no exception. Among other nice features, there will also be a feature called Top-level statements. You can read more about proposal on this link https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-9.0/top-level-statements. Furthermore, you can […]

C#

Moving from Event-based asynchronous pattern (EAP) to Task-based asynchronous pattern (TAP) with cancellation

Posted on
cs-async-logo

What’s the point of this blog post? In modern C#/.NET ecosystem there is encouragement to use async/await Task based asynchronous model over other asynchronous patterns and approaches. On the other side, there are still a lot of libraries (legacy, wrappers from other technologies/languages which uses events for callback calls, etc…) which use older EAP approach […]

Android

Bluetooth Low Energy UART Service with Xamarin Forms

Posted on
uart-ble-xamairn-forms-logo

A little bit of background. Bluetooth is a wireless technology standard used for exchanging data between fixed and mobile devices over short distances using short-wavelength UHF radio waves in the industrial, scientific and medical radio bands, from 2.402 GHz to 2.480 GHz, and building personal area networks. It was originally conceived as a wireless alternative to […]

Development

Using NLog in Xamarin Forms applications

Posted on

Every application need some kind of logging or monitoring system. Monitoring can be used for tracing errors and exceptions, for analyzing of app usage, for finding hard-to-trace bugs in “production environment”, for storing some other runtime data interested for later analysis, and similar. In general and very commonly, .NET desktop apps use some kind of […]