Earlier today I had another discussion() with a co-worker of mine. This discussion related to magic strings and potential ways to get rid of them. I have previously mentioned that I dislike magic strings, but I haven't mentioned why. Nor have I mentioned in which circumstances which I dislike seeing them.
When do I use magic strings
There are cases where magic strings are pretty useful. An example of this is in communicating between different applications, where strings are more descriptive than using, for example, an integer. Thus, if I send a message from application A t ... Read more.
Earlier today I had a discussion with a co-worker who needed to replace the default template of the ScrollViewer control, in order to replace the ScrollBar with custom buttons. He had found some example of doing this in WPF, but the same sample did not work in Silverlight (the sample ... Read more.
About a year and a half ago, I wrote a post regarding the fact that they removed the State Machine when rewriting Workflow Foundation (WF) to create WF4. When listening to one of the PDC 2010 presentations regarding WF vNext, I found out that one of the news for the next version of WF was the State Machine. The other news coming with vNext, directly from the list in the presentation:
- State Machine
- C# Expressions
- Dynamic Update
- Enhanced Workflow D ... Read more.
Ever since I heard that Windows 7 would include a boot loader which supported booting directly from a VHD file I have been eagerly awaiting the arrival of Windows 7. For quite some time I have been doing development on virtual machines instead of non-virtual machines in order to be able to isolate the development environment for the different projects, so the boot from VHD option suits me perfectly since it removes the great performance loss of running a virtualisation software on top of an ... Read more.
I'm very fond of the Managed Extensibility Framework (MEF). MEF makes it very easy to create extendable and composable applications. At TechEd in Los Angeles this year Jason Olson held a presentation on opening up an application for extendability with MEF. During his session he presented a sample of a network status aware catalog, which seemed very easy to create and also felt as a very good example of a custom part catalog. Also, I haven't been able to ... Read more.
An interesting project that I’ve previously written about is the LINQ to XSD project. It’s not a LINQ Provider but it is a tool for generating code to work with XML files in a type safe manner (which will give you the power of LINQ to Objects with the type safe data objects).
Last time I wrote about the LINQ to XSD tool, I had received an answer to an e-mail query to the team. They said that they were looking at “ways to further the LINQ to XSD technology for its user community.” No ... Read more.
At the TechEd 2009 keynote today, Bill Veghte, VP for the Windows Business, announced that Windows 7 will be released before holidays (Christmas) this year (subscribers will probably get it before that). The same goes for Windows Server 2008 R2, which means that we will see both these systems making great Christmas presents for geeks everywhere.
When Mark Russinovich took over, he presented two things I found very interesting regarding Windows 7; the Read more.
I attended a TechEd pre-conference session today, in which one of the presenters, Zoiner Tejada, said something that surprised me. There will be no state machine workflows in Workflow Foundation in .NET 4.0.
However, we need not despair in its absence. WF in .NET 4.0 contains a hybrid workflow, which lies somewhere between the still existing Sequential Workflow and the late State Machine, the Flowchart.
I had planned on writing a short introduction to the Flowchart, but ... Read more.
A long time ago in a galaxy far, far away… That’s not really the case, but it’s not far from it. In early 2007 I first read about the LINQ to XSD project which Microsoft (or rather, it’s xml team) was working on. I haven’t he ... Read more.