Click here to Skip to main content
16,006,013 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using both .NET caching and generic list. Pin
Guffa22-May-08 4:06
Guffa22-May-08 4:06 
QuestionRe: Using both .NET caching and generic list. Pin
Steve Holdorf22-May-08 4:25
Steve Holdorf22-May-08 4:25 
AnswerRe: Using both .NET caching and generic list. Pin
led mike22-May-08 4:45
led mike22-May-08 4:45 
GeneralRe: Using both .NET caching and generic list. Pin
Steve Holdorf22-May-08 5:01
Steve Holdorf22-May-08 5:01 
GeneralRe: Using both .NET caching and generic list. Pin
Steve Holdorf22-May-08 5:08
Steve Holdorf22-May-08 5:08 
GeneralRe: Using both .NET caching and generic list. Pin
Steve Holdorf22-May-08 5:35
Steve Holdorf22-May-08 5:35 
GeneralRe: Using both .NET caching and generic list. Pin
Steve Holdorf22-May-08 5:51
Steve Holdorf22-May-08 5:51 
GeneralRe: Using both .NET caching and generic list. Pin
led mike22-May-08 10:12
led mike22-May-08 10:12 
Steve Holdorf wrote:
The static PatientManager object is part of the BL and not presentation layer so Application/Session objects should not be needed. Am I missing anything?


That does not seem clear to me. This static PatientManager is a static instance in what process? The ASP.NET process? This is the same process in which Application and Session memory are located (unless of course you use out of proc session but I don't see you mentioning that). Therefore you have no distinction between your presentation layer and your business layer in terms of memory management. If you are placing the PatientManager in the COM+ server then it's not part of the presentation tier of your system. If you are using COM+ for this PatientManager you can configure it in COM+ as a Single Instance so you don't need to make it a static instance.

Steve Holdorf wrote:
the static PatientManager should maintain both. Am I wrong?


That sounds like you are planning to use it for write operations yes? So if you have a static instance in a multi-threaded environment you are going to deal with all the synchronization issues yourself then? If so it sounds like you are headed down a long hard path. Good luck.


led mike

GeneralRe: Using both .NET caching and generic list. Pin
Guffa22-May-08 9:58
Guffa22-May-08 9:58 
GeneralRe: Using both .NET caching and generic list. Pin
Steve Holdorf22-May-08 11:04
Steve Holdorf22-May-08 11:04 
QuestionInvoke C# Method in VB Script Pin
Arun Abraham Jose22-May-08 2:57
Arun Abraham Jose22-May-08 2:57 
AnswerRe: Invoke C# Method in VB Script Pin
Christian Graus22-May-08 2:58
protectorChristian Graus22-May-08 2:58 
GeneralRe: Invoke C# Method in VB Script Pin
Arun Abraham Jose22-May-08 3:11
Arun Abraham Jose22-May-08 3:11 
GeneralRe: Invoke C# Method in VB Script Pin
Christian Graus22-May-08 3:13
protectorChristian Graus22-May-08 3:13 
GeneralRe: Invoke C# Method in VB Script Pin
Arun Abraham Jose22-May-08 3:53
Arun Abraham Jose22-May-08 3:53 
GeneralRe: Invoke C# Method in VB Script Pin
The Nightcoder22-May-08 4:31
The Nightcoder22-May-08 4:31 
GeneralRe: Invoke C# Method in VB Script Pin
Guffa22-May-08 3:37
Guffa22-May-08 3:37 
GeneralRe: Invoke C# Method in VB Script Pin
Arun Abraham Jose22-May-08 3:57
Arun Abraham Jose22-May-08 3:57 
GeneralRe: Invoke C# Method in VB Script Pin
Arun Abraham Jose22-May-08 4:32
Arun Abraham Jose22-May-08 4:32 
QuestionDrawToBitmap C# Pin
omlac22-May-08 1:14
omlac22-May-08 1:14 
AnswerRe: DrawToBitmap C# Pin
Shree22-May-08 1:32
Shree22-May-08 1:32 
GeneralRe: DrawToBitmap C# Pin
topcatalpha22-May-08 4:54
topcatalpha22-May-08 4:54 
AnswerRe: DrawToBitmap C# Pin
Gareth H22-May-08 2:17
Gareth H22-May-08 2:17 
GeneralRe: DrawToBitmap C# Pin
omlac22-May-08 21:01
omlac22-May-08 21:01 
AnswerRe: DrawToBitmap C# Pin
Reelix22-May-08 2:48
Reelix22-May-08 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.