Click here to Skip to main content
15,888,984 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Using DataTemplates Trigger for listbox Pin
Pete O'Hanlon22-Dec-15 22:31
mvePete O'Hanlon22-Dec-15 22:31 
GeneralRe: Using DataTemplates Trigger for listbox Pin
Saurabh18cs22-Dec-15 23:44
Saurabh18cs22-Dec-15 23:44 
GeneralRe: Using DataTemplates Trigger for listbox Pin
Saurabh18cs4-Jan-16 19:28
Saurabh18cs4-Jan-16 19:28 
AnswerRe: Using DataTemplates Trigger for listbox Pin
Saurabh18cs4-Jan-16 22:15
Saurabh18cs4-Jan-16 22:15 
QuestionCreate Simple WPF datagrid Pin
Baburc10-Dec-15 6:39
Baburc10-Dec-15 6:39 
AnswerRe: Create Simple WPF datagrid Pin
Gerry Schmitz11-Dec-15 7:25
mveGerry Schmitz11-Dec-15 7:25 
GeneralRe: Create Simple WPF datagrid Pin
Baburc11-Dec-15 7:40
Baburc11-Dec-15 7:40 
QuestionHave I done something REALLY dumb? Pin
Mycroft Holmes25-Nov-15 20:29
professionalMycroft Holmes25-Nov-15 20:29 
No it is a serious question - scenario...

WCF with a single data access class,
A data service class for each table/view in the database. This maps a datatable to the model
A model class for each table/view in the database to be passed in a List<> to the client - implements OnPropertyChanged

WPF client that uses the WCF and retrieves List<> of the models. The client is set to reuse the WCF objects (Models)

This means I do not have to remap the WCF models to client models, however chasing down a potential memory leak I find I have multiple copies of the models in memory. I have 1 particular view with 35 master lists (servicing comboboxes) and another 7 lists used for multi selects over 2 Tabs. Fricking nightmare! This view can take between 2 and 12 seconds to load and I'm attempting to find out why.

So the question should I be passing POCO objects from the WCF and converting them to local models with the OPC implementation?
Never underestimate the power of human stupidity
RAH

AnswerRe: Have I done something REALLY dumb? Pin
Gerry Schmitz26-Nov-15 6:30
mveGerry Schmitz26-Nov-15 6:30 
GeneralRe: Have I done something REALLY dumb? Pin
Mycroft Holmes26-Nov-15 11:50
professionalMycroft Holmes26-Nov-15 11:50 
GeneralRe: Have I done something REALLY dumb? Pin
Gerry Schmitz26-Nov-15 13:59
mveGerry Schmitz26-Nov-15 13:59 
GeneralRe: Have I done something REALLY dumb? Pin
Mycroft Holmes26-Nov-15 22:33
professionalMycroft Holmes26-Nov-15 22:33 
GeneralRe: Have I done something REALLY dumb? Pin
Gerry Schmitz27-Nov-15 6:10
mveGerry Schmitz27-Nov-15 6:10 
GeneralRe: Have I done something REALLY dumb? Pin
Mycroft Holmes27-Nov-15 12:34
professionalMycroft Holmes27-Nov-15 12:34 
GeneralRe: Have I done something REALLY dumb? Pin
Gerry Schmitz27-Nov-15 14:20
mveGerry Schmitz27-Nov-15 14:20 
Questionhow to find progress bar inside listview in wpf Pin
Member 1021435721-Nov-15 21:12
Member 1021435721-Nov-15 21:12 
AnswerRe: how to find progress bar inside listview in wpf Pin
Joseph M. Morgan18-Dec-15 7:19
Joseph M. Morgan18-Dec-15 7:19 
QuestionWPF Understanding Routed Events Pin
Kevin Marois3-Nov-15 7:12
professionalKevin Marois3-Nov-15 7:12 
AnswerRe: WPF Understanding Routed Events Pin
Richard Deeming3-Nov-15 7:29
mveRichard Deeming3-Nov-15 7:29 
QuestionHow to Change Silverlight Datepicker Format as 'dd/MM/yyyy' Pin
suchitagorivale1-Nov-15 18:18
suchitagorivale1-Nov-15 18:18 
AnswerRe: How to Change Silverlight Datepicker Format as 'dd/MM/yyyy' Pin
Mycroft Holmes1-Nov-15 22:05
professionalMycroft Holmes1-Nov-15 22:05 
QuestionListbox itemtemplate binding Pin
Saurabh18cs22-Oct-15 23:07
Saurabh18cs22-Oct-15 23:07 
AnswerRe: Listbox itemtemplate binding Pin
Gerry Schmitz23-Oct-15 7:55
mveGerry Schmitz23-Oct-15 7:55 
GeneralRe: Listbox itemtemplate binding Pin
Saurabh18cs23-Oct-15 16:19
Saurabh18cs23-Oct-15 16:19 
GeneralRe: Listbox itemtemplate binding Pin
Gerry Schmitz23-Oct-15 17:21
mveGerry Schmitz23-Oct-15 17: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.