Why you want to be a part of Alt.Net Israel

Saturday, August 9, 2008

I was fortunate today to take part in the first Alt.Net "unconference" to be held in Israel and let me tell you - it was an awesome experience! The concept of Alt.Net is that a group of .net enthusiasts get together and organize a conference by themselves for themselves to discuss .net, its past, present and future. Simply put, the audience organizes and gives the talks. Here's a more profound explanation: http://davybrion.com/blog/2008/08/altnet-what-does-it-mean/ The first Alt.Net Israel meeting was held at the Ramat Gan offices of the Sela Group who were kind enough to host us on short notice. The...

Paint.NET is the open source Photoshop

Tuesday, May 8, 2007

Back after a long period of time away from the internet. This won't be much of a comeback though, as I'm getting married (!) the day after tomorrow and then I'm going here for a week: Santorini on 43places. But I digress. I just want to recommenced Paint.NET. In a sentence, it's the open source Photoshop. It's a free for download open source photo editing software. Of course it's not a real competitor for Photoshop - certainly not for professionals - but all the basic stuff is there - the lasso tool, gradients, layers and a lot of special...
no comments

Response.Cookies.Set() vs. Response.Cookies[] =

Sunday, March 4, 2007

I've stumbled upon behavior that I cannot understand in ASP.net's handling of the Response.Cookies object. The trigger for this post is a page where I have Response.Flush() followed a bit later with an attempt to write an HttpCookie to the Response. Everything works fine when I try to write the cookie like so: HttpContext.Current.Response.Cookies.Value = value; But when I use this alternate method: HttpCookie httpCookie = new HttpCookie(name, value);HttpContext.Current.Response.Cookies.Set(httpCookie); I get this exception thrown at me: "Server cannot modify cookies after HTTP headers have been sent." The unsettling part is that the second situation makes more sense to me...
no comments

How to enable programmatic access to VBA in Excel 2007

Monday, January 15, 2007

Just had my first encounter with VSTO, trying to embed a C# macro in an Excel workbook. I fired up the ol' Visual Studio 2005, created a new "Excel Workbook" project and bumped straight into this: "Programmatic access to the Microsoft Office Visual Basic for Applications project system could not be enabled.  If Microsoft Office Word or Microsoft Excel is running, it can prevent programmatic access from being enabled.  Exit Word or Excel before opening or creating your project." A quick google gave me the solution for Office 2003 (thanks go to Harry Miller - MSFT): On the...
no comments

How to name Private Methods in C#?

Sunday, January 7, 2007

I'm having a debate (with myself mostly) concerning the proper way to name private methods in C# projects. For some forgotten reason, I have been accustomed to use camel casing when naming private methods - as opposed to using Pascal casing for public methods. Example: private int getBlockInfo(int memberID) {...} public int GetBlockInfo(int memberID) {...} For me this seems very comfortable for differentiating between private "secret" methods within a class and public methods that are visible outside. This is similar in my mind to using camel case for private members while using Pascal case for matching public properties. ...
one comment

IIS 7.0 is here. Isn’t it?

Tuesday, December 19, 2006

I'm not 100% sure but it seems Microsoft has silently (?) launched IIS version 7.0. This is said to be a part of Windows Vista. Oddly enough I've not seen any launch announcement from MS. Maybe I just missed it? The new version of IIS is said to implement a lesson from the Apache Web Server - modularity. Functionality previously embedded in older version of IIS has been relocated to modules that can optionally be installed alongside a core IIS server. This would allow for better security as administrators can minimize the surface of the server by including only...
one comment

When did Open Source Software become so friendly?

Thursday, December 14, 2006

I've just finished installing MediaWiki 1.8.2 (the same wiki engine that powers Wikipedia) on my machine at work. MediaWiki requires three things to be present on the machine prior to installing: A web server, A database server and the PHP engine. In my case that meant that I had to install Apache Http Server 2.2.3, MySQL 5.0.27 Community Server and PHP 5.2.0 - all from scratch. The point of this post is that I was surprised at how easy it was to obtain and install these 4 (counting MediaWiki) pieces of server software. With the exception of...

Team Foundation Source Control won’t Get Latest when you Check Out

Thursday, November 23, 2006

In a recent post, Leon Langleyben described a Team Foundation Source Control "feature" that is giving users a hard time. The "feature" is that the Check Out command in TFSC no longer performs a Get Latest on the file checked out, as we were accustomed to in VSS. In the older Visual SourceSafe, when you checked out a file VSS would get the latest version of the file to your local machine and only then open the file for you to work on. This is critical when working in Exclusive Checkout Mode, which is the most popular work mode in...