Click here to Skip to main content
15,917,875 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Custom Control with a Combo Box Pin
scarfinv16-Mar-09 7:43
scarfinv16-Mar-09 7:43 
QuestionConnecting to SQL Server database in XBAP application [modified] Pin
Neeraj Kr13-Mar-09 5:10
Neeraj Kr13-Mar-09 5:10 
AnswerRe: Connecting to SQL Server database in XBAP application Pin
ABitSmart13-Mar-09 6:12
ABitSmart13-Mar-09 6:12 
GeneralRe: Connecting to SQL Server database in XBAP application Pin
Neeraj Kr13-Mar-09 7:14
Neeraj Kr13-Mar-09 7:14 
GeneralRe: Connecting to SQL Server database in XBAP application Pin
ABitSmart13-Mar-09 7:17
ABitSmart13-Mar-09 7:17 
GeneralRe: Connecting to SQL Server database in XBAP application Pin
Neeraj Kr13-Mar-09 7:34
Neeraj Kr13-Mar-09 7:34 
AnswerRe: Connecting to SQL Server database in XBAP application Pin
Eslam Afifi13-Mar-09 6:17
Eslam Afifi13-Mar-09 6:17 
GeneralRe: Connecting to SQL Server database in XBAP application Pin
Neeraj Kr13-Mar-09 7:12
Neeraj Kr13-Mar-09 7:12 
QuestionRe: Connecting to SQL Server database in XBAP application Pin
Eslam Afifi13-Mar-09 8:40
Eslam Afifi13-Mar-09 8:40 
AnswerRe: Connecting to SQL Server database in XBAP application Pin
Neeraj Kr13-Mar-09 8:44
Neeraj Kr13-Mar-09 8:44 
QuestionRe: Connecting to SQL Server database in XBAP application Pin
Eslam Afifi13-Mar-09 8:48
Eslam Afifi13-Mar-09 8:48 
QuestionDouble Animation Hell Pin
emptythetill13-Mar-09 2:55
emptythetill13-Mar-09 2:55 
AnswerRe: Double Animation Hell Pin
Insincere Dave13-Mar-09 8:06
Insincere Dave13-Mar-09 8:06 
GeneralRe: Double Animation Hell Pin
emptythetill14-Mar-09 5:21
emptythetill14-Mar-09 5:21 
QuestionHow to load only needed images? Pin
S.a.n.4.e.s12-Mar-09 7:35
S.a.n.4.e.s12-Mar-09 7:35 
AnswerRe: How to load only needed images? Pin
Eslam Afifi12-Mar-09 12:27
Eslam Afifi12-Mar-09 12:27 
GeneralRe: How to load only needed images? Pin
S.a.n.4.e.s12-Mar-09 19:18
S.a.n.4.e.s12-Mar-09 19:18 
GeneralRe: How to load only needed images? [modified] Pin
Eslam Afifi13-Mar-09 2:53
Eslam Afifi13-Mar-09 2:53 
AnswerRe: How to load only needed images? Pin
Luc Pattyn12-Mar-09 13:29
sitebuilderLuc Pattyn12-Mar-09 13:29 
GeneralRe: How to load only needed images? Pin
S.a.n.4.e.s12-Mar-09 20:30
S.a.n.4.e.s12-Mar-09 20:30 
GeneralRe: How to load only needed images? Pin
Luc Pattyn13-Mar-09 2:14
sitebuilderLuc Pattyn13-Mar-09 2:14 
Hi,

improving the performance is similar to debugging, so gather the facts, analyze, formulate an hypothesis, verify, fix, and iterate.

These are the first steps I would take:
- install logging code, basically a "public static void log(string)" method that saves a string to a log file;
- set up a StopWatch, so each log message automatically gets prefixed with the elapsed time with millisecond resolution
- sprinkle log statements in the relevant parts of the app.
- now have a trial run: startup, stop, look at the log file; any time gap exceeding say 100 msec needs either more log statements, and if that is not possible, is a hotspot in need of fixing. It might be a Thread.Sleep() you forgot to remove, a first database access (move to another thread?), a first network access, etc.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


GeneralRe: How to load only needed images? Pin
Luc Pattyn13-Mar-09 2:19
sitebuilderLuc Pattyn13-Mar-09 2:19 
GeneralRe: How to load only needed images? [modified] Pin
S.a.n.4.e.s14-Mar-09 0:10
S.a.n.4.e.s14-Mar-09 0:10 
QuestionStoring Signature in sql server database Pin
vsaratkar12-Mar-09 5:45
vsaratkar12-Mar-09 5:45 
AnswerRe: Storing Signature in sql server database Pin
Eslam Afifi12-Mar-09 13:00
Eslam Afifi12-Mar-09 13:00 

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.