by Eugene Rosenfeld | Sep 10, 2009 | C#, MOSS, SharePoint, WSS
Unlike adding folders to document libraries, adding folders to lists requires a bit more work in order for the folder to appear in the list view. For example, the following code will add a folder to the list, but the folder will be hidden and not show up in the list...
by Eugene Rosenfeld | Sep 9, 2009 | MOSS, SharePoint, WSS
SharePoint’s SPList class contains the GetItems method which is used to query the contents of a SharePoint list. Rather than iterating through all of the list’s items, the GetItems method allows you to specify a collaborative application markup language (CAML) query...
by Eugene Rosenfeld | Sep 8, 2009 | C#, MOSS, SharePoint, WSS
I was writing a SharePoint feature that had to register a custom HTTP module. Naturally I started looking at the SPWebConfigModification class and soon had some code that looked like it would add my HTTP module to the httpModules element in the SharePoint web.config...
by Eugene Rosenfeld | Sep 8, 2009 | Blog Readership
In a previous post I was happy the my readership increased to 3000 readers per month, and I promised to share how some of my strategy reaching my next goal: 10,000 readers per month. Here’s some of advise I got from fellow MVPs, some Internet research, and my wife,...
by Eugene Rosenfeld | Sep 3, 2009 | ASP.Net, MOSS, SharePoint, WSS
A colleague of mine recently asked me if the WebPart he was writing should inherit from the ASP.Net WebPart class or the SharePoint WebPart class. He was a bit confused because he had seen a few articles online that talked about the benefits of inheriting from one...
by Eugene Rosenfeld | Sep 1, 2009 | MOSS, SharePoint, SharePoint 2010, SharePoint Foundation, WSS
I’ve seen a lot of articles about how it costs a lot of money to stand up a SharePoint server. I will show that this is simply not the case. In fact, you can stand up a production SharePoint server for less than $1100 USD, including both hardware and software costs....
by Eugene Rosenfeld | Aug 20, 2009 | MOSS, Office, SharePoint, Speaking, WSS, x64
I’ve talked to many developers who have recently started doing some SharePoint programming and have gotten hooked. In fact, they like SharePoint development so much, especially the event receivers, that these developers are starting to think about using SharePoint as...
by Eugene Rosenfeld | Aug 17, 2009 | Uncategorized
Are you tired of having to bring up a Remote Desktop to your SharePoint server just to run an stsadm command? I sure was. Here’s a very simple way to remotely execute stsadm commands against any SharePoint server to which you have a LAN connection. Best of all, unlike...
by Eugene Rosenfeld | Aug 10, 2009 | .Net, C#, Impersonation
I do a lot of server programming. I frequently need to be able to run some code as a different user than the currently logged-in user. Unfortunately, the .Net Framework does not make this particularly easy. Sure, there is the WindowsIdentity class and its Impersonate...
by Eugene Rosenfeld | Aug 6, 2009 | MSDN, Windows 7
The Windows 7 RTM along with support and technical content is now available for download to MSDN subscribers. MSDN Windows 7 Downloads Technorati Tags: Windows...