Groups | Blog | Home
all groups > asp.net > june 2003 >

asp.net : How to put ASP.NET in my application?


johnfofawn NO[at]SPAM hotmail.com
6/28/2003 6:29:43 PM
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!
Natty Gur
6/28/2003 8:08:17 PM
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 ***
Jay B. Harlow [MVP - Outlook]
6/28/2003 10:49:09 PM
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

[quoted text, click to view]

Ken Cox [Microsoft MVP]
6/28/2003 10:55:33 PM
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/magazine/columns/aspnet/default_pf.asp

Ken
MVP [ASP.NET]

[quoted text, click to view]
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

johnfofawn NO[at]SPAM hotmail.com
7/4/2003 8:47:20 AM
[quoted text, click to view]

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!
Jay B. Harlow [MVP - Outlook]
7/5/2003 5:48:29 PM
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

[quoted text, click to view]

xapatta
9/13/2005 12:00:00 AM
And what about a WebService calling Cassini from your Application ?

From http://developmentnow.com/g/8_2003_6_0_0_158907/How-to-put-ASP-NET-in-my-application.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button