Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Adventures in WPF land...

Adventures in WPF land...

Scheduled Pinned Locked Moved The Lounge
wpfcsharpdatabaselearningsql-server
14 Posts 5 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 1 Offline
    1 Offline
    1 21 Gigawatts
    wrote on last edited by
    #1

    I ventured on my long and perilous journey into learning WPF a few months ago now, after reading various articles, skimming a book and creating simple example applications AKA 'knobbing about' I started converting a little Access DB I wrote to track my trips to the Gym. Anyway, progress so far: I've created an SQL Server backend, then used Entity Framework as my Data Access Layer utilising LINQ. I've coded up all the Models and Data Access logic, written Unit Tests and tested the same. Now I've started the WPF side of things, I've got a Fluent Ribbon on my main window which opens up tabs (currently blank) for the main content via Commands etc, and I've implemented a little a settings window which implements IDataErrorInfo/Commands/Data Binding etc, it's nice to see a small example working in full. This is all using (or trying at best to use) MVVM (not Cinch/Prism or one of the many other flavours - I'll save those for after I've finished this app as I’ll have some experience under my belt to better understand their inner workings). So, now I've started WPF - wow, I'm staggered by just how huge this framework is - it's unbelievable – I mean, I knew it was big before I started, but it’s bigger than anything I could have imagined; and dare I say it, a little unintuitive at times? :~ All I can say is thank god for Google!! It’s good to see that all the problems I’ve had so far have already been encountered by others at some point, or some kind fellow has put the time and effort into writing an article about how a particular feature works. Overall though, its good fun! :D

    "Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

    N R J 3 Replies Last reply
    0
    • 1 1 21 Gigawatts

      I ventured on my long and perilous journey into learning WPF a few months ago now, after reading various articles, skimming a book and creating simple example applications AKA 'knobbing about' I started converting a little Access DB I wrote to track my trips to the Gym. Anyway, progress so far: I've created an SQL Server backend, then used Entity Framework as my Data Access Layer utilising LINQ. I've coded up all the Models and Data Access logic, written Unit Tests and tested the same. Now I've started the WPF side of things, I've got a Fluent Ribbon on my main window which opens up tabs (currently blank) for the main content via Commands etc, and I've implemented a little a settings window which implements IDataErrorInfo/Commands/Data Binding etc, it's nice to see a small example working in full. This is all using (or trying at best to use) MVVM (not Cinch/Prism or one of the many other flavours - I'll save those for after I've finished this app as I’ll have some experience under my belt to better understand their inner workings). So, now I've started WPF - wow, I'm staggered by just how huge this framework is - it's unbelievable – I mean, I knew it was big before I started, but it’s bigger than anything I could have imagined; and dare I say it, a little unintuitive at times? :~ All I can say is thank god for Google!! It’s good to see that all the problems I’ve had so far have already been encountered by others at some point, or some kind fellow has put the time and effort into writing an article about how a particular feature works. Overall though, its good fun! :D

      "Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

      N Offline
      N Offline
      NormDroid
      wrote on last edited by
      #2

      Ok - WPF is huge but the more I use it the more I like it. Use Caliburn Micro as the MVVM, plenty of tuts and still bening developed on. Look at Modern UI and Modern WPF Charts quite good WPF frameworks. Both available on nuget. I tend to avoid Entity Framework, but that's my personal pref.

      Web | News | LinkedIn

      1 1 Reply Last reply
      0
      • 1 1 21 Gigawatts

        I ventured on my long and perilous journey into learning WPF a few months ago now, after reading various articles, skimming a book and creating simple example applications AKA 'knobbing about' I started converting a little Access DB I wrote to track my trips to the Gym. Anyway, progress so far: I've created an SQL Server backend, then used Entity Framework as my Data Access Layer utilising LINQ. I've coded up all the Models and Data Access logic, written Unit Tests and tested the same. Now I've started the WPF side of things, I've got a Fluent Ribbon on my main window which opens up tabs (currently blank) for the main content via Commands etc, and I've implemented a little a settings window which implements IDataErrorInfo/Commands/Data Binding etc, it's nice to see a small example working in full. This is all using (or trying at best to use) MVVM (not Cinch/Prism or one of the many other flavours - I'll save those for after I've finished this app as I’ll have some experience under my belt to better understand their inner workings). So, now I've started WPF - wow, I'm staggered by just how huge this framework is - it's unbelievable – I mean, I knew it was big before I started, but it’s bigger than anything I could have imagined; and dare I say it, a little unintuitive at times? :~ All I can say is thank god for Google!! It’s good to see that all the problems I’ve had so far have already been encountered by others at some point, or some kind fellow has put the time and effort into writing an article about how a particular feature works. Overall though, its good fun! :D

        "Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

        R Offline
        R Offline
        RugbyLeague
        wrote on last edited by
        #3

        The learning curve is very steep but worth it

        1 1 Reply Last reply
        0
        • N NormDroid

          Ok - WPF is huge but the more I use it the more I like it. Use Caliburn Micro as the MVVM, plenty of tuts and still bening developed on. Look at Modern UI and Modern WPF Charts quite good WPF frameworks. Both available on nuget. I tend to avoid Entity Framework, but that's my personal pref.

          Web | News | LinkedIn

          1 Offline
          1 Offline
          1 21 Gigawatts
          wrote on last edited by
          #4

          Hmmm - haven't heard of Caliburn Micro before, I'll look it up. And the Modern UI/modern WPF CHarts I'll look at also. As for Entity Framework - I'd not used it before so thought I would give it a crack - relatively painless in fact. Also, the app I'm writing is only for my personal use so it seemed to make sense :)

          "Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

          N 1 Reply Last reply
          0
          • R RugbyLeague

            The learning curve is very steep but worth it

            1 Offline
            1 Offline
            1 21 Gigawatts
            wrote on last edited by
            #5

            Indeed, and I'm still on the curve - right near the bottom I think; still a lot more understanding to do :) I do love learning new things though :D

            "Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

            R 1 Reply Last reply
            0
            • 1 1 21 Gigawatts

              Indeed, and I'm still on the curve - right near the bottom I think; still a lot more understanding to do :) I do love learning new things though :D

              "Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

              R Offline
              R Offline
              RugbyLeague
              wrote on last edited by
              #6

              I have been using WPF for a few years now - so I have a decent body of code built up which can do most things I require - I wouldn't say I fully understand WPF but I have crossed a lot of bridges so when I need it to do something I have generally already crossed that bridge and dig it out of earlier code.

              1 1 Reply Last reply
              0
              • R RugbyLeague

                I have been using WPF for a few years now - so I have a decent body of code built up which can do most things I require - I wouldn't say I fully understand WPF but I have crossed a lot of bridges so when I need it to do something I have generally already crossed that bridge and dig it out of earlier code.

                1 Offline
                1 Offline
                1 21 Gigawatts
                wrote on last edited by
                #7

                Yeah - I'm going to have to start keeping a snippet collection or something similar - I've already come across things that I probably wouldn't have been able to figure out if it wasn't for Google. :)

                "Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

                R 1 Reply Last reply
                0
                • 1 1 21 Gigawatts

                  Yeah - I'm going to have to start keeping a snippet collection or something similar - I've already come across things that I probably wouldn't have been able to figure out if it wasn't for Google. :)

                  "Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

                  R Offline
                  R Offline
                  RugbyLeague
                  wrote on last edited by
                  #8

                  I generally just put comments in the code with a link to which page provided what I was looking for. I am not the kind of dev who understands frameworks at their deepest level - I write compilers and data analysis engines - as long as I understand my code fully and can find out about framework arcana from elsewhere I am happy

                  1 1 Reply Last reply
                  0
                  • R RugbyLeague

                    I generally just put comments in the code with a link to which page provided what I was looking for. I am not the kind of dev who understands frameworks at their deepest level - I write compilers and data analysis engines - as long as I understand my code fully and can find out about framework arcana from elsewhere I am happy

                    1 Offline
                    1 Offline
                    1 21 Gigawatts
                    wrote on last edited by
                    #9

                    Yeap, I do the same :)

                    "Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

                    R 1 Reply Last reply
                    0
                    • 1 1 21 Gigawatts

                      Yeap, I do the same :)

                      "Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

                      R Offline
                      R Offline
                      RugbyLeague
                      wrote on last edited by
                      #10

                      I think there's quite a few of us about :)

                      1 Reply Last reply
                      0
                      • 1 1 21 Gigawatts

                        I ventured on my long and perilous journey into learning WPF a few months ago now, after reading various articles, skimming a book and creating simple example applications AKA 'knobbing about' I started converting a little Access DB I wrote to track my trips to the Gym. Anyway, progress so far: I've created an SQL Server backend, then used Entity Framework as my Data Access Layer utilising LINQ. I've coded up all the Models and Data Access logic, written Unit Tests and tested the same. Now I've started the WPF side of things, I've got a Fluent Ribbon on my main window which opens up tabs (currently blank) for the main content via Commands etc, and I've implemented a little a settings window which implements IDataErrorInfo/Commands/Data Binding etc, it's nice to see a small example working in full. This is all using (or trying at best to use) MVVM (not Cinch/Prism or one of the many other flavours - I'll save those for after I've finished this app as I’ll have some experience under my belt to better understand their inner workings). So, now I've started WPF - wow, I'm staggered by just how huge this framework is - it's unbelievable – I mean, I knew it was big before I started, but it’s bigger than anything I could have imagined; and dare I say it, a little unintuitive at times? :~ All I can say is thank god for Google!! It’s good to see that all the problems I’ve had so far have already been encountered by others at some point, or some kind fellow has put the time and effort into writing an article about how a particular feature works. Overall though, its good fun! :D

                        "Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

                        J Offline
                        J Offline
                        JimmyRopes
                        wrote on last edited by
                        #11

                        Life is too short to read that. :zzz:

                        **_Once you lose your pride the rest is easy.

                        I would agree with you but then we both would be wrong._**
                        The report of my death was an exaggeration - Mark Twain Simply Elegant Designs JimmyRopes Designs
                        I'm on-line therefore I am. JimmyRopes

                        P 1 Reply Last reply
                        0
                        • J JimmyRopes

                          Life is too short to read that. :zzz:

                          **_Once you lose your pride the rest is easy.

                          I would agree with you but then we both would be wrong._**
                          The report of my death was an exaggeration - Mark Twain Simply Elegant Designs JimmyRopes Designs
                          I'm on-line therefore I am. JimmyRopes

                          P Offline
                          P Offline
                          Pete OHanlon
                          wrote on last edited by
                          #12

                          Then why comment? Seems like a waste of time.

                          J 1 Reply Last reply
                          0
                          • P Pete OHanlon

                            Then why comment? Seems like a waste of time.

                            J Offline
                            J Offline
                            JimmyRopes
                            wrote on last edited by
                            #13

                            :zzz:

                            **_Once you lose your pride the rest is easy.

                            I would agree with you but then we both would be wrong._**
                            The report of my death was an exaggeration - Mark Twain Simply Elegant Designs JimmyRopes Designs
                            I'm on-line therefore I am. JimmyRopes

                            1 Reply Last reply
                            0
                            • 1 1 21 Gigawatts

                              Hmmm - haven't heard of Caliburn Micro before, I'll look it up. And the Modern UI/modern WPF CHarts I'll look at also. As for Entity Framework - I'd not used it before so thought I would give it a crack - relatively painless in fact. Also, the app I'm writing is only for my personal use so it seemed to make sense :)

                              "Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair

                              N Offline
                              N Offline
                              NormDroid
                              wrote on last edited by
                              #14

                              I most look into the entity framework it has been on my todo list but I keep putting it off ;)

                              Web | News | LinkedIn

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups