Creating a Self-Signed SSL Certificate for Developing and Testing Against IIS

by 

|

|  

in

Sometimes you find yourself needing to develop or test on an encrypted connection. Whether it is an MVC binding forcing you to do SSL or you simply want to get rid of your browser’s mixed content warnings, a local certificate can come in handy. Creating your .cer file Start by locating makecert.exe. You can typically…

Read more…

Unit Testing .NET with JustMock (tips and common pitfalls)

by 

|

|  

in

In this post, I’d like to share a few tips to get up and running with the Telerik mocking framework JustMock, so you can easily and quickly write tests that give you that warm-and-fuzzy feeling you crave from your code. Notes I assume some familiarity with the concepts of unit testing, dependency injection (DI), Inversion…

Read more…

When You Cannot Import ‘Windows_TemporaryKey.pfx’

by 

|

|  

in

In one of our current projects, I needed to set up our Xamarin.Forms builds on Visual Studio Team Services (VSTS). What stumped me was the following error when I was setting up VSTS for a Universal Windows Platform (UWP) app: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(3516,5): error APPX0105: Cannot import the key file ‘Windows_TemporaryKey.pfx’. The key file may…

Read more…

Setting Up Octopus Server

by 

|

|  

in

It may seem like I’m doing a lot of setup lately (see my last post on setting up Continuous Integration). And part of that is true, but I’m also coming up against the realization that so many of the systems we need to stand up are never documented enough to get you through some of…

Read more…

Setting Up Continuous Integration with TeamCity

by 

|

|  

in

For one of my recent projects I needed to set up Continuous Integration from scratch on a server. Having never done this before I found myself assembling all the required components, installing them, and configuring them (and struggling now and then through some of the gotchas that came up). To save anyone who may have…

Read more…

Managing Azure WebJobs with Base Classes

by 

|

|  

in ,

Azure AppService is my go-to when I want to create cloud-based applications. I have no desire to set up or administer a VM. Sometimes, though, you just need a service that quietly does its job in the background. That’s why I love WebJobs. However, I found myself in the situation where I needed a WebJob…

Read more…

Hari’s Favorite Visual Studio Shortcuts

by 

|

|  

in

I’ve always wanted to write a blog post containing my favorite Visual Studio keyboard shortcuts. However, this guy beat me to it. But that’s okay because I learned a few tricks that I didn’t know. Of course there many useful shortcuts than the six he mentioned. Here are some that I use all the time:…

Read more…

Updating Version Information for Xamarin.iOS builds on Visual Studio Team Services

by 

|

|  

in

In last week’s blog post Andrew showed us how to trigger a build from another build. The need to do that was just the first part of a bigger series of events that eventually led to subsequent builds being automatically versioned for us. After the builds were completed, we needed to ship the Xamarin.iOS build…

Read more…

Visual Studio Team Services – Triggering A Build From A Build (Using PowerShell)

by 

|

|  

in

As of April 2016, Visual Studio Team Services (VSTS) does not support triggering a build from another build. This presents a problem if you want your setup to do something like start two builds from a single pull request onto a branch (because VSTS does not support starting multiple builds from one pull request trigger)….

Read more…

Our 10 Most Popular Blog Posts of 2015

by 

|

|  

in , ,

As another year winds down, it’s only natural to look back at what we’ve accomplished. Just one part of what we do is share on our blog what we have learned and experienced. Since we’re not interested in keeping all of that just for ourselves, we hope the blog is a way we can help…

Read more…