Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / December 2005

Tip: Looking for answers? Try searching our database.

c# web.config file in Visual Studio 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vision - 03 Dec 2005 14:32 GMT
Hi,

I have just installed Visual Studio 2005 Professional. When I start a new
ASP.NET Web Application using c# as the preferred language I don't see a
web.config file in the solutions explorer - it's not created. When I try the
same with Visual Basic and J# the web.config file is generated automaticaly.

Does anybody know if there is something wrong. Have I gone wrong somewhere
in the installation process?

Thanks in advance.
Teemu Keiski - 05 Dec 2005 07:58 GMT
Hi,

IIRC, it's not created by default. But IDE will ask for it /mention about
it, when you start debugging, if not before (as it needs web.config with
debug enabled to allow debugging). So, there shouldn't be anything wrong,
just add the web.config when you need it.

Signature

Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

> Hi,
>
[quoted text clipped - 9 lines]
>
> Thanks in advance.
Steven Cheng[MSFT] - 05 Dec 2005 08:02 GMT
Hi Vision,

Welcome to MSDN newsgroup.
As for the different behavior of web.config file in VS2005 c# and VBNET
webproject, that's the expected behavior , not a problem :). It is actually
caused by the development team of the two IDE. The VC# Express and VB.net
Express 2005 are developed by different team, the C# web project use a
On-demand design to add the web.config , so it won't create web.config
until we explicitly create one....  and the web.config setting just use the
ones derived from machine.config and global web.config....   In fact, the
web.config precreated by vbnet project also only contains some default
setting......
We'll also find some other difference between Visual C# 2005 and Visual
VBNET 2005 when developing other kinds of projects (e.g winform.... )

Thanks,

Steven Cheng
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
| Thread-Topic: c# web.config file in Visual Studio 2005
| thread-index: AcX4FlOAxpMYiIAnQNiDB4j5UmrtRw==
[quoted text clipped - 30 lines]
|
| Thanks in advance.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.