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

Hosting a .NET Web Service without IIS

Is it possible to host a .NET Web Service (managed code using the .NET
Framework 1.1) without IIS? I remember a website that indicated it was
possible to use a .NET Remoting server to host a Web Service. Could client
code that consumes a Remoting *web service* be used interchangeably to
consume the same interface from a web service hosted in IIS?

Gary
Nov 21 '05 #1
5 16273
you can but you'd be writing a lot of custom code. You could also use
remoting with SOAP formatter over http with singlecall (though this
would not give you .asmx web services). Not exactly pure web services
but fairly close and you can self host that. Seems like there is also
a mini web server out there called Cassini that you can use. I'm not
sure it would be a good idea to use that in production though.

Allen Anderson
http://www.glacialcomponents.com
mailto: allen@put my website url here.com
On Thu, 24 Jun 2004 15:00:17 -0600, "Gary Webb" <sc*****@hotmail.com>
wrote:
Is it possible to host a .NET Web Service (managed code using the .NET
Framework 1.1) without IIS? I remember a website that indicated it was
possible to use a .NET Remoting server to host a Web Service. Could client
code that consumes a Remoting *web service* be used interchangeably to
consume the same interface from a web service hosted in IIS?

Gary


Nov 21 '05 #2
yes, it is possible to host ASMX without IIS.
There is the Cassini project, which is a low-feature host for ASP.NET,
written in C#.
It is shared source. Learn more on www.asp.net. It is suited for
development and test, not production.
Cassini was produced to support the "Web Matrix" tool, a easy-to-use, free
dev tool for asp.net. The idea was, you'd be able to use Web Matrix to
build apps, and Cassini to host them diring development.
It is possible to host the ASP.NET runtime in any app. For example some
people host ASP.NET runtime within WinForms apps, so those WinForms apps can
actually act as webservices SERVERS. The WinForms app might also be a
client. Maybe supporting a peer-to-peer webservices architecture.

Here's an article exploring that angle
http://www.microsoft.com/belux/nl/ms...staspnet1.mspx

This is basically what Cassini does.

ps: In the Visual Web Developer 2005 Express edition, there is another host
for asp.net.
You can try out the beta by going here:
http://lab.msdn.microsoft.com/express/vwd/default.aspx

Allen is correct that hosting the SOAP Formatter in remoting is NOT asmx and
will NOT give you the same interface. It will give you SOAP, though, so I
would not say "Not exactly pure web services." It is web services, just a
bit more complex to develop.

-D

"Allen Anderson" <al***@sparkysystems.com> wrote in message
news:kq********************************@4ax.com...
you can but you'd be writing a lot of custom code. You could also use
remoting with SOAP formatter over http with singlecall (though this
would not give you .asmx web services). Not exactly pure web services
but fairly close and you can self host that. Seems like there is also
a mini web server out there called Cassini that you can use. I'm not
sure it would be a good idea to use that in production though.

Allen Anderson
http://www.glacialcomponents.com
mailto: allen@put my website url here.com
On Thu, 24 Jun 2004 15:00:17 -0600, "Gary Webb" <sc*****@hotmail.com>
wrote:
Is it possible to host a .NET Web Service (managed code using the .NET
Framework 1.1) without IIS? I remember a website that indicated it was
possible to use a .NET Remoting server to host a Web Service. Could clientcode that consumes a Remoting *web service* be used interchangeably to
consume the same interface from a web service hosted in IIS?

Gary

Nov 21 '05 #3
I have some questions about this thread...

What is an asmx web service? How is this different than a regular web
service?

I am new to Web Services. I want to partition my NET Windows Forms
applications so that the data layer (SQL MSDE) is accessed through a web
service API. My clients are all Forms apps so I have no need for ASP. Some
of my systems are XP Pro (no issue) but some are XP Home and 98SE. The
later do not have IIS. How can I write one code base that works for all
platforms? 90% of systems run all tiers on a single system.

I may be able to require that users that desire a distributed solution use
XP Pro (or Home) as the server but the same code must work on 98SE on a
single box.

What is the best way to do this?

-dh
"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> wrote in message
news:uT**************@tk2msftngp13.phx.gbl...
yes, it is possible to host ASMX without IIS.
There is the Cassini project, which is a low-feature host for ASP.NET,
written in C#.
It is shared source. Learn more on www.asp.net. It is suited for
development and test, not production.
Cassini was produced to support the "Web Matrix" tool, a easy-to-use, free
dev tool for asp.net. The idea was, you'd be able to use Web Matrix to
build apps, and Cassini to host them diring development.
It is possible to host the ASP.NET runtime in any app. For example some
people host ASP.NET runtime within WinForms apps, so those WinForms apps can actually act as webservices SERVERS. The WinForms app might also be a
client. Maybe supporting a peer-to-peer webservices architecture.

Here's an article exploring that angle
http://www.microsoft.com/belux/nl/ms...staspnet1.mspx
This is basically what Cassini does.

