Uncategorized

I’ve been working pretty seriously with the Desktop Bridge (Project Centennial) to help some of our partners get their Win32 applications into the Windows Store. As a bi-product of this I have come across a whole host of valuable resources on what the bridge is all about and how to use it in different scenarios.

I’ve been hacking a fair bit on Visual Studio Mobile Center lately. The feature set is iterating pretty fast and recently the introduction of the ability to link Mobile Center to VSTS was added. Along with that, a couple of build tasks appeared in the vsts-tasks Github repository:

These new tasks enabled VSTS build or release definitions to trigger tests and upload build outputs for distribution through Mobile Center.

Since Mobile Center has been built API-first, I started wondering if I could make my own build task to actually trigger a build. Seems it isn’t too difficult.

I first started with an awesome post from Mitch Meunster where he used a Zamboni build tasks to upload builds to Mobile Center. If you want to learn how to configure Mobile Center and hack against the API then check it out.

With that knowledge under my belt I’ve written a build task and posted the code on GitHub. Let’s run through what I had to do to build the task and what you have to do in order to use it…

TLDR: You can either read the whole thing (which I recommend) or jump to the build/use sections:

As part of a hackathon last week I had the pleasure of playing with some technologies that I didn’t have an enormous amount of exposure to. The focus of my team’s part of the hackathon was the following:

Analysing a video with Cognitive Services

Processing the results from Cognitive Services

Saving the results to a data store so it can be displayed

Visualizing the results with Power BI Embedded

My personal work and this resulting post deals mainly with the second and third items as there were some unique challenges that came into play when utilising the output that came from streaming analytics. The flow of data looked a little something like this:

We hacked on Azure Media Services being analysed by Azure Cognitive Services and posted its results to Event Hub. We then used Stream Analytics to process and group the data before throwing the results into a Service Bus queue. We grabbed the data with a simple Logic App, inserted it into a SQL Azure table and rounded out the flow with a visualisation in Power BI Embedded. I know that’s a lot of ingredients to throw in an omelette but let’s go break a few eggs…

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:

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.

It’s the last night of Microsoft Build 2016 and I’m in a hotel room looking for something to do. As I’m all hyped up on the Kool-Aid I decided to migrate some of our old school upgrade templates from Team Foundation Server 2013 and drag them kicking an screaming into the now…

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.

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:

[blockquote source=”Command-line help”]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.[/blockquote]

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.

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

Posts navigation

Search

Search for:

Text Widget

This is a text widget, which allows you to add text or HTML to your sidebar. You can use them to display text, links, images, HTML, or a combination of these. Edit them in the Widget section of the Customizer.