Your best source of information and news about secrets, windows and Vista hardware on the internet

June 16th, 2007

You are currently browsing the articles from MS Windows Vista Compatible Software written on June 16th, 2007.

Cheap Dedicated Hosting Reviews

If you need cheap dedicated hosting you have to check this site. Comparison and differences between the cheapest dedicated hosting services. All plans starting from $29. One of the reasons people choose to outsource dedicated servers is the availability of high powered networks from multiple providers. As dedicated server providers utilize massive amounts of bandwidth, they are able to secure lower volume based pricing to include a multi-provider blend of bandwidth. To achieve the same type of network without a multi-provider blend of bandwidth, a large investment in core routers, long term contracts, and expensive monthly bills would need to be in place. The expenses needed to develop a network without a multi-provider blend of bandwidth does not make sense economically for hosting providers.

Written by Tihomir Nakov on June 16th, 2007 with no comments.
Read more articles on software.

Overloading Web Methods

It’s been a while since I got a chance to blog. Work and life was so busy to do anything other than those. Anyway, I’m back to my blogging habit and I hope to contribute the useful ones. To begin with,

How do you overload a web method?

You know you can leverage the OO concept with the web methods as well but once you try it out you’ll realize that it is not a straight forward ride. You have to tweak some of the header settings to let that happen. Here are the ones you have to tweak,

  • WebServiceBinding
  • MessageName

You have to make the WebServiceBinding conforms to WsiProfiles.None. And then you have to specify a Message Name so that you can distinguish between the overloaded methods in a descriptive way.

Here is an example,

[WebServiceBinding(ConformsTo = WsiProfiles.None)]
[WebMethod(MessageName = “Method1″, Description = “Description for Method1″)]

public string Method1(string input)

{    // implementation here    }

 

[WebServiceBinding(ConformsTo = WsiProfiles.None)]
[WebMethod(MessageName = “Method2″, Description = “Description for Method2″)]

public string Method2(string input)

{    // implementation here    }

tags: , , , , , ,

Written by askars on June 16th, 2007 with no comments.
Read more articles on .NET Framework 2.0 and Code Samples and howto and ASP.NET.