Category Archives: Today I Learned

Today I Learned The Final Backslash is Important in Apache HTTPS Redirects

Lets start with the bug: When requesting a download link via the Downloads page the link that is sent via e-mail is invalid.  It is missing a slash. 1) Enter a e-mail on the Downloads page (https://www.saturdaymp.com/downloads) that has already … Continue reading

Posted in Today I Learned | Tagged , | Comments Off on Today I Learned The Final Backslash is Important in Apache HTTPS Redirects

Today I Learned How to Create Custom NUnit Constraints – Part 2: Constraint Usage Syntax

In Part 1 we created a custom NUnit constraint but you where limited in using the constraint.  You could only write: It would be nice to write: To do that you should read the documentation.  End of blog post. So is … 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 2: Constraint Usage Syntax

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 Automate Objective-c Builds in TeamCity

Several months ago I discussed how to manually build an objective-c project so it can be consumed by a Xamarin Binding Project.  In this post I show how to automate the building of the objective-c project.  In my case I need … Continue reading

Posted in Today I Learned | Tagged , , , , | Comments Off on Today I Learned How to Automate Objective-c Builds in TeamCity

Today I Learned How to Install a TeamCity Build Agent on a Mac

When I was first figuring out how to port the BEMCheckBox to Xamarin I built the framework manually.  This is obviously not a good long term solution so I set about figuring out how to automate the build.  The first … Continue reading

Posted in Today I Learned | Tagged , , | Comments Off on Today I Learned How to Install a TeamCity Build Agent on a Mac

Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 4 The Actual Binding

This is the 4th and final part about incorporating an objective-c library in Xamarin.  In my case I’m binding BEMCheckBox.  In part 3 we used Sharpie to create a C# interface for the BEMCheckBox.  In this post we will show … Continue reading

Posted in Code Examples, Software Development, Today I Learned | Tagged , , , , , | Comments Off on Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 4 The Actual Binding

Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 3 Using Sharpie to Create Binding Interface

This is the 3rd part about using the BEMCheckBox, an Objective-C library, in Xamarin.  Part 1 described how to compile the BEMCheckBox library using Xcode.  Part 2 showed how to combine the multiple libraries we compiled from Part 1 into … Continue reading

Posted in Code Examples, Software Development, Today I Learned | Tagged , , , , , , | Comments Off on Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 3 Using Sharpie to Create Binding Interface

Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 2 Combining Libraries

This is part 2 of creating a iOS Binding for the Objective-C Library BEMCheckBox.  In part 1 we compiled the Xcode project into two separate libraries.  One for iphones (ARM architecture) and one for iOS simulators (x86/x64 architecture). In this … Continue reading

Posted in Code Examples, Software Development, Today I Learned | Tagged , , , , | Comments Off on Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 2 Combining Libraries

Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 1 Compiling the Objective-C Library

There is no checkbox for Xamarin Forms applications.  This is a problem because I wanted a checkbox in a application I’m working on.  A switch wasn’t going to cut it. After a bit of research I found that Android had native … Continue reading

Posted in Code Examples, Software Development, Today I Learned | Tagged , , , , | Comments Off on Today I Learned How to Create a Xamarin iOS Binding for Objective-C Libraries – Part 1 Compiling the Objective-C Library