Ask a Question related to ASP.NET General, Design and Development.
-
Ric #1
Function call
Hi,
I need to call a function in my asp.net application from a
vb.net windows application running on the same machine.
Is this generally possible? How can this be realised?
Thanks
Ric
Ric Guest
-
mx:ColumnSeries Function Call?
I am trying to build a graph from an XML file. I would like to have the ColumnSeries add up 4 different XML entries and display it as a bar graph... -
Call page from function
Hi, I'm trying to use the web timer to schedule a call to an asp page. In practice, I want the server calls an asp page that makes several jobs. The... -
How do I call a function?
created a function: how do I call it? thx -
Can Actionscript call a vb.net function?
Is it possible for Actionscript to start a function in a vb.net? If so, can you show me an example? Thanks, Trint -
How do I call an outer function from a class method function?
I'm sorry guys but this is a bad day for me. I tried researching this one and was totally stonewalled (see... -
Steve C. Orr, MCSD #2
Re: Function call
You could use a web service.
Or you could use the WebRequest object to call an ASPX page, passing it
parameters on the command line.
Better yet, you could Reference the ASP.NET assembly and call it directly.
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Ric" <r.furner@gmx.com> wrote in message
news:037d01c35542$2ed55040$a301280a@phx.gbl...> Hi,
>
> I need to call a function in my asp.net application from a
> vb.net windows application running on the same machine.
> Is this generally possible? How can this be realised?
>
> Thanks
>
> Ric
Steve C. Orr, MCSD Guest
-
Kevin Spencer #3
Re: Function call
You would have to expose the function via Web Service or Remoting.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
[url]http://www.takempis.com[/url]
Big things are made up of
lots of little things.
"Ric" <r.furner@gmx.com> wrote in message
news:037d01c35542$2ed55040$a301280a@phx.gbl...> Hi,
>
> I need to call a function in my asp.net application from a
> vb.net windows application running on the same machine.
> Is this generally possible? How can this be realised?
>
> Thanks
>
> Ric
Kevin Spencer Guest
-
Don Gerard via .NET 247 #4
Function Call
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!
--------------------------------
From: Don Gerard
-----------------------
Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])
<Id>G0yzdL/Dj0iXXKlIK4+b4A==</Id>
Don Gerard via .NET 247 Guest
-
Brock Allen #5
Re: Function Call
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
[url]http://staff.develop.com/ballen[/url]
> 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!
>
> --------------------------------
> From: Don Gerard
> -----------------------
> Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])
> <Id>G0yzdL/Dj0iXXKlIK4+b4A==</Id>
>
Brock Allen Guest
-
Don Gerard via .NET 247 #6
Function Call
I am looking for a way to determine what funtion has been called in a web service. I want to log the function name and the IP address of the caller.
Thanks!
--------------------------------
From: Don Gerard
-----------------------
Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])
<Id>SGpeW4QjQ0CU8OZCKX742w==</Id>
Don Gerard via .NET 247 Guest
-
Brock Allen #7
Re: Function Call
You can add a global.asax file and add a Application_BeginRequest event handler.
You then have access to the Request object which can give you information
about the HTTP request. For a web service call, you'll have to find the proper
SOAP header (I forget its name). Then take that info and log it wherever
you want. The nice thing about Application_BeginRequest is that it's called
for every request into your application regardless of which web page or web
service. It's nice to have code in one place.
-Brock
DevelopMentor
[url]http://staff.develop.com/ballen[/url]
> I am looking for a way to determine what funtion has been called in a
> web service. I want to log the function name and the IP address of
> the caller.
>
> Thanks!
>
> --------------------------------
> From: Don Gerard
> -----------------------
> Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])
> <Id>SGpeW4QjQ0CU8OZCKX742w==</Id>
>
Brock Allen Guest



Reply With Quote

