473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How Does It Work In 2005?

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?
Jan 27 '06 #1
3 1033
>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

Jan 27 '06 #2
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)


"Wiktor Zychla [C# MVP]" <wzychla_ii.uni.wroc.pl> wrote in message
news:O5**************@tk2msftngp13.phx.gbl...
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

Jan 28 '06 #3
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.
Jan 30 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
21
by: Jim | last post by:
Hi I am a newbie to asp and i built this test program: <HTML> <HEAD><TITLE>Test</TITLE></HEAD> <BODY> the time is <% = Time %> </BODY> </HTML>
7
by: RedEye | last post by:
Hello, Here is the problem. I have two sites both of which use the asp.net v2 login controls. Both sites are coded identicaly including the config file. There is only one thing that is...
1
by: ME | last post by:
I was running into a problem with the DataGridView while binding it to an object Collection. I got it working and I thought others might like to know how. -------------- Problem -------------...
1
by: Wanjun Yu | last post by:
Does Visual Studio 2005 work with Source Safe 6.0? Thanks. Wanjun
6
by: jzdeng | last post by:
Hi, All I use VS 2005 to create a web service. The web service is used to create a sheared folder. It works fine we I run it from VS 2005. But, when I move it to inetpub, it does not work...
14
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it...
1
by: Rolf Welskes | last post by:
Hello, I set in the configuration file of the application: <system.web> <pages styleSheetTheme="E01_Theme01" /> ...... This works.
3
by: Nick Gilbert | last post by:
Hi, In my VS.NET 2005, if I choose Build Clean Solution, the BIN folder is not touched. Shouldn't it delete all the dll and pdb files in that folder first? Instead, I'm finding I have to do it...
0
by: Steven Prasil | last post by:
When I start my VisualStudio 2005 it creates automatically new folders: D:\work\Visual Studio 2005 D:\work\Visual Studio 2005\Projects D:\work\Visual Studio 2005\Templates Yes, in VS menu ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.