Life According to Abel
  • Home
  • Videos and Media
  • Presentations
  • Pics/Bio
  • About
Life According to Abel
Menu
  • Home
  • Videos and Media
  • Presentations
  • Pics/Bio
  • About

Code

Anything code related

Running DSC gets WinRM error

May 31, 2015 by abel Leave a Comment

I tried running DSC on my server and got the error: The client cannot connect to the destination specified in the request.  Verify that the service on the destination is runn8ing and is accepting request. Consult the logs and the documentation for the WS-Management service running on the destination, most commonly IIS or WinRM.  If … [Read more…]

Posted in: Code, Uncategorized Tagged: DSC, Release Management, WinRM error

Moved my blog to Azure

May 23, 2015 by abel Leave a Comment

My original blog was hosted on Blogger and I decided I wanted to move my blog from Blogger to a self hosted WordPress blog on Azure PaaS (platform-as-a service).   Why?  Because I wanted to play with Azure, and because I wanted to see if I could do it.  My first stumbling block was  WordPress uses … [Read more…]

Posted in: Code, Uncategorized Tagged: Azure, Blog, PaaS, Wordpress

Can I test private methods with MSTest?

April 17, 2015 by abel Leave a Comment

As a good little developer, I try to write unit tests for every line of code that I write.  But what about private methods?  Can I write unit tests against private methods?  If you are using MSTest, absolutely you can. Just use the PrivateObject class.  For instance, If you have this class:

C#
1
2
3
4
5
6
7
public class CalcLib
{
    private int MyPrivateAdd(int lhs, int rhs)
    {
        return lhs + rhs;
    }
}

You can … [Read more…]

Posted in: Code, Uncategorized Tagged: C#, Private Method, Unit Test, Visual Studio

How do I turn on code coverage for TFS 2013

August 15, 2014 by abel Leave a Comment

Today I created a simple build for TFS 2013 and wanted to collect code coverage results during the build.  Couldn’t figure out how to turn on code coverage!  So here are the steps: 1) Edit your build definition 2) Open the Test Node, open the Automated test node and click on Test Source 3) Click … [Read more…]

Posted in: Code, Uncategorized

Walkthrough: Using VSO and Release Management to build from a Git repository and deploy to an Azure Service

July 1, 2014 by abel Leave a Comment

I was recently at a client where they had an azure cloud service project in a Git repository in Visual Studio Online (VSO). They asked me if they could use Team Build (TFS build) to build the solution and then have the build kick off a Release Management release template which would deploy the Azure … [Read more…]

Posted in: Code, Uncategorized Tagged: Azure Service, Deploy to Azure Service, Git, Release Management, Release Management update 2, TFS, TFS 2013 update 2, visual studio online, VSO

TFS 2013 Work item, Limit Assigned To field based on the area you chose.

May 27, 2014 by abel Leave a Comment

I’m a big proponent for having one giant team project for an entire enterprise.  Then using Teams and Areas to subdivide the enterprise into manageable chunks.  There are massive amounts of benefits (check out this post: http://nakedalm.com/one-team-project/).  However, a customer of mine made a good point the other day.  He said that by having one … [Read more…]

Posted in: Code, Uncategorized Tagged: assigned to based on area, customize work item, TFS 2013

TFS 2013 Release Management Error user does not have access to the release management server

May 12, 2014 by abel Leave a Comment

I got an interesting error the other day at a client’s site.  They installed Release Management Update 2013 update 2 RC.  When they tried to open the release management client, they got the error: User xxxxxxxx does not have access to the release management server.  Please contact your administrator. What was weird was the user … [Read more…]

Posted in: Code, Uncategorized Tagged: cryptic error message, Release Management, User does not have access
« Previous 1 … 3 4

Recent Posts

  • Working with GitHub Actions Output Parameters
  • Manually Trigger Actions Workflow in GitHub (How did I not know about this????)
  • Real World DevOps-Breaking It All Down (part 3-Setting up HTTPS)
  • Real World DevOps-Breaking it all down (part 2-Setting DNS)
  • Real World DevOps–Breaking it all down (part 1–Provisioning and Restoring DB’s from backup)

Recent Comments

  • Krisha on Getting Visual Studio Code Analysis and Code Metrics in an Azure Pipeline Build (part 1)
  • vinay on PowerShell Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send
  • Matt Olson on Getting Code Coverage info for a .net core app in Azure Pipelines
  • Howard on Containers, Kubernetes and DevOps for an Old as Dirt Developer (Or DevOps Nirvana with Kubernetes), Part 2/6
  • Howard on Containers, Kubernetes and DevOps for an Old as Dirt Developer (Or DevOps Nirvana with Kubernetes), Part 2/6

Archives

  • July 2020
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • August 2018
  • July 2018
  • June 2018
  • April 2018
  • January 2018
  • December 2017
  • November 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • December 2016
  • October 2016
  • May 2016
  • April 2016
  • February 2016
  • January 2016
  • October 2015
  • August 2015
  • June 2015
  • May 2015
  • April 2015
  • August 2014
  • July 2014
  • May 2014
  • April 2014
  • August 2010
  • July 2010
  • May 2010
  • September 2009
  • August 2009
  • July 2009

Categories

  • Code
  • Uncategorized

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Copyright © 2021 Life According to Abel.

Magazine WordPress Theme by themehall.com