Click here to Skip to main content
15,890,185 members
Home / Discussions / C#
   

C#

 
QuestionDraw resizeable and draggable rectangle on picturebox to crop image Pin
thungphan5-Dec-09 21:31
thungphan5-Dec-09 21:31 
AnswerRe: Draw resizeable and draggable rectangle on picturebox to crop image Pin
Luc Pattyn6-Dec-09 1:12
sitebuilderLuc Pattyn6-Dec-09 1:12 
QuestionUnusual behaviour with Directory.Exists() method Pin
Cracked-Down5-Dec-09 21:21
Cracked-Down5-Dec-09 21:21 
AnswerRe: Unusual behaviour with Directory.Exists() method Pin
N a v a n e e t h5-Dec-09 21:39
N a v a n e e t h5-Dec-09 21:39 
QuestionThe best method for designing a low profile client application Pin
SummerBulb5-Dec-09 21:13
SummerBulb5-Dec-09 21:13 
AnswerRe: The best method for designing a low profile client application Pin
N a v a n e e t h5-Dec-09 21:45
N a v a n e e t h5-Dec-09 21:45 
GeneralRe: The best method for designing a low profile client application Pin
SummerBulb5-Dec-09 22:02
SummerBulb5-Dec-09 22:02 
GeneralRe: The best method for designing a low profile client application Pin
N a v a n e e t h5-Dec-09 22:25
N a v a n e e t h5-Dec-09 22:25 
SummerBulb wrote:
My dillemma is concerning the CPU, memory and internet bandwidth.


It'd be a premature optimization. I'd suggest to make the application working first. Profile it and see whether it requires optimizations. BTW, you can consider few things when you develop.

1 - Ensure calls to Dispose() for all disposable objects - CLR manages the memory quite well and you don't have to worry much about it. Few classes in the .NET framework implements IDisposable and make sure you call Dispose() method on it to avoid resource leaks.

2 - Don't send unnecessary informations over the wire - I have found WCF services perform better than SOAP based web services. But you need to understand how WCF does the communication. When you send large objects/collections, it will be slow. So make sure you send only the necessary information.

Once you done with the application, profile it and find out the areas that can be optimized further.

Best wishes,
Navaneeth

QuestionRe: The best method for designing a low profile client application [modified] Pin
SummerBulb5-Dec-09 22:38
SummerBulb5-Dec-09 22:38 
AnswerRe: The best method for designing a low profile client application Pin
N a v a n e e t h6-Dec-09 1:54
N a v a n e e t h6-Dec-09 1:54 
AnswerRe: The best method for designing a low profile client application Pin
Daniel Grunwald6-Dec-09 6:42
Daniel Grunwald6-Dec-09 6:42 
AnswerRe: The best method for designing a low profile client application Pin
PIEBALDconsult6-Dec-09 17:08
mvePIEBALDconsult6-Dec-09 17:08 
QuestionNewbie DatagridView Question Pin
kruegersck5-Dec-09 20:56
kruegersck5-Dec-09 20:56 
AnswerRe: Newbie DatagridView Question Pin
OriginalGriff5-Dec-09 21:46
mveOriginalGriff5-Dec-09 21:46 
QuestionConvert string to property name? Pin
BDJones5-Dec-09 18:39
BDJones5-Dec-09 18:39 
AnswerRe: Convert string to property name? Pin
N a v a n e e t h5-Dec-09 18:58
N a v a n e e t h5-Dec-09 18:58 
QuestionRe: Convert string to property name? Pin
BDJones5-Dec-09 19:34
BDJones5-Dec-09 19:34 
AnswerRe: Convert string to property name? Pin
N a v a n e e t h5-Dec-09 19:39
N a v a n e e t h5-Dec-09 19:39 
GeneralRe: Convert string to property name? Pin
BDJones6-Dec-09 5:12
BDJones6-Dec-09 5:12 
AnswerRe: Convert string to property name? Pin
PIEBALDconsult5-Dec-09 21:20
mvePIEBALDconsult5-Dec-09 21:20 
GeneralRe: Convert string to property name? Pin
BDJones6-Dec-09 5:15
BDJones6-Dec-09 5:15 
QuestionSimple Example of using Enum Type why we use them? Pin
Rameez Raja5-Dec-09 18:24
Rameez Raja5-Dec-09 18:24 
AnswerRe: Simple Example of using Enum Type why we use them? Pin
PIEBALDconsult5-Dec-09 18:32
mvePIEBALDconsult5-Dec-09 18:32 
Questioninserting words into tablelayout Pin
someone295-Dec-09 15:53
someone295-Dec-09 15:53 
AnswerRe: inserting words into tablelayout Pin
Luc Pattyn5-Dec-09 16:21
sitebuilderLuc Pattyn5-Dec-09 16:21 

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.