All Blogs's Image
More about this blog
Latest Post
29 Mar 2010
Total Posts
85
Readers
787
Liked
0
Disliked
0
Views-Per-Post
09.26
vote up
0
vote down

MongoDB persisting System.Drawing.Image

by chrissie1 Allthough the MongoDB documentation says that it support binary data, I don't think the .Net driver really does. Document-oriented storage (the power and flexibility of JSON-like data schemas) Dynamic queries Full index support, including
 
chrissie1
Mar 29 2010 10:33 AM
vote up
0
vote down

Trying out MongoDB persisting objects

by chrissie1 This is the second part in my attempt to learn MongDB. Part 1. As you could see in part 1, MongoDB is very magic stringie. And I don't like magic stringies. But not to worry, Google to the rescue and a certain Mohammad Azam (azamsharp). I
 
chrissie1
Mar 28 2010 01:51 PM
vote up
0
vote down

Time to try MongoDB

by chrissie1 I guess this NoSQL thing is getting to me. So I had to try it and see if I can use it with my favorite language. I first did a little research on the net and found this post. I went on from there. First I downloaded MongoDB. Then you unzip
 
chrissie1
Mar 27 2010 11:11 AM
vote up
0
vote down

Formatting the time from a datetime or time datatype by using the STUFF function

by SQLDenis This is a quick post about a question that had to do with time formatting. This question was asked in our SQL Server programming forum today I don't see a format of hh:mm AM/PM only Do we need to do it using datepart or how to get only
 
SQLDenis
Mar 24 2010 11:53 PM
vote up
0
vote down

Binding to Custom Properties in Silverlight

by thatrickguy The Binding system is Silverlight is pretty cool. It lets us easily bind property values of UI Elements to all sorts of good stuff. But, if you want to create your own custom bind-able properties, it takes a bit more effort than the usual
 
thatrickguy
Mar 24 2010 12:22 AM
vote up
0
vote down

A quick look at Windows Phone 7 development

by SQLDenis Today I decided to take a look at Windows Phone 7 development. The first thing I did was download the Windows Phone Developer Tools, you can download it here: http://www.microsoft.com/express/phone/ Windows Phone Developer Tools includes:
 
SQLDenis
Mar 21 2010 10:23 PM
vote up
0
vote down

Silverlight Spinner

