Thanks for your input Joey,
The "~" char just represent the Application Root of ASP.NET application
which is always used by ASP.NET server side code, so make sure your linke's
url will be parsed by ASP.NET runtime first (not directly embeded in RAW
html content....). And this "~" should work correctly in both filesystem
or IIS hosted environment without any difference...
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Joey" <jo*********@topscene.com>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Re: Question with regards to VS.NET2005 IDE and ASP.NET 2.0
| Date: 11 Jan 2006 19:13:39 -0800
| Organization:
http://groups.google.com
| Lines: 137
| Message-ID: <11*********************@g49g2000cwa.googlegroups. com>
| References: <#3**************@TK2MSFTNGP14.phx.gbl>
| <uv**************@TK2MSFTNGP12.phx.gbl>
| <Oe**************@TK2MSFTNGP15.phx.gbl>
| <lp*************@TK2MSFTNGXA02.phx.gbl>
| NNTP-Posting-Host: 67.22.114.248
| Mime-Version: 1.0
| Content-Type: text/plain; charset="iso-8859-1"
| X-Trace: posting.google.com 1137035624 12873 127.0.0.1 (12 Jan 2006
03:13:44 GMT)
| X-Complaints-To:
gr**********@google.com
| NNTP-Posting-Date: Thu, 12 Jan 2006 03:13:44 +0000 (UTC)
| In-Reply-To: <lp*************@TK2MSFTNGXA02.phx.gbl>
| User-Agent: G2/0.2
| X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
..NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; Media Center PC
4.0; InfoPath.1),gzip(gfe),gzip(gfe)
| Complaints-To:
gr**********@google.com
| Injection-Info: g49g2000cwa.googlegroups.com; posting-host=67.22.114.248;
| posting-account=quLkng0AAADPxeWcCK254A0yusgzOfm6
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!border1.nntp.d ca.giganews.com!nntp.gigan
ews.com!postnews.google.com!g49g2000cwa.googlegrou ps.com!not-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:370242
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I too prefer the file system website. I always develop there and then
| publish to an IIS virtual directory later. One thing, though: I have
| noticed that the special site root character ~ does not work correctly
| with links on a file system website. The links are broken when
| "running" the web site in file system mode, but, left untouched, work
| properly once the site has been published to an IIS virtual directory.
| Have any of you guys seen this problem before? Do any of you know of
| any fix for it?
|
| Steven Cheng[MSFT] wrote:
| > Thank for all yours good inputs,
| >
| > Hi Alan,
| >
| > To help convert some exists FileSystem based vs 2005 web project to IIS
| > hosted ones, basically we can consider the following means:
| >
| > 1. Create the application virtual directory in IIS (through IIS manager)
| > and then manually copy all the files and resources in filesystem based
| > project's folder to the IIS's virtual directory ... After that we can
open
| > the new web app through IIS "tab" in the VS 2005 open site wizard....
| >
| > 2. In vs 2005's website project, we can choose Copy WebSite or publish
| > WebSite to publish or copy and existing website to a new location, so we
| > can also utilize this function to copy or filesystem based project to
the
| > new location (an application virtual dir created in IIS)...
| >
| > Hope also helps. Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure!
www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| >
| >
| > --------------------
| > | From: "A.M-SG" <al******@newsgroup.nospam>
| > | References: <#3**************@TK2MSFTNGP14.phx.gbl>
| > <uv**************@TK2MSFTNGP12.phx.gbl>
| > | Subject: Re: Question with regards to VS.NET2005 IDE and ASP.NET 2.0
| > | Date: Wed, 11 Jan 2006 16:43:16 -0500
| > | Lines: 68
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| > | X-RFC2646: Format=Flowed; Response
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| > | Message-ID: <Oe**************@TK2MSFTNGP15.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: 67.71.52.167
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP15.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:370195
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Hi Justin,
| > |
| > | That is good to know. Is there any way to convert an existing
| > applications
| > | to IIS?
| > |
| > | Thank you for help,
| > | Alaln
| > |
| > |
| > | "S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> wrote in
| > | message news:uv**************@TK2MSFTNGP12.phx.gbl...
| > | > Yes,
| > | >
| > | > When you create a web application you have the option to create it
| > right
| > | > in IIS. This is how I create all of my websites (I use virtual sites
| > | > within IIS on my machine and keep the files in a folder in a
separate
| > | > location):
| > | >
| > | > 1. File - New - Website
| > | > 2. In the "New Web Site" window that opens set the location drop
down
| > near
| > | > the bottom of the window to "HTTP"
| > | > 3. Select the language of your choice for the website.
| > | > 3. Click the "Browse" button.
| > | > 4. In the "Choose Location" window make certain that Local IIS is
| > selected
| > | > in the menu on the left.
| > | > 5. Click the top right folder icon "Create New Virtual Directory".
| > | > 6. Set the alias name to the name you want for the website.
| > | > 7. Browse for and/or create the file folder to hold the website
files
| > in
| > | > the location of your choice.
| > | > 8. Click the "OK" button.
| > | > 9. Select the new website in the center list of websites by
clicking on
| > it
| > | > to highlight it.
| > | > 10. Click the "Open" button.
| > | > 11. Back in the "New Web Site" window you should see something like:
| > | >
http://localhost/[your website name here].
| > | > 12. Click the "OK" button.
| > | >
| > | > --
| > | > Sincerely,
| > | >
| > | > S. Justin Gengo, MCP
| > | > Web Developer / Programmer
| > | >
| > | >
www.aboutfortunate.com
| > | >
| > | > "Out of chaos comes order."
| > | > Nietzsche
| > | > "A.M-SG" <al******@newsgroup.nospam> wrote in message
| > | > news:%2****************@TK2MSFTNGP14.phx.gbl...
| > | >> Hi,
| > | >>
| > | >>
| > | >>
| > | >> I understand that be default VS2005 uses the ASP.NET development
| > server
| > | >> to run and test ASP.NET applications. Is it possible that we use
IIS
| > for
| > | >> ASP.NET application debugging in new IDE environment?
| > | >>
| > | >>
| > | >>
| > | >> Thank you,
| > | >>
| > | >> Alan
| > | >>
| > | >>
| > | >
| > | >
| > |
| > |
| > |
|
|