.Net

XML RSS feed for this category.
[Valid RSS]


Hosting .Net takes me back to the 'Good ol' days of COM' Posted by Len at 31 Jul 2007 01:15 PM
It's interesting, no, really, how the more things change the more they stay the same... I've been doing COM for a long time. I first discovered COM back at Interlink when I was writing a windows version of a product...


Sometimes it almost seems that they don't want you to get the code to work... Posted by Len at 24 Jul 2007 10:32 PM
I've spent some time over the last few days playing around with my CLR hosting socket server example. I had stalled on a piece of client work, I've got a bit of a head cold at the moment and my...


Echoes from the CLR Posted by Len at 20 Mar 2007 12:51 PM
The work on the CLR hosting socket server example is going pretty well. I now have a server that can pass server notifications to managed code that either runs in an AppDomain per connection or within a single AppDomain (depending...


Socket Server that hosts the CLR Posted by Len at 15 Mar 2007 05:49 PM
My investigations into CLR hosting are going well and today I built an echo sever based on my latest server framework and my CLR Hosting helper library. The idea is that the server can deal with the network IO and...


Yay .Net sockets stuff... Posted by Len at 5 Mar 2007 04:35 AM
Nice to see that the new beta, sorry, CTP, of the next .Net Framework will increase the performance of .Net sockets by 70%! Way to go .Net dudes.... Interesting to see that it's a joint effort between the System.Net people...


Hmm, is this really a good fix? Posted by Len at 5 Mar 2007 04:30 AM
Back in July Joe Duffy wrote an interesting piece on the CLR thread pool. I commented on it then, here. He's now written another piece about why they increased the maximum number of threads in "the thread pool" from 25/cpu...


Dino Viehland on CLR hosting Posted by Len at 13 Feb 2007 12:13 PM
This is mainly a reminder for me so that I can read this when I get back from Jackson Hole... Dino Viehland has written some interesting looking blog posts on how to implement the thread/task and syncrhonisation host managers for...


Lifetime management issues with CLR hosting Posted by Len at 12 Feb 2007 04:41 PM
I'm still playing with hosting the CLR in C++ (using "Customizing the Microsoft.NET Framework Common Language Runtime" by Steven Pratschner as my guide)... It's an interesting journey but, once again, I wonder who makes the important technical decisions at Microsoft...


Crapness in mscoree.h Posted by Len at 8 Feb 2007 03:49 PM
I'm playing around with hosting the CLR in C++ at present and have come across a bit of crapness in the mscoree.h file... #if (_MSC_VER...


CLR thread pool woes Posted by Len at 12 Jul 2006 08:47 AM
Joe Duffy has written an interesting piece over on "Generalities & Details: Adventures in the High-tech Underbelly" about problems with the CLR thread pool. Joe's a program manager on the CLR team at Microsoft, so he knows what he's talking...


Now I'm confused (C++/CLI destructors) Posted by Len at 8 Jan 2006 01:36 PM
So here I am, writing a piece about how the C++/CLI destructor and finalizer stuff could have been a bit neater and I put together some sample code to demonstrate my point and it doesn't do what the docs I...


Why are the "event" classes in .Net STILL broken? Posted by Len at 15 Nov 2005 06:01 PM
Whilst I'm ranting about the little things... You still can't create named versions of the .Net ManualResetEvent and AutoResetEvent, even in .Net 2.0. Wasn't everything going to be fixed in Whidbey?...


New C# v3 features explained in context Posted by Len at 22 Sep 2005 09:02 AM
Ted Neward has a very nice piece about the new language features in C# v3 and how they work together to provide something quite powerful. Go read it! Given that implicit typing, object initialisers and extension methods are all designed...


Restricting the use of extension methods? Posted by Len at 19 Sep 2005 11:37 AM
Having looked through the slides that Vagn pointed me to in a comment to my recent post about C# v3.0 Extension Methods I can understand, a little more, about the reasoning behind the change to the language. Given that the...


C# v3 Extension methods, syntactic sugar for the lack of free functions? Posted by Len at 16 Sep 2005 03:12 PM
There's a lot of noise coming out of the Microsoft PDC right now. Something that interested me was the future direction of C#; you can grab the spec from here. It seems they're adding "extension methods" which, to me, appear...


Overriding virtual functions, C# is better than C++ Posted by Len at 16 Sep 2005 12:22 PM
I've been merging my UDP framework development branch back to main, building all of my example servers and running all of the "black box" server tests. In doing so I've experienced the pain of changing virtual function signatures. This is...


What's with CreateProcess and managed exes? Posted by Len at 8 Sep 2005 10:06 AM
I have some code that launches another process in a suspended state, does some stuff (tm) and then resumes the process. This uses CreateProcess() and works fine on unmanaged exes. When I try and launch a manged exe with the...


It's the libraries, stupid Posted by Len at 19 Aug 2005 03:16 PM
Jeff Atwood has a nice piece on the productivity of different programming languages (go read it). His sums up with the following: Given .. 1). the abandonment of C++ and C for mainstream programming 2). the huge influence of individual...


I wonder what the rationale for this restriction is Posted by Len at 17 Aug 2005 07:09 PM
Geoff Appleby discovers that a common C++ template idiom doesn't work with .Net generics. The code that doesn't work is this: Public Class Class1(Of V As System.Web.Services.Protocols.SoapHttpClientProtocol) Inherits V End Class which is the .Net generics equivalent of this common...


Garbage Collection and Pointers Posted by Len at 12 Aug 2005 07:26 AM
So, Richard Hale Shaw is helping us move away from C++ and in his latest posting on the subject he explains how "veteran C++ programmers" don't like to manage memory themselves; hmm. I'd quite like to see his sample data....


Disappointing .Net Sockets article in MSDN Magazine this month Posted by Len at 22 Jul 2005 11:22 PM
There's a rather disappointing article on .Net sockets in this month's MSDN magazine....