ps: In the Visual Web Developer 2005 Express edition, there is another host for asp.net.
You can try out the beta by going here:
http://lab.msdn.microsoft.com/express/vwd/default.aspx

Allen is correct that hosting the SOAP Formatter in remoting is NOT asmx and will NOT give you the same interface. It will give you SOAP, though, so I
would not say "Not exactly pure web services." It is web services, just a bit more complex to develop.

-D

"Allen Anderson" <al***@sparkysystems.com> wrote in message
news:kq********************************@4ax.com...
you can but you'd be writing a lot of custom code. You could also use
remoting with SOAP formatter over http with singlecall (though this
would not give you .asmx web services). Not exactly pure web services
but fairly close and you can self host that. Seems like there is also
a mini web server out there called Cassini that you can use. I'm not
sure it would be a good idea to use that in production though.

Allen Anderson
http://www.glacialcomponents.com
mailto: allen@put my website url here.com
On Thu, 24 Jun 2004 15:00:17 -0600, "Gary Webb" <sc*****@hotmail.com>
wrote:
Is it possible to host a .NET Web Service (managed code using the .NET
Framework 1.1) without IIS? I remember a website that indicated it was
possible to use a .NET Remoting server to host a Web Service. Could clientcode that consumes a Remoting *web service* be used interchangeably to
consume the same interface from a web service hosted in IIS?

Gary


Nov 21 '05 #4
....additional information.

I have no need for Web Service method discovery and publishing. I know the
API I am calling and it is not public for others to call.

-dh

"David Hoffer" <da*******************@iserv.remove.net> wrote in message
news:OP*************@TK2MSFTNGP10.phx.gbl...
I have some questions about this thread...

What is an asmx web service? How is this different than a regular web
service?

I am new to Web Services. I want to partition my NET Windows Forms
applications so that the data layer (SQL MSDE) is accessed through a web
service API. My clients are all Forms apps so I have no need for ASP. Some of my systems are XP Pro (no issue) but some are XP Home and 98SE. The
later do not have IIS. How can I write one code base that works for all
platforms? 90% of systems run all tiers on a single system.

I may be able to require that users that desire a distributed solution use
XP Pro (or Home) as the server but the same code must work on 98SE on a
single box.

What is the best way to do this?

-dh
"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> wrote in message
news:uT**************@tk2msftngp13.phx.gbl...
yes, it is possible to host ASMX without IIS.
There is the Cassini project, which is a low-feature host for ASP.NET,
written in C#.
It is shared source. Learn more on www.asp.net. It is suited for
development and test, not production.
Cassini was produced to support the "Web Matrix" tool, a easy-to-use, free dev tool for asp.net. The idea was, you'd be able to use Web Matrix to
build apps, and Cassini to host them diring development.
It is possible to host the ASP.NET runtime in any app. For example some
people host ASP.NET runtime within WinForms apps, so those WinForms apps can
actually act as webservices SERVERS. The WinForms app might also be a
client. Maybe supporting a peer-to-peer webservices architecture.

Here's an article exploring that angle

http://www.microsoft.com/belux/nl/ms...staspnet1.mspx

This is basically what Cassini does.

ps: In the Visual Web Developer 2005 Express edition, there is another

host
for asp.net.
You can try out the beta by going here:
http://lab.msdn.microsoft.com/express/vwd/default.aspx

Allen is correct that hosting the SOAP Formatter in remoting is NOT asmx

and
will NOT give you the same interface. It will give you SOAP, though, so I would not say "Not exactly pure web services." It is web services,

just a
bit more complex to develop.

-D

"Allen Anderson" <al***@sparkysystems.com> wrote in message
news:kq********************************@4ax.com...
you can but you'd be writing a lot of custom code. You could also use
remoting with SOAP formatter over http with singlecall (though this
would not give you .asmx web services). Not exactly pure web services
but fairly close and you can self host that. Seems like there is also
a mini web server out there called Cassini that you can use. I'm not
sure it would be a good idea to use that in production though.

Allen Anderson
http://www.glacialcomponents.com
mailto: allen@put my website url here.com
On Thu, 24 Jun 2004 15:00:17 -0600, "Gary Webb" <sc*****@hotmail.com>
wrote:

>Is it possible to host a .NET Web Service (managed code using the ..NET >Framework 1.1) without IIS? I remember a website that indicated it was >possible to use a .NET Remoting server to host a Web Service. Could

client
>code that consumes a Remoting *web service* be used interchangeably to >consume the same interface from a web service hosted in IIS?
>
>Gary
>



Nov 21 '05 #5
I have the same issue Any ideas?
"David Hoffer" <da*******************@iserv.remove.net> wrote in message
news:OU**************@TK2MSFTNGP12.phx.gbl...
...additional information.

I have no need for Web Service method discovery and publishing. I know the API I am calling and it is not public for others to call.

-dh

