Click here to Skip to main content
15,892,059 members
Home / Discussions / C#
   

C#

 
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 
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 
I would recommend LINQ to SQL. You can build a conceptual model with L2S, then add stored procedures that return objects from your model. You are still able to use SPs, but you are still able to strongly typed objects rather than data sets. L2S is not slow if you use it for what it is...an ORM. The SQL generated by L2S is actually very efficient. If you use it with procs, you won't really see any of the performance benefits...but, neither will you run into anything that could cause performance problems either (i.e. working with huge object graphs and their changes, which can get kind of hairy).

Entity Framework is premature. It has potential, but its up to Microsoft to realize that potential. Currently, EF is very intrusive and heavy. It will work great for non-distributed apps where the clien app is not separated from its business by web services or remoting. However, if there are web services separating your presentation from your domain, then EF is a real disaster.

There is another free ORM, called nHibernate. It came from the Java world, so it doesn't fit well with Microsoft standards, but it is one of the better ORM's out there. It still has some of the problems that EF does as it is a bit intrusive, however it does generally support POCO and PI, so its currently a better choice than EF if you want a real ORM.

Since you are currently looking to use stored procs, I would defintly go with L2S. Its the simplest solution that will get you the quickest results with procs.
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 
GeneralRe: NT Service user Pin
Qbashi20-Mar-09 4:57
Qbashi20-Mar-09 4:57 
GeneralRe: NT Service user Pin
Yusuf20-Mar-09 6:54
Yusuf20-Mar-09 6:54 
GeneralRe: NT Service user Pin
Qbashi22-Mar-09 23:58
Qbashi22-Mar-09 23:58 
GeneralRe: NT Service user Pin
Yusuf23-Mar-09 3:09
Yusuf23-Mar-09 3:09 
QuestionChecking the fail status of windows service Pin
gottimukkala19-Mar-09 5:50
gottimukkala19-Mar-09 5:50 

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.