I'll soon have far less free time that I have now, so I'm actively working on simplifying my life. I don't want to give up things, I try to slipstream as much as possible. So far I think I'm doing quite well. One big time waster was putting together Sunday's regular weekly links....
Objavljeno v
Zunanji viri
ob 03-05-2008
Pripete označbe: Software, Internet, add-in, c#, Developement, Code, windows live writer
I'll soon have far less free time that I have now, so I'm actively working on simplifying my life. I don't want to give up things, I try to slipstream as much as possible. So far I think I'm doing quite well. One big time waster was putting together Sunday's regular weekly links....
Objavljeno v
Zunanji viri
ob 03-05-2008
Pripete označbe: Software, Internet, add-in, c#, Developement, Code, windows live writer
Let's say you are writing a Visual Studio add-in that does some stuff with selected text, for example string literals in the code. It would be very user friendly if the user could just click inside that string literal and add-in would figure it out and select a complete string. Well, that's just...
Objavljeno v
Zunanji viri
ob 03-05-2008
Pripete označbe: add-in, c#, visual studio, Developement, Code
While my companies main projects are still .NET 2.0 or even .NET 1.1, I do work on some utilities in .NET 3.5. And I have found myself using LINQ more and more every day. I quite like LINQ to SQL, but what I'm talking here is LINQ to Objects. Here are some recent uses that save me quite a bit of...
Objavljeno v
Zunanji viri
ob 02-29-2008
Pripete označbe: Developement, Code, tips, LINQ, C# 3.0
This post will be about code formatting and maybe some reasons for the formatting decisions developers make. Actual code that got me thinking used an if statement, but below I used 2 for loops because its easier to spot what can go wrong: for ( int i = 0; i < 10; i ++) for ( int j = 0; j <...
Objavljeno v
Zunanji viri
ob 02-05-2008
Pripete označbe: Code
It is pretty easy to do that. Here is a piece of code which creates a folder in document library and adds a file to the created folder: SPSite site = new Microsoft.SharePoint.SPSite( "http://localhost" ); SPWeb spWeb = site.RootWeb; SPList docLib = spWeb.Lists[ "My Document Library"...
Objavljeno v
Zunanji viri
ob 01-23-2008
Pripete označbe: Code, SharePoint, VS2008