473,807 Members | 2,825 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Making an ASP.NET page talk to a running .NET program

I'm not very familiar with ASP.NET, so any pointers would be
appreciated.

I'm developing a C# program which will basically run in the background
as a server. I want to have a web-based front end which people can use
to configure the server, edit their accounts, upload new data, etc.

One way to implement this would be for the server to accept
connections on a special port, and the ASP pages would connect to the
server and talk over the socket. But that adds complexity to the
server.

Is there a way to let the ASP pages work directly with the objects in
the server process instead?
Feb 7 '08 #1
3 1105
Hi,

Yes, .NET Remoting is used for such kind of business issues.

For information regarding .NET Remoting, please visit the following page:
http://msdn2.microsoft.com/en-us/lib...2k(VS.80).aspx

--
All the best,
Coskun SUNALI
MVP ASP/ASP.NET
http://sunali.com
http://www.propeople.dk

<jm*****@gmail. comwrote in message
news:49******** *************** ***********@j78 g2000hsd.google groups.com...
I'm not very familiar with ASP.NET, so any pointers would be
appreciated.

I'm developing a C# program which will basically run in the background
as a server. I want to have a web-based front end which people can use
to configure the server, edit their accounts, upload new data, etc.

One way to implement this would be for the server to accept
connections on a special port, and the ASP pages would connect to the
server and talk over the socket. But that adds complexity to the
server.

Is there a way to let the ASP pages work directly with the objects in
the server process instead?
Feb 7 '08 #2
Consider using MSMQ with WCF. Just google for these 2 words.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
<jm*****@gmail. comwrote in message
news:49******** *************** ***********@j78 g2000hsd.google groups.com...
I'm not very familiar with ASP.NET, so any pointers would be
appreciated.

I'm developing a C# program which will basically run in the background
as a server. I want to have a web-based front end which people can use
to configure the server, edit their accounts, upload new data, etc.

One way to implement this would be for the server to accept
connections on a special port, and the ASP pages would connect to the
server and talk over the socket. But that adds complexity to the
server.

Is there a way to let the ASP pages work directly with the objects in
the server process instead?

Feb 7 '08 #3
Check here:

http://sholliday.space s.live.com/Blog/cns!A68482B9628 A842A!158.entry
I have a msmq example and nonmsmq wcf examples.

downloadable code....run a few .sql scripts and it'll work.
But WCF is probably the tree you want to bark up.

<jm*****@gmail. comwrote in message
news:49******** *************** ***********@j78 g2000hsd.google groups.com...
I'm not very familiar with ASP.NET, so any pointers would be
appreciated.

I'm developing a C# program which will basically run in the background
as a server. I want to have a web-based front end which people can use
to configure the server, edit their accounts, upload new data, etc.

One way to implement this would be for the server to accept
connections on a special port, and the ASP pages would connect to the
server and talk over the socket. But that adds complexity to the
server.

Is there a way to let the ASP pages work directly with the objects in
the server process instead?

Feb 7 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
5167
by: foldface | last post by:
Hi I think from looking into google newsgroups history that you can't do this, however can someone confirm that: Using IE6 Can you load a web page (say www.google.co.uk) Then move to a web page with 2 frames, the centre frame containing the last page visited, in this case google? I get the impression you can do this using netscape via history
0
1699
by: Ken Durden | last post by:
I'm working on a client-server application where the client is controlling two devices (aka servers) which both implement the same interface contract. We have a set of about 4 assemblies which specify the interfaces and the data types which flow through the interfaces. Initially, we thought this would be enough for the client to talk with the server. In general it is, but when an exception is generated by the server it fails to...
5
1177
by: Norberto Rivera | last post by:
Is there another option that allows me to do what I want to do? Javascript does not allow me (as far as I could see: I don't know much) to delete, rename, or copy a file at the web hosting side. Is there any trick in javascript or anything else that allows me to do this? Help.
85
3305
by: masood.iqbal | last post by:
I know that this topic may inflame the "C language Taleban", but is there any prospect of some of the neat features of C++ getting incorporated in C? No I am not talking out the OO stuff. I am talking about the non-OO stuff, that seems to be handled much more elegantly in C++, as compared to C. For example new & delete, references, consts, declaring variables just before use etc. I am asking this question with a vested interest. I...
2
1432
by: Carl Howarth | last post by:
Sorry to repost, but I am fairly desparate to get this issue resolved! Please see below, when it hangs if I leave it long enough I get a 'General Network Error', or something similar. Could this be down to the web servers being on the DMZ, or perhaps some configuration value in the web.config file? Any help would really be appreciated as I am due to put the system live ASAP.
6
2963
by: Mark | last post by:
I'm building a web utility to do some processing that will run for several hours. Assume I have a valid reason for using the web for the utility. During the process I'd like to display an update on the job's status while not stopping the process that is running. It does not need to be pretty. I'd be quite happy with a quick Response.Write("Job has finished consuming 300 of 9356 bananas"); or similar. I don't care if the message is...
3
6198
by: Ben Finney | last post by:
Howdy all, For making a Python program calve off an independent daemon process of itself, I found Carl J. Schroeder's recipe in the ASPN Python Cookbook. <URL:http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/278731> This is a thorough approach, and I'm cribbing a simpler process from this example. One thing that strikes me is that the algorithm seems to depend on running the program as the root user.
1
4054
by: myburt | last post by:
I'm working on very simple lessons to learn c #. Can anyone give an example of how to make a virtual object such as these Thank You. namespace critter_menu { class Program {
4
5403
by: Simon | last post by:
If I am running a long time query, how to show a wait page at then? Is there any recommended way to do it? Thanks.
0
9599
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10626
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10374
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,...
0
10112
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
agi2029
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...
0
6879
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();...
0
5546
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...
1
4330
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
2
3854
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.