Geeks With Blogs

News
View Szymon Kobalczyk's profile on LinkedIn

Szymon Kobalczyk's Blog A Developer's Notebook

Today I've started learning for the MCTS Exam 70-536: Application Development Foundation. My goal is to pass this exam by the end of this month. After all I've been programming in .NET since it's first public beta so I should already know all the “.NET fundamentals“ by heart. But you never know, so I will spend some time to revise this material.

In fact I've already stumbled upon one thing I didn't knew existed. It appears that in .NET 2.0 CLR compilers gained new feature called “Type forwarding“. In short new custom attribute TypeForwardedTo allows to move implementation of a class from one assembly to another, while preserving original references. You can read more on Junfeng Zhang's blog. At first glance it seemed cool but now I don't really understand how this can be useful. Maybe anyone here had opportunity to use it and could clarify on that.

Posted on Saturday, July 1, 2006 8:19 PM Development | Back to top


Comments on this post: .NET Fundamentals: Type forwarding

# re: .NET Fundamentals: Type forwarding
Requesting Gravatar...
I've not used this feature or attribute either but I like to use a funny metaphor for it.

South Park's episode with World of Warcraft showed how in desperation, a secret weapon was introduced to the game from a USB drive. This is an example of type forwarding, isn't it?

A bit out there, I know... :)
Left by John Askew on Oct 27, 2006 10:43 PM

# re: .NET Fundamentals: Type forwarding
Requesting Gravatar...
Imagine the following situation: you've created a large software library with lots of types defined in it and lots of people are using it already. However, the library has become so bloated due to its size, it becomes more and more difficult to maintain it. So, you want to split the existing library into multiple assemblies, but without breaking any existing consumer applications.

Left by dileep on Dec 18, 2007 6:34 AM

# re: .NET Fundamentals: Type forwarding
Requesting Gravatar...
I was also strugling with the concept until I came across this article
http://www.xhydra.com/mcts-70-536/type-forwarding.html
Left by V Klassen on Mar 05, 2008 4:17 PM

# estetik göğüs burun estetiği 3st3tik

Your comment:
 (will show your gravatar)


Copyright © Szymon Kobalczyk | Powered by: GeeksWithBlogs.net