473,511 Members | 15,852 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Custom Web Server

I have a simple little vb.net app that runs on a server. I would like to
have users log into it as a web page and view some status information. I
would like to avoid using IIS since the app may get installed on machines
that don't run this service. Any suggestions on the best route to take?

Thanks.

-Rob T.
Nov 21 '05 #1
16 1141
Look at the Cassini project on ASP.NET its an open source web server written
in .NET
"Rob T" <RT*********@DONTwalchemSPAM.com> wrote in message
news:uS**************@TK2MSFTNGP11.phx.gbl...
I have a simple little vb.net app that runs on a server. I would like to
have users log into it as a web page and view some status information. I
would like to avoid using IIS since the app may get installed on machines
that don't run this service. Any suggestions on the best route to take?

Thanks.

-Rob T.

Nov 21 '05 #2
* "Rob T" <RT*********@DONTwalchemSPAM.com> scripsit:
I have a simple little vb.net app that runs on a server. I would like to
have users log into it as a web page and view some status information. I
would like to avoid using IIS since the app may get installed on machines
that don't run this service. Any suggestions on the best route to take?


Maybe Cassini is what you are looking for:

<URL:http://www.asp.net/projects/cassini/download/?tabindex=0&tabid=1>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #3
Rob,

It sounds as a little big strange solution you are making. As far as I
understand you than you need remoting and than the users can use information
from your little vb.application.

http://msdn.microsoft.com/library/de...meremoting.asp

Doing it with a webpage would make from your little vb.application a serious
webserver.

And when you want to use HTML for it, therefore you have nothing from a
webserver on the local computer, therefore you need something as IIS on your
server (which is a standard feature of that). You have than to put at least
the output from your little vb.application in a file, database or whatever.

Just my thought

Cor
Nov 21 '05 #4
Hi CJ,

I am curious how did you get the idea that Cassini would solve this (see
when you do not understand see my message in this thread). Maybe I saw
someting wrong?

Cor
Look at the Cassini project on ASP.NET its an open source web server written in .NET

Nov 21 '05 #5
Hi Herfried,

I am curious how did you get the idea that Cassini would solve this (see
when you do not understand see my message in this thread). Maybe I saw
someting wrong?

Cor

"Herfried K. Wagner [MVP]" <hi***************@gmx.at>

Maybe Cassini is what you are looking for:

<URL:http://www.asp.net/projects/cassini/download/?tabindex=0&tabid=1>

Nov 21 '05 #6
* "Cor Ligthert" <no**********@planet.nl> scripsit:
I am curious how did you get the idea that Cassini would solve this (see
when you do not understand see my message in this thread). Maybe I saw
someting wrong?


Mhm... I thought that the OP wanted to mimick IIS without actually
using it.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #7
>
Mhm... I thought that the OP wanted to mimick IIS without actually
using it.

Yes however that should than be on the server, what can you do with that on
the client?

However maybe I understand the question completly wrong.

Cor
Nov 21 '05 #8
I don't think Casini is what I'm looking for (mainly since it's in c# and I
live in a VB world).

Perhaps I wasn't asking my question clearly: This app is very simple. It
just monitors a database and sends out emails based on certain critera in
the DB. It doesn't even need to be "installed" on the system...just copy it
to the machine and run it. So, this is why I wanted to avoid using IIS so
the user doesn't have to set up a new web site on the machine. The app
would just serve up a static page that shows some status information about
itself.

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Rob,

It sounds as a little big strange solution you are making. As far as I
understand you than you need remoting and than the users can use information from your little vb.application.

http://msdn.microsoft.com/library/de...meremoting.asp
Doing it with a webpage would make from your little vb.application a serious webserver.

And when you want to use HTML for it, therefore you have nothing from a
webserver on the local computer, therefore you need something as IIS on your server (which is a standard feature of that). You have than to put at least the output from your little vb.application in a file, database or whatever.
Just my thought

Cor

Nov 21 '05 #9
Thats the point, your serving up a web page, therefore the need for a web
server.

You can (though its a lot more work than just setting up an web page) is
build a static template that has tokens you can replace...

Basically, it can be served up, a program rewrites the page every now and
then with data... and you can access it using the file:/// method... You
WONT be able to serve it up using HTTP:// because your not using a web
server.

So there is a way to do it, but honestly, your wasting your time....
setting up IIS isn't hard from an installer, nor is cassini... People
trying to go around or "roll there own" ususally just get burned and spend a
lot more time and money...

but I suppose you will do it the way you want.

good luck,

