Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 24th, 2008, 06:44 AM
Authorized User
 
Join Date: Aug 2007
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.
 
Old December 26th, 2008, 08:33 PM
Friend of Wrox
 
Join Date: Nov 2007
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





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





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