Posts for #.NET

Here’s the newest version of my Visual Studio plugin, built against DXCore version 10.1.7 and tested with VS 2010. The previous build had a problem getting the colors right in VS 2010 – that is fixed now. Check out the original description here! The instructions for use haven’t really changed much. Here they are again:

  • If you don’t have DXCore yet, download it here and install it: (oh yeah - it’s free!)
  • Download the plugin here: OS_CompilationResult-
  • Drop the plugin dll into this folder (adjust if your installation path is different, and of course insert your own username): C:\users\<me>\Documents\DevExpress\IDE Tools\Community\PlugIns
  • Restart Visual Studio
  • If you want to configure the lists of things the plugin says (or you even want to switch it off - what made me say that?), go to the Options dialog (DevExpress menu, Options) and find the page “Hinting/Compilation Result”

I just decided to give the go-ahead for my DevExpress DXperience ASP.NET training class [LINK REMOVED], which takes place November 29-30 2010 in Egmond an Zee in the Netherlands. The group is only just large enough this time though, so here’s a shout-out for people interested in the topic! I still have seats available – sign up [LINK REMOVED] and tell your friends [LINK REMOVED].

I just stumbled upon this other thing that I don’t think I know: is it possible to dispatch really dynamically through the DLR, from C#? Let me explain. We know that we can use dynamic in C# 4.0, like so:

dynamic i = 10;

// i is now dynamic, but still works like an int:
int j = i + 10

// I can call crazy stuff on i, but the compiler doesn't care -
// it'll crash at runtime of course

Gaining knowledge is most fun if you didn’t even know you didn’t have it. I guess it’s the surprise principle – the unexpected christmas gift is one of the nicest to get. Suddenly you learn something you didn’t know, or perhaps, if the subject matter is really something you’re very familiar with, it’s rather that you’re suddenly reminded of something you probably new before but had forgotten about. Great!

I just changed the project type of a library of mine to .NET 4 Client Profile. That library implements a type called Tuple. Of course, in .NET 4 they have introduced their own Tuple type, which lives in the ubiquitous System namespace, so I got lots of error messages from a code file that uses the Tuple type heavily. The compiler was wondering whether that Tuple thing in code was System.Tuple or rather FCSlib.Data.Tuple. Oh dear.

In a comment [LINK REMOVED] to my recent blog post about my upcoming Expert XPO training class [LINK REMOVED], Michael Proctor, an old acquaintance from DevExpress days, asked me whether I would consider running similar classes online. In his words:

This looks great, there has been a few of your courses that would be great to attend however there is a big bloody ocean in the way. Have you ever consider running a second online version of the course to increase your market? I’m not saying run a massive webinar where it is impersonal, do the same as your classes except over something like live meeting. I’m not sure how your course is structured but if you are a whiteboard fan like myself I have found a decent sized pen tablet Intuos Large or Extra Large is a great whiteboard substitute. I can tell you that I know of a couple of people here in Australia that have asked about if there are any courses on XPO and unfortunately nope. I reckon you would fill the seats bloody quick for online delivery too, and obviously your costs would most likely be less as you don’t have the expense of a conference room etc.

The first ever public training class for DevExpress XPO is now available! Click here to see all the details! [LINK REMOVED]

January 27-28 2011 are the dates, the location will be London, UK (details will be announced as soons as possible), and sign-up is open right now [LINK REMOVED] with an early-bird discount available until November 30 2010.

I have just opened registrations for a new training class in January 2011: Business Apps with DXperience Silverlight. You can find all the details here [LINK REMOVED], with the exception of the location unfortunately – I’m working on that! I have ideas, but if you have certain preferences for the location, be sure to let me know! Signing up is possible [LINK REMOVED] right now, and if you do so before November 30 2010, you can take advantage of an early bird discount.

Here’s the summary text for the class content:

I just saw this post in the DevExpress XPO forum: ASP.Net XpoDataSource with standard ASP.Net Repeater. Specifically, the question is how a simple setup with XPO and the standard ASP.NET Repeater can support paging. Now, the following setup may not be optimal in all cases, because it depends on an XPCollection and may therefore have more overhead than you’d optimally want. But I still wanted to start by documenting the built-in support, so here goes. (You can skip the following descriptions and just grab the sample from the bottom of this post if you want.)

In my web form, I have the following code:

Last week was Basta! week in Mainz, Germany. I had a great time, as usual, with all the sessions, workshops, nightschools and keynotes I did… thank you to everybody who helped organize the event, and of course to those who attended! I hope to see all of you again next year! Here are the slides and samples from all my presentation (with the exception of the keynote – these were just pictures anyway…).

Next week I’ll be in Mainz, Germany for Basta! Conference, the largest .NET event over there. Just like the past few years, I have been the Advisory Board member responsible for the C# Days. These are Tuesday and Wednesday, and I’m sure they’ll be great again. DevExpress are exhibiting at Basta!, and on each of the three main conference days (that’s Tuesday to Thursday), I will be at their booth at 1:30pm (13:30 for the Germanys 😃) to do a bit of a product presentation and, perhaps more importantly, give away licenses for DevExpress software! They’ve got their own blog post up about this event, here.