No announcements
Found 3619022 threads
-
0 Votes
class library+WCF+Connection string????
ok So in WCF service also we can follow the same traditional way to access the connection string...Answered | 15 Replies | 5030 Views | Created by abhi0410 - Tuesday, April 28, 2009 6:31 PM | Last reply by Nofian Adi - Wednesday, April 29, 2009 8:04 AM -
0 Votes
Putting E-F connection in DAL (Class library) App.config file also requires connection string in MVC web.config file too??
I sort of thought that the DAL would actually also contain any connection strings to the database, but I guess at that point, the DAL would then ...Answered | 4 Replies | 124 Views | Created by Anonymous - Wednesday, September 13, 2017 1:32 PM | Last reply by Anonymous - Thursday, September 14, 2017 12:43 AM -
1 Votes
Entity Framework and connection strings
Again, if you added EF as new item in that Web project, then EF has put the connection string in the Web.config.Answered | 4 Replies | 6506 Views | Created by knit - Tuesday, February 5, 2013 12:19 AM | Last reply by darnold924 - Tuesday, February 19, 2013 5:01 AM -
0 Votes
Connection string in web.config required for EF?
But, isn't there a way to have the connection string in the web.config file WITHOUT the password?Answered | 7 Replies | 2301 Views | Created by fiverc - Thursday, April 2, 2015 11:24 AM | Last reply by William Bosacker - Friday, April 10, 2015 3:48 PM -
0 Votes
Read connection string from web.config ADO.NET Entity framework and not from app.config
Yes - if you copy the connection string to the web.config, it should get picked up when the website runs and will get used by the context.Answered | 1 Replies | 6185 Views | Created by Mayuresh S - Thursday, March 19, 2009 3:44 PM | Last reply by Noam Ben-Ami - MSFT1 - Tuesday, March 31, 2009 10:40 PM -
0 Votes
how to hide connection string in app.config file
The is the ConnectionStringBuilder Class.Answered | 4 Replies | 10037 Views | Created by Kumar Jalli - Monday, May 14, 2012 12:26 PM | Last reply by Rudedog2 - Monday, May 14, 2012 5:31 PM -
2 Votes
How to put SQL Connection String in a xml file
Creating XML for such a small thing doesn't make sense to me, but you may have a real requirement.Answered | 3 Replies | 16928 Views | Created by Naleenda Sampath - Monday, December 20, 2010 1:58 AM | Last reply by Naleenda Sampath - Monday, December 20, 2010 9:29 AM -
0 Votes
How to give connection string server name from the text file in app.config
here you find everything you need to know about configuration files and connection strings:Answered | 10 Replies | 926 Views | Created by polachan - Friday, January 15, 2016 7:07 AM | Last reply by CoolDadTx - Friday, January 15, 2016 3:15 PM -
2 Votes
Get connection string from app.config file
How to access connectionString from app.config with winform application??Answered | 6 Replies | 19546 Views | Created by Varun Dixit,India - Monday, May 23, 2011 3:47 AM | Last reply by Mangesh Mandavgane - Monday, November 11, 2013 8:42 PM -
0 Votes
where should i write SQL connection string .....wcfservice library's app.config / wcf service's web.config ....?
Hi Parthiv, If you are looking to place the connection string in a config file, you have to put it in the config file of the application ...Answered | 1 Replies | 2924 Views | Created by .netaholic - Monday, August 6, 2012 8:55 AM | Last reply by Nauzad Kapadia - Monday, August 6, 2012 9:27 AM -
0 Votes
How to consume connection string in class file
i did same u have id but nothing is stored in the string i.e hAnswered | 6 Replies | 2621 Views | Created by Rajashekar Goud - Monday, December 19, 2011 6:52 AM | Last reply by Rajashekar Goud - Wednesday, December 21, 2011 12:57 PM -
0 Votes
App.config and connection string
Yes, there is: You can encrypt using Enterprise Library Encryption Block itself or else You could look at Rijndael algorithm classes that have ...Answered | 1 Replies | 3908 Views | Created by pati.rosa - Monday, March 23, 2009 12:23 PM | Last reply by Viral Jain - Monday, March 23, 2009 12:26 PM -
0 Votes
webpart, where to put the connection string?
To get the connection string into Web.config, do a Google search for "SPWebConfigModification" 3b.Answered | 10 Replies | 10176 Views | Created by sunny74 - Tuesday, May 24, 2011 12:05 PM | Last reply by Dave Hunter - Thursday, May 26, 2011 12:47 PM -
38 Votes
Get connection string from app.config file
ConfigurationManager.ConnectionStrings will return not only the connection strings in you app.config file, but also from the machine.config file.Answered | 46 Replies | 614088 Views | Created by ambidexterous - Saturday, November 26, 2005 9:18 AM | Last reply by Phil Stratford - Monday, June 24, 2013 3:53 PM -
0 Votes
Changing Connection String in a DAL at runtime
http://social.msdn.microsoft.com/forums/en-US/vbgeneral/thread/e1e9a4ba-8745-4be1-80b0-028a74b725e9/ Best regards/med vänliga hälsningar, Johan StenbergMicrosoft ...Answered | 1 Replies | 2813 Views | Created by ekenman - Friday, November 21, 2008 1:44 PM | Last reply by MSFT Johan Stenberg - Saturday, November 22, 2008 12:32 AM -
2 Votes
In which file i have to put the connectiong string to the DB?
Mathieu has also shown how it would look in the app.config file or web.config file.Answered | 12 Replies | 3283 Views | Created by code_warrior - Thursday, January 7, 2010 1:59 PM | Last reply by code_warrior - Thursday, January 7, 2010 4:10 PM -
1 Votes
SQL DataBase Connection with App.Config File
Never use a new app.config file use the default App.config file and the below code snippet if you use a local SQL Server with Windows ...Answered | 7 Replies | 16998 Views | Created by Chiranthaka J - Thursday, April 7, 2016 6:29 PM | Last reply by Chiranthaka J - Sunday, April 17, 2016 3:44 PM -
0 Votes
Encrypt connection strings.
I keep the connection strings in the web.config files.Answered | 9 Replies | 4299 Views | Created by Rock2000 - Friday, July 12, 2013 4:21 PM | Last reply by Jagdip - Wednesday, April 23, 2014 1:11 PM -
0 Votes
How get Connection string from app.config?
Shrikant Maske Tier 2 Application Support Server and Tools Online Engineering Live Services TeamAnswered | 1 Replies | 10647 Views | Created by Faylol - Tuesday, April 28, 2009 2:30 PM | Last reply by Shrikant Maske - Tuesday, April 28, 2009 8:59 PM -
2 Votes
I want to add a connection string through app.config.
After doing that I was able to successfully get the connection string from app.config.Answered | 9 Replies | 5276 Views | Created by Kriya78 - Thursday, July 14, 2011 5:00 AM | Last reply by abhilashc1981 - Friday, August 19, 2011 10:41 AM - Items 1 to 20 of 3619022 Next ›
No announcements