Setting up a DevOps demo using VSTS and Azure (Or DevOps Nirvana with VSTS and Azure), Part 4/5

As a TSP in DX at Microsoft, I am constantly asked to talk about DevOps and what DevOps means for Microsoft.  Although there are many definitions of DevOps floating out in our industry, at Microsoft, DevOps is the merging of people, process and products such that we can continually deliver value to our end users.  … [Read more…]

Setting up a DevOps demo using VSTS and Azure (Or DevOps Nirvana with VSTS and Azure), Part 3/5

As a TSP in DX at Microsoft, I am constantly asked to talk about DevOps and what DevOps means for Microsoft.  Although there are many definitions of DevOps floating out in our industry, at Microsoft, DevOps is the merging of people, process and products such that we can continually deliver value to our end users.  … [Read more…]

Setting up a DevOps demo using VSTS and Azure (Or DevOps Nirvana with VSTS and Azure), Part 2/5

As a TSP in DX at Microsoft, I am constantly asked to talk about DevOps and what DevOps means for Microsoft.  Although there are many definitions of DevOps floating out in our industry, at Microsoft, DevOps is the merging of people, process and products such that we can continually deliver value to our end users.  … [Read more…]

Setting up a DevOps demo using VSTS and Azure (Or DevOps Nirvana with VSTS and Azure), Part 1/5

As a TSP in DX at Microsoft, I am constantly asked to talk about DevOps and what DevOps means for Microsoft.  Although there are many definitions of DevOps floating out in our industry, at Microsoft, DevOps is the merging of people, process and products such that we can continually deliver value to our end users.  … [Read more…]

Deploying a database via dacpac from a VSO build by creating a custom build/release task

While using the new scriptable build system in VSO, there have been countless times I wanted to create my own custom build/release task.  That day has finally arrived.  The ability to upload custom build and release tasks to VSO has now been made public by Microsoft.  It is still in the “pre-release” stage so you … [Read more…]

I’m using Release Management with PowerShell scripts to deploy my app and it’s corrupting my configuration files

So I’m using RM with powershell scripts to deploy a simple web app.  One of my scripts was modifying the Web.config file with Out-File.  Everything seemed to be working just fine except after the deployment, I got a 500 server error. The Web.config file looked perfectly fine, but after some excruciating analysis, I finally figured out … [Read more…]

Using Microsoft Fakes, how do you fake a method with generics? (Mocking UpdateModel() )

Using MSTest and Fakes as my mocking framework,  I was writing unit tests against an MVC controller and I needed to mock Controller.UpdateModel<TModel>(TModel).  How do you do that?  How do you fake out methods with generics?  In my example, in my controller action,  I’m pulling a Series object from my repository and I want UpdateModel() … [Read more…]

DSC–Importing module failed

I was trying to run a simple DSC where I create an app pool so I downloaded the xWebAdministration module, dumped it into C:\Program Files\WindowsPowerShell\Modules directory, set up my configuration, ran it and got this error: Importing module MSFT_xWebAppPool failed with error – File C:\Program Files\WindowsPowerShell\Modules\xWebAdministration\DscResources\MSFT_xWebAppPool\MSFT_xWebAppPool.psm1 cannot be loaded because you opted not to run … [Read more…]