473,785 Members | 2,824 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Configuring the Cassini Web Server

Apols for the post here, but there is no public.inetserv er.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 5305
Hi,

NonNB wrote:
Apols for the post here, but there is no public.inetserv er.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.inetserv er.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.WebServe r2.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******** *************@h 48g2000cwc.goog legroups.com...
Apols for the post here, but there is no public.inetserv er.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******** *************@h 48g2000cwc.goog legroups.com...
Apols for the post here, but there is no public.inetserv er.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
4323
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: ------------ Instructions ------------ Go to the directory containing the above files (setup to use c# compiler and gacutil utility). Run 'build.bat', it will:
3
1671
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: http://www.asp.net/Projects/Cassini/Download/download.aspx?tabindex=0&tabid=1 Thanks.
5
1401
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. Because my comsumers always are companies and my asp.net product is the only on the market, then I can demand some security, I think.
5
2605
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 as websites. I was happy until when out of the blue Cassini has re-enabled itself for one of the websites I am developing. Despite the Start Option settings I can't get rid of the Cassini pest and my website will not load from the IDE. Does...
5
1429
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: http://www.asp.net/Projects/Cassini/Download/Default.aspx?tabindex=0&tabid=1 Trying to create an asp.net project in VS 2003. When I try to create the problem I get this error: "The default Web access mode for this project is set to file share, but the project...
0
1267
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 http://localhost:RandomPort the 'RandomPort' being the same port number that the cassini web server is listening on. However, as of today, when I CTRL + F5 the port number in the browser url is always exactly 7 less than the one the cassini web server is using.
5
7701
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 webserver in VS2005 then everything is rosy. If I then set up the website on the local IIS 5.1 the site no longer connects and returns this error: An error has occurred while establishing a connection to the server. When connecting to SQL Server...
4
2945
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 2.0 I locate my whole project in a folder named C:\website\GOWatch
6
2795
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 successfully run Cassini. I entered application directory F:\Inetpub\wwwroot, server port 80, virtual root / and I pressed Start button. Then message box appers: Cassini Managed Web Server failed to start listening on port 80. Possible conflict with...
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
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,...
0
10324
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10090
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
8971
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
7499
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
6739
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5380
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...
1
4050
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

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.