473,385 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1089
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**********************************@j78g2000 hsd.googlegroups.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**********************************@j78g2000 hsd.googlegroups.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.spaces.live.com/Blog/cns!A68482B9628A842A!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**********************************@j78g2000 hsd.googlegroups.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
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...
0
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...
5
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....
85
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...
2
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...
6
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...
3
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....
1
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
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
marktang
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.