Externalizing connection string in Fluorine template

View: New views
4 Messages — Rating Filter:   Alert me  

Externalizing connection string in Fluorine template

by Adam Schaible-4 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello Everyone,

 

                My app is deployed to a few different environments in which my database connection changes.  I’m using the Fluorine template to generate my project, and was wondering if there was a tutorial to make the class library use a connection string defined in web.config, or some other location that isn’t compiled into the class library .dll.

 

Thanks!

 

Adam Schaible

Software Developer

RACO Industries

Phone: 800.446.1991

Direct: 513.985.1156

eFax: 513.985.1156

aschaible@...

 


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Externalizing connection string in Fluorine template

by Pietro-10 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

* Adam Schaible wrote, On 22/04/2008 16:54:

>
> Hello Everyone,
>
> My app is deployed to a few different environments in which my
> database connection changes. I’m using the Fluorine template to
> generate my project, and was wondering if there was a tutorial to make
> the class library use a connection string defined in web.config, or
> some other location that isn’t compiled into the class library .dll.
>
> Thanks!
>
> Adam Schaible
>
> Software Developer
>
> RACO Industries
>
> *Phone:* 800.446.1991
>
> *Direct:* 513.985.1156
>
> *eFax:* 513.985.1156
>
> aschaible@...
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fluorine mailing list
> fluorine@...
> http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com
>  
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.3/1393 - Release Date: 23/04/2008 8.12
>  
Hi Adam,

I hope this link may help you:
http://kmccaa.blogspot.com/2007/07/how-to-move-typed-dataset-to-its-own_11.html


Pietro.


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Externalizing connection string in Fluorine template

by Adam Schaible-4 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Definitely, thanks a lot!!

-----Original Message-----
From: fluorine-bounces@...
[mailto:fluorine-bounces@...] On Behalf Of
Pietro
Sent: Wednesday, April 23, 2008 2:37 PM
To: Fluorine Mailing List
Subject: Re: [Fluorine] Externalizing connection string in Fluorine
template

* Adam Schaible wrote, On 22/04/2008 16:54:
>
> Hello Everyone,
>
> My app is deployed to a few different environments in which my
> database connection changes. I'm using the Fluorine template to
> generate my project, and was wondering if there was a tutorial to make

> the class library use a connection string defined in web.config, or
> some other location that isn't compiled into the class library .dll.
>
> Thanks!
>
> Adam Schaible
>
> Software Developer
>
> RACO Industries
>
> *Phone:* 800.446.1991
>
> *Direct:* 513.985.1156
>
> *eFax:* 513.985.1156
>
> aschaible@...
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> fluorine mailing list
> fluorine@...
>
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.th
esilentgroup.com
>  
>
------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.3/1393 - Release Date:
23/04/2008 8.12
>  
Hi Adam,

I hope this link may help you:
http://kmccaa.blogspot.com/2007/07/how-to-move-typed-dataset-to-its-own_
11.html


Pietro.


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.th
esilentgroup.com

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Externalizing connection string in Fluorine template

by flashpf :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
{details:" at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) at FluorineFx.TypeHelper.LocateInLac(String typeName, String lac) at FluorineFx.ObjectFactory.LocateInLac(String typeName) at FluorineFx.Messaging.DotNetFactoryInstance.GetInstanceClass() at FluorineFx.Messaging.DotNetFactoryInstance.CreateInstance() at FluorineFx.Messaging.DotNetFactory.Lookup(FactoryInstance factoryInstance) at FluorineFx.Messaging.FactoryInstance.Lookup() at FluorineFx.Messaging.Endpoints.Filter.ProcessFilter.Invoke(AMFContext context)",level:"error",description:"Could not find a part of the path 'D:\project\C'.",code:"SERVER.PROCESSING",type:"System.IO.DirectoryNotFoundException"}
 
 
2008-05-19

flashpf

发件人: Adam Schaible
发送时间: 2008-04-24  02:57:43
收件人: Fluorine Mailing List
抄送:
主题: Re: [Fluorine] Externalizing connection string in Fluorine template
Definitely, thanks a lot!!
-----Original Message-----
[mailto:fluorine-bounces@...] On Behalf Of
Pietro
Sent: Wednesday, April 23, 2008 2:37 PM
To: Fluorine Mailing List
Subject: Re: [Fluorine] Externalizing connection string in Fluorine
template
* Adam Schaible wrote, On 22/04/2008 16:54:
>
> Hello Everyone,
>
> My app is deployed to a few different environments in which my 
> database connection changes. I'm using the Fluorine template to 
> generate my project, and was wondering if there was a tutorial to make
> the class library use a connection string defined in web.config, or 
> some other location that isn't compiled into the class library .dll.
>
> Thanks!
>
> Adam Schaible
>
> Software Developer
>
> RACO Industries
>
> *Phone:* 800.446.1991
>
> *Direct:* 513.985.1156
>
> *eFax:* 513.985.1156
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> fluorine mailing list
>
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.th
esilentgroup.com
>   
>
------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 7.5.524 / Virus Database: 269.23.3/1393 - Release Date:
23/04/2008 8.12
>   
Hi Adam,
I hope this link may help you:
http://kmccaa.blogspot.com/2007/07/how-to-move-typed-dataset-to-its-own_
11.html
Pietro.
_______________________________________________
fluorine mailing list
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.th
esilentgroup.com
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________
fluorine mailing list
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com