Continuous Deployment - Remote execution of PowerShell scripts from your build process

Door: Prajeesh Prathap,  29-09-2014
Onderwerp: CD  PowerShell  TFS  architecture  

Including Windows PowerShell script as part of your build and deployment process, brings you the flexibility of easily and effectively customize your packaging and deployment process. With the proper combination of environment configuration files (XML) and PowerShell scripts you can achieve the impossible. This post will show you how to run Windows PowerShell scripts remotely from a TFS build process.


Using CredSSP for second-hop remoting
One common issue with PowerShell remoting is the “double hop” problem. When the scripts are executed remotely on a Server A and then it tries to connect from Server A to Server B, the second connection fails to send the credentials to that server. As a result the second server fails to authenticate the request and rejects the connection. To get around this issue you need to use the CredSSP authentication mechanism in PowerShell.

The Backlog Prioritisation Quadrant

Door: Barry Overeem ,  29-09-2014
Onderwerp: Backlog Prioritisation  
One of the main responsibilities of the Product Owner is managing the product backlog. It's a team effort to refine the backlog, but the Product Owner is the one responsible for prioritising the backlog. This is a challenging job. Product Owners who are new in their role think the backlog only contains user stories for new features. But they soon find out this is only a part of the backlog. But what are the other parts? And how to find the right balance between them? This is where the 'backlog prioritisation quadrant' shows its value.

CD tips - Create a custom activity to execute PowerShell scripts in the TFS build process

Door: Prajeesh Prathap,  24-09-2014
Onderwerp: Continous Delivery  PowerShell  CD  TFS  

PowerShell is a powerful scripting language which can be used to customize the behavior of your package deployments. With PowerShell you can add powerful scripting to your build to for example execute a deployment process.
With TFS 2013 hooking up a PowerShell script in the build process is provided out of the box. There are pre- and post-build as well as pre- and post-test hooks. These make customizing build a whole lot easier.

Using the SPImport events to control SharePoint content import process

Door: Prajeesh Prathap,  18-09-2014
Onderwerp: SharePoint  PowerShell  SPImport  

The SPImport class in the Microsoft.SharePoint.Deployment namespace participates with other classes in the Deployment namespace to support importing, publishing, and migrating Windows SharePoint content, as well as supporting restore capabilities of content.

You can initiate an import operation by first initializing an instance of the Microsoft.SharePoint.Deployment.SPImportSettings class with the required import settings, and then passing the SPImportSettings object to the constructor of SPImport class; you then call the SPImport.Run method. The SPImport type exposes events that can be used to control the process of import. You can utilize the event model in PowerShell to register the events and then make use of this information to control the complete process of importing and exporting SharePoint content. Below is the PowerShell snippet to use the Error event and use the data to fail the execution process after an Import is performed.

Exporting and importing content types using PowerShell

Door: Prajeesh Prathap,  18-09-2014
Onderwerp: SharePoint  PowerShell  

SharePoint stores the definition schema of content types in an XML file that creates a content type in the element manifest file of a Feature. You can use the information present in the SchemaXML of a content type to migrate it between site collections using PowerShell.

Recruitment: Zakelijk Tinderen

Ilse Goedman Door: Ilse Goedman,  03-09-2014
Onderwerp: Recruitment  Zakelijk Tinderen  
In september 2012 is de datingsapp Tinder gelanceerd. Deze applicatie gebruikt basisgegevens uit Facebookprofielen, zoals interesses, gemeenschappelijke connecties en geografische locaties, om mensen aan elkaar te koppelen. Gebruikers krijgen een foto te zien en kiezen ervoor om deze ‘weg te swipen’ of te ‘liken’. Als twee gebruikers elkaar liken ontstaat er een zogenaamde ‘match’. Op zo’n moment introduceert Tinder de gebruikers aan elkaar en opent een chat. Dit lijkt misschien oppervlakkig, maar is desalniettemin heel erg van deze tijd. De app is leuk, makkelijk, verrassend, snel en blijft steeds met nieuwe potentiele ‘kandidaten’ komen. Het is dan ook niet gek dat direct na de lancering het aantal gebruikers in razend tempo is gestegen. Momenteel maken er dagelijks zo’n 5,4 miljoen mensen gebruik van de applicatie.

Continuous Delivery – Patterns for zero downtime requirements (ARR setup)

Door: Prajeesh Prathap,  17-08-2014
Onderwerp: Continuous delivery  CD  zero downtime deployment  agile  architecture  

Microsoft Application Request Routing (ARR) is a proxy-based routing module that forwards HTTP requests to application servers based on HTTP headers, server variables, and load balance algorithms. With ARR you can increase application availability and scalability by better utilization of content server resources with lower management cost by creating opportunities for shared hosting environments.

Scrum Webshop