473,787 Members | 2,928 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 16288
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*****@hotmai l.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***@sparkysy stems.com> wrote in message
news:kq******** *************** *********@4ax.c om...
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*****@hotmai l.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******** ******@tk2msftn gp13.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***@sparkysy stems.com> wrote in message
news:kq******** *************** *********@4ax.c om...
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*****@hotmai l.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.r emove.net> wrote in message
news:OP******** *****@TK2MSFTNG P10.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******** ******@tk2msftn gp13.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***@sparkysy stems.com> wrote in message
news:kq******** *************** *********@4ax.c om...
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*****@hotmai l.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.r emove.net> wrote in message
news:OU******** ******@TK2MSFTN GP12.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.r emove.net> wrote in message
news:OP******** *****@TK2MSFTNG P10.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******** ******@tk2msftn gp13.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***@sparkysy stems.com> wrote in message
news:kq******** *************** *********@4ax.c om...
> 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*****@hotmai l.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
1435
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 quarantined off so that it can share a server's resources without much of a security or reliability concern?
2
1878
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 well as windows client applicantion. So my question is how to host/publish any web service ?? Any recommendations on Hosting companies which specialize in hosting web services ?? Any kind of information is really appreciated.
4
1540
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. Certainly someone must be offering this? Thanks. -- Jay
0
1821
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 FREE space + ASP/.NET/Access et al. support + 24/7 Technical Support + Windows Server 2003 Hosting
5
4107
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 "there is not an effective way of backing up mysql without either suspending the service or causing latency problems connecting the database" are they bull s*****g me or are they correct?
5
1225
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 existant. They actually answer the phone "hello" but in a very quiet almost unaudible way. That's the problem - hosting services look so nice from the outside but you never know how they are until you are there for a while. This is probably who...
1
1872
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 code for hosting the web service and I've got a windows forms host (for debugging porposes) and a windows service host (the definitive exe). The issue here is that when I run the windows forms app it serves the web service correctly, but when I run...
1
3088
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 netstat shows a listening https interface, but I can't access the service or the wsdl meta data. Any ideas, what's going wrong here (see code below)?
4
3171
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 ServiceBase.OnStart() method. SCM throws a 1067 error as well. I get the same problem with NT AUTHORITY\LocalService. When I use the LocalSystem account, my domain account, or another regular user account, the windows service starts just fine.
0
9497
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10110
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5398
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4067
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.