In the past I used Dreamweaver to develop websites and am trying to get used to Visual Web Developer. The current live website I need to work on can be viewed at www.clampett.org.
It is now out of date and I need to update.
Using the browser, 'localhost' (localhost/sitename) displays the website perfecty. However, VWD opens the (default or index pages) with the address
http://localhost:50937/sitename/default.htm which loads the pages but without rendering the javascript or the CSS - the same as the Design view does (or doesn't...).
I am ssuming there are some basic setup steps I have missed and would appreciate some assistance.
actually, visual studio creates separate web server and run the project in that (apart from IIS)... since already IIS runs on port 80, it has to use some other port number for inbuilt web server... which it picks randomly...but if we run site from local
iis, it uses ISS to run the project
hope this helps...
setupcssrender
Cheers!
KK
Please mark as Answer if post helps in resolving your issue
My Site
Marked as answer by Dino He - MSFT on Feb 14, 2012 04:19 AM
WyndhamMisio
0 Points
1 Post
Newbie question: How to set up so design view uses an attached javascript file and CSS
Feb 07, 2012 03:46 PM|LINK
In the past I used Dreamweaver to develop websites and am trying to get used to Visual Web Developer. The current live website I need to work on can be viewed at www.clampett.org. It is now out of date and I need to update.
Using the browser, 'localhost' (localhost/sitename) displays the website perfecty. However, VWD opens the (default or index pages) with the address http://localhost:50937/sitename/default.htm which loads the pages but without rendering the javascript or the CSS - the same as the Design view does (or doesn't...).
I am ssuming there are some basic setup steps I have missed and would appreciate some assistance.
setup css render
kedarrkulkar...
All-Star
34535 Points
5554 Posts
Re: Newbie question: How to set up so design view uses an attached javascript file and CSS
Feb 07, 2012 03:59 PM|LINK
if you have already hosted the site in local IIS... then open the website project in visual studio from local IIS instead of file system...
follow these steps..
open new visual studio instance, go to File->oepn web site.
in the open dialogue window, select "Local IIS" in the left pane
now, in the right pane, you can see web sites hosted on local IIS... select proper web site and click open
now, if u run the web site (F5) then you would see the path as http://localhost/sitename
actually, visual studio creates separate web server and run the project in that (apart from IIS)... since already IIS runs on port 80, it has to use some other port number for inbuilt web server... which it picks randomly...but if we run site from local iis, it uses ISS to run the project
hope this helps...
setup css render
KK
Please mark as Answer if post helps in resolving your issue
My Site
kattyjems
Member
120 Points
50 Posts
Re: Newbie question: How to set up so design view uses an attached javascript file and CSS
Mar 03, 2012 11:14 AM|LINK
Hi,
You should try kedarrkulkarniapproch.
It'll treat as same code but act as different sites.