Hi Mike,
Welcome to ASPNET newsgroup.
Not very sure about the "Direct Conenction" you mentioned. As far as I
know, for connectionstring of the .net connection objects, we can store
them in web.config and programmatically retrieve them and set to our
connection object at runtime. Also, the configuration API in 2.0 has been
much improved, here are some articles describing on this:
#Configuration API Improvements in ASP.NET 2.0
http://www.devx.com/dotnet/Article/27562
In addition, for .NET2.0 or whidbey related issue, I also suggest you try
posting in the msdn web forum since there're many experienced community
members and some MS dev guys there:
http://forums.microsoft.com/msdn/
Hope 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.)
--------------------
| Reply-To: "Mike" <mi******@nospam.nospam>
| From: "Mike" <mi******@nospam.nospam>
| Subject: ASP 2.0 Direct Connection Question
| Date: Mon, 4 Jul 2005 11:00:18 +0100
| Lines: 19
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <#j*************@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 217.205.201.142
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:110239
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi
|
| We are new to the world of ASP Development and I have a simple question -
we
| are starting a test development in ASP 2.0 Beta and we are building an
| application using a Direct Connection to our database which obviously is
| specific to our own network setup server names etc.
|
| My question is when we have finally built our app and then want to deploy
| our final web based solution to our client how do we/they change the
"direct
| connection" to point to their own server ? Is it simply a case of
changing
| a config file ?
|
| Where do the "direct connection" parameters live in an ASP 2.0 solution ?
|
| Thanks
|
| Mike
|
|
|