Question with regards to VS.NET2005 IDE and ASP.NET 2.0

A

A.M-SG

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
 
S

S. Justin Gengo

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

A.M-SG

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 said:
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 said:
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
 
J

Josh Twist

Personally I always start with ASP.NET File System application and then
manually hook up IIS. (Using the ASP.NET development server is
downright dangerous - your code would run with many more permissions
than you would under IIS)

To manually hook up IIS. Simply create a Virtual Directory in IIS
Admin, e.g. http://localhost/MyApplication/ pointing to your 'web
project'.

Go back into VS2005 and right click on your web project and choose
Propery Pages from the menu. Under startup options you should be able
to choose a custom server and enter a base url - choose that option and
enter http://localhost/MyApplication/ as your base url.

Bingo!

I've been meaning to post about the danger of the ASP.NET Development
Server for a while now... tomorrow maybe! :)

Josh
http://www.thejoyofcode.com/
 
S

S. Justin Gengo [MCP]

Alaln,

Sorry, I haven't attempted that. The first time I realized I wanted to use
IIS instead of the new file system (I had tried the file system with a
simple app.) I only had one page so far, so I just copied and pasted my
code. My "partner-in-crime" says he converted one, but he doesn't remember
exactly what he did... So it's possible, but he says he had to fool around
with a lot of settings. He's trying to remember just what he did. If he can
verify how he did it I'll post what he remembers.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
A.M-SG said:
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 said:
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 said:
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
 
S

S. Justin Gengo [MCP]

Hmmm, I got Josh's post right after mine...

Looks good Josh. You should try creating the virtual directory from the
get-go. It's really nice. It looks like a lot of steps because I spelled out
each and every button click, but it's quite simple.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
S. Justin Gengo said:
Alaln,

Sorry, I haven't attempted that. The first time I realized I wanted to use
IIS instead of the new file system (I had tried the file system with a
simple app.) I only had one page so far, so I just copied and pasted my
code. My "partner-in-crime" says he converted one, but he doesn't remember
exactly what he did... So it's possible, but he says he had to fool around
with a lot of settings. He's trying to remember just what he did. If he
can verify how he did it I'll post what he remembers.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
A.M-SG said:
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 said:
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
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
 
S

Steven Cheng[MSFT]

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" <[email protected]>
| References: <#[email protected]>
<[email protected]>
| 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: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 67.71.52.167
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.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
|
|
| message | > 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
| > | >> 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
| >>
| >>
| >
| >
|
|
|
 
J

Joey

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?
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" <[email protected]>
| References: <#[email protected]>
<[email protected]>
| 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: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 67.71.52.167
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.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
|
|
| message | > 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
| > | >> 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
| >>
| >>
| >
| >
|
|
|
 
S

Steven Cheng[MSFT]

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" <[email protected]>
| 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: <[email protected]>
| References: <#[email protected]>
| <[email protected]>
| <[email protected]>
| <[email protected]>
| 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: (e-mail address removed)
| NNTP-Posting-Date: Thu, 12 Jan 2006 03:13:44 +0000 (UTC)
| In-Reply-To: <[email protected]>
| 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: (e-mail address removed)
| Injection-Info: g49g2000cwa.googlegroups.com; posting-host=67.22.114.248;
| posting-account=quLkng0AAADPxeWcCK254A0yusgzOfm6
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.gigan
ews.com!postnews.google.com!g49g2000cwa.googlegroups.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" <[email protected]>
| > | References: <#[email protected]>
| > <[email protected]>
| > | 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: <[email protected]>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: 67.71.52.167
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.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
| > |
| > |
| > | message | > | > 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
| > | > | > | >> 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
| > | >>
| > | >>
| > | >
| > | >
| > |
| > |
| > |
|
|
 
J

Joey

I know. I only use it in the server side code. The problem always
exists (in server side code) because of the way that the ~ is resolved
by the app when it is ran in file system mode.
 
S

Steven Cheng[MSFT]

Sounds a bit strange, would post some simple repro code or aspx template?

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" <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Re: Question with regards to VS.NET2005 IDE and ASP.NET 2.0
| Date: 11 Jan 2006 20:37:30 -0800
| Organization: http://groups.google.com
| Lines: 4
| Message-ID: <[email protected]>
| References: <#[email protected]>
| <[email protected]>
| <i#[email protected]>
| NNTP-Posting-Host: 67.22.114.248
| Mime-Version: 1.0
| Content-Type: text/plain; charset="iso-8859-1"
| X-Trace: posting.google.com 1137040655 31013 127.0.0.1 (12 Jan 2006
04:37:35 GMT)
| X-Complaints-To: (e-mail address removed)
| NNTP-Posting-Date: Thu, 12 Jan 2006 04:37:35 +0000 (UTC)
| In-Reply-To: <i#[email protected]>
| 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: (e-mail address removed)
| Injection-Info: g49g2000cwa.googlegroups.com; posting-host=67.22.114.248;
| posting-account=quLkng0AAADPxeWcCK254A0yusgzOfm6
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.gigan
ews.com!postnews.google.com!g49g2000cwa.googlegroups.com!not-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:370249
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I know. I only use it in the server side code. The problem always
| exists (in server side code) because of the way that the ~ is resolved
| by the app when it is ran in file system mode.
|
|
 
A

Alan Silver

Using the ASP.NET development server is downright dangerous - your code
would run with many more permissions than you would under IIS

Why is that dangerous? The development server does not accept
connections from any other machine, so you are not opening up the
machine to anyone outside. All that may happen is that when you deploy
the site, some things might not work due to the more restricted
permissions. That's not dangerous, it's just annoying ;-)

Or did I miss something?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top