by thatrickguy function onSilverlightError(sender, args) { var appSource = ""; if (sender != null && sender != 0) { appSource = sender.getHost().Source; } var errorType = args.ErrorType; var iErrorCode = args.ErrorCode; if (errorType ==
 
thatrickguy
Mar 19 2010 08:44 PM
vote up
0
vote down

Phone Number Primitive

by chaospandion I don't know how many times I've put together the same slow regexp to check if the user input is a valid phone number. I decided that this cannot go on and developed a simple phone number primitive. Now our main concern here is the
 
chaospandion
Mar 17 2010 08:27 PM
vote up
0
vote down

Internet Explorer 9 available for a test drive

by SQLDenis Internet Explorer 9 is available for a test drive Microsoft detailed its support for a number of HTML5 specifications, including CSS3, Scalable Vector Graphics (SVG), XHTML parsing, and the video and audio tags using industry-standard
 
SQLDenis
Mar 16 2010 06:53 PM
vote up
0
vote down

Use the right collection part 2

by chrissie1 Yesterday I made a post about using a queue instead of a list because the code was so much cleaner. I think it is very important that code is clean and easier to read. But then Denis asked about the performance differences between the 2
 
chrissie1
Mar 16 2010 12:34 PM
vote up
0
vote down

Use the right collection

by chrissie1 I was doing this in my code. Code: vbnetPrivate _Lines As New Collections.Specialized.StringCollectionPrivate Const _MaxLines As Int16 = 30Private Sub SetMessages(ByVal message As String)   If _Lines.Count > _MaxLines
 
chrissie1
Mar 15 2010 02:54 PM
vote up
0
vote down

Visual Studio 2010 Concurrency Profiling And Parallel Programming

by SQLDenis Visual Studio 2010 and .NET 4.0 are almost released, one of the new things that ship with this release is Parallel Programming. Since you can't buy a machine anymore with just one core it is time that we developers get intimate with
 
SQLDenis
Mar 14 2010 11:49 PM
vote up
0
vote down

Lazy Coding?

by chaospandion Are you waiting for .NET 4.0 to take advantage of lazy initialization? Now you don't have to. The question you need to ask yourself is why haven't I already made this myself? Aren't we all a little lazy? Code: csharp/// <summary>///
 
chaospandion
Mar 11 2010 10:50 PM
vote up
0
vote down

ASP.NET MVC 2 RTM for Visual Studio 2008 SP1 Released

by SQLDenis Microsoft has released ASP.NET MVC 2 RTM for Visual Studio 2008 SP1. Note Because Visual Studio 2008 and Visual Studio 2010 RC share a component of ASP.NET MVC 2, installing the ASP.NET MVC 2 RTM release on a computer where Visual Studio 2010
 
SQLDenis
Mar 11 2010 08:41 PM
vote up
0
vote down

Conditional formating in a DataGridView with databinding

by chrissie1 When you databind your DataGridView to a List. Like this. First I create a class Person so I can bind to that. Watch the default constructor, it needs to make new elements, if that is what you want. Code: vbnetPublic Class Person 
 
chrissie1
Mar 11 2010 06:32 PM
vote up
0
vote down

How to script all stored procedures in a database

by Naomi In the forums I frequent, the question of scripting all stored procedures in a database arises very often, the most recent encounter is in this MSDN thread script out many stored procedures at once? A few years ago, I asked this question myself
 
Naomi
Mar 11 2010 03:26 AM
vote up
0
vote down

Finding SQL Server Support – Become an expert yourself

by onpnt Can I help you? There are several levels of support for SQL Server. Putting these levels on paper and knowing which to choose for your own particular problem can be a task in itself at times. I hope the following definitions of four levels of
 
onpnt
Mar 08 2010 09:44 PM
vote up
0
vote down

SQL Saturday 33 - Charlotte, NC

by tarwn This weekend was SQL Saturday #33 in Charlotte NC and also the fist one I attended. It's been a long weekend, but I wanted to get my thoughts down while they're still fresh. Be warned, it's been a long weekend, so my grammar and attempts to
 
tarwn
Mar 08 2010 03:03 AM
vote up
0
vote down

C# Dynamic Data Layer

by chaospandion With the upcoming release of .NET 4.0 we will be seeing the new dynamic type introduced. The dynamic type bypasses static type checking and is instead checked at run-time. It was introduced to improve interoperability with dynamic
 
chaospandion
Mar 07 2010 04:09 AM
vote up
0
vote down

Turning Napkins to HTML With Napkee

by Alex Ullrich A few months ago, I was lucky enough to try out Balsamiq mockups and review it in a blog post (Turn Any Computer into a Napkin). In January I saw a bit of chatter about a new tool called Napkee that was built to enable easy generation of
 
Alex Ullrich
Mar 05 2010 10:15 PM
vote up
0
vote down

Calculating Nth weekday in a month

by Ramireddy How to calculate the Nth week day of a month? This will be useful in most of the Scheduling problems like Scheduling Jobs, Appointments etc. Let me demonstrate how we can achieve this: Let us take an example of say, 3rd Sunday in February,
 
Ramireddy
Mar 03 2010 08:04 PM
vote up
0
vote down

Do You Get A Benefit From Compressing Backups If You Already Have Compressed Data?

by SQLDenis Do you benefit from compressed backups if your data is compressed already? This was a question that was asked recently; I thought that the question was interesting and decided to do some testing. Here is what we will do; we will create two
 
SQLDenis
Mar 03 2010 01:10 AM
vote up
0
vote down

A Quick Beginners Look at SEO

by tarwn As technical people in a field that is expanding daily, we all run into areas that we know poorly, or haven't been able to refresh our knowledge on this decade. For me, and I'm sure many of you, SEO is one of those topics that fell by the
 
tarwn
Mar 01 2010 05:54 PM
vote up
0
vote down

F# Asynchronous Workflows

by chaospandion Asynchronous work flows are a very powerful tool in programming. They allow your threads to do other work while you wait for results from a long running piece of work. How would you write an asynchronous work flow in C#? Logically you
 
chaospandion
Feb 26 2010 11:42 PM
vote up
0
vote down

Calculating number of workdays between 2 dates

by Ramireddy Notice: Undefined index: STRICT_MODE_APPLIES in /home/lessthandot/prod/blogs/plugins/code_highlight_plugin/geshi.php on line 1038 Today I saw someone asked a question in MSDN t-sql forums "How to calculate the number of working days between
 
Ramireddy
Feb 26 2010 11:07 AM
vote up
0
vote down

StructureMap, Windows Forms, User controls and BuildUp

by chrissie1 For my usercontrols I tend to use the StructureMap BuildUp feature. I will leave it to the big man himself to introduce you to this feature. I use property injection in this case because the designer doesn't like usercontrols that have
 
chrissie1
Feb 24 2010 12:48 PM
vote up
0
vote down

VMWare Workstation 6.5 and the weird network problem.

by chrissie1 I kinda like my VMWare Workstation 6.5 (soon to be 7.0). I always have at least 3 VM's running. But I seemed to have some intermittent network problems. I use Bridged networking because that's what I need. Most of my VM's have a static ip so
 
chrissie1
Feb 23 2010 08:03 PM
vote up
0
vote down

Table sizes

by niikola I do not know if there is already code for table sizes (as used in SQL Server 2008 reports) but what I've seen on the net people are using cursors and temporary tables (completely unnecessary). Code: sql;WITH SpaceUsage AS &#40;&nbsp;
 
niikola
Feb 18 2010 10:37 PM
vote up
0
vote down

Mirroring: Witness misconceptions in High-Performance

by onpnt Concepts in Mirroring I wanted to start writing a series of blogs on mirroring to share what I&#8217;ve learned over the years since SQL Server 2005 gave us the ability to setup mirroring for High Availabtility (HA). Before we go into that I
 
onpnt
Feb 16 2010 09:06 PM
vote up
0
vote down

SVN and treeconflicts

by chrissie1 Yes, I still use svn and yes perhaps I should try that Git thing people keep talking about. But anyway. Since this post is for my pleasure and my pleasure only I will post a little something to remind me how to solve those tree conflicts.
 
chrissie1
Feb 16 2010 04:52 PM
vote up
0
vote down

InternalsVisibleTo, VB.Net, unittesting and windows forms components

by chrissie1 I am not in the habbit of testing internal/friend methods, properties or anything else. Because I think testing public members should cover those. But sometimes you don't really have a choice. In this case it's the form designer that is the
 
chrissie1
tags: vb.net
Feb 15 2010 05:49 PM
vote up
0
vote down

Raising an event on a parmeteerd event with Rhino mocks and returning null

by chrissie1 Raising events on a mock is easy with Rhino mocks. I wrote a whole article about it. Way back then I wrote, If we try to use the same syntax on the parameterless event like so eventraiser.GetEventRaiser(e => e.event1 += null).Raise(null);
 
chrissie1
tags: c#
Feb 15 2010 01:42 PM
vote up
0
vote down

Trying the Stand-Up Desk

by tarwn This week was my first week trying the stand-up desk concept. While I had read of many people converting their office, I'm going to be reporting directly from the trenches, after spending a week in a cubicle with a stand-up desk and a list of
 
tarwn
Feb 14 2010 06:16 PM
vote up
0
vote down

Visual Studio 2010 and .NET 4 release candidates available for download

by SQLDenis Visual Studio 2010 and .NET 4 release candidates are available for download Right now the downloads are only available to MSDN subscribers. On Wednesday February 10th the downloads will also be available to the general public You can find the
 
SQLDenis
Feb 09 2010 05:13 PM
vote up
0
vote down

Use Filters in SSMS to only see the things that are of interest to you

by SQLDenis Now that all my server are SQL Server 2008 I use SSMS with SSMS Toolpack and Toad. I don't really use Query Analyzer anymore. The other day I found out that you can hide objects you don't want to see in SSMS by using filters. Let's first look
 
SQLDenis
Feb 07 2010 01:23 AM
vote up
0
vote down

ASP.NET MVC 2 (Release Candidate 2) Released

by SQLDenis ASP.NET MVC 2 RC 2 has been released and is available for download. For those that don't know what ASP.NET MVC 2 is. ASP.NET MVC 2 is a framework for developing highly testable and maintainable Web applications by leveraging the
 
SQLDenis
Feb 05 2010 06:05 PM
vote up
0
vote down

Th QNap TS-419P Turbo NAS

by chrissie1 Yesterday 2 QNap TS-419P Turbo NAS arrived at work for me to play with. The question of course is how did I choose a solution that will work for me? To be honest pure luck. To be honest you have to much choice and choosing the right thing
 
chrissie1
tags: hardware
Feb 03 2010 03:47 PM
vote up
0
vote down

Windows Azure Tools for Microsoft Visual Studio 1.1 Released

by SQLDenis Microsoft has released Windows Azure Tools for Microsoft Visual Studio 1.1 today. Windows Azure Tools for Microsoft Visual Studio extend Visual Studio 2008 and the upcoming Visual Studio 2010 RC to enable the creation, configuration,
 
SQLDenis
Feb 02 2010 08:31 AM
vote up
0
vote down

Running static code analysis on SQL Server database with Visual Studio Team System for database architects

by SQLDenis To me it seems that Visual Studio Team System 2008 Database Edition is the stepchild of the Visual Studio family. Even in shops that have MSDN Universal/Ultimate subscriptions this version is just not used that much. Maybe it is that long
 
SQLDenis
Feb 01 2010 08:16 AM
vote up
0
vote down

Validating Architecture with Visual Studio 2010

by AlexCuse I went to a local MS launch event for Visual Studio today, mainly to see what was new with Team Foundation Server, but what really impressed me was some of the new architecture tools they've added. I admittedly haven't read too much about
 
AlexCuse
Jan 29 2010 07:31 PM