We have multiple web applications on our server farm that share forms authentication. This makes it possible to have a single login page / functionality that can be shared between the applications. In order to allow the encrypted forms authentication cookie to be shared between these applications the web.config needs to be setup in the … Continue reading Problem Sharing ASP.NET Forms Authentication or A Tale of Two Cryptography Cores
Also known as watch the precedence order of your registrations! We have recently begun switching our MVC project to leverage the Areas feature in MVC. This is a big benefit and allows us to organize our application functionally as opposed to by file type. As an example it allows us to put everything about updating … Continue reading ASP.NET MVC – Why doesn’t my area route registration work?
Recently we upgraded an MVC 3 application to MVC4 and wanted to take advantage of the new bundling and minification functionality for our css and js files. There are some great articles on the asp.net site about how to use all of these new features: http://www.asp.net/mvc/tutorials/mvc-4/bundling-and-minification Initially I tested it out on a brand new … Continue reading ASP.NET MVC4 Bundling and Minification: Where did System.Web.Optimization go?
Setting up a Web.Config Transformation without a Solution Configuration or Publish Profile Based on our build and deployment strategy, we only need two different sets of compiler options (Solution Configurations): Debug and Release. Having to create Solution Configurations or Publish Profiles just to allow for XML Web.Config transformations clutters our solution unnecessarily and could prove … Continue reading Using MSBuild and Team City for Deployments (Part 4 of 4): Setting up a Web.Config Transformation without a Solution Configuration or Publish Profile
Transform and Deployment The first build configuration in our team city project built, tested, analyzed, and packaged our application for deployment. It created a set of artifacts that we can use to deploy this version of our application to each of the target environments. Next we need to actually deploy our application. This process requires … Continue reading Using MSBuild and Team City for Deployments (Part 3 of 4): Transform and Deployment
The first step uses MSBuild to do a complete rebuild of the application in release mode (separate pdb symbols and compiler optimizations enabled). Next we run database migrations to prepare our test db environment for database integration testing. Following that the unit tests are run with dynamic analysis by dotcover followed by static code analysis … Continue reading Using MSBuild and Team City for Deployments (Part 2 of 4): Continuous Integration Build and Verify
Introduction We've been using Team City for a while now to deploy our ASP.NET based applications to our development, test, and production environments. Up until recently we had been using a combination of MSBuild, MSDeploy, and various scripting languages for this process. These scripting languages included cmd, powershell, and rake. The scripts would use the … Continue reading Using MSBuild and Team City for Deployments (Part 1 of 4): Introduction