Skip to main content

Posts

RAM Disks do not speed up Visual Studio

  The limiting factor for Visual Studio is disk IO. I got a tip to speed up Visual Studio from Channel 9 by creating a RAM disk which sounded like a great idea. However, when I ran a thorough set of tests, I found that the performance difference between the Ram disk and the hard disk were not appreciably different. This was a big surprise since RAM is 240,000 times faster than disk (see my previous blog post). But the reason is because Visual Studio and Vista do a lot of caching. So compile times for the same project in RAM disk and on hard disk were pretty similar. I also tested the time it took to search the entire solution for a word, and times to open a solution. There was no discernable difference!   If you still want to try it out and create your own RAM disk, you can download a simple RAMDISK.EXE utility to create a RAM disk in just a few minutes. What is a RAM Disk ?   Ramdisk is a virtual drive created in RAM.   Performance Analysis Creating f...

Highpoint Games

  My friend has just started his own board game company, and has released his first game “Greedy Greedy”. www.highpointgames.com Check it out, this is a game that we had a lot of fun playing many times while in Florida.

SUSHI Version 3.4 Released

  SUSHI Version 3.4 includes the following improvements: Important Improvement : Security Report: The logic for looking up Active Directory Groups that a User is a member of has been improved so that users with read-only privileges to Active Directory can successfully query group membership. Delete old documents: This feature is now asynchronous and includes a cancel so that the action can be canceled after it has started but before it is finished. This is useful when archiving a large number of documents. Bulk List Creation: Tips for bulk deleting lists and renaming list URLs added.

Check for Memory Leaks in your SharePoint API Code

  Microsoft has just released a memory leak checker for SharePoint code . Not sure if all your SPWeb and SPSite objects have been properly disposed? Use this tool to discover which lines of your code are not properly disposing of those objects.   Each SPWeb and SPSite object takes 1-2 megs of unmanaged memory. So no properly disposing of them causes major memory leaks. However, (this is important) if you dispose of a SPSite object that you get from SPContext.Current, you will crash your SharePoint site. So having a tool that you can run to definitively determine if your production code is good, is a big help.   -Joseph

SharePoint SUSHI Version 3.3 Released

I am pleased to announce the release of SUSHI, version 3.3 .  About SharePoint SUSHI.     New Features, Improvements and Bug Fixes Delete old documents: Copy documents older than a specified date to an archive folder and then delete them from SharePoint. Security Report: User can type and also select from the list. As the user types, the name of the SharePoint User is found. Awesome new screenshot on the Codeplex SUSHI home page. :)   I would like to thank the community for all the great feedback. I am working to incorporate your ideas as quickly as possible. Knowing which features you are using is helpful to know which features to prioritize.   Thank you to all who have donated to SUSHI. This is always a very big help. You are welcome to make a small donation to SUSHI .   -Joseph Fluckiger

Scripted SharePoint Install

Doing a scripted install of MOSS can save a lot of time, and can also ensure that your installs are consistent. Below is a sample scripted install of MOSS. (I have changed sensitive information like passwords, emails and URLS.) I have found that it works best to execute these commands one at a time, rather than as a single script. If you are unlike me and never make mistakes, then feel free to run them all at once. Another added benefit is that this provides very nice documentation of your install for future posterity. And for someone who understands windows scripts can teach quite effectively what it takes to install MOSS, surely much more effectively than the beastly 30 page install instructions on MSDN. One of my favorite benefits of a scripted install is that you can choose a name for the Central admin content database instead of getting stuck with the ugly content database name the includes a Guid. Some of the setproperty statements at the end are optional, but they give you...

SharePoint SUSHI version 3.1 released

  After a long delay, a new release of SUSHI has been published. This version includes the following: Improvements Improved "Select A Site" functionality. Updated Documentation. Bulk List creation updated. Profile picture import feature improved. Bulk site creation includes both user site templates and system site templates. Stable Release This release has been tested in multiple SharePoint environments and used in many production environments as well. Stability and Security are SUSHI's highest priorities.   Future Releases I already have another release with some nice graphics improvements which improve the look and user experience of SUSHI. I have enlisted a couple programmers to help with testing, and graphics work. The are quite helpful and good to work with so hopefully we can make SUSHI even better. I have lots of ideas but just not enough hours in the day to turn all my ideas into reality. I'd love to improve the backup/restor...