DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

11
kicks
published 1 year, 4 months ago, submitted by dwhittaker 1 year, 4 months ago

devlicio.us — A simple howto for mocking a web service proxy class.

tags: , | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
This isn't a bad idea, but this wouldn't work in all situations.

For example, I am currently awaiting a 3rd party to write a web service that I will consume on my end. In the mean time, however, I would like to continue with development on my side. Having said all of this, the interface is most likely not ever going to exist on their side, so I'm forced to design the interface on my side.

So what I ended up doing was creating an interface, which defined the methods that my company, as well as the 3rd party, agreed upon. After that, I created a wrapper class, which implements my interface. Now, I simply create an object of type IMyInterface and initialize it using a factory method. As an added bonus, this will allow me to, for example, add a section to my web.config to be used for testing my web service at a later time, without having to recompile my code.
posted by senfo 1 year, 4 months ago
The idea is great, but I can agree with the previous comment, that it is not working in all situations!!!
posted by AnnaBay21 1 year, 4 months ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge