Pages: << 1 ... 10 11 12 13 14 15 16 17 18 19 20 ... 105 >>

02/04/10

Permalink 10:50:27 am
Categories: .NET

WCF Training in the UK

My friend John Martin asked me whether I could post this on my blog – I was a bit hesitant, but then I thought it will be interesting to a lot of people, and hopefully a few from the UK are reading my blog!

John says he’s been asked a number of times to offer a WCF class in the UK, and now he can finally announce one: The WCF Master Class with Michele Leroux Bustamante, May 10-14 2010 at Peckforton Castle in Cheshire, UK.

For all the details on this class, click here to go to John’s own site. And if you happen to be at the VS Launch/DevConnections in Las Vegas in a few days’ time, you can meet John there at booth 512.

Okay, enough of the plug! I’m sure the training is going to be good fun, and the castle location sounds very interesting. And of course you could be doing worse than Michele if you need to learn some WCF! :-)

Enjoy!

31/03/10

Permalink 09:19:02 am
Categories: .NET

Speaking at Edge UG - Functional Programming at TechDays UK Fringe

On April 13th, during Microsoft’s inaugural UK TechDays event, I’ll be speaking for the Edge UG at the main Fulham Broadway venue. This is part of what Microsoft call the Fringe events, community hosted events that complement the main Developer and IT Pro days.

I will be speaking about functional programming on the .NET platform, using both the C# and the F# languages. Here’s the abstract for this talk:

F# is a new language in Visual Studio 2010, a hybrid that crosses over from the well-known object oriented .NET world into that of functional programming. It makes parallel programming easier, they say - and it does, in addition to all the other cool language structures it offers. But the idea of functional programming doesn’t depend on the language alone, and good old C# can be used to implement many of the same ideas. In this presentation, Oliver gives an overview of functional aspects in both languages, explaining F# as he goes along and conjuring up much mind-bending syntax in C#. Don’t miss it!

To sign up for the event, just go to the Edge UG homepage. See you there!

22/03/10

Permalink 11:23:37 am
Categories: .NET

Slides and Samples from DevWeek 2010

Last week I was down in London and spoke at DevWeek 2010. As usual, it was a great conference! Thanks to everybody who attended my talks!

I promised to put up my slides and samples – my apologies, it didn’t work out earlier. Here’s everything you need:

Talk: Functional Programming in F#

Talk: The Advantage of Immutable Data

Post-con Workshop: Functional Programming in C# Deep Dive

12/03/10

Permalink 05:21:28 pm
Categories: .NET

That Splitting Thing

I just twittered a few minutes ago, saying “Seems like VS 2010 can still not show the same file twice in panels next to one another. Am I missing something?". I’m still interested in the answer, if there is one, but meanwhile I thought I’d blog about something I’ve found interesting for a long time: the way our heads seem to work differently when it comes to applications of the words “horizontally” and “vertically".

You see, in Visual Studio (and that has been the same thing with MDI windows before that), they have a thing called a “Tab Group", which comes in horizontal and vertical varieties. These days the difference is illustrated in little icons at least, defining it like this:

Horizontal group (exhibit A):

+--------------------+
|                    |
+--------------------+
|                    |
+--------------------+

Vertical group (exhibit B ):

+-------+-------+
|       |       |
|       |       |
|       |       |
|       |       |
|       |       |
|       |       |
+-------+-------+

Now here’s my gripe with that: it’s the wrong way round!

In my eyes, exhibit A might be described as “a tab group with a horizontal splitter", but it is not a horizontal tab group. These things are not the same. A horizontal tab group is one where the tabs, the defining feature of a tab group, surely, are shown “horizontally", i.e. next to each other in horizontal direction. Just like exhibit B, in fact. And vice versa, of course.

I don’t know what somebody was thinking when they came up with those names, or maybe it’s just my head that works differently. It doesn’t make sense to me, in any case. And that’s the important point of this post: if you never realized that these terms might be confusing to somebody, here you are now!

One important factor in successful communication is about understanding misunderstanding – which is why, in my tweet, I was avoiding the terms “horizontal” and “vertical” as being confusing in the context. Of course the first and so far only reply I got to my tweet (and I’m not naming any names here <g> ) went “hey, do you mean vertically?” Hmpf.

Oh, and yes, according to the MS definition I mean vertically, yes. A tab group with a vertical splitter, that has been split in vertical direction, or whatever. A tab group with the tabs showing horizontally next to one another. And the same file on both sides of the splitter. Not possible, is it?

Permalink 10:51:45 am
Categories: General, Programming, .NET

Sharing Solutions between VS 2008 and VS 2010

I have a solution with several projects that I currently work on in VS 2008. I would like to use VS 2010 for it instead, to benefit from new debugger features etc… but it should remain on the .NET 3.5 platform, and I would also like to keep things compatible so the solution can be opened and built in VS 2008 later on, if necessary.

I’m sure I haven’t looked at everything yet, and perhaps there will be issues down the line. But it certainly seems that this is pretty simple. Of course, right when you open such a solution in VS 2010, it doesn’t look simple at all: the import wizard comes up and wants to convert your projects. After you’ve done that, VS 2008 won’t open your solution anymore. Hm… so Microsoft doesn’t want you to do this?

Looking at the project (.csproj) files, quite a lot of changes have been made. The version number has been increased, but there’s also lots of new stuff included in the various sections of the file. That looks difficult. The solution (.sln) file on the other hand has only one change made, which is the version number. Now guess which of the two is the one that causes the problem? Wrong.

The problem is in fact the solution file. Although it’s only the version number that has changed, that number is evidently used to prevent opening the solution in an older VS version. Fair enough – until you find out that it is perfectly possible, and apparently even safe, to open the vastly more complex project files in an older VS version. Go figure.

So, the solution I went for is simple: I moved aside the modified .sln file and reverted the old one from svn. Now I have two different .sln files, one for VS 2008 and one for VS 2010. Both include the same projects, and these are in the VS 2010 format. Nevertheless, they work in both versions of VS without a hitch.

There’s one complaint during the build process in VS 2008, which is about the ToolsVersion – this is a parameter in the project file, which has been set to 4.0 by the conversion wizard. Fortunately, msbuild reverts to 3.5 automatically, so there’s no damage done and the build still works just fine. Other than that, I haven’t found any problems yet. I even tried to change project settings in VS 2008, and this leaves the versions intact even though 2008 must be a bit surprised to see 4.0 in there… again, go figure.

<< 1 ... 10 11 12 13 14 15 16 17 18 19 20 ... 105 >>

Enter your email address:

Search

Oliver
MVP logo
May 2015
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31