Archives for the ‘.NET’ Category

More .NET Compact Framework Woes

I posted previously on a Bug in the .NET Compact Framework with the XmlEnum Attribute with whitespace in the name. Well I’ve run into some other interesting “features”.
The first thing to realize is that the things that work on the Full framework don’t work on the Compact Framework.
What Works With Serialization
First thing is the good [...]

.NET Makes Me Mad (Generics and Collections edition)

Ok, so I’ve decided I need to rant a little bit about .NET. This ends up in part being, “What I like about Java that I don’t like about C#”. I think this is fair though. It’s not like C# and .NET were developed in a vacuum. It’s not like C# is the first Object [...]

Using SQL Compact Edition Under ASP.NET

What is SQLCE?
SQL Compact Edition is the “low end” version of a SQL database solution from Microsoft. It is a single-file, application managed, database implementation. It doesn’t have all of the bells and whistles of the high end database solutions. This is great when you realize the next lowest version, SQL Express is over a [...]

Bug In the .NET CompactFramework XmlEnum with Whitespace

In .NET you can use Attributes to mark up properties in a class to tell the XmlSerializer how to marshal that class to and from XML. There are a number of different attributes you can use. You can use enums for restricted lists of values.
E.g:

public enum Foo {
[XmlEnum("Some Value")
[...]

More On MSBuild

On the heels of my article on using MSBuild with NUnit, I’ve been totally outdone by Brennan. Check out his series on MSBuild.
He covers Unit testing with NUnit (naturally), but starts with the basics, and gets into everything from Packaging to Web Deployments. All with nice screenshots! He also digs into some things [...]

MSBuild with NUnit

I’ve written about Unit Testing and Build Automation in the past, but mostly dealing with Java projects and tools (because I usually write about things I’m working on at the time). Well, I’ve started a .NET project for the first time in a while so I want to solve some of the samde problems in [...]

How Do You Deal With Blog Spam?

I assume that many of my readers are technical people and as such are likely to be bloggers themselves, so I post the question to you: How do you deal with blog spam?
I’m currently getting on the order of 30-40 blog spam posts a day. While WordPress does a good job of catching them, and [...]

Ruby 1.8 (today) vs C# 3.0 (some future date)

One of the big features I keep hearing .NET developers talk about is something called Language Integrated Query (LINQ). LINQ is an Object Query Language (OQL) technology that is slated to be integrated into .NET 3.0. In the general sense an OQL allows you to “query” an object graph much the same way you would [...]

Custom WebDAV Server Using .NET

As I discussed in a previous post "ASP.NET Web Application without ASPX Extension", I’ve been working on a custom WebDAV server for a client. The initial proof-of-concept was just to see if we could get some .NET code that would respond to all paths for a given web application. From there I had to make [...]

ASP.NET Web Application Without .ASPX Extension

The Problem
Ok, let’s say you want to create an application in ASP.NET. That application should be able to execute .NET code regardless of the path that is requested. You don’t want to map the .NET execution to a specific extension and you want handle all requests in a simple manner. Well, I think I figured [...]