CJ
ok got it. I found the copy website menu item and did it and all works
well. I like this copy utility much better -- yea FTP and all. sweet. But
I'm still lost on the below:
1. why does VS now default to store the site in a development folder
outside of wwwroot. ie, if I'm developing the site and its being stored in
c:\WEBSITES , what was wrong w/ wwwroot? When i hit debug, instead of
going to
http://127.0.0.1 etc it goes to
http://localhost:24329/mysite/
It's not *outside* of wwwroot, thats actually wwwroot/mysite.
also, if you do a ping localhost you'll see it comes up with 127.0.0.1 =)
As far as the port goes, I don't know exactly why that does it that way,
because it can't taken requests from any other machines but the local
machine. So seems like a little bit of overkill on MS's part, but hey,
that's them.
The fact that it builds the sub directories is because, ok, you develop Web
Site A, good... its under /wwwroot... however, say you have to develop Web
Site B. Which would overwrite A. BUt your still maintianing A... What do
you do? instead, just use the sub directories... This has its own issues
(like when purchasing templates! and the infamous ~/ issue... )
so I guess the site is still able to be run despite it being outside of
wwwroot. But i'm not sure why we're abandoning wwwroot.
2. I'm not sure what *publish* website is, compared to *copy*. Copy I
understand now. It works fine for me. Publish did the precompiled web,
which -- I can't see what use it is as of yet. When you browse to a
precompiled web you get that wierd message (on default.aspx) saying its just
a marker.... I understand the basic obsfuciation concept, hiding source
code during deployment -- but don't understand how it works in practice.
Havne't seen the marker thing so can't answer that... Sorry... the
precompiled web has its advantages, plenty of explanations on MSDN for that
on the different deployment models.
precompiled hides *everything* =)