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...
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...
Looking for more information about VS2008 and .NET 3.5? I suspect you might just be as there is a ton of new functionality and with the pace of everything coming out it isn't likely that you know it all To help learn the new stuff Microsoft has put a Visual Studio 2008 and .NET Framework 3.5 training...
If you are expecting a link to the download I am sorry but you are going to be disappointed Why? Because it just isn't available yet! I can already hear you saying "But it must be coming any day now, right?" Wrong Yes, I just heard from Hugo that there are no current plans for releasing...
Just a quick tip for when developing with SQL Server. When doing a lot of updates in SQL the transaction log might grow quite large clogging up the disk and slowing things down. An easy and quick way to cleanup is to use: backup log <<Database name>> with truncate_only go dbcc shrinkdatabase...