Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 24th, 2008, 06:44 AM
Authorized User
 
Join Date: Aug 2007
Location: new delhi, delhi, India.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to expose limited no of Web method in a WebService

I have 5 Web methods in a WebService.I need to expose only 2 of them to a particular Client .How can I do this in asp.net 2.0?? Please advice.
  #2 (permalink)  
Old December 26th, 2008, 08:33 PM
Friend of Wrox
 
Join Date: Nov 2007
Location: Central Florida, USA.
Posts: 207
Thanks: 2
Thanked 15 Times in 15 Posts
Default OK then....

Does anyone else use these methods and you just want to exclude this one particular client? or just want to exclude these methods from everyone? If everyone then change the methods to private. otherwise i guess you could add a parameter to the method and depending on what's passed to the method you could exit it or you could run it. there's probably a better way but that's off the top of my head.
__________________
Jason Hall

Follow me on Twitter @jhall2013
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WebService(Method Cal) RAGHAVENDRAN .NET Web Services 1 January 2nd, 2008 10:17 AM
Error calling a method in the webservice madhusrp .NET Web Services 1 April 12th, 2007 08:54 AM
Expose BLL for Web Service stan92 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 November 30th, 2006 04:13 AM
Upload a file with a webservice method. chriskeeble .NET Web Services 2 March 14th, 2005 10:42 AM
About method of class in Web Service hueduongit .NET Web Services 5 December 11th, 2003 09:09 PM



All times are GMT -4. The time now is 11:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.