Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
GeneralRe: Calling a Page Method In Javascript Pin
Vimalsoft(Pty) Ltd10-Aug-10 5:01
professionalVimalsoft(Pty) Ltd10-Aug-10 5:01 
GeneralRe: Calling a Page Method In Javascript Pin
Łukasz Nowakowski10-Aug-10 8:08
Łukasz Nowakowski10-Aug-10 8:08 
GeneralRe: Calling a Page Method In Javascript Pin
Vimalsoft(Pty) Ltd10-Aug-10 20:15
professionalVimalsoft(Pty) Ltd10-Aug-10 20:15 
GeneralRe: Calling a Page Method In Javascript Pin
Łukasz Nowakowski10-Aug-10 21:29
Łukasz Nowakowski10-Aug-10 21:29 
GeneralRe: Calling a Page Method In Javascript Pin
Vimalsoft(Pty) Ltd10-Aug-10 21:55
professionalVimalsoft(Pty) Ltd10-Aug-10 21:55 
QuestionSQL Server Load Balancing with ASP.Net Pin
satsumatable9-Aug-10 20:02
satsumatable9-Aug-10 20:02 
AnswerRe: SQL Server Load Balancing with ASP.Net Pin
Mycroft Holmes9-Aug-10 21:22
professionalMycroft Holmes9-Aug-10 21:22 
AnswerRe: SQL Server Load Balancing with ASP.Net Pin
SimulationofSai10-Aug-10 15:42
SimulationofSai10-Aug-10 15:42 
satsumatable wrote:
Now I want to route the WRITE (Insert, Update, Delete) calls from my ASP.Net application to Instance A and READ (Select) calls to Instance B?


Have you tried anything?

The databases only have replication running between them right? So that means that the two databases are distinct entities that can be connected to using separate connection strings. If your application has a dedicated DAL, all the change you need to make is have two separate methods that open a connection, something like

OpenConnectionForWrite()

OpenConnectionForRead()

and your code can call the appropriate method depending on whether it's reading or writing.
SG
Aham Brahmasmi!

QuestionGuide lines to develop a Payment Gateway in C# Pin
arun_pk9-Aug-10 19:24
arun_pk9-Aug-10 19:24 
QuestionHow often do you "Build" a project during development? Pin
Matt U.9-Aug-10 16:45
Matt U.9-Aug-10 16:45 
AnswerRe: How often do you "Build" a project during development? Pin
PIEBALDconsult9-Aug-10 16:56
mvePIEBALDconsult9-Aug-10 16:56 
GeneralRe: How often do you "Build" a project during development? Pin
Matt U.9-Aug-10 17:10
Matt U.9-Aug-10 17:10 
AnswerRe: How often do you "Build" a project during development? Pin
Luc Pattyn9-Aug-10 17:51
sitebuilderLuc Pattyn9-Aug-10 17:51 
AnswerRe: How often do you "Build" a project during development? Pin
N a v a n e e t h9-Aug-10 18:08
N a v a n e e t h9-Aug-10 18:08 
AnswerRe: How often do you "Build" a project during development? Pin
arun_pk9-Aug-10 19:27
arun_pk9-Aug-10 19:27 
AnswerRe: How often do you "Build" a project during development? Pin
OriginalGriff9-Aug-10 21:02
mveOriginalGriff9-Aug-10 21:02 
GeneralRe: How often do you "Build" a project during development? Pin
DaveyM6910-Aug-10 5:22
professionalDaveyM6910-Aug-10 5:22 
GeneralRe: How often do you "Build" a project during development? Pin
Matt U.11-Aug-10 17:15
Matt U.11-Aug-10 17:15 
GeneralRe: How often do you "Build" a project during development? Pin
Baconbutty12-Aug-10 2:54
Baconbutty12-Aug-10 2:54 
QuestionHow to encrypt an xml file? Pin
mehdi_139-Aug-10 7:05
mehdi_139-Aug-10 7:05 
AnswerRe: How to encrypt an xml file? Pin
Ennis Ray Lynch, Jr.9-Aug-10 7:14
Ennis Ray Lynch, Jr.9-Aug-10 7:14 
AnswerRe: How to encrypt an xml file? Pin
PIEBALDconsult9-Aug-10 14:54
mvePIEBALDconsult9-Aug-10 14:54 
AnswerRe: How to encrypt an xml file? Pin
Orjan Westin10-Aug-10 2:34
professionalOrjan Westin10-Aug-10 2:34 
QuestionApplication Switching via a HotKey Pin
gmhanna9-Aug-10 6:53
gmhanna9-Aug-10 6:53 
AnswerRe: Application Switching via a HotKey Pin
Ravi Bhavnani9-Aug-10 7:22
professionalRavi Bhavnani9-Aug-10 7:22 

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.