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

WPF

 
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 
GeneralRe: Listbox itemtemplate binding Pin
Saurabh18cs23-Oct-15 20:19
Saurabh18cs23-Oct-15 20:19 
GeneralRe: Listbox itemtemplate binding Pin
Gerry Schmitz24-Oct-15 5:35
mveGerry Schmitz24-Oct-15 5:35 
QuestionWPF ListBoxItem Quick Question Pin
Kevin Marois16-Oct-15 8:17
professionalKevin Marois16-Oct-15 8:17 
SuggestionRe: WPF ListBoxItem Quick Question Pin
J. Calhoun2-Nov-15 6:22
J. Calhoun2-Nov-15 6:22 
QuestionSelectionChanged event is not working Pin
Ashfaque Hussain15-Oct-15 1:52
Ashfaque Hussain15-Oct-15 1:52 
AnswerRe: SelectionChanged event is not working Pin
Richard Deeming15-Oct-15 2:48
mveRichard Deeming15-Oct-15 2:48 

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.