10 08, 2016

Exposing Artifacts during project build in Team City

By |August 10th, 2016|Uncategorized|0 Comments

I recently found myself in a situation where I needed to publish my artifacts to the team city’s internal nuget feed server DURING the build (not after). In order to accomplish this I had to let Team City know about my artifacts folder (or files) during the build. I simply needed to output a message. I used Team City’s Service message syntax to do this. In my build project I create another target step:


26 07, 2016

Microsoft Azure Blueprints

By |July 26th, 2016|Azure|0 Comments

The azure team at Microsoft has put together quick scenario based diagrams to help put together solutions, from BI to DevOps and Live Media Streaming scenarios, you can review them by clicking here.


22 07, 2016

The definitive guide to form based web authentication

By |July 22nd, 2016|Coding|0 Comments

If you are using form based authentication, here is a great stack overflow post that provides some guidelines on how to implement form based authentication properly:

20 06, 2016

OWIN WsFederation custom authentication and authorization

By |June 20th, 2016|Coding|0 Comments

I recently setup OWIN WsFederation in my app, but I needed a way to perform an additional check against my local database to validate the user. For example the user authenticating from the STS may not be allowed to authenticate to the app, because of their department, etc. So in order to perform this additional authorization check I needed to setup a “notification”. In this case the notification is called “SecurityTokenValidated”, here is a sample implementation:

20 04, 2016

Set default startup directory in Cmder for admin powershell task

By |April 20th, 2016|Windows|0 Comments

To set the default startup directory when executing admin power shell, use the following command (currently I have my directory set to c:\dropbox\dev)

Make sure to make the change on the tasks tab:



Then set that task as your startup


2 04, 2016

My experience at Build 2016

By |April 2nd, 2016|Coding|0 Comments

Now that Build is over I had some time to reflect on the experience. This was my first time at a major developer conference. I’d like to thank my employer for sending me to this awesome event. The theme at this conference has been creating a better developer experience. If you haven’t seen the videos I encourage you to take a look at:

Some of the key announcements at this event:

  • Bash on Windows: This is incredible news. It’s not a full linux system, it’s not a VM, it’s 100% native. You get all the great dev tools that’s on Linux such as awk, grep. Launch vim (or emacs), imagine the ability to launch a bash command and use apt-get.
  • Xamarin is now free: That’s right, 100% free. For all versions of Visual Studio 2015, even community edition.
  • Windows Anniversary edition: Bio-metric security integration for apps and edge, Ink improvements

My favorite sessions:

Introducing ASP.NET Core 1.0: A breif overview of things to come in .NET Core 1.0. Hanselman did a live demo showing off the power of ASP.NET Core, running on docker containers on Azure, AWS, etc.

Power BI Embedded: You now have the ability to integrate Power BI directly into your apps, for some sample code click here.

As I have time I will continue to update this list.



11 02, 2016

Windows 10 – Broken start button and missing icons for Edge and Windows Store

By |February 11th, 2016|Windows|1 Comment

I’ve been using Windows 10 for a couple months now. I have one issue and it’s very annoying.  My start button no longer works. Yes, you heard that right. The start button no longer works and some other symptoms appear as well:

  • Windows store, Edge icons disappears from the task bar.
  • The CPU becomes extremely slow, it takes about a min to launch windows explorer.

After some google searches it seems I am not the only one experiencing this issue. What seems to have worked for me is reinstalling all the windows apps (not your personal apps, but the ones come built into windows). This may sound like a daunting tasks. Fortunately all you need to do is run a powershell script:

Let’s get started, obviously the start button doesn’t work so we have to find an alternative way to launch powershell.

  • Right click on your taskbar and hit Task Manager, you might have to wait a couple seconds.
  • In Task manager click File then Run New Task.
  • In the textbox type powershell, before hitting enter make sure to check “Create this task with administrative privileges.”
  • After powershell opens, type the following command:

You might have to wait for a little, don’t worry about all the red error messages, this is normal. After everything finishes, restart your computer, you should now have access to your start menu again.

If you’re still having issues, create a comment with your symptoms and we can try to help.


14 12, 2015

Restoring files from Synology CloudSync

By |December 14th, 2015|Uncategorized|0 Comments

After using the Synology CloudSync package to upload 250GB of ENCRYPTED data to Amazon Cloud Drive I quickly realized there was no interface to actually restore these encrypted files from CloudSync itself. After some research I found Cloud Sync Decryption tool provided by Synology.

Some more documentation on the tool can be found by clicking here.

To decrypt the files simply download the files from Amazon or whatever provide you are using, place them in a folder and run the following command:

This will decrypt all your files and place them in an output folder using the password you used to setup the cloud sync backup service.

If you have any questions feel free to contact me!

24 11, 2015

Setting the time zone for an azure web app

By |November 24th, 2015|Coding|0 Comments

If you need to set the timezone for your azure web app, you now have an option to create an app setting. You can do this via the azure portal:

Click on “Application Settings” then add a new key/value under the app settings section, for example:


Value: Eastern Standard Time



8 06, 2015

Undo almost anything in Git

By |June 8th, 2015|Coding|0 Comments

A great blog post on how to undo almost anything in Git: