One of the nice new features in Visual Basic 9 are lambda expressions. They where actually added as one of the underlying pieces for LINQ. But besides enabling LINQ you can use them in all sorts of places. One of the places they really help me is in places where I previously needed to declare a delegate...
The current version of SQL Server Compact has no support for 64 bits computing. While this may seem a problem if you want to deploy you application on a 64 bits version of Windows it really isn't most of the time. In fact if you change your assembly from the default AnyCPU to x86 compatible it will...
VS2008 SP1 Beta is quite a package. By default the installation downloads the packages as needed and when needed. Now that is just fine if you only need to install a single machine. But when you need to install multiple, possibly virtual, machines like I have to it just wastes a lot of bandwidth and...
Posted to
The Problem Solver
(Weblog)
by
Maurice
on
05-16-2008
Filed under: .NET, LINQ, NetFx3, Workflow, VSTO, WCF, VB, DevCenter, ClickOnce, WPF, SqlCe
As I mentioned previously I was working in a Workflow Persistence Service using SQL Server Compact as the back end store. Now this might not be the best persistence store to use in every application but it has a number of advantages. One of the main advantages is ClickOnce deployment. In the case of...
As I previously mentioned having the LINQ DataContext create the database if it doesn't exist yet is a cool feature but it isn't perfect. The problem I just ran into was while using the |DataDirectory| macro, something the SqlCeConnection understands and will replace with the directory specified...
I was just reading a work around for timestamps with LINQ or WCF, and I must be stupid, but I just don't get it. In fact, ever since dotnet came out mapping timestamp to a byte array or SqlBinary, I never got why they did that. Timestamp is 8 bytes, so why not just map it to Int64 or UInt64 and for...
Paul Stovell finally notices the lack of support for statement lambdas in VB9 . Unfortunately Vb9 only supports lambda expressions such as can be expressed in today's expression trees. .NET 4.0 will most probably include support for lambda statements, and hopefully at the same time VB10 will have...
The new ReceiveActivity and SendActivity that marry Windows Workflow Foundation (WF) and Windows Communication Foundation (WCF) are really cool . Getting started is easy because a new Sequential Workflow Service Library, found under WCF instead of Workflow in VS2008, uses nice defaults for everything...
The default behavior with LINQ to SQL is to use deferred loading and works just great most of the time. But sometimes you might just want to load all related data at the same time because you know you are going to need it anyway and it saves a number of round trips to the database. Using the LINQ DataContext...
If you want to download the videos to watch later, or to happily play them faster, skip ahead etc, then you can grab the .wmv files instead of having to watch them in a browser in silverlight. I like to increase the play speed in parts and silverlight doesn't allow that ;) To get the .wmv's,...
Posted to
@ Head
(Weblog)
by
bill
on
02-23-2008
Filed under: VB, Life, Rant, LINQ, VB10, VS2008