Home >

System.Object Orientated Programming

6. March 2009

Lesson learned:  Don’t return the type System.Object in your methods or functions.  Use interfaces or classes and mark them Serializable.  You will save all the developers that come after you some headaches. 

Just ran into an issue where someone returned an object type and I needed to pass the object over WCF.  It kept closing my connection unexpectedly.  The fix, wrap the “object” and pass it back as a KnownType.

Comments

7/10/2010 12:34:38 AM #
I enjoyed reading it. I need to read more on this topic...I admiring time and effort you put in your blog, because it is obviously one great place where I can find lot of useful info..
7/11/2010 1:29:20 AM #
I've been searching for this answer for a long time
7/11/2010 3:18:17 AM #
It is remarkable, a very amusing idea
7/12/2010 10:50:29 AM #
This post was very well written, and it also contains many useful facts. I appreciated your distinguished way of writing the post. You have made it very easy for me to understand.
7/14/2010 10:02:47 PM #
amazon coupon codes
7/15/2010 10:51:30 AM #
U wilt geld lenen zonder BKR toetsing? De opties hiervoor worden groter, kijk verder en ontdek hoe u wél geld kunt lenen, snel & eenvoudig.
7/15/2010 10:20:36 PM #
I was pretty proud to look for this great site.My spouse and i planned to appreciate an excellent read!! I absolutely savoring every tiny bit of computer as well as I've anyone bookmarked to think about new material an individual submit.
7/21/2010 12:58:19 AM #
Thanks for writing this piece of information. I just want to let you know that I just check out your blog and I find it very interesting and informative. I can’t wait to read lots of your publishs because this nice information, valuable and valuable design, as share valuable stuff with helpful ideas and concepts, lots of helpful information and inspiration, both of which we all need, thanks for all the enthusiasm to offer such helpful information here.
7/23/2010 3:47:14 PM #
Fashions are the only induced epidemics, proving that epidemics can be induced by tradesmen.
7/25/2010 9:31:57 AM #
Migraine is een regelmatig terugkerend hoofdpijnsyndroom met aanvallen van minimaal 4 en maximaal 72 uur. Kenmerkend voor migrainehoofdpijn is de kloppende
7/26/2010 1:23:40 AM #
Do you have a spam problem on this blog; I also use Blog Engine, and I was speculating about your situation; we have developed some nice techniques and we are looking to exchange thoughts with others, please Email me if you are interested.
7/27/2010 9:28:13 PM #
I like the way your homepage is set up. It has a nice theme to it. I like the graphics of your website. I wish I can start a site that looks as good as urs .
7/30/2010 4:29:28 AM #
Hello! I just would like to give a huge three thumbs up for the fantastic information you have here on this post. I'll be visiting to your site for more soon.
7/30/2010 4:48:51 AM #
Thank you for this post, It's fantastic to see another BlogEngine user. Most people these days seem to use Wordpress, but I think BlogEngine.NET is the best system to use.
7/30/2010 10:55:18 AM #
This is somewhat the information I need. Thanks for writing this article in your site.
7/30/2010 7:35:02 PM #
thanks for share. wait for more article

Regards
Replica Watches
7/31/2010 1:14:28 AM #
You got a really useful website. I have been here reading for about 50 mins. I am a new and ur education is very useful to me.
7/31/2010 5:17:11 AM #
Ha, actions speak louder than words.

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading