I want some Moore

Blog about stuff and things and stuff. Mostly about SQL server and .Net
posts - 226, comments - 2295, trackbacks - 33

My Links



Hi! My name is 
Mladen Prajdić  I'm from Slovenia and I'm currently working as a .Net (C#) and SQL Server developer.

I also speak at local user group meetings and conferences like SQLBits and NT Conference
Welcome to my blog.
SQL Server MVP

My Books

SQL Server MVP Deep Dives 2
The Red Gate Guide to SQL Server Team based Development Free e-book

My Blog Feed via Email
Follow MladenPrajdic on Twitter

Users Online: who's online

Article Categories


Post Categories

Cool software

Other Blogs

Other stuff

SQL stuff


How to solve problems and why is that perceived as hard?

it's my opinion that today we unfortunately live in a world that requires some kind of harder problem solving skills from maybe 20% of the population. And I'm being very very generous. So putting that percentage with the question in the title would give an answer similar to: "Because not every one can do it." DOH, right?  I'd say you're wrong since everyone had a problem to solve at least once in a lifetime. So what's the problem? Why is it perceived as hard? Let's take a little trip through your past. When you were just an infant, what was...

posted @ Tuesday, December 18, 2007 9:48 AM | Feedback (7) | Filed Under [ Back to Basics ]

When (int)x isn't the same as Convert.ToInt32(x)

Having started programming in c/c++ i've always been used to casting between types using () operator: int i = (int)x With the coming of .Net framework ValueTypes and ReferenceTypes were introduced and we started hearing about boxing and unboxing. if you're not familiar with these terms pick a link from this search and read up. Also we've been introduced to System.Convert class and IConvertible interface.   But old habits are hard to break and i've been preffering the (int) to Convert.ToInt32. For all thing considered i've been treating them as equals. But i've been reminded that they're not with a nice little error...

posted @ Monday, December 04, 2006 10:35 AM | Feedback (8) |

Sorter class v2 - A generic comparer/sorter class

In my previous post i showed how a generic comparer class in .net C# 2.0 can be made with the use of reflection. In my constant search to optimize code and make it better i've stumbled upon this article that explaines how IL code generation can be use in this situation. In .net 2.0 emiting IL was made very simple with the indroduction of a DynamicMethod class. The speed of this approach is comparable to execution time of compiled code. Result when sorting 10.000  TestClass objects 10 times was 2±0.2 seconds with DynamicMethod and 50±2 seconds with direct use of reflection on my computer. So...

posted @ Wednesday, July 05, 2006 5:11 PM | Feedback (1) |

WebDAV How, What and Problems...

What is WebDAV? WebDAV stands for "Web-based Distributed Authoring and Versioning". It's a set of extensions to the HTTP protocol which allows users to collaboratively edit and manage files on remote web servers. It can also be used to access mail on exchange server. I used it for this. It great for accessing Exchange because all you need is an XML body sent over HTTP. No installing of anything. How it works? WebDAV works with XML. It sends xml requests to the server and gets the responses in return. It uses MSXML or System.Net.HttpWebRequest in .NET. WebDAV has some extended keywords besides the standard HTTP ones...

posted @ Saturday, April 08, 2006 7:41 PM | Feedback (283) |

Powered by:
Powered By Subtext Powered By ASP.NET