From TeamCity to VSTS – My DevOps Journey – Part 2

In my last post I commenced my journey to integrate our old deployment process with the new shiny VSTS Release Management system. The whole story was about leveraging processes that were already working for us and the flow looked something like this:

deploy_pipeline

The previous step in the process involved getting TeamCity to grab the build output from VSTS and deploy it using our old deployment PowerShell. With this working, my next goal was to be able to trigger the whole process from Release Management so I could either pick the build I wanted to deploy or trigger it from a successful build in VSTS.

I thought, this is going to be mad easy.

Alas, it turned out to be a little more difficult…

Continue reading…

Things I Learned Today #3 – Moving Azure boxes to a new virtual network

While playing around with Power BI in the cloud I ran into some difficulties with authenticating with on-premise SQL Server Analysis Services. I found a great post showing how to get around this for a demo but it first involved connecting my box running the cube to an existing AD. To do this I had to get my existing VM on another virtual network. Apparently this isn’t just setting some magic configuration setting but it can be pulled off with a simple lift and shift operation.

This TechNet article shows you how to make it happen…

Next I’ll post the details of how to trick AD into playing nice with Power BI.

 

Things I Learned Today #2 – Like intellisense but for that other commonly used language…

There aren’t many things in software that scream UNPROFESSIONAL quite like spelling mistakes; it really irks me as a user, and I’m sure it makes our end-users uneasy too.

So let me introduce you to one of my recent favourite Visual Studio extension… Visual Studio Spell Checker.

It’s an extension that checks the spelling of comments, strings, and plain text as you type and is really handy and absolutely non-intrusive. Have a look at the real-world example below which was highlighted to me as I was navigating around some older sections of our codebase.

AutoCorrect

 

It might be something that many people may just shrug off but it’s something that I’m going to suggest that all of our developers have installed as it’s just another one of those little things that help ensure your software has that little bit more polish.

Things I Learned Today #1 – where.exe have you been all my life?

Since my memory isn’t what it used to be, I’m going to start blogging anything cool I learn on a given day. Even if nobody reads this it will be a good way for me to create a hit list of cool solutions to problems.

Today’s mad man is the where command on Windows. Here is the description of the command:

Displays the location of files that match the search pattern. By default, the search is done along the current directory and in the paths specified by the PATH environment variable.Command-line help

Continue reading…

Xamarin and Android – Specific Solutions to Specific Problems #4

 

It’s been a while but I’m finally back with another one of my recent discoveries while working with Xamarin and Android. We are at the pointy end of our project so it has been hard to find the time to blog but luckily now that I do have some, I also have a lot of material banked up. Stay tuned…

I have list view inside a scroll view and I want to be able to be able to scroll both depending on which one I am touching.

In order to support devices with small screens, sometimes I resort to lazy man’s responsive design. I wrap the whole layout in a ScrollView element. While this works fine most of the time it does have an interesting time dealing with child elements that are also scrollable. The one I run into the most is the existence of a ListView inside a ScrollView.

Continue reading…

"Find was stopped in progress" while performing search in Visual Studio

This issue has been plaguing me for some time and I usually just work around it but today I finally found a fix. It has happened in Visual Studio 2010, 2013 and today it started occurring in 2013 RC. I found a fix in this Microsoft Connect thread and thought I would blog it as a few of the other guys at work had also encountered it from time to time.

I don’t know if this is the “official” fix but the following worked for me:

1. Find in Files for any search string.

2. As soon as it starts searching spam Ctrl – Scroll Lock.

3. Win

Why is my Nokia Lumia 920 bubbling?

I recently bought a new phone and passed on my old Nokia Lumia 920 to my wife. She has a strong opinion on the use of cases for phones, especially when we have little kids playing with them. In order to placate her I purchased a wallet style leather case and put the phone in it. She was really happy as the case came with some inserts that she could store credit cards in and use it as a pseudo wallet when she couldn’t be bothered carrying around her hand bag.

phonecase

Then my wife started complaining about the phone making these strange bubbling noises. I laughed it off and took the phone in order to listen for myself. I flipped open the case and sure enough the phone started bubbling! It was actually quite a pleasant sound but the curious side of me couldn’t just let it go. I searched high and low in the phone settings but couldn’t find anything that would be causing it.

I turned instead to Google and found this thread with some posters describing a noise as “it sounds like Tiny Bubbles…”. That’s it! That’s the noise!!! Further on in the thread people linked the noise to NFC and I realised that my wife had put a credit card with Pay Pass in the wallet case. Whenever she opened the wallet she flipped the cover around to the back of the phone to use it. This of course put the Pay Pass chip at the back of the phone and activated Tap and Send.

Since my wife cares about NFC about as much as I care about putting the seat down on the toilet, I have disabled Tap and Send for now. Happy wife, happy life…