"David Hoffer" <da*******************@iserv.remove.net> wrote in message
news:OP*************@TK2MSFTNGP10.phx.gbl...
I have some questions about this thread...

What is an asmx web service? How is this different than a regular web
service?

I am new to Web Services. I want to partition my NET Windows Forms
applications so that the data layer (SQL MSDE) is accessed through a web
service API. My clients are all Forms apps so I have no need for ASP. Some
of my systems are XP Pro (no issue) but some are XP Home and 98SE. The
later do not have IIS. How can I write one code base that works for all
platforms? 90% of systems run all tiers on a single system.

I may be able to require that users that desire a distributed solution use
XP Pro (or Home) as the server but the same code must work on 98SE on a
single box.

What is the best way to do this?

-dh
"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> wrote in message
news:uT**************@tk2msftngp13.phx.gbl...
yes, it is possible to host ASMX without IIS.
There is the Cassini project, which is a low-feature host for ASP.NET,
written in C#.
It is shared source. Learn more on www.asp.net. It is suited for
development and test, not production.
Cassini was produced to support the "Web Matrix" tool, a easy-to-use, free dev tool for asp.net. The idea was, you'd be able to use Web Matrix to build apps, and Cassini to host them diring development.
It is possible to host the ASP.NET runtime in any app. For example some people host ASP.NET runtime within WinForms apps, so those WinForms apps can
actually act as webservices SERVERS. The WinForms app might also be
a client. Maybe supporting a peer-to-peer webservices architecture.

Here's an article exploring that angle

http://www.microsoft.com/belux/nl/ms...staspnet1.mspx

This is basically what Cassini does.

ps: In the Visual Web Developer 2005 Express edition, there is another
host
for asp.net.
You can try out the beta by going here:
http://lab.msdn.microsoft.com/express/vwd/default.aspx

Allen is correct that hosting the SOAP Formatter in remoting is NOT
asmx
and
will NOT give you the same interface. It will give you SOAP, though,

so I would not say "Not exactly pure web services." It is web services, just
a
bit more complex to develop.

-D

"Allen Anderson" <al***@sparkysystems.com> wrote in message
news:kq********************************@4ax.com...
> you can but you'd be writing a lot of custom code. You could also

use > remoting with SOAP formatter over http with singlecall (though this
> would not give you .asmx web services). Not exactly pure web services > but fairly close and you can self host that. Seems like there is also > a mini web server out there called Cassini that you can use. I'm not > sure it would be a good idea to use that in production though.
>
> Allen Anderson
> http://www.glacialcomponents.com
> mailto: allen@put my website url here.com
>
>
> On Thu, 24 Jun 2004 15:00:17 -0600, "Gary Webb" <sc*****@hotmail.com> > wrote:
>
> >Is it possible to host a .NET Web Service (managed code using the

.NET > >Framework 1.1) without IIS? I remember a website that indicated it was > >possible to use a .NET Remoting server to host a Web Service. Could client
> >code that consumes a Remoting *web service* be used interchangeably to > >consume the same interface from a web service hosted in IIS?
> >
> >Gary
> >
>



Nov 21 '05 #6

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

Similar topics

2
by: Dave Bartlett | last post by:
I was wondering what most web hosting companies would think if I asked them to host a .NET executable application? Are they going to laugh me out the door, or can .NET code be suitably...
2
by: Nitin Verma | last post by:
Hi All, Am new to web service technology. Currently i created a web service at my home box. Now i want to Host/Publish it to the outside world... so that it is used by my web applicantion as...
4
by: Jay | last post by:
Sorry if posting this to the wrong group, but do you know of any asp.net hosting vendor with support for Crytal Reports? Apparently they do not exist due to high licensing costs at $25k per cpu....
0
by: Kunal Pandya | last post by:
Windows Web Hosting @ $ 14.95 / Year! with FREE Domain Registration!!! + Web Control Panel + MIn. 5 Email Boxes + Packages starting from as low as 10 MB upto 50 GB dedicated hosting + Extra...
5
by: mantrid | last post by:
Hello My web hosting company has lost my data due to the mysql software failing, it only affected those people using innoDB engine. I asked them why they didnt restore from a back up. They said...
5
by: brett | last post by:
I'd like suggestions on a hosting service but only if you have been using them for a while. I'm using an aweful service now. They're servers are slow, go down and tech support is virtually non...
1
by: Diego L Espiñeira | last post by:
Hi all!!! I am trying to build a windows service that hosts a web service using the classes in System.Web.Hosting namespace. I have a class library called Digicard.WebServiceHost containing the...
1
by: Tobias Grimm | last post by:
Hi! I'm trying to get a WebService running (self hosting, without IIS) that uses SSL and loads the SSL key/certificate from a file (without using httpcfg.exe). I have a running service and...
4
by: Dave Burns | last post by:
I am self hosting a Web Service in a Windows service. I am trying to start the service using the NT AUTHORITY\NetworkService account. I get a NullReferenceException on ServiceHost.Open() in the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.