Sunday, August 28, 2011

App_Browsers fix for .Net 2.0 and .Net 4.0

If you have not yet verified your ASP.Net website for compatibility with the latest versions of several browsers including Firefox 5 or Firefox 6 (and perhaps even Internet Explorer 10), you may want to do so now.

As it turns out, there is a defect in both the .Net 2.0 and .Net 4.0 Framework which does not support the latest releases of these browsers in their current browser definitions.

Fortunately, Microsoft has released a fix in the form of NuGet Packages that you can apply to your website now to remedy the situation.

You can read more about the issue here: http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsUndefinedJavaScriptErrorOrMaintainFF5ScrollbarPosition.aspx

Wednesday, August 24, 2011

Useful Team Foundation Server Tools

Now that Team Foundation Server 2010 has increased in popularity, there have been a number of newly released tools to support common tasks within Team Foundation Server.  Some of the free tools available from Microsoft are the following:

  1. Team Foundation Server Power Tools: http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f
  2. Team Foundation Server MSSCCI Provider 2010: http://visualstudiogallery.msdn.microsoft.com/bce06506-be38-47a1-9f29-d3937d3d88d6
  3. Team Foundation Server Build Extensions Power Tool: http://visualstudiogallery.msdn.microsoft.com/2d7c8577-54b8-47ce-82a5-8649f579dcb6
  4. Microsoft Team Foundation Server 2010 MOSS Configuration Tool: http://visualstudiogallery.msdn.microsoft.com/db469790-5e3e-42f3-906e-411a73795a1b?SRC=Featured
  5. Versioned TFS 2010 Build: http://visualstudiogallery.msdn.microsoft.com/282ce3b4-93da-47ef-aca9-4aee41172e7a
  6. TFS Auto Shelve: http://visualstudiogallery.msdn.microsoft.com/080540cb-e35f-4651-b71c-86c73e4a633d
  7. TFS Rollback User Interface: http://visualstudiogallery.msdn.microsoft.com/2f3bb953-69d2-4419-8203-12868bea49a9
  8. Team Foundation Server Integration Tools: http://visualstudiogallery.msdn.microsoft.com/f854dd59-8eeb-4673-8d9a-ae012989bfa2

Slipstreaming updates and service packs into SharePoint 2010

Now that Service Pack 1 for SharePoint 2010 has been released, you are probably anxious to be able to install a "fresh" installation of SharePoint 2010 with SP1 so that you can avoid the installation hassle of first installing the RTM release and then subsequently installing SP1 and any other cumulative updates.

Fortunately, there is a relatively easy method to be able to slipstream SP1 and other cumulative updates into SharePoint Server which closely follows the Updates method followed by Office 2010.

You can read more about the process of slipstreaming updates into SharePoint 2010 here:
http://blogs.msdn.com/b/ronalg/archive/2011/07/11/slipstream-sharepoint-2010-sp1-and-language-packs-w-sp1-into-rtm.aspx

SelfSTS Tool

If you have used the Windows Identity Foundation SDK, you have probably seen how easy it is to develop an STS project from within Visual Studio.

However, if you want to set up an STS rather easily and you do not have Visual Studio readily available, the SelfSTS tool makes it rather quick and simple to create an STS for your ASP.Net or SharePoint application.

You can download the SelfSTS tool from here: http://archive.msdn.microsoft.com/SelfSTS

Sunday, August 21, 2011

Creating an ERD Commander Bootable CD/DVD

If you have ever been locked out of your computer and you need to get back into your system, you will need a tool such as LockSmith.

Fortunately, that tool ships with the Microsoft Desktop Optimization Pack.  If you are a Microsoft Partner or Volume License customer, you should have access to download this through your MSDN Subscription Downloads.

Once you have downloaded and installed the latest version of the Microsoft Desktop Optimization Pack, you will need to proceed with installing it.


  1. To get the functionality to create the ERD Commander media, you will need to install the Diagnostics and Recovery Toolset
  2. Select the appropriate platform for the Diagnostics and Recovery Toolset that you wish to recover such as Windows XP, Windows Vista/Windows Server 2008 and Windows 7/Windows Server 2008 R2.  In addition, you will have to choose which processor specific platform you wish to utilize such as 32-bit or 64-bit.
  3. Once you have installed the Diagnostics and Recovery Toolset, you will get a Programs menu option for ERD Commander Boot Media Wizard
  4. Once you select that option, you will be prompted for a copy of the appropriate platform media.
  5. Once you enter the path to the appropriate media, it will begin extracting the files to create the boot media.
  6. On the following screen, it will ask for the program features that you wish to include in the bootable media.  
  7. If you include the Crash Analyzer, you will additionally be prompted for the location of the Debugging Tools for Windows which can be obtained from the Windows SDK.  The home page for the Debugging Tools for Windows can be found here: http://msdn.microsoft.com/en-us/windows/hardware/gg463009
  8. If you do not wish to include the Crash Analyzer (for example, you are just using the LockSmith functionality), you can remove it and you will not be prompted for the location of the Debugging Tools for Windows.
  9. It will then proceed to create the bootable media.
  10. Once the bootable media is created, it will prompt for a location to store the ISO image.
  11. Once the ISO image has been created, it will also provide you with the option to burn the ISO image to either CD or DVD media.
  12. If you simply need to use the ERD Commander Boot Media for a virtual machine, you can skip this step.
  13. After you Finish the wizard, the temporary files will be removed and you will be left with your ERD Commander Bootable media that you can then use for booting the target system!

Friday, August 19, 2011

Building a SharePoint 2010 Development Virtual Machine

If you are planning on installing SharePoint 2010 on a Virtual Machine to be used for development, you will want to install numerous things inside of the Virtual Machine in order to be able to utilize all of the various features and functionality within the SharePoint environment.

Below I have provided a checklist of the items you will want to install within this development virtual machine:
  1. Windows Server 2008 R2 with SP1
  2. SharePoint 2010 Enterprise Edition with SP1
  3. SQL Server 2008 SP2
  4. SQL Server 2008 R2 Management Tools
  5. Office 2010 x64 with SP1 (include InfoPath Visual Studio for Applications)
  6. SharePoint Designer x64 with SP1
  7. Visual Studio 2010 Ultimate with SP1
  8. Windows Identity Foundation SDK v. 4.0
  9. Visual Studio 2010 SharePoint Power Tools
  10. LINQ to SharePoint DSL Extension for VS2010
  11. SpDisposeCheck - VS Addin for validating Sharepoint 2007/2010 dispose objects
  12. FxCop-Code Quality scanning tool
  13. Microsoft Pex and Moles-tool for creating Mock libraries (similar to Moq, NMocks, RhinoMocks etc.)

Wednesday, August 17, 2011

Submitting suggestions for Microsoft Visual Studio

Microsoft recently modified their http://connect.microsoft.com website to provide a separate forum for making suggestions and providing feedback on feature sets for Visual Studio.

The new website is called Visual Studio UserVoice.  You can check it out here: http://visualstudio.uservoice.com/forums/121579-visual-studio