By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,266 Members | 1,736 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,266 IT Pros & Developers. It's quick & easy.

Hosting a .NET Web Service without IIS

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
....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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.