?

Log in

No account? Create an account
 

.ASP testing environment? - Web Developer

About .ASP testing environment?

Previous Entry .ASP testing environment? Feb. 2nd, 2005 @ 08:28 am Next Entry
Hi all!

I'm fairly new to .ASP proramming, and would like to do make acid-testing a little easier. Client-side scripting is real simple - just preview in the browser. However testing server-side scripting is a little challenging. Every time I wish to test my code, I have to upload the page to a remote server. Although the final test is the final post, when I'm working on a page, I will make a bunch of small nip-and-tuck changes until I get it right and uploading every thirty seconds after making a minor change is a big pain in the rear. Is ther a way to set up a local .ASP testing environment on my own PC, so I don't have to repeatedly send up every little tweak and adustment done during a course of development?
Leave a comment
[User Picture Icon]
From:brutus_007
Date:February 2nd, 2005 04:46 pm (UTC)
(Link)
If you're running Windows 2000 or XP (Professional in both cases), you can set up a local web server. One catch though, is that only one site can be configured on the machine, so you will have to use virtual directories. Another catch is, what if your machine is configured one way, but the server another? So when you're done testing on your local server and happy with everything, you upload it to the server and test it there again, in case you need anything else (COM component, page, style sheet, etc).
From:mistermocha
Date:February 2nd, 2005 04:58 pm (UTC)
(Link)
I've only used remote 3rd party servers. This will be interesting AND educational. For now, all the work I'm doing will be contained in one site anyway. This looks like a winner! Thanks a million!
[User Picture Icon]
From:fosterbass
Date:February 2nd, 2005 04:51 pm (UTC)
(Link)
Another option is use use an editor that supports remote saves. I use dreamweaver(PC) or BBEdit(Mac) for this. I don't use all the other features, but as a code editor, it's ability to save to the server (via transparent FTP) is quite useful for the situation you described.
From:mistermocha
Date:February 2nd, 2005 04:55 pm (UTC)
(Link)
Is that opion on DW version 5? (I'm still stuck in the past)
[User Picture Icon]
From:fosterbass
Date:February 2nd, 2005 05:50 pm (UTC)
(Link)
Probably. It's been an option on the PC version for years. It was a feature of Homesite before that was acquired and integrated into dreamweaver.
[User Picture Icon]
From:digitalsidhe
Date:February 2nd, 2005 08:47 pm (UTC)
(Link)
The only version of DW I've ever touched was 3, and it had that feature. I can't imagine they took it out in later versions.
From:nodrew
Date:February 2nd, 2005 04:54 pm (UTC)
(Link)
I'm guessing you're looking for a way to run an ASP like server for testing. Check out the Mono Project. It is an open source project that brings the ability to utilize the various .NET languages without buying the software from Microsoft. I haven't used it myself, as I develop in PHP, but from what I hear it does a great job. You will have to follow their directions for setting up with a web server as it requires a specific one for maximum compatibility. Limited support exists of Apache under Linux, but not for Windows yet. So if you use Windows, you'll have to use the XSP web server that they provide.

Hope this helps.
From:mistermocha
Date:February 2nd, 2005 04:56 pm (UTC)
(Link)
Damn, yet another reason to convert. Thanks!
[User Picture Icon]
From:innoxia
Date:February 2nd, 2005 05:00 pm (UTC)
(Link)
in addition to the advice above (installing IIS on XP), you can also use "Personal Web Server" if you are running Win 98.
From:mistermocha
Date:February 2nd, 2005 05:19 pm (UTC)
(Link)
2K pro, but thanks anyway!
(Leave a comment)
Top of Page Powered by LiveJournal.com