Click here to Skip to main content
16,011,120 members
Home / Discussions / C#
   

C#

 
AnswerRe: Communicating with windows services Pin
Giorgi Dalakishvili19-Mar-09 7:26
mentorGiorgi Dalakishvili19-Mar-09 7:26 
AnswerRe: Communicating with windows services Pin
led mike19-Mar-09 7:35
led mike19-Mar-09 7:35 
GeneralRe: Communicating with windows services Pin
mirko8619-Mar-09 7:43
mirko8619-Mar-09 7:43 
JokeRe: Communicating with windows services Pin
musefan19-Mar-09 7:51
musefan19-Mar-09 7:51 
GeneralRe: Communicating with windows services Pin
mirko8619-Mar-09 8:01
mirko8619-Mar-09 8:01 
GeneralRe: Communicating with windows services Pin
led mike19-Mar-09 7:51
led mike19-Mar-09 7:51 
AnswerRe: Communicating with windows services Pin
King Julien20-Mar-09 5:36
King Julien20-Mar-09 5:36 
QuestionPerformance in C# application Pin
sergiq219-Mar-09 6:38
sergiq219-Mar-09 6:38 
Hello,

I write apllication(.NET 3.5 C#, SQL Server 2k8) (type ERP) with modules like: HRM, SCM, FRM, MRP.
It is multi user application.

I decide store all important data from DB in Dictionaries or List<t> ex. for INVOICE i create Dictionary<int,> etc.
To reduce connection with data base I have mechanism base on events to update specific data in my Dictionaries.

I chose this solution because I don't want once again fill my GridView from DataBase when one record has been changed by another user.

To synchronize my Dictionaries I want to use Query Notification and tracking changes mechanism (SQL Server 2008).


And all work fine but ....


Hypothetical situation.

I have for example 20 Dictionaries and any of this Dictionary have 2000-5000 elements.I fill it when the user logs on to an application.

How does it affect the weight of memory?

Is that way - casched Dictionaries - is a better solution then load all data (ex.Invoices) from data base when i need use it ?

Sorry for my English. It is not perfect.
AnswerRe: Performance in C# application Pin
Jon Rista19-Mar-09 7:10
Jon Rista19-Mar-09 7:10 
GeneralRe: Performance in C# application Pin
sergiq219-Mar-09 7:24
sergiq219-Mar-09 7:24 
GeneralRe: Performance in C# application Pin
Jon Rista19-Mar-09 14:24
Jon Rista19-Mar-09 14:24 
GeneralRe: Performance in C# application Pin
sergiq219-Mar-09 23:29
sergiq219-Mar-09 23:29 
GeneralRe: Performance in C# application Pin
Jon Rista20-Mar-09 8:37
Jon Rista20-Mar-09 8:37 
GeneralRe: Performance in C# application Pin
sergiq220-Mar-09 8:46
sergiq220-Mar-09 8:46 
QuestionQuestion on DataTable Pin
Sider8919-Mar-09 6:37
Sider8919-Mar-09 6:37 
AnswerRe: Question on DataTable Pin
dan!sh 19-Mar-09 6:46
professional dan!sh 19-Mar-09 6:46 
AnswerRe: Question on DataTable Pin
Sider8919-Mar-09 6:59
Sider8919-Mar-09 6:59 
GeneralRe: Question on DataTable Pin
dan!sh 19-Mar-09 7:17
professional dan!sh 19-Mar-09 7:17 
AnswerRe: Question on DataTable Pin
Xmen Real 19-Mar-09 7:40
professional Xmen Real 19-Mar-09 7:40 
QuestionQuestion on datagridview (.Net 2005, framework 2.0) Pin
priyamtheone19-Mar-09 6:08
priyamtheone19-Mar-09 6:08 
AnswerRe: Question on datagridview (.Net 2005, framework 2.0) Pin
dan!sh 19-Mar-09 6:13
professional dan!sh 19-Mar-09 6:13 
AnswerRe: Question on datagridview (.Net 2005, framework 2.0) Pin
Mirko198019-Mar-09 6:26
Mirko198019-Mar-09 6:26 
GeneralRe: Question on datagridview (.Net 2005, framework 2.0) Pin
priyamtheone27-Mar-09 3:12
priyamtheone27-Mar-09 3:12 
QuestionNT Service user [modified] Pin
Qbashi19-Mar-09 5:54
Qbashi19-Mar-09 5:54 
AnswerRe: NT Service user Pin
Yusuf19-Mar-09 7:08
Yusuf19-Mar-09 7:08 

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.