Sebastian Wojciechowski’s WebLog

.NET Developer

Archive for the 'Tips' Category

First things you need to know

You can see the list of detected and enabled addins in Outlook in: Tools->Options->Other->Advanced Options->COM Add-Ins… If there were some error and addin has not been loaded it will be there with unchecked box. This is where […]

Read Full Post »

Recently I have been asked this question. Answer is that it cannot be null and will not be null, so you don’t have to:
.Text != null
Why? Because .Text property in base class does:
set
{
if (value == null)
[…]

Read Full Post »

When I browse code looking for something or when I take a look at a new class I want to see as much code as I can. But then when I enter the “coding” mode I want to focus on code that I write and I want to have bigger font to make it easier […]

Read Full Post »

Our solution contains about 30 projects. There are web apps, windows services, web controls, web parts (usual stuff for SharePointers). One of them is a BuildApp. It contains only one empty file class1.cs but it’s there to register DLLs in GAC, web parts in SPS and restart appPool.
After installing Visual Studio 2003 SP1 the BuildApp […]

Read Full Post »

Have you ever needed to build only one project, the one you are currently working on, rather than a whole solution (especially the webparts deployment projects)?
There is a shortcut “ctrl+shift+b” but it builds whole solution. If you want to build current project you have to take your hands off the keyboard, move your mouse and […]

Read Full Post »