I have a service that is set up to use remoting. Is there a way that calls
from a web page to this service can be debugged in Visual Studio 2005? 4 3607
Start two instances on your machine, one with the app calling the Remoting
Service, one with the service. Set breakpoints in the service and call. That
is the easiest and least intrusive way to do it. When the service is called,
it will break. It is not as straightforward as a web service, but there are
plenty of pages out there to help.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com
*************** *************** **************
Think outside the box!
*************** *************** **************
"John Wilmot" <nf*@nospam.com wrote in message
news:O8******** ******@TK2MSFTN GP04.phx.gbl...
>I have a service that is set up to use remoting. Is there a way that calls from a web page to this service can be debugged in Visual Studio 2005?
Sorry... not following you here. The remoting "service" is running as an
actual service on my local machine. I want to be able to set breakpoints in
the service, but it is not obvious how to do this and Google searches tend
to land on "remote debugging" rather than debugging remote "remoting
services".
I am wondering... is it even possible? If so, I am thinking it is somehow
related to attaching a process in the debugger.
You would think something with such an obvious need would have more
information available, but that does not seem to be the case.
"Cowboy (Gregory A. Beamer)" <No************ @comcast.netNoS pamMwrote in
message news:94******** *************** ***********@mic rosoft.com...
Start two instances on your machine, one with the app calling the Remoting
Service, one with the service. Set breakpoints in the service and call.
That is the easiest and least intrusive way to do it. When the service is
called, it will break. It is not as straightforward as a web service, but
there are plenty of pages out there to help.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com
*************** *************** **************
Think outside the box!
*************** *************** **************
"John Wilmot" <nf*@nospam.com wrote in message
news:O8******** ******@TK2MSFTN GP04.phx.gbl...
>>I have a service that is set up to use remoting. Is there a way that calls from a web page to this service can be debugged in Visual Studio 2005?
Hi,
Thirsty Traveler wrote:
Sorry... not following you here. The remoting "service" is running as an
actual service on my local machine. I want to be able to set breakpoints in
the service, but it is not obvious how to do this and Google searches tend
to land on "remote debugging" rather than debugging remote "remoting
services".
I am wondering... is it even possible? If so, I am thinking it is somehow
related to attaching a process in the debugger.
You would think something with such an obvious need would have more
information available, but that does not seem to be the case.
In such case, I like to use the "Attach to process" menu in VS2005. You
find this menu under "Debug" for example.
In the dialog, select the process you want to attach to. If the PDB
files are also available (you must use the "Debug" version for this),
then you'll be able to place breakpoints in the code. Using this
technique, there is no need to start two instances of Visual Studio,
though I find that it sometimes helps to keep a better overview (one
instance of VS being the client and the other being the service).
HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
One thing I've found helpful is to have all my services offer a
console option which runs them as a console app instead of as a
windows service. Then I can hook up the start command in VS to run
the service as a console and immediately debug. Choose console option
usually by passing "/console" as an argument and detecting it within
Main().
Attach to process is another option as a previous poster mentioned.
HTH,
Sam
------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.
>"John Wilmot" <nf*@nospam.com wrote in message news:O8******* *******@TK2MSFT NGP04.phx.gbl.. .
>>>I have a service that is set up to use remoting. Is there a way that calls from a web page to this service can be debugged in Visual Studio 2005? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: anders |
last post by:
Hi!
I have a config file that looks like this:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.runtime.remoting>
<application>
<service>
<wellknown mode="SingleCall" type="Interfaces, IMyFirstRemotableObj" objectUri="ControlCenter" />
</service>
|
by: Mural Kumar via .NET 247 |
last post by:
(Type your message here)
--------------------------------
From: Mural Kumar
Which is the best way to make a remoting
server?
1)As a Windows service
2)As a simple exe, which will run in a system tray.
|
by: Stephajn Craig |
last post by:
Is it possible to apply remoting techniques to a Windows Service
Application?
I have an application that I'm building that is primarily ASP.NET based.
However, there are some functions that I want to have run all the time in
the background. So I am implementing a Windows service to accomplish this.
However, I'd like to expose some funtionality out of this Windows Service as
well. I'd like to be able to remote control it to a certain...
|
by: |
last post by:
I cannot for the life of me get remove debugging to work. I continue to
receive "Error while trying to run project: Unable to start debugging on the
web server. Access is denied. Verify that you are an administrator or
member of the Debugger Users".
I have followed
(ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vsdebug/html/vxtbsHTTPServer
Errors.htm). I have seen...
|
by: Kirk |
last post by:
I'm trying to use a Web Service to be a Remoting client of an existing
..NET 2.0 server. But I get the following error when I try to use
System.Runtime.Remoting.Channels.Http in my WebService. The same code
works fine in a standalone app. I have inspected
System.Runtime.Remoting.dll with ildasm, and I can see the
....Channels.Http namespace there. I verified that the virtual
directory is configured to use v2.0.50727 (the error message...
| |
by: nyhetsgrupper |
last post by:
I have written a windows service and want to expose a web based user
interface for this service. I then wrote a class library containing a
..net remoting server. The class library have a method named
StartRemotingServer(). To be able to call this method from the windows
service I need to reference the remoting class library, but for the
class library to be able to access the internal structures of the
windows service the class library...
|
by: schaf |
last post by:
Hi Ng!
My application (version 1 a1) communicates with a service (version 1
s1). Now I would like to update the service and create a service
version 2 (s2). The new function calls within s2 are implemented in a
new interface, which derive from the old one to ensure that an old
version of my application (a1) still works with s2.
If i run my new version of the application a2 with s1 I get a
InvalidCastException (Return argument has an...
|
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 :-)
In fact, at a given time based on an internal event, I would like to stop
the remoting functionality within my process.
Many thanks,
|
by: erbilkonuk |
last post by:
Hi,
I am very new to .NET Remoting and I try to run a simple program to
subscribe to an event raised by Remoting Class. The Remoting Server
initiates an instance of Remoting Class as Singleton / Server
activated mode on startup. The Remoting Client accesses the Remoting
Class through the interface of the Class and subscribes to an event
of
the Remoting Class that will be fired upon the private member value
change.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |