On WCF Performance

Most introductory WCF materials show you how to mark complex data types as serializable. But there are few materials that show how to optimize communication of complex WCF data structures. In this post, I’ll review a couple of issues related to efficiently communicating complex types in WCF.

Posted in .Net, WCF | Leave a comment

My Site Custom Quota Template Not Applying

A SharePoint 2010 Quick Tip: The My Site web app is hardcoded to only use the “Personal Site” quota template. So, if you try to create a custom template and apply that – think again. The template will not be applied and thus newly created My Sites will have unlimited storage.

Posted in SharePoint 2010 | Leave a comment

Sitecore Quick Tips – Device Fallback

I needed a print version of a page that was different enough to make using CSS print styles impractical, so I decided to use the Print device in Sitecore. I setup the Print device to detect the query string “p=1″, then setup the layout for the Print device.

Posted in Development, Sitecore | Leave a comment

Preventing Cross-Site Links in Sitecore

I have multiple sites setup in one Sitecore instance; and host names are used in the web.config “sites” section to manage this:

<site name=”site1″ hostName=”www.site1.com” rootPath=”/sitecore/content/site1″ … >
<site name=”site2″ hostName=”www.site2.com” rootPath=”/sitecore/content/site2″ … >

Posted in ASP.NET, Development, Sitecore | Leave a comment

Reset Customized List Forms from InfoPath back to Default

If you have a SharePoint 2010 List Form that you have customized using InfoPath and for whatever reason need to revert back to the default forms, then follow this simple process below:

Posted in Uncategorized | Leave a comment

Enable Office Web Apps across Site Collections using PowerShell

So you have installed and configured the amazing Office Web Apps for SharePoint 2010. You are now at the step of activating it for your users. Perform this quick tip to use PowerShell to activate the feature across all of your site collections within a given web application.

Posted in PowerShell, SharePoint 2010 | Tagged , | 1 Comment

Overloading vs. Optional Parameters

I recently needed to add a new parameter to an existing method, and I didn’t want to update or break any existing code.  Normally, I just make an overloaded method, but this time I decided to use a relatively new feature in C#, optional parameters.  In my case, this turned out to be a mistake.

Posted in .Net | Leave a comment

Creating a Database Backup and Restoring it in Code

When running regression tests many times you have to rely on very specific bits of data to be present in your database for the correct results to come out reliably.  This can typically be handled by a few simple inserts and deletes to massage the data that you need.  Other times there is just too much data to handle in that way.  So you need to just start from scratch and re-create your database.

Posted in .Net, ASP.NET, SQL | Tagged , , | Leave a comment

Hey Virginia! Have You Heard About SHARE: The SharePoint Conference for Business Users?

If you are in the SharePoint community and follow me at all (@sharepointmom), you know that I am VERY passionate about our SharePoint community.  Not just our local community but the global SharePoint community.  The main thing missing since I started my journey has been end user resources!  To think that an entire conference could be dedicated to business end users would have been a laughing matter a couple of years ago.  Thankfully, the business is being heard!  SHARE to the rescue!

Posted in Community | 3 Comments

Microsoft Script Explorer for Windows PowerShell Review

Recently Microsoft released the Microsoft Script Explorer for Windows PowerShell. Being that I dabble in PowerShell for SharePoint, this certainly got my interest. After what was a very quick installation, I launched the Script Explorer and was presented with a nice clean interface:

Posted in PowerShell | Tagged | 1 Comment