Click here to Skip to main content
15,894,180 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How can I get Session value in c#? Pin
Vimalsoft(Pty) Ltd7-Feb-11 20:15
professionalVimalsoft(Pty) Ltd7-Feb-11 20:15 
AnswerRe: How can I get Session value in c#? Pin
Ravi Sant3-May-11 0:20
Ravi Sant3-May-11 0:20 
Questionstrange box characters Pin
mnemonic696-Feb-11 2:29
mnemonic696-Feb-11 2:29 
AnswerRe: strange box characters Pin
Dhyanga7-Feb-11 6:14
Dhyanga7-Feb-11 6:14 
QuestionASP.NET+VB (LOGIN TO WEB SITE) Pin
Mujibulhaq5-Feb-11 20:00
Mujibulhaq5-Feb-11 20:00 
AnswerRe: ASP.NET+VB (LOGIN TO WEB SITE) Pin
Sandeep Mewara6-Feb-11 6:52
mveSandeep Mewara6-Feb-11 6:52 
AnswerRe: ASP.NET+VB (LOGIN TO WEB SITE) Pin
Vimalsoft(Pty) Ltd8-Feb-11 20:19
professionalVimalsoft(Pty) Ltd8-Feb-11 20:19 
QuestionI want to keep the Data access layer in a different class library project, but how can I manage Web.Config file ? Pin
Nadia Monalisa4-Feb-11 17:30
Nadia Monalisa4-Feb-11 17:30 
Hi,

I want to encapsulate the Data Access Layer in a class library project where the class library will contain LINQ to SQL classes and Business Logic Layer. For my ASP.NET Web application, I will add that class library reference so that the ASP.NET Web application just behave like the Presentation Layer. I am highly tempted to implement this architecture. But I just got one challenge. As the Data Access Layer will maintain the Connection String of the SQL database in Web.Config file, when I reference that class library DLL to my ASP.NET Web Application, how will the Web.Config file of that class library project get integrated to my web.config file of the presentation ASP.NET Web Application ?

At this moment, I am using ASP.NET 4.0 which has a cool feature : Web.Config.Debug, Web.Config.Release, so I can place the connection string of my production server website at Web.Config.Release. But, now, looks like, I will have to miss that feature as I am not sure how Web.Config (or App.Config) file will behave in my Data Access Layer class library project.

Would you please give me some idea ?
AnswerRe: I want to keep the Data access layer in a different class library project, but how can I manage Web.Config file ? Pin
Shahriar Iqbal Chowdhury/Galib6-Feb-11 9:04
professionalShahriar Iqbal Chowdhury/Galib6-Feb-11 9:04 
GeneralRe: I want to keep the Data access layer in a different class library project, but how can I manage Web.Config file ? Pin
Nadia Monalisa6-Feb-11 10:22
Nadia Monalisa6-Feb-11 10:22 
GeneralRe: I want to keep the Data access layer in a different class library project, but how can I manage Web.Config file ? Pin
Not Active6-Feb-11 11:27
mentorNot Active6-Feb-11 11:27 
QuestionASP.NET development on Mac OS X Pin
Paul Watson4-Feb-11 7:51
sitebuilderPaul Watson4-Feb-11 7:51 
AnswerRe: ASP.NET development on Mac OS X Pin
Eaverae10-Feb-11 4:50
Eaverae10-Feb-11 4:50 
GeneralRe: ASP.NET development on Mac OS X Pin
Paul Watson10-Feb-11 7:05
sitebuilderPaul Watson10-Feb-11 7:05 
Questionunable to scan document through scanner from my web application. Pin
Sanket.Patil4-Feb-11 3:08
Sanket.Patil4-Feb-11 3:08 
AnswerRe: unable to scan document through scanner from my web application. Pin
Pete O'Hanlon4-Feb-11 3:30
mvePete O'Hanlon4-Feb-11 3:30 
QuestionAsynchronous callback with update panel Pin
Ali Al Omairi(Abu AlHassan)3-Feb-11 11:30
professionalAli Al Omairi(Abu AlHassan)3-Feb-11 11:30 
AnswerRe: Asynchronous callback with update panel Pin
Sunasara Imdadhusen3-Feb-11 23:04
professionalSunasara Imdadhusen3-Feb-11 23:04 
GeneralRe: Asynchronous callback with update panel Pin
Ali Al Omairi(Abu AlHassan)5-Feb-11 8:27
professionalAli Al Omairi(Abu AlHassan)5-Feb-11 8:27 
AnswerRe: Asynchronous callback with update panel Pin
Sandeep Mewara4-Feb-11 6:26
mveSandeep Mewara4-Feb-11 6:26 
GeneralRe: Asynchronous callback with update panel Pin
Ali Al Omairi(Abu AlHassan)4-Feb-11 7:16
professionalAli Al Omairi(Abu AlHassan)4-Feb-11 7:16 
Questionsmtp weak server Pin
devboycpp2-Feb-11 3:11
devboycpp2-Feb-11 3:11 
AnswerRe: smtp weak server Pin
Richard MacCutchan3-Feb-11 22:20
mveRichard MacCutchan3-Feb-11 22:20 
QuestionHow to change Theme Pin
Anubhava Dimri2-Feb-11 1:32
Anubhava Dimri2-Feb-11 1:32 
AnswerRe: How to change Theme Pin
Prerak Patel2-Feb-11 2:48
professionalPrerak Patel2-Feb-11 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.