Tag Archives: .NET

Today I Learned How to Create Custom NUnit Constraints – Part 1: Creating the Constraint

NUnit has has built in constraints for most the tests you will need to write so there is no need to create your own.  End of blog post. OK, that was a bad joke.  The first step in creating a … Continue reading

Posted in Code Examples, Software Development, Today I Learned | Tagged , , | Comments Off on Today I Learned How to Create Custom NUnit Constraints – Part 1: Creating the Constraint

Today I Learned How to Run NUnit Tests for a .NET Core Project in TeamCity

In TeamCity you can’t use the usual NUnit Runner to run .NET Core unit tests.  At least I couldn’t get it to work.  I’m sure this will be fixed in the future but for now the below works for me.  … Continue reading

Posted in Code Examples, Software Development, Today I Learned | Tagged , , , | Comments Off on Today I Learned How to Run NUnit Tests for a .NET Core Project in TeamCity

Today I Learned How to Handle Local Notifications in Xamarin on Android

In my previous example I detailed how to schedule notifications in Xamarin on Android but didn’t show the Xamarin Forms application reacting to that specific notification.  Let’s fix that. First override the OnNewIntent method in the MainActivity.  We override this method so notifications will … Continue reading

Posted in Code Examples, Today I Learned | Tagged , , , , | Comments Off on Today I Learned How to Handle Local Notifications in Xamarin on Android

Today I Learned How To Create Xamarin iOS and Android Unit Tests

I’m currently working on a notification plugin for Xamarin Forms and wanted to setup some unit tests.  The problem is my code accesses the device-specific notification systems in iOS and Android.  This means I can’t just run my unit tests … Continue reading

Posted in Goal App, Today I Learned | Tagged , , , , | Comments Off on Today I Learned How To Create Xamarin iOS and Android Unit Tests

Notes on Converting Mini-Compressor to UWP Application (Trying to at Least)

I was inspired to get Mini-Compressor to UWP into the Windows 10 Store a while back this summer. I saw this video several months ago when it was called Project Centennial: https://channel9.msdn.com/Events/Build/2015/2-692 Then a couple weeks ago there was a … Continue reading

Posted in Business Side, Mini-Compressor, Notes, Software Development | Tagged , , , , , , | Comments Off on Notes on Converting Mini-Compressor to UWP Application (Trying to at Least)

Why I Created Migrator

Once upon a time in the far off land there a young handsome software developer.  This developer married the fairest maiden in the land and together they formed a company to slay problem monsters that prevented others from getting stuff done. … Continue reading

Posted in Software Development | Tagged , , , , | Comments Off on Why I Created Migrator

Starting Any Method in a New Thread Using .NET

The main problem I encountered was creating a function to accept any function pointer along with an unknown number of arguments.  I got around this problem using the ThreadStart and delegate() features in C# (.NET 3.5).  First off create your … Continue reading

Posted in Code Examples | Tagged , | Comments Off on Starting Any Method in a New Thread Using .NET