473,321 Members | 1,708 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,321 software developers and data experts.

How to put ASP.NET in my application?

Hi,

I'm buliding a windows application. I would this application to be
monitored and controlled remotely from a browser. Is there a way to
host an ASP.NET interface within my application?

I don't want to force the end-users to have IIS installed and
configured just to access my program remotely from a browser.

Thanks!
John
Nov 17 '05 #1
6 1564
This looks like it might be what you need:

Host ASP.NET Applications
Leverage the System.Web.Hosting classes to serve up your own ASP.NET
applications.

http://www.fawcette.com/vsm/2002_10/...default_pf.asp

Ken
MVP [ASP.NET]

"John" <jo********@hotmail.com> wrote in message
news:d8**************************@posting.google.c om...
Hi,

I'm buliding a windows application. I would this application to be
monitored and controlled remotely from a browser. Is there a way to
host an ASP.NET interface within my application?

I don't want to force the end-users to have IIS installed and
configured just to access my program remotely from a browser.

Thanks!
John
Nov 17 '05 #2
Hi,

1) If you application implement Interface that will be registered as COM
(tlbexp) you can access this COM Interface from the browser scripting.

2) You can download light .NET DLL to the client that will use remoting
to communicate with your application.

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #3
John,
In addition to Ken Cox's suggestion of hosting ASP.NET.

Check out Cassini, which is the Sample Web Server that Web Matrix uses.

http://www.asp.net/Default.aspx?tabindex=7&tabid=41

It should help you get started hosting ASP.NET for your application.

Hope this helps
Jay

"John" <jo********@hotmail.com> wrote in message
news:d8**************************@posting.google.c om...
Hi,

I'm buliding a windows application. I would this application to be
monitored and controlled remotely from a browser. Is there a way to
host an ASP.NET interface within my application?

I don't want to force the end-users to have IIS installed and
configured just to access my program remotely from a browser.

Thanks!
John

Nov 17 '05 #4
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message news:<#o**************@TK2MSFTNGP10.phx.gbl>...
John,
In addition to Ken Cox's suggestion of hosting ASP.NET.

Check out Cassini, which is the Sample Web Server that Web Matrix uses.

http://www.asp.net/Default.aspx?tabindex=7&tabid=41

It should help you get started hosting ASP.NET for your application.

Hope this helps
Jay


Jay, Thanks!

I've been studying Cassini and I have it running.

What and how do I create a way for a remote user to check on the
status of my application from a browser?

My app is running. Cassini is running. Are they started from the same
main()?

Once they are running I assume the user makes a request to Cassini
from a browser and then I want Cassini to call some function in my app
and which returns some information that's then displayed to the user.
Does this make sense?

Cassini would do something like:

string sometext = myApp.getStatus();

And then translate sometext into an HTML page that is displayed to the
user.

Any pointers to get me started with this?

Thanks!
John
Nov 17 '05 #5
John,
Unfortunately Cassini itself does not allow remote connections.

Other than knowing Cassini is there, I do not know how you would, if you
could, modify it to support remote connections...

Hope this helps
Jay

"John" <jo********@hotmail.com> wrote in message
news:d8**************************@posting.google.c om...
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in

message news:<#o**************@TK2MSFTNGP10.phx.gbl>...
John,
In addition to Ken Cox's suggestion of hosting ASP.NET.

Check out Cassini, which is the Sample Web Server that Web Matrix uses.

http://www.asp.net/Default.aspx?tabindex=7&tabid=41

It should help you get started hosting ASP.NET for your application.

Hope this helps
Jay


Jay, Thanks!

I've been studying Cassini and I have it running.

What and how do I create a way for a remote user to check on the
status of my application from a browser?

My app is running. Cassini is running. Are they started from the same
main()?

Once they are running I assume the user makes a request to Cassini
from a browser and then I want Cassini to call some function in my app
and which returns some information that's then displayed to the user.
Does this make sense?

Cassini would do something like:

string sometext = myApp.getStatus();

And then translate sometext into an HTML page that is displayed to the
user.

Any pointers to get me started with this?

Thanks!
John

Nov 17 '05 #6
And what about a WebService calling Cassini from your Application ?

From http://developmentnow.com/g/8_2003_6...pplication.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
Nov 19 '05 #7

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

Similar topics

9
by: J. Baute | last post by:
I'm caching data in the Application object to speed up certain pages on a website The main reason is that the retrieval of this data takes quite a while (a few seconds) and fetching the same data...
3
by: Amit Dedhia | last post by:
Hi I am developing a Dot net application (involving image processing) on a uni processor. It works well on my machine. I then take all my code on a multi processor, build and run the application...
6
by: orekin | last post by:
Hi There I have been trying to come to grips with Application.Run(), Application.Exit() and the Message Pump and I would really appreciate some feedback on the following questions .. There are...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
6
by: Josef Brunner | last post by:
Hi, I published my application (VS 2005) and am now trying to install it when I get this error message. It worked before...even on a different machine. Here is the detailed description: ...
9
by: jeff | last post by:
Hi All. I realize that when my Deployed winforms application starts, Windows needs to load the .net 2 framework before control is given to my application.... Is there anyway to either ... -...
3
by: asadikhan | last post by:
Hi, I have written a windows application with a GUI (let's call it MENU). I own the code for this application and have access to it. We have another application that is a third-part windows...
2
by: Michael Kalika | last post by:
Hi, We have developed a VSTO 2005 Excel application and we would like to leverage ClickOnce deployment mechanism for distribution of this application. How can we do that? I was digging in MSDN...
0
by: Tifer | last post by:
Hello, I am building my first .Net Application. The first couple of Publish and Installs I did went fine. But after a couple of builds, I get a modal dialogue box error every time upon trying...
4
by: Dave | last post by:
I have a global.asax file with Application_Start defined and create some static data there and in another module used in the asp.net application and I realize that static data is shared amongst...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.