"Rob T" <RT*********@DONTwalchemSPAM.com> wrote in message
news:e9****************@tk2msftngp13.phx.gbl...
I don't think Casini is what I'm looking for (mainly since it's in c# and I live in a VB world).

Perhaps I wasn't asking my question clearly: This app is very simple. It
just monitors a database and sends out emails based on certain critera in
the DB. It doesn't even need to be "installed" on the system...just copy it to the machine and run it. So, this is why I wanted to avoid using IIS so
the user doesn't have to set up a new web site on the machine. The app
would just serve up a static page that shows some status information about
itself.

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Rob,

It sounds as a little big strange solution you are making. As far as I
understand you than you need remoting and than the users can use

information
from your little vb.application.

http://msdn.microsoft.com/library/de...meremoting.asp

Doing it with a webpage would make from your little vb.application a

serious
webserver.

And when you want to use HTML for it, therefore you have nothing from a
webserver on the local computer, therefore you need something as IIS on

your
server (which is a standard feature of that). You have than to put at

least
the output from your little vb.application in a file, database or

whatever.

Just my thought

Cor


Nov 21 '05 #10
Wait... sends out emails???

Then WTF are you asking about a web server for then?

System.Web.Mail can do that for you...

"Rob T" <RT*********@DONTwalchemSPAM.com> wrote in message
news:e9****************@tk2msftngp13.phx.gbl...
I don't think Casini is what I'm looking for (mainly since it's in c# and I live in a VB world).

Perhaps I wasn't asking my question clearly: This app is very simple. It
just monitors a database and sends out emails based on certain critera in
the DB. It doesn't even need to be "installed" on the system...just copy it to the machine and run it. So, this is why I wanted to avoid using IIS so
the user doesn't have to set up a new web site on the machine. The app
would just serve up a static page that shows some status information about
itself.

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Rob,

It sounds as a little big strange solution you are making. As far as I
understand you than you need remoting and than the users can use

information
from your little vb.application.

http://msdn.microsoft.com/library/de...meremoting.asp

Doing it with a webpage would make from your little vb.application a

serious
webserver.

And when you want to use HTML for it, therefore you have nothing from a
webserver on the local computer, therefore you need something as IIS on

your
server (which is a standard feature of that). You have than to put at

least
the output from your little vb.application in a file, database or

whatever.

Just my thought

Cor


Nov 21 '05 #11
CJ,

System.Web.Mail can do that for you...

Therefore you need somewhere a smtp server.

That file idea of you is in my opinion the most properiate.
Writing a nice file with for the design HTML will give in my idea the
easiest result.

Insecure of course because you should give your user direct reading
permission on a file share for that, and therefore as well difficult to
install on the clients.

It is in our both opinion probably more work than installing a webserver on
a server.

Cor

Nov 21 '05 #12
CJ and Cor...you're both right...this thing is turning into a big headache.

In regards to sending out emails...that's entirely a different subject. I
have to send out messages with embedded images, which system.web.mail
doesn't do (as far as I can tell). So I wrote my own that does. Yeah, I
know I could have bought a 3rd party to do it, but my employer is penny
wise, pound foolish.

Perhaps I'll stick using IIS to serve up the pages. If the end user doesn't
have it installed, they just don't get that feature in the package. Now
this may seem like a stupid question, but how do I get the info that's in my
stand-alone app, into a web page on iis?

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:e%***************@TK2MSFTNGP12.phx.gbl...
CJ,

System.Web.Mail can do that for you...
Therefore you need somewhere a smtp server.

That file idea of you is in my opinion the most properiate.
Writing a nice file with for the design HTML will give in my idea the
easiest result.

Insecure of course because you should give your user direct reading
permission on a file share for that, and therefore as well difficult to
install on the clients.

It is in our both opinion probably more work than installing a webserver

on a server.

Cor

Nov 21 '05 #13
Ha. They just keep coming don't they. =)

Regarding mail. Check out Dundas Mailer. (http://www.dundas.com) it's a
free ActiveX component that I've used in a couple .NET projects works
fantastic.

Now, how to get it on a web page in IIS. There are several ways.. perhaps
we will choose the easier one.

1) Use a database, MSDE is free or if you have a SQL server handy, set up a
new DB. Have your one program write to the DB, your web page reads from it.
Nothing fancy, just easy work and you don't have to worry about anything
like locking up files and what not. Just let Microsoft do the work for you.

2) You could directly write the HTML file. but why waste the time. Again,
the leg work has been done for you by MS with data access and what not. Use
it. =)

HTH,
CJ

"Rob T" <RT*********@DONTwalchemSPAM.com> wrote in message
news:OQ**************@TK2MSFTNGP09.phx.gbl...
CJ and Cor...you're both right...this thing is turning into a big headache.
In regards to sending out emails...that's entirely a different subject. I
have to send out messages with embedded images, which system.web.mail
doesn't do (as far as I can tell). So I wrote my own that does. Yeah, I
know I could have bought a 3rd party to do it, but my employer is penny
wise, pound foolish.

Perhaps I'll stick using IIS to serve up the pages. If the end user doesn't have it installed, they just don't get that feature in the package. Now
this may seem like a stupid question, but how do I get the info that's in my stand-alone app, into a web page on iis?

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:e%***************@TK2MSFTNGP12.phx.gbl...
CJ,

