Click here to Skip to main content
15,881,877 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Drag and Drop controls(toolbox effect ) in run time Pin
Ashutosh Phoujdar28-Jan-09 20:14
Ashutosh Phoujdar28-Jan-09 20:14 
QuestionObject reference not set to an instance of an object. in a setup Project in ASP.NET Pin
Vimalsoft(Pty) Ltd28-Jan-09 19:53
professionalVimalsoft(Pty) Ltd28-Jan-09 19:53 
AnswerRe: Object reference not set to an instance of an object. in a setup Project in ASP.NET Pin
BalasubramanianK28-Jan-09 23:59
BalasubramanianK28-Jan-09 23:59 
GeneralRe: Object reference not set to an instance of an object. in a setup Project in ASP.NET Pin
Vimalsoft(Pty) Ltd29-Jan-09 0:06
professionalVimalsoft(Pty) Ltd29-Jan-09 0:06 
QuestionDAC and SingleTon pattern Pin
Satish3228-Jan-09 19:39
Satish3228-Jan-09 19:39 
AnswerRe: DAC and SingleTon pattern Pin
Ashutosh Phoujdar28-Jan-09 20:06
Ashutosh Phoujdar28-Jan-09 20:06 
GeneralRe: DAC and SingleTon pattern [modified] Pin
Satish3228-Jan-09 20:44
Satish3228-Jan-09 20:44 
GeneralRe: DAC and SingleTon pattern Pin
SeMartens28-Jan-09 21:24
SeMartens28-Jan-09 21:24 
Hi,

it depends how your DAC is implemented. If you are using thread-synchronization methods (like locks, Monitors etc.) then your DAC does not support multiple requests at once. This will force the second user to wait until the first one is done using the DAC (depends really on the implementation).

If you didn't use synchronization methods, then your DAC can be accessed by multiple users at the same time.

Singleton only means that you are using one single instance on a class. It doesn't say anything about multi-threading. But if you use a singleton in a multi-threaded environment (like a webserver) you have to pay attention that multi-threading is not a problem for your DAC (side-effects).

Singleton is a design-pattern <-> serving one request at a time is a threading issue.

Hope this helps a bit.

Regards
Sebastian

It's not a bug, it's a feature!

Check out my CodeProject article Permission-by-aspect.

Me in Softwareland.

GeneralRe: DAC and SingleTon pattern Pin
Satish3228-Jan-09 21:45
Satish3228-Jan-09 21:45 
GeneralRe: DAC and SingleTon pattern Pin
Ashutosh Phoujdar29-Jan-09 22:01
Ashutosh Phoujdar29-Jan-09 22:01 
QuestionWorld Format? Pin
BalasubramanianK28-Jan-09 19:37
BalasubramanianK28-Jan-09 19:37 
AnswerRe: World Format? Pin
Ashutosh Phoujdar28-Jan-09 20:04
Ashutosh Phoujdar28-Jan-09 20:04 
GeneralRe: World Format? Pin
BalasubramanianK28-Jan-09 20:18
BalasubramanianK28-Jan-09 20:18 
Questionhow to insert into two table in single query? Pin
bhargavtripathi28-Jan-09 19:36
bhargavtripathi28-Jan-09 19:36 
AnswerRe: how to insert into two table in single query? Pin
Ashutosh Phoujdar28-Jan-09 20:02
Ashutosh Phoujdar28-Jan-09 20:02 
QuestionJava Script popup page problem Pin
krishnaveer28-Jan-09 19:31
krishnaveer28-Jan-09 19:31 
AnswerRe: Java Script popup page problem Pin
Aman Bhullar29-Jan-09 0:54
Aman Bhullar29-Jan-09 0:54 
Question[Message Deleted] Pin
rushi_gavankar28-Jan-09 19:07
rushi_gavankar28-Jan-09 19:07 
AnswerRe: Access windows application on website Pin
Ashutosh Phoujdar28-Jan-09 20:00
Ashutosh Phoujdar28-Jan-09 20:00 
GeneralRe: Access windows application on website Pin
rushi_gavankar28-Jan-09 22:52
rushi_gavankar28-Jan-09 22:52 
GeneralRe: Access windows application on website Pin
Ashutosh Phoujdar29-Jan-09 20:06
Ashutosh Phoujdar29-Jan-09 20:06 
QuestionRead check box list Selected Items through javascript function Pin
AnuMaria28-Jan-09 17:51
AnuMaria28-Jan-09 17:51 
AnswerRe: Read check box list Selected Items through javascript function Pin
lakshmichawala28-Jan-09 18:10
lakshmichawala28-Jan-09 18:10 
GeneralRe: Read check box list Selected Items through javascript function Pin
AnuMaria28-Jan-09 19:10
AnuMaria28-Jan-09 19:10 
GeneralRe: Read check box list Selected Items through javascript function Pin
lakshmichawala28-Jan-09 19:59
lakshmichawala28-Jan-09 19:59 

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.