Click here to Skip to main content
15,899,754 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: two different hosts (HTML ONLY and ASP.NET) Pin
pmarfleet8-Nov-07 2:49
pmarfleet8-Nov-07 2:49 
GeneralRe: two different hosts (HTML ONLY and ASP.NET) Pin
kureta8-Nov-07 21:15
kureta8-Nov-07 21:15 
Questionregular expression validator Pin
sivaram praveen8-Nov-07 0:59
sivaram praveen8-Nov-07 0:59 
AnswerRe: regular expression validator Pin
pmarfleet8-Nov-07 2:17
pmarfleet8-Nov-07 2:17 
GeneralRe: regular expression validator Pin
sivaram praveen8-Nov-07 2:21
sivaram praveen8-Nov-07 2:21 
QuestionUsing singleton classes in ASP.Net Pin
jnaude7-Nov-07 23:48
jnaude7-Nov-07 23:48 
AnswerRe: Using singleton classes in ASP.Net Pin
N a v a n e e t h7-Nov-07 23:56
N a v a n e e t h7-Nov-07 23:56 
AnswerRe: Using singleton classes in ASP.Net Pin
Guffa8-Nov-07 2:22
Guffa8-Nov-07 2:22 
You might be able to change it to make it work, but it's not advisable. Here are some reasons:

- A web application is a multi threaded application, so you need to make a singleton that is unique for the thread, not for the application. You can't share the same connection between threads.

- Putting the connection in a singleton makes it more complicated to close the connection properly. You don't want to keep the connection open between requests.

Experience is the sum of all the mistakes you have done.

GeneralRe: Using singleton classes in ASP.Net Pin
Colin Angus Mackay8-Nov-07 4:35
Colin Angus Mackay8-Nov-07 4:35 
AnswerRe: Using singleton classes in ASP.Net Pin
Guffa8-Nov-07 5:25
Guffa8-Nov-07 5:25 
GeneralRe: Using singleton classes in ASP.Net Pin
Colin Angus Mackay8-Nov-07 6:41
Colin Angus Mackay8-Nov-07 6:41 
AnswerRe: Using singleton classes in ASP.Net Pin
Paddy Boyd8-Nov-07 2:43
Paddy Boyd8-Nov-07 2:43 
QuestionASP export to excel and Ajax problem Pin
Herman<T>.Instance7-Nov-07 23:24
Herman<T>.Instance7-Nov-07 23:24 
Questiongetting started in AJAX Pin
Ahmad Adnan7-Nov-07 23:20
Ahmad Adnan7-Nov-07 23:20 
AnswerRe: getting started in AJAX Pin
Christian Graus7-Nov-07 23:31
protectorChristian Graus7-Nov-07 23:31 
AnswerRe: getting started in AJAX Pin
N a v a n e e t h7-Nov-07 23:33
N a v a n e e t h7-Nov-07 23:33 
QuestionCreating a store in eBay's Sandbox through eBay SDK [modified] Pin
Rocky#7-Nov-07 22:22
Rocky#7-Nov-07 22:22 
AnswerRe: Creating a store in eBay's Sandbox through eBay SDK Pin
N a v a n e e t h7-Nov-07 22:27
N a v a n e e t h7-Nov-07 22:27 
GeneralRe: Creating a store in eBay's Sandbox through eBay SDK Pin
Rocky#7-Nov-07 22:31
Rocky#7-Nov-07 22:31 
QuestionFocus on top of page when any error occurs after validation... Pin
Pushpa Setty7-Nov-07 22:18
Pushpa Setty7-Nov-07 22:18 
QuestionRaise an synchronous post back by javacript function in asp.net ajax [modified] Pin
boidolaem7-Nov-07 21:57
boidolaem7-Nov-07 21:57 
AnswerRe: Raise an synchronous post back by javacript function in asp.net ajax Pin
Michael Sync8-Nov-07 19:55
Michael Sync8-Nov-07 19:55 
GeneralRe: Raise an synchronous post back by javacript function in asp.net ajax Pin
boidolaem11-Nov-07 22:42
boidolaem11-Nov-07 22:42 
Questiona gridview without any datasource Pin
sayonifahim7-Nov-07 21:54
sayonifahim7-Nov-07 21:54 
AnswerRe: a gridview without any datasource Pin
N a v a n e e t h7-Nov-07 22:17
N a v a n e e t h7-Nov-07 22:17 

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.