VSLive Anaheim 2017: ASP.NET & ASP.NET Core Security

Posted · Add Comment

I spoke at VSLive Anaheim 2017 this week.  As promised, here are my slides and code from the ASP.NET & ASP.NET Core Security talk. Role-Based Security Stinks: How to Implement Better Authorization in ASP.NET & WebAPI In .NET, if your user permissions are simple, you’re in luck.  Access the IPrincipal for the current user, call […]

TFS Build / Release Configuration Utilities: Edit app.config, web.config, appsettings.json, and XML

Posted · Add Comment

When you’re working automated builds and automated releases, you frequently need to edit configuration files like app.config, web.config, and appsettings.json. Well, I wrote a command line utility to do this and I figured I’d share.  I’ve got a version that is an .exe that can be used on a Windows build agent and I’ve got a version that’s written […]

Edit a Connection String from a TFS vNext Build

Posted · Add Comment

In my last post, I talked about how to create an ASP.NET Web Application that’s easy to deploy from your Team Foundation Server vNext Build (TFS Build vNext).  Well, part of the pain of deploying an ASP.NET Web Application (ASP.NET MVC or ASP.NET Web Forms) from a build is dealing with database connection strings.  So […]

An ASP.NET MVC Site That’s Easy to Deploy from a TFS Build

Posted · 5 Comments

By this point, you’ve probably heard that Team Foundation Server 2015 has a completely new build system.  As part of it, it organizese and compiles the code slightly differently than the old XAML-based TFS Build system.  First off, when you run a vNext build on a build server, you got four folders: a, b, s, and […]

VSLive Austin 2016: ASP.NET MVC / Core Security Slides & Code

Posted · Add Comment

I spoke at VSLive Austin 2016 last week.  As promised, here are the slides & code samples from my ASP.NET MVC / ASP.NET Core Security Authorization Talk.   Role-Based Security Stinks: How to Implement Better Authorization in ASP.NET & WebAPI In .NET, if your user permissions are simple, you’re in luck. Access the IPrincipal for the […]

VSLive Austin 2016: DevOps / Feature Flags Slides & Code

Posted · Add Comment

I spoke at VSLive Austin 2016 last week.  As promised, here are the slides & code samples from my DevOps / Feature Flags talk. Get Good at DevOps: Feature Flag Deployments with ASP.NET, WebAPI, & JavaScript Want to get good at DevOps but deployments are getting you down? Is the code integration process just plain driving […]

Utilities for debugging Bootstrap with and without ASP.NET MVC

Posted · Add Comment

I was running into a problem while trying to get a Bootstrap form to lay out properly.  My problem was that the text of labels was getting rendered under textboxes.  As I was playing with various Bootstrap styles on my DIVs – for example, ‘col-md-5’, ‘col-sm-5’, ‘col-sm-offset-1’, etc – it quickly became clear that I […]