Archive for the ‘Katas’ Category

SharePoint Admin Kata 1 – Add FBA

Yesterday we had a developer Kata, so today I thought I’d kick off with one for the administrators. In this Kata, start with (or create) a site collection running with regular Windows authentication, then we’ll go ahead and add a Forms-Based Authentication zone. This will gives us practice in FBA, Alternate Access Mappings (AAMs) and Zones.

One note – for these administration Katas you’ll be working with a running instance of SharePoint. PLEASE don’t do these exercises on your live installation ;->

Here are the steps:

  1. Set up the Forms Based Authentication infrastructure (database, config changes, etc.)
  2. Extend the web application to a new URL (http://Intranet.MyCompany.Com)
  3. Configure the new web application’s security zone to use the FBA settings
  4. Create a hosts file entry on the machine to point to the new site, and test on the server
  5. Repeat step 4, this time on your workstation

If you haven’t worked with FBA before, here’s a video on How Do I: Add Forms-Based to an existing Windows Authentication Site?

 

SharePoint Dev Kata 1 – Add a Contacts List

And now for the first Kata! It’s a developer one, to kick us off. In this Kata, we’re going to look at a few different ways to do the same thing. It’s just a simple one to get us into the swing of things, and compare how the approaches differ. The goal is to create a Contact list using out of box template.

Here are the steps:

  1. Create a new Contacts List using the UI. Call it “Contacts UI”.
  2. Don’t put it on the quick launch
  3. Add a new field called “Extra Email Address”
  4. Add a new contact
  5. Repeat the steps, this time with a Feature. Call the list “Contacts Feature”
  6. Repeat the steps, this time via the API (write a Visual Studio Test project, or whatever your favorite testing framework is). Call the list “Contacts API”
  7. Repeat the steps, this time via the Web Services. Call the list “Contacts WebService”

The goals of the Kata are to get familiar with the different approaches and APIs and to compare and contrast them. Consider the benefits and drawbacks of each one. Also, give some comments on this page.