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

Trying to write Async Release Gates for VSTS using Azure functions? Read this!

July 22, 2018 by abel 1 Comment

Recently, Donovan asked me to work with Dynatrace getting their unbreakable pipeline working with VSTS and Azure. The concept is like this:  Use Dynatrace to monitor your environments and protect your pipeline with the monitoring.  With Dynatrace you can define exactly what you want to monitor as well as the thresholds for what you are … [Read more…]

Posted in: Code Tagged: #RubDevOpsOnIt, #TheRockstar, Azure Function, devops, Exception, Release Gates, vsts

Containers, Kubernetes and DevOps for an Old as Dirt Developer (Or DevOps Nirvana with Kubernetes), Part 2/6

April 25, 2018 by abel 7 Comments

Table Of Content Part 1: Intro to containers, Kubernetes and DevOps Part 2: Getting started (setting up my dev environment) Part 3: My first app –  .net core, vscode, WSL, containerize and deploy to local k8s AND debug it while running in k8s??? GTFOH Part 4: Deploy to k8s in the cloud (Azure Kubernetes Service … [Read more…]

Posted in: Code Tagged: #RubDevOpsOnIt, #TheRockstar, Containers, devops, Draft, Helm, Kubernetes, LOECDA, Windows

Containers, Kubernetes and DevOps for an Old as Dirt Developer (Or DevOps Nirvana with Kubernetes), Part 1/6

April 14, 2018 by abel 2 Comments

Table Of Content Part 1: Intro to containers, Kubernetes and DevOps Part 2: Getting started (setting up my dev environment) Part 3: My first app –  .net core, vscode, WSL, containerize and deploy to local k8s AND debug it while running in k8s??? GTFOH Part 4: Deploy to k8s in the cloud (Azure Kubernetes Service … [Read more…]

Posted in: Code, Uncategorized Tagged: #RubDevOpsOnIt, #TheRockstar, Containers, Dev, devops, Draft, Helm, Kubernetes, LOECDA, Windows

Mysterious Error Message for Kubectl Apply and Set Task in VSTS

January 27, 2018 by abel 1 Comment

I was trying to set up a VSTS CI/CD pipeline for a .net core web api running in a docker container deployed onto a Kubernetes cluster hosted in Azure AKS. I set up my release tasks like this: Running the release gave me the following error on kubectl apply 2018-01-27T00:31:50.0571239Z ##[error]error: Error loading config file … [Read more…]

Posted in: Code Tagged: cd, ci, CI/CD, Deploy to Kubernetes task, Error loading config file, kubectl, kubectl apply, kubectl set, Kubernetes, vsts

Build and Deploy to multiple IIS servers and SQL Server using VSTS

November 28, 2017 by abel 5 Comments

The League was asked by twitter to show how to build and deploy a web app to multiple on prem IIS Servers and the schema of the database for the web app to an on prem SQL Server. Totally a fair request. All of my demos recently have been using PaaS, Azure SQL and Containers. … [Read more…]

Posted in: Code Tagged: #RubDevOpsOnIt, #TheRockstar, database, Database DevOps, devops, LOECDA, on prem, vsts

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

September 1, 2017 by abel 1 Comment

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.  And clearly, VSTS/TFS and Azure are the … [Read more…]

Posted in: Code Tagged: Azure, cd, ci, continuous deliver, continuous integration, dev ops, dev ops nirvana, video, vsts, walkthrough

How do I add an Azure service connection to my VSTS account?

September 1, 2017 by abel Leave a Comment

I was creating a new demo for an upcoming event and needed a clean VSTS account,  so I started completely from scratch and created a brand new VSTS account. Next, I added my source code, created my build and started creating my release.  The first thing I wanted to do was use the Azure App … [Read more…]

Posted in: Code Tagged: Azure Service Connection, devops, LOECDA, vsts

warning MSB3884: Could not find rule set file

August 3, 2017 by abel 1 Comment

I keep forgetting to fix my style cop warnings (mainly the using statements need to be in alphabetical order and trailing whitespace at the end of the line) and @DonovanBrown finally got sick of it and told me to turn our Code Analysis warnings into errors. Simple enough.  I flip the switch, fix all my … [Read more…]

Posted in: Code Tagged: #RubDevOpsOnIt, .NET Core, Build Error, Build Warning, ci, continuous integration, Could Not Find Rule Set, devops, MSB3884, StyleCop, Visual Studio Team Services, vsts

Deploying DB’s in your CI/CD pipeline with EF Core Code First

July 31, 2017 by abel 22 Comments

Within the last week, 3 different people have asked me how to deploy their database schemas in their CI/CD pipeline using Entity Framework Core Code First.  I figured that’s a good sign to write a full blog post! When looking at DevOps best practices, my DB schema should be “checked in” to source control right … [Read more…]

Posted in: Code Tagged: Database Migrations, devops, ef, EFCore, Entity Framework, Entity Framework Core, migrations, Release Management, Team Services, Visual Studio Team Services, vsts

DevOps with EF Code-First (Or uh oh, don’t do what I just did)

July 11, 2017 by abel 3 Comments

When writing LoECDA.com, we (#LoECDA) wanted to build the site using modern technologies implementing best DevOps practices.  LoECDA.com is written using asp.net core, running in a Docker container, connected to a SQL Server database, all hosted in Azure with a full DevOps pipeline implemented in VSTS.  Each developer check in can flow into our different … [Read more…]

Posted in: Code Tagged: #RubDevOpsOnIt, C#, context.EnsureCreated(), context.Migrate(), Database DevOps, devops, Entity Framework Code First, LOECDA
1 2 … 4 Next »

Recent Posts

  • How to best use Azure DevOps release pipelines with microservices?
  • The Dynatrace Unbreakable Pipeline in VSTS and Azure? Bam!
  • Trying to write Async Release Gates for VSTS using Azure functions? Read this!
  • Containers, Kubernetes and DevOps for an Old as Dirt Developer (Or DevOps Nirvana with Kubernetes), Part 5/6
  • Containers, Kubernetes and DevOps for an Old as Dirt Developer (Or DevOps Nirvana with Kubernetes), Part 4/6

Recent Comments

  • Eddie Frederick on Trying to write Async Release Gates for VSTS using Azure functions? Read this!
  • Stephen on Deploying DB’s in your CI/CD pipeline with EF Core Code First
  • Praylin Sam on The Dynatrace Unbreakable Pipeline in VSTS and Azure? Bam!
  • Morten Olsson on Containers, Kubernetes and DevOps for an Old as Dirt Developer (Or DevOps Nirvana with Kubernetes), Part 5/6
  • Bal on Containers, Kubernetes and DevOps for an Old as Dirt Developer (Or DevOps Nirvana with Kubernetes), Part 3/6

Archives

  • 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 © 2019 Life According to Abel.

Magazine WordPress Theme by themehall.com