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

Discussion in 'ASP .Net' started by jmcgrew@gmail.com, Feb 7, 2008.

  1. Guest

    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, 2008
    #1
    1. Advertising

  2. 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/library/kwdt6w2k(VS.80).aspx

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

    <> wrote in message
    news:...
    > 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?
    Coskun SUNALI [MVP], Feb 7, 2008
    #2
    1. Advertising

  3. 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


    <> wrote in message
    news:...
    > 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?
    Eliyahu Goldin, Feb 7, 2008
    #3
  4. sloan Guest

    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.



    <> wrote in message
    news:...
    > 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?
    sloan, Feb 7, 2008
    #4
  5. Guest

    On Feb 7, 5:56 am, "sloan" <> wrote:
    > 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.


    This looks awfully complicated and "enterprisey" for what I'm trying
    to do. Is there a reason to prefer MSMQ/WCF over .NET Remoting?

    Jesse
    , Feb 8, 2008
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Greg Liles
    Replies:
    3
    Views:
    392
    John Saunders
    Aug 27, 2003
  2. Shawn
    Replies:
    3
    Views:
    1,123
    Simon Brooke
    Oct 4, 2006
  3. c676228
    Replies:
    14
    Views:
    197
    c676228
    Sep 20, 2006
  4. Phrogz
    Replies:
    4
    Views:
    220
    Austin Ziegler
    Sep 6, 2006
  5. Dani Dani
    Replies:
    7
    Views:
    120
    Dani Dani
    Jul 21, 2010
Loading...

Share This Page