Taming TFS - Strong naming assemblies

Today we’re going to look at another build script adjustment – strong naming assemblies. The scenario we are aiming for is that during development, the assemblies are not signed (so developers don’t need to have the a certificate file - a little bit more on that later), but during a build on the build server they are. This can be handled by providing additional parameters to ms…

By on (tags: tfs, categories: infrastructure)

Taming TFS - Assembly versioning

The assembly version is a number in the form of <Major>.<Minor>.<Build>.<Revision>. What value the placeholders are assigned to is totally up to you, we chose to set the first three numbers manually and set the last one to the change set that the source was built from. At the same time, I didn’t want to limit the options, so by examining the “Build Numbe…

By on (tags: tfs, categories: infrastructure)

TrueCrypt whole disk encryption step by step

Although TrueCrypt has a rich documentation (available here) I could not find any quick step by step tutorial on how to easily encrypt whole system. So this was the reason for this screenshot-based beginner’s tutorial.  Every confusing topic and phrase is well documented in TrueCrypt documentation so I will limit the comments to the very minimum. Before you start installin…

By Mirek on (tags: disk encryption, TrueCrypt, categories: infrastructure, security)

Displaying hierarchical data in WPF and ASP.Net MVC

Let assume we have following self referencing table of people Each row represents the person and contains self unique identifier, name, last name and the Id of the parent or null if person has no parent. Now we would like to display the list of persons as a hierarchical tree showing the relationships between each person. Let create the Person model that will represent one perso…

By Mirek on (tags: ASP.NET MVC, hierarchical data, Self referencing tables, WPF, categories: code)

Taming TFS – Default build template

The default build template in tfs is good enough for starters, but what if you want more? Thankfully tfs is flexible enough to customize the build process with anything you want, so let’s get to it! The plan What do we want form our build server? Well, a couple of things Continuous Integration – build after each commit Automatic assembly versioning Strong naming assemblies Digi…

By on (tags: tfs, categories: infrastructure)

Taming TFS – The big picture

This is the second post from Taming TFS series. What I’d like to do here, is to give the big picture on how tfs operates, what it utilizes and how to use that. If you’re already familiar with the basics, you can skip this post, if not, then consider yourself invited to read on. There is one thing I need to clarify at the beginning. By “TFS” I will be mostly referring to the Tea…

By on (tags: tfs, categories: infrastructure)

Default route with areas in asp.net MVC

I stumbled upon a problem when trying to set up a default route for an asp.net mvc3 application. The routing mechanism itself is pretty straightforward, so I didn’t really expect any problems here, but as it turned out I was wrong. Here’s the stripped down version of the problem: Create a default mvc application – you’ll get the HomeController along with two actions there. Now …

By on (tags: area, mvc, route, categories: web)

Taming TFS

TFS is a useful tool but making it work just the way you want may not be as straightforward as expected. This series of blog posts will describe the journey I went through to adjust tfs to our needs. I’ll focus mainly on adjusting the default build template to include things like automatic deployment of web and click once applications. I’ll also write about activities that need…

By on (tags: tfs, categories: infrastructure)

Application communication ways – WCF Data Services with EF Code First, WPF and WP7

Let’s assume there is an application database and the various client applications developed in Windows Presentation Foundation, Silverlight, Windows Phone 7 and ASP.NET MVC 3. The database is either MS SQL Server or MS SQL Server CE. Now the potential customer may use one or many of these applications/platforms so the connections to the database must be performed from all of th…

By Mirek on (tags: OData, WCF, WP7, categories: architecture, infrastructure)

Forms authentication for all

Earlier I wrote about the problems of a common authentication approach. Today, I’m going to do a quick demonstration how to set up forms authentication to secure a web app with an oData service and how to use forms authentication to connect to the service from a wpf client. asp.net mvc Setting up forms authentication for this one is pretty easy – File –> New Project –> as…

By on (tags: authentication, categories: code)