Using FontAwesome in UWP apps
FontAwesome in WPF and Fonts in UWPI blogged about how to use FontAwesome in WPF last year and wrote a short blogpost about the nice FontIcon class in UWP. With the help of the FontIcon class I could...
View ArticleParsing XML Schemas in .NET
XML SchemasXML can be very verbose and seems to be old-fashioned, but the good part around XML is, that there is a hugh pile of standardized mechanics around it. To query XML documents you can use...
View ArticleXML Autocompletion with AvalonEdit
AvalonEditAvalonEdit is a text editor WPF control, used and created by the SharpDevelop team. It comes with some nice features, like code folding support, text highlighting and infrastructure for...
View ArticleDebugging .NET based Windows Error Reports (WER)
.The last hope: Windows Error ReportsThe “Windows Error Report” (WER) is automatically generated by Windows and can be seen in the Eventlog. In most cases, you might see some other - debugging...
View ArticleGet the Windows 10 or 8 accent color in WPF
.Windows Accent ColorSince Windows 8 users can choose a system accent color. The color can be seen on the window borders of the default apps and it can be pretty easy be used inside a UWP App.How to...
View ArticleCopy to clipboard with Javascript
Clipboard? Current state of the art…I think everybody knows the clipboard. The goal is that we can store text inside the users clipboard, so he can just paste it. Most sites uses either Flash or some...
View ArticleFAKE: Build ASP.NET projects with web.config transformation (and without...
This is a follow-up to my other FAKE posts:“FAKE: Building C# projects without knowing a tiny bit of F#”“FAKE: Running xUnit Tests with FAKE without knowing a tiny bit of F#”“FAKE: Create NuGet...
View ArticleCAKE: Building solutions with C# & Roslyn
CAKE - C# MakeA DSL for build tasks (e.g. build following projects, copy stuff, deploy stuff etc.)It’s just C# code that gets compiled via RoslynActive community, OSS & written in C#You can get...
View ArticleTFS 2015: Adding a new Windows Build Agent
The TFS 2015 Build SystemThe build system before TFS 2015 was based on a pretty arcane XAML workflow engine which was manageable, but not fun to use. With TFS 2015 a new build system was implemented,...
View ArticleLets convert a WPF app to the Universal Windows Platform
Project Centennial - running desktop apps in the UWP worldLast year Microsoft revealed the plans to run and distribute desktop apps (basically all apps ever written for Windows) in the...
View ArticleWriting loops in T-SQL
The topic is quite old, but I found it really helpful, so be warned.Scenario: Iterate over a result set and insert it in a new table in T-SQLI had to write a SQL migration script to move date from an...
View ArticleUsing Basic Authentication in ASP.NET WebAPI
Basic Authentication? Are you kidding?This was my first thought when I was thinking about a simple approach to protect Web APIs, but then I found this nicely written blogpost: Why I love Basic AuthThe...
View ArticleMicrosoft Web Camp Talk in German about ASP.NET now and ASP.NET 5
I did two sessions today about the current ASP.NET Stack and the upcoming ASP.NET 5 at the Microsoft Web Camp in Zurich. The talk was in German and so are most of the slides, but for the record I will...
View ArticleCreate and read NuGet Packages via Code
The typical use cases for NuGet may involve the NuGet Client inside Visual Studio or the NuGet.exe, but of course you can use the same functionality via code. NuGet - as a package format - can be used...
View ArticleFAKE: Create NuGet Packages without knowing a tiny bit of F#
This is a follow-up to my first two FAKE posts:“FAKE: Building C# projects without knowing a tiny bit of F#”“FAKE: Running xUnit Tests with FAKE without knowing a tiny bit of F#”Creating NuGet Packages...
View ArticleUsing PCLs in ASP.NET
Weird Error Message:Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify...
View ArticleSemantic Versioning in a nutshell
I made a short tweet today and it seems I hit a nerve:Instead of Major.Minor.Patch say Breaking.Feature.Bugfix - that's #SemVer in a nutshell.— Robert Muehsig (@robert0muehsig) 21. Juli 2015Because I...
View ArticleHowTo: Write to Azure Blob Storage
Sometimes I just want to write blogposts to memorize it better even if the stuff is actually quiet old. So… and now I present you:How To write a simple text to Azure StorageAll you need is the...
View ArticleReg.exe or how to import .reg files without admin privileges
The beloved Registry is still an important part of Windows, because of COM, protocol mappings, program registrations etc. - so, even in 2015 we might have to deal with it.Problem: Writing some Registry...
View ArticleFAKE: Running MSTest Tests with FAKE without knowing a tiny bit of F#
This is a follow-up to my xUnit FAKE post “FAKE: Running xUnit Tests with FAKE without knowing a tiny bit of F#”.Running MSTests with FAKERunning MSTests is not a big difference to run xUnit tests. The...
View Article