473,473 Members | 1,469 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Configuring the Cassini Web Server

Apols for the post here, but there is no public.inetserver.cassini

Is there a way to configure the cassini / ASP NET Development web
server:
1) So that the port can be pegged (seems to be random)?
2) So that can access the server using hostname other than localhost?

I need to test some client side SOAP calls

Thanks in advance

Stuart

Oct 18 '06 #1
5 5280
Hi,

NonNB wrote:
Apols for the post here, but there is no public.inetserver.cassini

Is there a way to configure the cassini / ASP NET Development web
server:
1) So that the port can be pegged (seems to be random)?
2) So that can access the server using hostname other than localhost?

I need to test some client side SOAP calls

Thanks in advance

Stuart
About Cassini itself, I don't know, but everything you mention here can
easily be done by adding a virtual folder in IIS. This is how I usually
proceed. Debugging can be done by attaching the debugger to the ASPNET
process (or the working process on Windows Server 2003).

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Oct 18 '06 #2
Cassini is a test server written by the ASP.Net team. It has no
relation to IIS.

I suggest asking your question to an ASP.Net-specific support group,
such as www.asp.net Forums.

Personally, I would just download the code to Cassini and modify it to
peg the port and remove the localhost restriction.
//David
http://w3-4u.blogspot.com
//
NonNB wrote:
Apols for the post here, but there is no public.inetserver.cassini

Is there a way to configure the cassini / ASP NET Development web
server:
1) So that the port can be pegged (seems to be random)?
2) So that can access the server using hostname other than localhost?

I need to test some client side SOAP calls

Thanks in advance

Stuart
Oct 18 '06 #3
1. The port can be controlled, but it's a function of the thing that starts
cassini (now called Visual Studio Development Server) In Visual Studio 2005
in the Web tab of Project properties there's a "Use Visual Studio
Development Server" setting with "Auto-assign Port" as the default, but you
can set the specific port. There's also a Web Site Administration Tool, but
this doesn't let you set the port. You can also run the server manually via
command-line (go to C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\
and run WebDev.WebServer2.exe /? for help)

2. I don't think it supports host headers -- not usually a big problem
considering it doesn't support serving requests to other machines.

-LZ

"NonNB" <no***@webmail.co.zawrote in message
news:11*********************@h48g2000cwc.googlegro ups.com...
Apols for the post here, but there is no public.inetserver.cassini

Is there a way to configure the cassini / ASP NET Development web
server:
1) So that the port can be pegged (seems to be random)?
2) So that can access the server using hostname other than localhost?

I need to test some client side SOAP calls

Thanks in advance

Stuart

Oct 18 '06 #4
re:
1) So that the port can be pegged (seems to be random)?
To change the port from dynamic to fixed, click on the Project's name
( address for its source files ) in the Solution Explorer.

Then, go to the "Properties" dialog box on the bottom right.
Change the "Use dynamic port" dropdown to "False" and set whatever port you want to set.

From that point on the port won't be random.
The server will use whatever pot you configured it to use.

re:
2) So that can access the server using hostname other than localhost?
You can't do that unless you run your app under IIS.

You must publish your website to localhost if you want
to use a different hostname or your machine's name.

re:
>cassini
Don't call it that. Call it the "ASP.NET Development Web Server" or the "VS internal web server".
Although it's based on Cassini's source, it does a lot more than Cassini ever did.

Btw, if you're using the .Net Framework 1.1, and not 2.0,
you might want to take a look at CassiniEx :

http://www.systemex.net/CassiniEx/

It's a development server based on Cassini, much modified,
which allows multiple host headers and ports for the applications it runs.

Take a couple of minutes to check out its readme file :
http://www.systemex.net/CassiniEx/README.txt

You can also download its source if you want to play with its features.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================

"NonNB" <no***@webmail.co.zawrote in message
news:11*********************@h48g2000cwc.googlegro ups.com...
Apols for the post here, but there is no public.inetserver.cassini

Is there a way to configure the cassini / ASP NET Development web
server:
1) So that the port can be pegged (seems to be random)?
2) So that can access the server using hostname other than localhost?

I need to test some client side SOAP calls

Thanks in advance

Stuart


Oct 18 '06 #5
Thanks for all the info & advice!

Stuart

Oct 19 '06 #6

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

Similar topics

2
by: J. Muenchbourg | last post by:
I'm trying to install the Cassini WebServer on my Windows xp with .net framework, but the below instructions to get the webserver running after downloading the .exe doesnot make any sense at all: ...
3
by: Daniel Wang | last post by:
Are there alternate locations to download the Cassini ASP.NET web server? The download link on www.asp.net seems broken: ...
5
by: Kenneth P | last post by:
Hi all, I want to ensure some security in my asp.net apps. I wanna know that you is you comsuming my asp.net app. That's why I'm interested in finding out various ways to solve that problem....
5
by: clintonG | last post by:
After discovering Cassini is crippleware I learned how to use Start Options to disable NTLM and enable support for the default web server on my XP Pro dev platform. Now all new projects are created...
5
by: Randall Parker | last post by:
Running XP Home which does not come with IIS. In response to advice received on this forum I installed the Cassini web server to serve in place of IIS. See here for Cassini:...
0
by: stewart | last post by:
Hi. I have an asp.net web application. Normally when i want to build and run it I press CTRL + F5, this starts the cassini web server and opens a browser window where the url is...
5
by: OJ | last post by:
Hi, I am at a loss here, I have a c# asp.net website which connects to a remote SQL Server 2000 db via a connection string. If I set the website up in the filesystem and use the inbuilt cassini...
4
by: yancheng.cheok | last post by:
Hello all, I have a web application, which I had developed few years ago with ASP .NET 1.1 Today, I would like to deploy the web application to client, using ASP .NET 2.0 + UltiDev Cassini...
6
by: R.A.M. | last post by:
Hello, I have problem with IIS 5.1 - it ceased to function. So I downloaded and installed Cassini Web Server and uninstalled IIS in my Windows XP Professional. The problem is that I cannot...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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,...
1
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...
0
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...
0
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.