Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 26th, 2007, 02:45 PM
Registered User
 
Join Date: Jul 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to convert XHTML pages to ASPX

About me:
I am a web designer with graphic background. I use dreamweaver to code valid xhtml/css. I have no experience in server-side languages.
I even didn't know what is .aspx until i search on google.

Situation:
I got a project of "lead generation website" pretty simple site with static "homepage" and several "more info request contact forms".
I made a website for their company and they want me to design this one too. (as per design quality)

Problem:
The main company website in .aspx so they need this Lead Generation website too in .aspx
Now tell me
Should i code site in .html and then save it to .aspx?
OR
Should i code site in .aspx from start?

I tried .aspx page to preview in browser but it dosen’t render, it shows source code. When it said i need to make testing server in order to see server-side pages locally so i made a testing server using dreamweaver ‘s site define dialogue box then it shows “can not find server error” because http://localhost means URL Prefix isn't mapping local site folder. I tried dreamweaver help too. But it didn’t help me anything.

Please let me know how i can do this .aspx thing
I came here because i found in internet that .aspx isn't much different then simple html page, it just have server-controls so i am asking how to make xhtml page to .aspx and preview it locally on browser.


 
Old July 26th, 2007, 02:52 PM
Authorized User
 
Join Date: Jun 2007
Location: Christchurch, , New Zealand.
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hericles
Default

Hi,
You can't just change the file extension to .aspx and expect to have a complete aspx page. .Net pages are coded in the Visual Studio evironment and are complied code.
So you will need Visual Studio software before you can even begin. To preview locally, the .aspx files need to be in a virtual folder that the IIS (Internet Information Services) server can process.
I hope that helps.

Steve





Similar Threads
Thread Thread Starter Forum Replies Last Post
asp pages to xhtml BrendonMelville Ajax 1 March 14th, 2006 01:54 PM
convert asp pages to xhtml BrendonMelville HTML Code Clinic 1 March 14th, 2006 01:52 PM
convert asp pages to xhtml BrendonMelville XML 1 March 14th, 2006 11:34 AM
How to validate aspx file with xhtml 1.0 rishikantsinha .NET Framework 2.0 0 November 22nd, 2004 07:28 AM
how to get into the Events of aspx pages kashif ASP.NET 1.0 and 1.1 Basics 1 July 29th, 2003 03:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.