Re: singleton in an aspx app?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Lucas Tam (REMOVEnntp_at_rogers.com)
Date: 10/12/04


Date: Tue, 12 Oct 2004 20:23:36 GMT


"Sergei Shelukhin" <raven_at@home.domonet.ru> wrote in
news:2t2kc8F1pmmi7U1@uni-berlin.de:

> Suppose I want to supply a singleton class object that will sit
> between my intranet asp.net app and MS SQL database, doing al the
> chemistry with connections etc inside of it.

Microsoft already has a set of classes which do this: Microsoft appplicaion
data blocks (you can download the classes from MSDN). Unless you're doing
something special, it's usually not a good idea to use a singleton
structure in ASP.NET.

-- 
Lucas Tam (REMOVEnntp@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/


Relevant Pages

  • RE: Intermittent Remote Web Workplace connections
    ... I understand that your RWW connections are ... the non-standard settings of DefaultAppPool in IIS ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • RE: DFS Problems
    ... No more connections can be made to this remote ... Also, the SBS CAL ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: VPN Problems
    ... I have 2 connections in there, in the following order, ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... newsgroups so that they can be resolved in an efficient and timely manner. ...
    (microsoft.public.windows.server.sbs)
  • Re: VPN Problems
    ... Please open Control Panel -> network connections. ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... newsgroups so that they can be resolved in an efficient and timely manner. ...
    (microsoft.public.windows.server.sbs)
  • Re: RDP connection manager software?
    ... without the use of /console half of the connections are useless to me. ... Instead of the website you're using, I suggest to use OEx (Outlook Express ... This is a direct link to the Microsoft Public ... Infinite Diversities in Infinite Combinations ...
    (microsoft.public.windows.server.networking)