How Does It Work In 2005?

G

Guest

I was using VS 2003 and I installed VS 2005. It appears that VS 2005
installs it's own web server. Does this mean I no longer need IIS (Win XP
Pro version) on my machine? Should I uninstall the new Web server and go
back to IIS or uninstall IIS?

When I create a simple web site with a single web page with a button and a
little bit of code for that button. When I run, I no longer see a "bin" file
in solution explorer. Where did the bin folder go? I can't find the exe or
the PDB file, where are they?
 
W

Wiktor Zychla [C# MVP]

I was using VS 2003 and I installed VS 2005. It appears that VS 2005
installs it's own web server. Does this mean I no longer need IIS (Win XP
Pro version) on my machine? Should I uninstall the new Web server and go
back to IIS or uninstall IIS?

not necessarily. you have an option now to use the integrated web server or
stick with IIS: if you create a new project and select the "File System" as
the location then the integrated server will be used, otherwise IIS will be
used. note however, that the integrated web server is not intented to be
used as a production server.
When I create a simple web site with a single web page with a button and a
little bit of code for that button. When I run, I no longer see a "bin"
file
in solution explorer. Where did the bin folder go? I can't find the exe
or
the PDB file, where are they?

unless you explicitely precompile the website, one of three deployment
models is used. in this new model there are no precompiled binaries but
instead aspx and cs files are compiled at first visit. two other deployment
models (including the ASP.NET 1.1 model) are available by using the
aspnet_compiler tool.

http://msdn2.microsoft.com/en-us/library/ms229863.aspx

Regards,
Wiktor Zychla
 
B

Bruce Barker

1) you are correct

2) asp.net 2.0 works just like 1.0

when the site is compiled, dlls corresponding to the aspx pages are compiled
in a shadow folder (this happens with 1.0). all dlls in the bin are also
copied to the shadow dir. the difference in 2.0, is the codebehind is a
partial class, so its included in the page dll, instead of a seperate dll
built by VS and placed in the bin (then copied by asp.net).


-- bruce (sqlwork.com)
 
G

Guest

Thanks for your reply.... A couple more questions

There is no need for me to have both IIS and the "integrated" web server on
my machine, is there?

If I continue to use the IIS server, will the system continue to create the
bin file and act as it did in the 1.0 version?

I am guessing that the integrated server just uses the ASPX and ASCX files
right where they are for my project. Is that correct? How does the "PDB"
file get corrected for debugging? I am having problems with my "converted"
projects not stopping at the break points on the ASPX pages, but stop just
fine on classes called by those pages, what could be wrong there? ON new
projects which I create from scratch, the debug works just fine, but not on
web pages that I have converted.
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top