MSDN Webcast: A Lap Around Visual Studio Team System 2008 (Level 100)

Language(s): English. Product(s): Visual Studio. Audience(s):Developer. Duration: 60 Minutes Start Date:Thursday, January 10, 2008 10:00 AM Pacific Time (US & Canada)

Event Overview In this demo-intensive session, we expose you to many of the new features in Microsoft Visual Studio Team System 2008. Join us for an understanding of how Visual Studio Team System 2008 […]

Tree View Document Library in MOSS 2007

Hi Moss Devs, Are you looking for Treeview webpart to display the document library in tree view. There is no out of the box webpart available to display the document library in Treeview.

I started googling it when started working on this task. I got few webparts which is using java script to load the […]

70-526 : Microsoft® .NET Framework 2.0 – Windows®-based Client Development

I have passed my 70-526 TS: Microsoft® .NET Framework 2.0 – Windows®-based Client Development.

Preparation Guide for Exam 70-526

Customizing Site Navigation Bar & Quick Launch in MOSS 2007

I am giving some inputs on how to play with site navigation bar in MOSS site using out of the box approach. The following is my default quick launch menu in the site. I want to add my custom links to quick launch.

To do, Open Site Actions -> Site Settings.

[…]

How To Create SubSites with Different Templates in MOSS 2007

If you try to create subsite in SharePoint portal by default it will show only parent site template.

Here its showing only Publishing site with workflow which is the parent site’s site template.

If its required for us to create the subsite with different site template.

Follow the below steps :

Open Site Actions […]

Happy Birthday Windows Vista! * Microsoft Offers *

Happy Birthday Windows Vista! As we approach the one year anniversary of launching Windows Vista® we want to remember you as one of the many people who downloaded and tested one of the Windows Vista Beta or Release Candidates through TechNet or MSDN®.YOU were a significant contributor to the development of Windows Vista. Your […]

Singleton Pattern Only One Instance is Created in Multi Threading

while using the singleton pattern, only one instance is created in multi threading?

Using threadsafe singleton class will guarantee that only one instance is created.

public sealed class Singleton { private static Singleton singleton = null; private static readonly object singletonLock = new object();

private Singleton() {} public static Singleton GetInstance() { lock (singletonLock) […]

How to Configure SMTP in MOSS 2007 Site

To Configure Microsoft Office SharePoint Server 2007 for Outgoing Emails do the following steps:

Open Central Administration

Open Operations Tab and Click Outgoing email settings under Topology and Services

Central Administration -> Toplogy and Services -> Outgoing email settings

Configure the Appropriate SMTP Server Settings and click OK.

Now you have […]

Error Opening MOSS 2007 Forms Authentication Site in SharePoint Designer

If you try to open the Forms Authentication enabled site in SharePoint Designer it will through the following error:

The folder ‘http://myserver.com/’ isn’t accessible. The folder may be located in an unavailable location, protected with a password, or the filename contains a / or .

Designer cannot open the site because the site using […]

Programmatically Add User to SharePoint Group

To assign the user to group in MOSS 2007

The following code will add the user to site and to specified group.

private void AddUser(string strSite,string webGroup) { SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite(strSite)) { using (SPWeb web = site.OpenWeb()) { Boolean allowUnsafeUpdate = web.AllowUnsafeUpdates; try { web.AllowUnsafeUpdates = true;

web.SiteUsers.Add(loginName, MailId, […]