Hi,
I have to use .NET remoting in my web application. I'm not familiar at all
with this in a web page. I've used it a lot in Windows Applications
thought... What I would like to know is : Where do I put my
"RemotingConfiguration.Configure("client.confi g")" line? is putting it in
the Form_Load still correct? What if an event is raised from the push of a
button or something like this? will it have access to the remoted object if
the said line is in Form_Load?
Thanks
ThunderMusic 4 1111
i have used remoting in a webservice , and used a appsettings section and
activated the component from code instead of the config method
in this way i was still able to externally swwitch the location and port
settings
regards
Michel Posseth [MCP]
"ThunderMusic" <NOdanlatSPAM@hotmaildotcom> schreef in bericht
news:uZ*************@tk2msftngp13.phx.gbl... Hi, I have to use .NET remoting in my web application. I'm not familiar at all with this in a web page. I've used it a lot in Windows Applications thought... What I would like to know is : Where do I put my "RemotingConfiguration.Configure("client.confi g")" line? is putting it in the Form_Load still correct? What if an event is raised from the push of a button or something like this? will it have access to the remoted object if the said line is in Form_Load?
Thanks
ThunderMusic
Hi,
Place the configure call in the Application.Start event handler in
Global.asax.
--
HTH,
Rakesh Rajan
MVP, MCSD http://www.rakeshrajan.com/
"ThunderMusic" wrote: Hi, I have to use .NET remoting in my web application. I'm not familiar at all with this in a web page. I've used it a lot in Windows Applications thought... What I would like to know is : Where do I put my "RemotingConfiguration.Configure("client.confi g")" line? is putting it in the Form_Load still correct? What if an event is raised from the push of a button or something like this? will it have access to the remoted object if the said line is in Form_Load?
Thanks
ThunderMusic
ok, it says the file (config file) cannot be found. Where should I put this
file? I tried it in the base dir of the web app, I tried it in the /bin dir
too... all the aspx files are in the root, so I don't know it can't find
the config file...
thanks
"Rakesh Rajan" <rakeshrajan {at} mvps {dot} org> wrote in message
news:77**********************************@microsof t.com... Hi,
Place the configure call in the Application.Start event handler in Global.asax.
-- HTH, Rakesh Rajan MVP, MCSD http://www.rakeshrajan.com/
"ThunderMusic" wrote:
Hi, I have to use .NET remoting in my web application. I'm not familiar at all with this in a web page. I've used it a lot in Windows Applications thought... What I would like to know is : Where do I put my "RemotingConfiguration.Configure("client.confi g")" line? is putting it in the Form_Load still correct? What if an event is raised from the push of a button or something like this? will it have access to the remoted object if the said line is in Form_Load?
Thanks
ThunderMusic
Hi,
Could you provide the code please?
--
HTH,
Rakesh Rajan
MVP, MCSD http://www.rakeshrajan.com/
"ThunderMusic" wrote: ok, it says the file (config file) cannot be found. Where should I put this file? I tried it in the base dir of the web app, I tried it in the /bin dir too... all the aspx files are in the root, so I don't know it can't find the config file...
thanks
"Rakesh Rajan" <rakeshrajan {at} mvps {dot} org> wrote in message news:77**********************************@microsof t.com... Hi,
Place the configure call in the Application.Start event handler in Global.asax.
-- HTH, Rakesh Rajan MVP, MCSD http://www.rakeshrajan.com/
"ThunderMusic" wrote:
Hi, I have to use .NET remoting in my web application. I'm not familiar at all with this in a web page. I've used it a lot in Windows Applications thought... What I would like to know is : Where do I put my "RemotingConfiguration.Configure("client.confi g")" line? is putting it in the Form_Load still correct? What if an event is raised from the push of a button or something like this? will it have access to the remoted object if the said line is in Form_Load?
Thanks
ThunderMusic This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: José Joye |
last post by:
Hello,
I have created a NT Service and I expose some methods through "Remoting".
All works great. However, I want to prevent that everyone (within my
Intranet) will be able to use it.
As I...
|
by: Dicky Cheng |
last post by:
Hi,
I am using .net remoting technology. I set up a .net remoting client and
server in IIS. When the client calls the server, the server will run a long
duration method (30-60seconds). I have a...
|
by: Uma Vivek |
last post by:
Hi,
I have a problem with Flash remoting via .NET . I seem to have all the
code right, but flash does not seem to display the data at all.
Here's is what Ive done so far...
(1) Ive...
|
by: matthew_glen_evans |
last post by:
Hi there,
Quick one about interfaces in c#. It seems that it is illegal to
declare types within an interface.
I was quite used to doing this in VB.net where the interface can define
a...
|
by: Howard Swope |
last post by:
I came across an interesting bug I thought I would throw out there. It
occurs when you are remoting a parameter that is of the same type of the
class that is being called for example the first line...
|
by: LGHummel |
last post by:
I'm trying to host a remoting app in IIS and am getting the following error:
Failed to execute the request because the ASP.NET process identity does not
have read permissions to the global...
|
by: Lambuz |
last post by:
First of all, is it possible usign .NET remoting feature inside a .NET
applet loaded into a tag object inside an HTML page ?
<OBJECT id="myID" height="150" width="300"...
|
by: Ryan |
last post by:
My apologies if this is not the forum to post questions regarding .NET
Remoting, but I figured WebServices would be the most appropriate forum of
the bunch.
We're currently completely re-arching...
|
by: José Joye |
last post by:
Hello,
What is the best way to stop a remoting server (Singleton SAO) that has been
started with RemotingConfiguration.Configure().
For sure, I want to do this without quitting the application...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |