Navigation

Search

Categories

On this page

Enterprise Services and Exceptions III
PDC is on!
Melbourne, Australia
TweakDotNet v0.1 Alpha
Atom 0.2 Feed
Back at The Norwegian .Net User Group
An interesting start...
Visual Studio.NET 2003 RTM on MSDN

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 83
This Year: 0
This Month: 0
This Week: 0
Comments: 20

Sign In

# Sunday, September 14, 2003
Enterprise Services and Exceptions III
Sunday, September 14, 2003 6:25:01 AM UTC ( Enterprise Services )

I keep getting questions about the use of custom exceptions with serviced components, and why they sometimes lose their type “on the wire”. As I never really finished this topic in my previous blog entries, I thought it was about time I provided a small conclusion.

From my somewhat limited understanding of the subject there is an optimization taking place in the underlying infrastructure. If your method signature only contains isomorphic types like integers, strings and doubles it is more efficient to use COM Interop to communicate with serviced components because then you don’t have to utilize the .Net serialization engine. However if your method signature contains more complex types, non-isomorphic types like datasets, the .Net serialization engine will be used together with .Net remoting over a custom DCOM channel. In the latter case your custom exceptions will work as expected. Unfortunately, in the first case you will be limited by COM Interop that uses the COM infrastructure, HRESULT values and IErrorInfo, to support exception handling. The result is that exceptions with a registered HRESULT value like most system exceptions will be recreated and returned as expected while custom exceptions most likely will reappear as a COMException type if you provide your own HRESULT or as an ApplicationException type if your exception simply derives from that base class.

As far as I know there is no known fix for this problem short of forcing a more complex method signature, which isn’t exactly something I would recommend.

Comments [0] | | # 
# Thursday, September 4, 2003
PDC is on!
Thursday, September 4, 2003 3:35:56 AM UTC ( General )

After a few months of insecurity I finally got confirmation that I’ll be attending the Microsoft Professional Developers Conference 2003.

I’m really looking forward to diving into the new distributed application platform, the next version of Windows, SQL Server and Whidbey, and of course seeing some of the industries finest techies in action.

And with a little bit of luck there will be some very interesting discussions and bloggers events.

In short; I just can’t wait!

Comments [0] | | # 
# Monday, September 1, 2003
Melbourne, Australia
Monday, September 1, 2003 2:11:26 PM UTC ( General )

In a rather interesting turn of events I find myself enjoying a much deserved 6 weeks long vacation in Melbourne, Australia.

I’m visiting a long time friend of mine, and combining a piece of local culture with a rather fair amount of computer related research and some of the world’s finest red wine.

I guess this makes me wonder if any .Net bloggers out there are keen on grabbing a computer related beer in the heart of Melbourne.

Comments [0] | | # 
# Saturday, August 16, 2003
TweakDotNet v0.1 Alpha
Saturday, August 16, 2003 11:30:43 AM UTC ( Tools )

I’ve opened up a GotDotNet Workspace for a small pet project of mine. TweakDotNet is a configuration utility that lets you change source control providers and configure assembly folders. I know there are tools out there to do these things already, but I wanted a single extensible program where I could add this sort of functionality as ideas popped into my head.

If you need that sort of functionality or simply just want a new tool for your toolbox then give it a try :)

Comments [0] | | # 
# Sunday, August 10, 2003
Atom 0.2 Feed
Sunday, August 10, 2003 4:48:55 PM UTC ( Blog )

This blog has been kind of quiet lately. I’ve been very busy with work, warm weather and trying to steal some time away from my everyday life to catch up on some very interesting tech reading. However my schedule seems to be clearing up a bit, and hopefully this will leave some time for this blog.

I’ve added an experimental atom 0.2 feed to my blog as well as to the newtelligence dasBlog blogging engine. It validates so give it a try :)

Comments [0] | | # 
# Friday, May 30, 2003
Back at The Norwegian .Net User Group
Friday, May 30, 2003 6:21:46 PM UTC ( Architecture | Talks )

I talked about Message Oriented Architectures at the Norwegian .Net User Group (NNUG) on the 27th of May in Oslo. This was my second speaker appearance at NNUG, and this session was a very different experience from my last one. I found it a lot more challenging to talk about architecture than talking about dynamic SQL vs. stored procedures. It’s really hard to decide on what slides and bullet points to include when delivering an introduction to such a wide and exiting topic.

It was fun to share my thoughts on XML and modern messaging, loosely coupled designs and asynchronous messaging. I ended the talk with some slides on GXA and the XML message bus. After the presentation we had a very interesting discussion about some issues with asynchronous designs.

I’ve made the slide deck available here if anyone is interested.

Comments [0] | | # 
# Wednesday, May 7, 2003
An interesting start...
Wednesday, May 7, 2003 3:32:41 PM UTC ( General )

Clemens enlightened the audience at the Norwegian Visual Studio. NET 2003 launch event, SOAP 1.2 became a W3C Proposed Recommendation and Mono got C# Iterators. I guess this makes for an another interesting .NET month :)

Comments [0] | | # 
# Thursday, April 10, 2003
Visual Studio.NET 2003 RTM on MSDN
Thursday, April 10, 2003 5:56:04 PM UTC ( General )

Visual Studio.NET 2003 RTM is available trough MSDN Subscriber Downloads! Go fetch :)

Comments [0] | | #