System.Web.Mail can do that for you...

Therefore you need somewhere a smtp server.

That file idea of you is in my opinion the most properiate.
Writing a nice file with for the design HTML will give in my idea the
easiest result.

Insecure of course because you should give your user direct reading
permission on a file share for that, and therefore as well difficult to
install on the clients.

It is in our both opinion probably more work than installing a webserver

on
a server.

Cor


Nov 21 '05 #14
CJ,

I disagree with you about MSDE (respectful of course)

That would mean that it should be installed and that is the most terrible
job I know, not SQL server, MSDE is much worse. The replacement for that
will be, of one of the major benefits, easy to install.

So I tend for your second option just make HTML pages, when you have made
one with a template it is only filling. Or it can be by instance adding the
first part of to a middle part of a string the middle and than and the end
string, ready is the HTML page.

I do not say this is the best solution however because the install problem
Rob started with I think the most adaquat.

Agree or disagree?

Cor

Nov 21 '05 #15
Well...

There *is* always access. =)
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:ez**************@TK2MSFTNGP09.phx.gbl...
CJ,

I disagree with you about MSDE (respectful of course)

That would mean that it should be installed and that is the most terrible
job I know, not SQL server, MSDE is much worse. The replacement for that
will be, of one of the major benefits, easy to install.

So I tend for your second option just make HTML pages, when you have made
one with a template it is only filling. Or it can be by instance adding the first part of to a middle part of a string the middle and than and the end
string, ready is the HTML page.

I do not say this is the best solution however because the install problem
Rob started with I think the most adaquat.

Agree or disagree?

Cor

Nov 21 '05 #16
Thanks guys for the help. I'm leaning towards the following:

Since my stand-alone app uses webservices to get it's data, (sorry, I fibbed
a bit on where the data was coming from), perhaps I'll send info back to the
parent server and store the info in it's SQL database. Then, instead of the
client logging into a custom web server on a local machine, they can access
their info from the centralized system. FYI. This stand-alone app is used
for printing to local printers (printing over the internet) and sending
emails 'locally' (which allow us to send emails out on behalf of our clients
without the need of relaying). Since our clients could have dozens of this
app running at various locations, it would be a great way to get the status
of them in one view. This is a better feature than trying to find each
client machine!

I'll check out the Dundas for email...but I have to be very careful with the
3rd party software on licencing issues, since my app is going to be
resold....

"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message
news:uH**************@TK2MSFTNGP09.phx.gbl...
Well...

There *is* always access. =)
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:ez**************@TK2MSFTNGP09.phx.gbl...
CJ,

I disagree with you about MSDE (respectful of course)

That would mean that it should be installed and that is the most terrible job I know, not SQL server, MSDE is much worse. The replacement for that
will be, of one of the major benefits, easy to install.

So I tend for your second option just make HTML pages, when you have made one with a template it is only filling. Or it can be by instance adding

the
first part of to a middle part of a string the middle and than and the end string, ready is the HTML page.

I do not say this is the best solution however because the install problem Rob started with I think the most adaquat.

Agree or disagree?

Cor


Nov 21 '05 #17

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

Similar topics

7
4732
by: Ken Allen | last post by:
I have a .net client/server application using remoting, and I cannot get the custom exception class to pass from the server to the client. The custom exception is derived from ApplicationException...
6
3554
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
8
7811
by: pmud | last post by:
Hi, I am using a compare validator in asp.net application(c# code). This Custom validator is used for comparing a value enterd by the user against the primary key in the SQL database. IF the...
7
2972
by: Shimon Sim | last post by:
I have a custom composite control I have following property
4
1773
by: DKode | last post by:
I have developed a custom server control that displays a login page that authenticates against AD. The server control works fine, but now I am trying to figure out the best way to output custom...
5
2513
by: Graham | last post by:
I have created a custom MembershipProvider called "LassieMembershipProvider" that derives from "MembershipProvider". This providor is located in a Businesslogic layer dll called...
2
3536
by: John | last post by:
Hi I was working fine with create user wizard and the default membership provider. I have now customised the membership provider as per attached web.config. The create user wizard picks up the...
8
3870
by: bryan | last post by:
I've got a custom HttpHandler to process all requests for a given extension. It gets invoked OK, but if I try to do a Server.Transfer I get an HttpException. A Response.Redirect works, but I really...
4
2465
by: =?Utf-8?B?UmljaEI=?= | last post by:
I am trying to create a project using the ASP.NET AJAX accordion control. I would like to dynamically add panes to the control with a form template added when the pane is added. I have tried...
4
1825
by: Jeff | last post by:
hi asp.net 2.0 I have created a custom web control, here is it's header: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="EditUserBox.ascx.cs" Inherits="Controls_EditUserBox" %> ...
0
7242
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
7138
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
7353
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,...
0
7418
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...
1
7075
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...
1
5063
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3222
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...
0
3212
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
446
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.