Resources From My Sessions at TechDays 2015
Today the first TechDays conference of 2015/2016 took place at the premises of Microsoft in Slovenia. Me and Andrej Tozon, a fellow Slovenian Microsoft MVP, did a track on Windows 10 Universal Apps. He...
View ArticleWindows Phone Emulator Unable to Connect to Windows Phone OS
Can't Run a Universal Application in the Emulator When I tried to run a universal application in the Windows Mobile 10 Emulator today, I was greeted with the following error: Attempting to modify...
View ArticleBe Careful When Copying Visual Studio Projects
Project GUIDs Uniquely Identify Projects You might not be aware of it, but Visual Studio projects have additional identity beyond their project file name and path. Each one of them contains a GUID...
View ArticleCan a Static Field Be Initialized Multiple Times?
The Plot Take a look at the following code: public static class StaticClass { private static readonly Lazy<string> Lazy = new Lazy<string>(() => DateTime.Now.ToString()); public static...
View ArticleDon't Overwrite Plugin Assets with Your Own
Grails web application framework does a great job at taking care of the plumbing, without the developer having to know about all the details until he needs to customize it in some way. Grails Asset...
View ArticleUnit Testing JSData Code in Angular Services
What is JSData? JSData is a feature rich data modeling library for JavaScript with good support for AngularJS. Although the documentation isn't perfect, it's not too difficult to get started with the...
View ArticleContinuous Testing in Visual Studio
Continuous Testing? The smaller the overhead of running unit tests, the more often you are going to run them and the sooner you will notice that the changes you have made to the code have broken...
View ArticleUsing Nested Resources in JSData
JSData is built around resources and CRUD operations on them. It is an easy to understand abstraction as long as our domain maps well to it and can be easily implemented using the following operations:...
View ArticleContinuous Testing of JavaScript Code
Unit testing is a crucial part of development in any language, but its even more important in dynamically typed and interpreted languages such as JavaScript because there's no compiler doing at least...
View ArticleContinuous Testing of TypeScript Code
After taking a closer look at continuous testing of JavaScript code, I'm moving on to other languages that transpile to JavaScript. I'll mostly be focusing on TypeScript, but there aren't many...
View ArticleBringing a Marker to Front in Leaflet
Leaflet is an open-source JavaScript library for interactive maps. It's very feature rich, but its sometimes hard to find resources on approaches that deviate from the most common ones. When handling...
View ArticleContinuous Testing with Wallaby.js
I first stumbled across wallaby.js while working on my previous articles about continuous testing in the JavaScript ecosystem using Karma. After reading more about it in Scott Hanselman's blog post, I...
View ArticleStrings in .NET Are Not Null Terminated
Unexpected Behavior Take a look at the following function: void DumpToConsole(string s) { Console.WriteLine($"String contents: {s}"); Console.WriteLine($"String length: {s.Length}"); } Can you think of...
View ArticleHandling Events with Angular Leaflet Directive
Leaflet JavaScript library includes comprehensive support for events, raised by the map itself or by one of many objects rendered on the map. Detailed documentation covers all aspects of working with...
View ArticleDeploying ASP.NET Core RC1 Application to IIS
If you're used to the old ASP.NET, it's not all that obvious how to deploy an ASP.NET Core application to IIS. Although, there is documentation available for the process, I still struggled a bit,...
View ArticleMultibinding in Universal Windows Apps
There are a lot of features in WPF that are not available in other XAML dialects, such as the latest one for Universal Windows applications. One of them is multibinding, which allows binding of...
View ArticleGet Notified When a Background Task Completes
At first sight there doesn't seem to be a way for a universal Windows application to be directly notified, when one of its background tasks has completed. Fortunately, there is an event that will get...
View ArticleSetting Up Docker in Azure VM
Having leftover Azure credit from my MSDN subscription made Azure a logical choice for hosting Docker in a Linux virtual machine. This post documents the steps I took to create a convenient working...
View ArticleCreate a Reserved IP for a Classic Azure VM
Newly created classic virtual machines in Azure have dynamic public IP addresses. Although, Resource Manager is now the recommended deployment model, there are still image templates in the marketplace...
View ArticleVersioning Application Data in Universal Applications
New versions of applications introduce new features. Sooner or later this inevitably causes the format of locally stored application data and settings to evolve, as well. To avoid loss of data or even...
View Article