Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2005

Tip: Looking for answers? Try searching our database.

Function Call

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don Gerard - 24 Mar 2005 19:27 GMT
Does anybody know a way to capture all the function calls to a web service.  I want to log the IP and the call, but I don't want to place a call to this function in every WebMethod.

Thanks for your help!
Brock Allen - 24 Mar 2005 19:38 GMT
Add a global.asax and inside add a Application_BeginRequest event handler.
This will get called for every request into your application. Within the
event handler you can access the Request object which should give you anything
you'd need to know about the client HTTP request.

-Brock
DevelopMentor
http://staff.develop.com/ballen

> Does anybody know a way to capture all the function calls to a web
> service.  I want to log the IP and the call, but I don't want to place
[quoted text clipped - 7 lines]
> Posted by a user from .NET 247 (http://www.dotnet247.com/)
> <Id>G0yzdL/Dj0iXXKlIK4+b4A==</Id>

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.