Visual Studio 2011 and .NET Framework 4.5 developer preview

The BUILD conference has concluded in Anaheim, California. During the conference Visual Studio 2011 and .NET Framework 4.5 developer preview were announced. Following are some details on it. Visual Studio 2011 developer preview Features – Develop Metro style Apps for Windows 8
– Enhancements for Game Development
– Code Clone Analysis
– Code Review Workflow Download and more information http://msdn.microsoft.com/en-us/vstudio/hh127353 .NET Framework 4.5 developer preview Features – State machine support in Windows Workflow
– Improved support for SQL Server and Windows Azure in ADO.NET
– ASP.NET has increased investments in HTML5, CSS3, device detection, page optimization, as well as new functionality with MVC4 Download and more information http://msdn.microsoft.com/en-us/netframework/hh403373

MSDN Forum Assistant – Assistance at your desktop

As a developer, are you continuously looking for technical support resources? Frustrated with program crashes? Or struggling to meet your customers expectation? The new MSDN Forum Assistant reduces your efforts of logging in and directs you to the MSDN forum with instant updates, forum FAQs, MSDN priority support queues, and much more! It is like having an expert right on your desktop.

MSDN Forum Assistant

Download link: http://gallery.live.com/liveItemDetail.aspx?li=822a3787-89e8-4c6d-8fc4-a413437d86e9
The MSDN Forum Assistant features the function of directly asking questions in the forum. The MSDN Forum Assistant delivers post updates directly to your desktop; no need to refresh IE.  “Thread updates”  is definitely the right place to keep on track. You can type your key words in MSDN assistant to search MSDN official Forum directly for related posts. No matter if you are a beginner trying to master basic knowledge, or an experienced developer who still wants to learn more , “Forum Q & A” can get you the hottest questions by Microsoft engineers.

msdn forum assistant microsoft
Microsoft Showcase

Developers’ frequently asked programming tasks in the MSDN forums are the source of Microsoft All-In-One Code Framework sample topics.

Windows 8 – Developer Preview

Microsoft has unveiled the “Windows 8 – Developer Preview” today at the BUILD conference at Anaheim, California. The best thing is that Microsoft will be making the the Windows 8 developer preview available later today. Note:

  • This is a developer preview, not a beta, and will require a clean install.
  • The downloads will come in both 32bit(x86) 64 bit(x64) versions without developer tools and also a 64bit version with developer tools.

Mask SharePoint User Details inside a SharePoint list/library

Working for a recent client there was a need to “mask” user information from a Sharepoint list. The list was intended to store user grievances and complaints and the client did not want to store the information of the user entering the information. It was required to keep the information completely anonymous.
So, I found that the following property of a SPList could be the right thing to do in this case
SPList.ShowUser
The default behaviour of SharePoint is to store the user information like shown below

List Without Mask
Without Mask

So, now run the following PowerShell command and see the difference

$web=Get-SPWeb "http://sharepointurl"
$list=$web.Lists["Employee Grievances"]
$list.ShowUser=$false
$list.Update() 
List With Mask
With Mask

So, there you go. Happy SharePoint”ing”

Installing SharePoint 2010 SP1 and June CU

It is recommend to first apply SP1 to your SharePoint environment because it resets the baseline for your entire SharePoint environment, and prepares your environment for future releases such as the June CU. The recommended order in which you should apply SharePoint Foundation vs. SharePoint Server Updates. As Per the guidance from the SharePoint team, when applying SP1 or the CU it is recommended to apply the Foundation packages before applying the Server packages. SharePoint Foundation 2010:

  1. Download SharePoint Foundation 2010 SP1
  2. Download June 2011 CU for SharePoint Foundation 2010
  3. Install SharePoint Foundation 2010 SP1
  4. Reboot Server
  5. Once the server has rebooted, start SharePoint Configuration Wizard and complete the process.
  6. Upon completion you should be able to open Central Administration window.
  7. Verify Upgrade Success: After installing SP1, the version of the content databases will be 14.0.6029.1000

You’ve got a new baseline for future CU’s

  1. Install June 2011 CU for SharePoint Foundation 2010
  2. Reboot Server
  3. Once the server has rebooted, start SharePoint Configuration Wizard and complete the process.
  4. Upon completion you should be able to open Central Administration window.
  5. Verify Upgrade Success: After installing the June 2011 CU, the version of the content databases will be 14.0.6106.5000 / 14.0.6106.5002

SharePoint Server Standard/Enterprise 2010:

  1. Download SharePoint Foundation 2010 SP1
  2. Download SharePoint Server SP1
  3. Download June 2011 CU for SharePoint Foundation 2010
  4. Download June 2011 CU for SharePoint Server 2010
  5. Install SharePoint Foundation 2010 SP1
  6. Install SharePoint Server SP1.
  7. Reboot Server
  8. Once the server has rebooted, start SharePoint Configuration Wizard and complete the process.
  9. Upon completion you should be able to open Central Administration window.
  10. Verify Upgrade Success: After installing SP1, the version of the content databases will be 14.0.6029.1000

You’ve got a new baseline for future CU’s

  1. Install June 2011 CU for SharePoint Foundation 2010
  2. Install June 2011 CU for SharePoint Server 2010
  3. Reboot Server
  4. Once the server has rebooted, start SharePoint Configuration Wizard and complete the process.
  5. Upon completion you should be able to open Central Administration window.
  6. Verify Upgrade Success: After installing the June 2011 CU, the version of the content databases will be 14.0.6106.5000 / 14.0.6106.5002