NOVA Code Camp 2013: Slides and Code

Click the image for the PowerPoint.
Feature1.EventReceiver.cs
EventReceiver1.cs
Here is the link to a previously recorded version of this presentation: click me.

Click the image for the PowerPoint.
Feature1.EventReceiver.cs
EventReceiver1.cs
Here is the link to a previously recorded version of this presentation: click me.
My favorite SharePoint 2010 trick is how to deal with the out of the box functionality of the global and left navigation links. As many frustrated SharePoint 2010 users have experienced, the functionality shown in the below image is annoying and not easily fixable. The image on the left shows what happens when you right click on the global navigation and the image on the right shows what happens when you right click on the left navigation. Clearly this is not the expected menu which appears.
After much research I have come up with an easy trick to deal with this. I have also discovered the underlying issue and will post the details below in the hopes that a permanent fix can be found. If you take careful note of the position of the (enlarged) cursor, you’ll see that it is positioned to the left of the link I want to open. By clicking slightly to the left (or right) of the link that you want to open, you will get the correct link menu!
So why does this issue happen and why does this solution work? I believe the root of the issue is a design conflict between SharePoint 2010 and Internet Explorer. Utilizing Internet Explorer’s “F12 Developer Tools”, you can see that the text of the link is contained by not one but two span tags. I think it has something to do with this but I am currently unable to confirm. If anyone has any insight into this issue, please let me know!
I realize I am way late to this party but I finally got around to reading (actually listening to) The Hunger Games by Suzanne Collins. By now most people are already aware of the plot due to the book’s success and the release of a movie staring now Oscar winner Jennifer Lawrence. I will say that I really enjoyed the book and will most likely listen to the following two books in the series. In case you have no idea what it is about, here is the description from Amazon.com:
“In the ruins of a place once known as North America lies the nation of Panem, a shining Capitol surrounded by twelve outlying districts. Long ago the districts waged war on the Capitol and were defeated. As part of the surrender terms, each district agreed to send one boy and one girl to appear in an annual televised event called, “The Hunger Games,” a fight to the death on live TV. Sixteen-year-old Katniss Everdeen, who lives alone with her mother and younger sister, regards it as a death sentence when she is forced to represent her district in the Games. The terrain, rules, and level of audience participation may change but one thing is constant: kill or be killed.” – Amazon.com
Scenario: You are running a SharePoint 2010 Farm patched to Service Pack 1 (SP1). You install a Trusted Identity Provider (TIP) but the Provider and Claims do not show up in the People Picker. Installation went fine and you can authenticate with a user who’s claims have been issued by the TIP; however, you cannot find users or claims via the People Picker. It is not known when this issue started showing up prior to SP1, because it appears to have worked after RTM; I can only confirm (from both talking to other SharePoint experts and repeated testing) it is definitely an SP1 issue.
Solution: Install a SharePoint 2010 Cumulative Update (CU) on top of SP1. In my specific instance SP1 was rolled into the SharePoint 2010 installation ISO but no CUs were installed after. I have solved my issue by installing either the June 2012 CU or the December 2012 CU. Detailed results below.
Thank you to Danny Jessee (@dannyjessee) for helping diagnose and solve this issue.
Image 1: Central Admin screen shot showing patch level. 14.0.6029.1000 is Service Pack 1 (SP1). Note: It was bundled in the installation ISO and not all running services are shown.
Image 2: Web Application Authentication Selection page in Central Admin. No Trusted Identity Providers are currently defined.
Image 3: Created a custom Win Form to register my custom Security Token Service. Based on this Microsoft article and this blog from Liam Cleary.
Image 4: I ran through both previous articles and registered my STS using both Powershell and a custom Win Form. In both cases I still had to manually upload my certificate even though it should have been done automatically via code or script.
Image 5: Now my custom TIP is registered with SharePoint and I have selected it for my Claims Based Web Application.
Image 6: SharePoint 2010 Sign In Selection Options. I chose STSWebSiteForSharePoint.
Image 7: I am now authenticated via my custom TIP and STS.
Image 8: Finally the issue appears. Note the absence of users and claims from the TIP. Also note that the user which I am logged in as does not show in the results.
Image 9: I have now installed the SharePoint 2010 December 2012 Cumulative Update.
Image 10: SharePoint People Picker working correctly!
I don’t even know where to begin when describing this book. It is captivating, infinitely complex, and interesting. When I was reading it, it was completely absorbing; and when I finished, everything I thought I understood changed.
Chronic City by Jonathan Lethem is a fantastic piece of pure fiction. From Amazon.com: “Chase Insteadman, former child television star, has a new role in life—permanent guest on the Upper East Side dinner party circuit, where he is consigned to talk about his astronaut fiancée, Janice Trumbull, who is trapped on a circling Space Station. A chance encounter collides Chase with Perkus Tooth, a wily pop culture guru with a vicious conspiratorial streak and the best marijuana in town. Despite their disparate backgrounds and trajectories Chase and Perkus discover they have a lot in common, including a cast of friends from all walks of life in Manhattan. Together and separately they attempt to define the indefinable, and enter into a quest for the most elusive of things: truth and authenticity in a city where everything has a price.”
Absolute Monarchs by John Julius Norwich is a fascinating book about the history and intrigue of the Catholic papacy. From the beginning until current day, this book chronicles and highlights all notable, famous, and infamous popes. This book sheds a new light on the history of Europe and the evolution of Catholicism. Though incredibly interesting, I can imagine that reading this book would not be as enjoyable as listening to the self-narrated audio book. It is simply massive and not casual reading friendly. As an audio book; however, it was well paced and well read. I recommend this book for Catholics and history buffs.