Tfs Octopus Deploy/TFS and Lessons learned Ok, in my previous post I went over why we chose to use Octopus Deploy and TFS as our build and deployment pipeline. Now I'm going to go over some things I've learned while implementing that solution. Those things and the reasons behind them are bolded.
DevOps Octopus, TFS and Blue Green Deployments Ok, so lets start this off with a little background of where we came from and where we wanted to get. Our current environment consisted of a development environment with a single server on the same domain as the deployment server. And a production environment at a 3rd party hosted
DevOps node/npm/gulp/continuous integration Alright, so I have continue integration for my new dotnet core applications. Building works great. It's now time to publish. I'm using gulp on my pre-publish commands to move files, compile typescripts, minify css/javascripts, etc. It works fine for my user after running npm install
Operations Web Based Password Generator Ok, so this is kind of a little thing I did. I wanted a page that would generate a password without anything done on the server side. I wanted it all to be done on the client. I also wanted the ability to exclude certain characters, but yet allow others
Operations WSUS/Server 2012R2 and HTTPS I wanted to switch my WSUS implementation over to https. Because I like https and there is rarely ever a reason not to use it. So, I set up my bindings in IIS and setup my group policy to point to the correct URL. After I got all of my
ASP.Net Custom model validation in ASPNET Core I just wanted to post how to do custom model validation. It took me a few hours and it wasn't posted anywhere yet. So, I wanted to do my own model validation so I can call ModelState.IsValid and get whether the posted model was valid or not.
C-Sharp Plain and simple token authentication in ASP.NET Core 1.x this post is on using JWTBearer authentication and your own custom token based authentication
Programming ASP.NET vNext Custom Authentication Welcome all, here's my delima. I need to be able to implement my own custom Authentication middleware in vNext. I needed to do this because of a requirement where I cannot use cookies. Reason being is that my site will be iFramed into another application. I know, its
C-Sharp VSO Build and File Select/Exclude Hey all, so today I wanted to use the new (finally) feature of pushing nuget packages to nuget feeds inside of Visual Studio Online's build environment. Which is turning out to be really awesome by the way. Anyways, I'm doing a vNext project and it creates
ASP.Net From Nuget.Server to NugetGallery Well, we started running into an issue with Nuget.Server and it was time to migrate to NugetGallery. Mainly, it wouldn't clean itself up (after a few days, there were 10's of gigs of temp files in c:\windows\temp\nuget), and now that we have
ASP.Net ASP 5 vNext WebAPI Abstract/Inherited Classes Good evening everyone, I've been fighting vNext, Web API and abstract classes. I just want to be able to pass an array into my API of a bunch of different types that all inherit a base class. Turns out it's a configuration option as vNext uses
Operations Windows 10 going to sleep to quickly Well, I've had a very annoying issue that I've been fighting. I enabled wake-on-lan on my desktop and had it start going to sleep. This was great. Saves power and I can still remote into it. I installed the wake on lan tools on a linux
Operations Wake-on-lan, windows 10 and Linux Well, after having wake-on-lan running and working great (other than the stupid sleeping after a couple minutes issue) I decided I would do a quick post on how I got it working and my setup, it was actually very easy once I found the right package. First, my overall setup.
Windows 10 Windows 10 - .NET 3.5 Ok, so here's the overall situation 1. Fresh Windows 10 Install 2. Installed IIS attempting to include .net 3.5 in this install - it failed pulling the package from Windows Update due to my WSUS server. 1_ Skipped the .net 3.5 and installed everything. IIS, .net
TypeScript Upgrading to the latest TypeScript from source Hi, my little exercise was to update TypeScript in VS2015 to the latest from the master branch in git, I wanted abstract classes. It's really not that hard, just not very much documentation on it. In this guide, you will want to replace "c:\development\" with
Raspberry Pi Raspberry Pi 2 Cross Compile kernel on Ubuntu Since a step by step guide for cross compiling a kernel and installing it on the pi2 is pretty much non-existent, here is my guide. Ok, first step, install Ubuntu. You will need to be able to mount the SD card for the Pi, so doing it in HyperV isn&
Programming Team City, MSBuild, MSDeploy, Web Deploy, NTLM and aspnet_client Ok, more on Team City and build/deploy stuff. In my previous blog post, I showed how to run team city as a domain user account. One of the reasons was for web deploy to not store the username/password in the configuration. There's another gotcha with web
Operations Teamcity HTTPS running under a service account Run Team City under a service account and force https
Java Java bites again - Cisco ASDM So, this was annoying. My Cisco ASDM is version 1.5(68). It works on my desktop, but not my brand new vm. I would continuously get the Unable to Launch Device Manager from <ip address or hostname> error. Very annoying. Both Java version 1.7.0. But!
C-Sharp Certificate information and Fiddler So, one of my biggest gripes with fiddler is not being able to see what the original ssl cert the server was spitting out was. If you decrypt the ssl traffic, fiddler acts like a man-in-the middle and replaces the server certificate with it's own so it can
C-Sharp Enhanced security in web sites (headers) Hey all, so, just got back from a pretty good "Secure Coding" conference from SANS. Learned a lot of stuff. Including some simple countermeasure you can implement on you site. Not all browsers support them, but, with them, it helps prevent Cross Site Scripting. I have create a
Mac Armada 2 on VMWare Fusion Good (whatever time of day it is where you are at), I just got a Mac Book Pro, and it was decided to use VMWare Fusion for the virtualization. Well, I wanted to be able to play armada2 on it, one of my favorite games. It requires Windows XP (unfortunately)
JavaScript IE8 and checking to see if an element is being hovered Hey there, last night I needed to figure out why a jquery selector wasn't working in IE8. :hover. Turns out IE8 doesn't support the hover css selector. Lame. Unfortunately I still have to support IE8, its a good portion of the users of my site. So,
Operations Install MS-DOS 6.22 from upgrade disks OK, this was really dumb, but I wanted to install DOS, and only had access to the upgrade disks. Lame. I got the MS-DOS 6.22 floppies from my MSDN (yes it's still there). But, MSDN only has the upgrade disks. No install disks. The 6.0 version
C-Sharp Create content type in Umbraco Hi, this is one of my first posts on programming in Umbraco. And it's about programatically creating a content type and assigning the available child content types. It's actually pretty easy once you spend a day digging through code, so I figured I would share my