|.ASP testing environment?|
.ASP testing environment?
Feb. 2nd, 2005 @ 08:28 am
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?
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).
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!
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.
Is that opion on DW version 5? (I'm still stuck in the past)
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.
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.
|Date:||February 2nd, 2005 04:54 pm (UTC)|| |
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.
Damn, yet another reason to convert. Thanks!
|Date:||February 2nd, 2005 05:00 pm (UTC)|| |
in addition to the advice above (installing IIS on XP), you can also use "Personal Web Server" if you are running Win 98.
2K pro, but thanks anyway!
|Top of Page
||Powered by LiveJournal.com|