Category: .NET

.NET, C#, CSharp, Library, Programming

.NET unit test frameworks comparison

In .NET we have 3 dominant unit test frameworks: MS Test (v2) NUnit (3.x) xUnit (2.x) First one comes with Visual Studio, two other requires additional components installation. Initialize First difference we will find in initialization approach. In MS Test there several initialization available (by attributes): AssemblyInitialize, ClassInitialize and TestInitialize. The disadvantage is that initialization …

.NET, .NET Core, ASP.NET, C#, CSharp, Programming

Install .NET Core on Debian Linux

Microsoft prepared quite good instruction how to install dotnet runtime on Linux. I’ve been interested in Debian distro. So I went pretty smooth through the first part of the manual (system setup). However installing dotnet I had constinously an error that package cannot be found. First comment: the package name has been changed and it …

.NET, Mobile, Xamarin

How to get iPhone X front camera depth data in Xamarin iOS?

How to get iPhone X front camera depth data in Xamarin iOS? This question has been raised in many places across the web. However I did not found any good description of this problem including Apple site. They have only quite generic description of required classes without tutorial. As one of the first step, we …

.NET, Self-learning

Pro .NET Memory Management For Better Code, Performance, and Scalability

Pro .NET Memory Management For Better Code, Performance, and Scalability by Konrad Kokosa is the best technical book I’ve ever read. It is very deep dive into .NET memory management. For me, the only one missing part was Mono description. Except that, the book is awsome. It describes history of memory management, helpful tools, memory …

.NET, Mobile, Xamarin

Xamarin.iOS – Dropbox API v2 integration tips

Xamarin.iOS is not very popular platform. As shows Dropbox, for their API v2 they even do not provide even good SDK (in .NET, only for web based). If we consider any mobile development in Xamarin, the best examples which I found were dedicated to Windows Phone 8.1 and Xamarin.Android, so completly different approach. For iOS …

.NET, ASP.NET, AWS, C#, CSharp, Programming, REST, WebAPI

AWS Cognito – Identity Pool usage in .NET Core

Some time ago I had to implement authorization and authentication for REST (.NET Core 2.1, the latest stable nuget package version is 2.1.3) web service using JWT tokens (bearer) using AWS Cognito Identity Pools. It was pretty hard to find the updated tutorials or materials (even on AWS most of the data is about old …

.NET, C#, CSharp, Mobile, Programming, Xamarin

Xamarin Live Player

Today I started playing with Xamarin Live Player. This tool allows to see the Xamarin.Forms live on device while you designing UI. It has beta version available on Test Flight. You need to register to get access to it. Unfortunately first experience was bad. I was waiting for a longer while to get information from …

.NET, C#, CSharp, Library, Programming

Flurl.Http – HTTP unit testable client for .NET

So far the first choice of many people was RestSharp. Since few months new player is getting a piece of market – Flurl. In this post I would like to introduce this library, show how to use with .NET Core 2.0 and unit test the code. Code! Let’s start coding part with getting it – …