10 pretty useful git commands

Add existing local git to Github git remote add origin   # Sets the new remote git remote git remote –v # Verifies the new remove URL git push origin master # Pushes the changes from your local repo to github (from https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ ) Remove a file from the watchful eyes of git Add the file… More 10 pretty useful git commands

Setting up a Windows 2008 server (in Rackspace cloud)

The following is a quick check list for setting up Windows server 2008 and IIS7 for deploying websites. The sites in question will be hosted on Rackspace cloud but the steps could apply to any windows server 2008 box. It’s mainly for my own sanity should I have to re-create the build at any point.… More Setting up a Windows 2008 server (in Rackspace cloud)

MVC – Getting User Roles From Multiple Sources (register and resolve arrays of dependencis using the fluent api)

(This post also appear in our team blog DotScrapBook) In the last post I talked about encapsulating the authorisation and user credentials (i.e IPrincipal) logic in a separate, re-usable DLL (known as AuthServices). Part 1 of that post discussed the DLL contents in detail. Part 2 focused upon using that DLL in an MVC application.… More MVC – Getting User Roles From Multiple Sources (register and resolve arrays of dependencis using the fluent api)

Creating a resusable Authorisation/ User Principal library for MVC projects

Having been using SharpArchitecture/ MVC for a number of recent projects, I’ve finally made the effort to extract some common service features into a separate reusable project (with unit tests of course!). This is very much inkeeping with DRY principles and should shorten the time to (re)-implement common processes in new projects. The project –… More Creating a resusable Authorisation/ User Principal library for MVC projects