Archive for September, 2006

Messsage in the bottle

Friday, September 22nd, 2006

This is a test post from writely.com, the google word processor. It’s scary that you can XMLRPC everything to and from a blog…:)


About Me

Monday, September 18th, 2006

My name is Kardos, Bálint and I’m 25 y old guy working as an IT Engineer and developer in a Mac - Linux - Windows environment.
You can email me at balint at skaelede.hu or check my homepage at http://balint.tk


MySql Connector for Dotnet and Utf-8 in C#

Tuesday, September 12th, 2006

I’m using MySql for a small project as the database backend with the MySql Connector for .Net by MySql AG. (this was done by ByteFX formerly) and found out that however the tables were created to be UTF-8, INSERT and UPDATE were failing on special (Hungarian, Russian etc.) characters!

After some RTFM, I found the appropriate solution: add the charset=utf8; part to your connection string, and everything will be nice and lovely :)


F***ing Visual Studio 2005 again

Thursday, September 7th, 2006

Today, I got mad again. These bastards over at Redmond totaly screwed up the deployment and the upgrade mechanisms in Visual Studio 2005. I have a huge project with about 30-40 aspx pages, and I used to have them compiled into one dll with VS 2003. Now, this f*** creates several small App_whatever_hexid.dll-s to make you cry out loud. Of course this breaks the IIS sites sometimes, when you deploy with overwrite - shit happens, dual references.

The best: you can not create a solution. Simply you can’t, you can only have several projects (or whatever, because it is now page based) but you can not clearly group in one.

I found an MS WebAPplication Support stuff; but it still does not play as I want. Anyway, at least it will let you create a solution, BUT can not compile and deploy in one step.. so i think i need to write a macro to do this.
At least this WAP lets you create a single DLL.

Another madness: the objects created in the aspx file are not referenced in the aspx.cs directly, but they are stored in a separate file with .designer.aspx.cs extension…
If you want to add old VS2003 files to a new project, you need to right click and say ‘Convert it to a Web Application’ - WHY?!

The IDE is the slowest ever. Intelisense is better by no need to type the ‘this.’ preword to list the local objects.. but fuck, it’s 2006, why should I wait seconds to switch between the desing and the code view?!

If you have a Marshalled or InterOped dll, make sure to recompile it, because in 80%, it will not work, and will report funny error codes… who told a thing about framework uncompability issues in *that* low level?!

One positive feeling stuff: VS2005 at least doesn’t erase all lines from the InitializeComponent() function when you add events to any object in the Design view, as it was in VS2003 :)