Click here to Skip to main content
15,887,328 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Calculate ListBoxItem Height Pin
Richard Deeming17-Jun-15 7:54
mveRichard Deeming17-Jun-15 7:54 
GeneralRe: Calculate ListBoxItem Height Pin
Kevin Marois17-Jun-15 8:07
professionalKevin Marois17-Jun-15 8:07 
QuestionFIPS Error Pin
#realJSOP11-Jun-15 3:41
mve#realJSOP11-Jun-15 3:41 
AnswerRe: FIPS Error Pin
Richard Deeming11-Jun-15 4:24
mveRichard Deeming11-Jun-15 4:24 
GeneralRe: FIPS Error Pin
#realJSOP11-Jun-15 4:42
mve#realJSOP11-Jun-15 4:42 
QuestionHow to get Data from web-server to Silverlight-App Pin
Frygreen10-Jun-15 10:31
Frygreen10-Jun-15 10:31 
AnswerRe: How to get Data from web-server to Silverlight-App Pin
Mycroft Holmes10-Jun-15 13:05
professionalMycroft Holmes10-Jun-15 13:05 
QuestionThoughts On Building My Own Framework Pin
Kevin Marois10-Jun-15 4:42
professionalKevin Marois10-Jun-15 4:42 
For 15 years I was a FoxPro/Visual FoxPro developer before moving into C# and now WPF.

Back in my Fox days I created my own framework. I took all the years of experience I had in developing Fox solutions and created a set of controls, forms, generic procedures, etc, and combined them into a reusable set. Then when I created a new project I ran a tool which build my new solution from my "framework".

Now that I've been at C# for 10 years, and WPF for 5, I've often thought of doing the same. Each time I start a new project I have to create a solution from scratch. I generally create or include the one or more of the following projects in a solution:

1) DAL - Data Layer
2) BL - Business Layer
3) Entities - DTO's
4) App Core - The 'engine' of the app.
5) App Shared - Contains enums, event args, and other stuff used across all projects in the app
6) Generic Utils - Logger class, Extensions, other generic code used in any .Net app
7) WPF/SL/Phone/Tablet UI
8) WPF Utils - Stuff specific to WPF/SL/Win Phone apps such as RelayCommand, BindableBase class, etc
9) WPF controls library
10) App specific control libraries

Most of this is in any given WPF solution I create.

So I've realized that back in my Fox days I could easily get a new project set up with a few mouse clicks. Now in C#/WPF I spend a half day or so creating all of the above. Then more time tweaking as I get going.

So assuming I did this...some of the projects in the solution would reside in a common area and just be included in the solution, such as WPF Utils or WPF Controls, while some would be generated by the tool.

1) Any reason NOT to do create my own framework again?
2) Any suggestions?
3) Any components not listed above that you would add?

I welcome your thoughts.
If it's not broken, fix it until it is

AnswerRe: Thoughts On Building My Own Framework Pin
Mycroft Holmes10-Jun-15 13:02
professionalMycroft Holmes10-Jun-15 13:02 
QuestionWPF Button Style quirks Pin
Bernhard Hiller3-Jun-15 2:55
Bernhard Hiller3-Jun-15 2:55 
AnswerRe: WPF Button Style quirks Pin
Richard Deeming3-Jun-15 3:22
mveRichard Deeming3-Jun-15 3:22 
GeneralRe: WPF Button Style quirks Pin
Bernhard Hiller3-Jun-15 3:34
Bernhard Hiller3-Jun-15 3:34 
QuestionWPF Window Closing Event To Command Pin
Kevin Marois2-Jun-15 13:12
professionalKevin Marois2-Jun-15 13:12 
QuestionRe: WPF Window Closing Event To Command Pin
Richard Deeming2-Jun-15 21:53
mveRichard Deeming2-Jun-15 21:53 
QuestionWPF Stream Live Video Pin
Kevin Marois1-Jun-15 13:56
professionalKevin Marois1-Jun-15 13:56 
AnswerRe: WPF Stream Live Video Pin
Pete O'Hanlon1-Jun-15 20:41
mvePete O'Hanlon1-Jun-15 20:41 
GeneralRe: WPF Stream Live Video Pin
Kevin Marois2-Jun-15 4:06
professionalKevin Marois2-Jun-15 4:06 
GeneralRe: WPF Stream Live Video Pin
Pete O'Hanlon2-Jun-15 5:20
mvePete O'Hanlon2-Jun-15 5:20 
GeneralRe: WPF Stream Live Video Pin
Kevin Marois2-Jun-15 5:22
professionalKevin Marois2-Jun-15 5:22 
QuestionHow to change Window.Title property? Pin
econy28-May-15 3:13
econy28-May-15 3:13 
AnswerRe: How to change Window.Title property? Pin
Richard Deeming28-May-15 3:48
mveRichard Deeming28-May-15 3:48 
QuestionThe difference of Style on Button and TextBlock, Pin
econy27-May-15 10:15
econy27-May-15 10:15 
AnswerRe: The difference of Style on Button and TextBlock, Pin
Mycroft Holmes27-May-15 13:02
professionalMycroft Holmes27-May-15 13:02 
GeneralRe: The difference of Style on Button and TextBlock, Pin
econy28-May-15 3:10
econy28-May-15 3:10 
AnswerRe: The difference of Style on Button and TextBlock, Pin
Gerry Schmitz1-Jun-15 11:02
mveGerry Schmitz1-Jun-15 11:02 

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.