Archive for December, 2008
Nice coding standard documents for C# (and VB.NET)
Coming back from a little break during Christmas I looked around on the ASP.NET web site (http://www.asp.net) and found a couple of interesting newly added things. Amongst stuff I took a look at the coding standards added by Clint Edmonson (http://www.notsotrivial.net) a couple of days before Christmas. They look really nice and may be a good start when implementing some kind of standards in an organization.
Service interfaces using XSD (cont’d MVC Web Service part 1)
The other day I got a question from a colleague of mine, regarding the XML schema usage when defining a web service interface, like the one defined in series. The question was something like this: “How will the consumer of the web service react if the, from the XSD file, auto-generated class used as in and return parameters is updated?” I couldn’t give a straight answer, other than that I assumed it would be transparent to the consumer as long as no nodes were changed or removed and only new nodes were added to the schema. I decided to give it a try, using a really simple XSD and a couple of really simple web methods. I will give a schematic picture of the scenario that I will test out later on.
SQL Server 2008 spatial data with BLToolkit (cont’d)
Right after I published the previous post on the spatial data and BLToolkit components I decided to write a follow-up on that post. I wasn’t happy about the way I described the implementation of the new property and field attribute to support the SQL Server UdtTypeName property and spatial data types. I hope I will make it more clear how I accomplished the support for this here. Please read the previous post about this on, .
Broken TinyMCE with WordPress 2.7
After upgrading my WordPress installation to version 2.7, the TinyMCE editor was broken. I “googled” around like a maniac trying to find a solution to this. After a while I found out that it wasn’t the TinyMCE itself causing the problem, but instead the RB Internal Links plug-in.
SQL Server 2008 spatial data with BLToolkit
![]()
In previous posts I have described my way to use the new spatial data types that come with SQL Server 2008. As shown in these posts ( and ) there is a little bit of work to make this run smoothly.
The other day I started to search for an alternative way to get rid of the dataset designer and the problems with UDTs (User Defined Types) and I bumped into the BLToolkit. This toolkit is a set of components to use when accessing data from a couple of providers, such as SQL Server. I looked at their tutorial and I liked what I saw. No dataset designer involved, just pure C# code and a couple of configuration settings and the work is done!
I will show how to use the spatial data types with BLToolkit, by presenting an extension of the toolkit to make the data access involving the new types a piece of cake. I have added a new attribute class to the toolkit making this possible.
Site has been down…
Due to problems with VMware Server 2.0, freddes.se has been down for a couple of days. I decided not to dig into the problem but instead back up to a working configuration using VMware Server 1.0.X instead.
I’m sorry for this, but now the site should be up and running again. During the following days the site may be a little unstable due to maintenance, but I really really hope it will run smoothly again soon.
The crash caused the next part of the MVC web service design article to be delayed. I will try to publish this in a couple of days.