ASP 2.0 Direct Connection Question

M

Mike

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
 
S

Steven Cheng[MSFT]

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" <[email protected]>
| From: "Mike" <[email protected]>
| 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: <#[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 217.205.201.142
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.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
|
|
|
 

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

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,273
Latest member
DamonShoem

Latest Threads

Top