Posts Tagged Windows Presentation Foundation
My focus today will be on chapter three. Chapter three picks up where chapter two left off in describing the Visual Studio environment. It does an excellent job of reviewing the more intricate details of Visual Studio. Again, it ignores winforms and focuses on the Windows Presentation Foundation (WPF) forms and design editor. Encouraging the reader to customize the interface for themselves, it shows how to do that. I certainly have not seen that done before so early on in the process and in such an easygoing manner. It ends the first section explaining what Intellisense is. Later on in this chapter it goes into how members are listed. An excellent tutorial on refactoring and such is also discussed. It’s possible this discussion could have waited a bit until later on but it still works here.
We then move on to cover what a Visual Studio solution and project is and what it contains including a very helpful diagram, as they seem to always do in this book, explaining what the relationship between the various items in a Visual Studio solution and project are.
The next section introduces designer and source files, resources and your design documents. Covering how to add items to a solution or project comes next along with a graphical and step by step process of how to modify project properties. Changing the icon and window property is one such example they cover. Then we build the application to see the results of the changes.
Further customization of the Visual Studio environment is then discussed in the usual graphical and step by step nature this book is so good at.
Overall I wish I had had a book like this when I first started using Visual Studio so many eons ago!
The next chapter gets into debugging and deploying an application. Moving right along the user shouldn’t be overwhelmed with this patient, easy going manner of teaching.
.NET, author, basics, Chapter, csharp, diagram, discussion, editor, environment, example, Fluent, Foundation, graphical, icon, Intellisense, interface, items, manner, Presentation, properties, reader, Rebecca, Rebecca Riordan, relationship, resources, Review, Riordan, solution, Studio, Three, tutorial, user, Visual, Visual Studio, Windows, Windows Presentation Foundation, WPF
My focus today will be on Chapter Two. Chapter Two gets into some of the nuts and bolts of the .NET Framework and writes the initial “Hello World” application that these beginner books almost always do. They begin by putting up a very nice illustration of how .NET works. Truly I have not seen it explained in such a way before!
They give you a little quiz on what you picked up.
Then there is an explanation of why the .NET Framework is a better way to go than say a Visual Basic 6 way of thinking. I am not sure that to a beginner programmer they understand or need to know any of this. But they certainly make good points. Being an old VB6 and VBA programmer myself I certainly could appreciate what was said.
Then they proceed into building the first application. But there is a little twist. Riordan chooses to not even bother with winforms and instead chooses to plow right into a Windows Presentation Foundation (WPF) application. At first the choice seemed odd to me. But as I considered it this makes sense. WPF is the future. Winforms is dying. It’s a sad truth but it is what it is.
Riordan walks you through the process of creating a WPF application in Visual Studio 2010 while beautifully illustrating how to do that task.
Then the first example of modifying a property in the WPF gui is introduced. Really it is quite well done. The appropriate message box appears saying “hello world!” is displayed. She tells the user to take a break and congratulates them on their first application. She then displays and explains the code editor in the same easy going manner. Another note that often goes on through out this book she often gives the novice programmer fun little facts to digest, so as to have fun while learning. Imagine that! C# learning being made fun!
We will be covering Chapter Three in the next entry where the Visual Studio interface will be reviewed in more detail.
.NET, .NET Framework, author, Basic, beginner, Chapter, CLR, editor, example, explanation, Fluent, Foundation, Framework, Hello, illustration, interface, manner, novice, Presentation, programmer, Rebecca, Rebecca Riordan, Review, Riordan, Studio, task, user, vb6, VBA, Visual, Visual Basic, Visual Studio, Windows, Windows Presentation Foundation, Winforms, World, WPF
- April 2018
- January 2018
- December 2017
- June 2017
- May 2017
- May 2016
- April 2016
- September 2015
- July 2014
- June 2014
- November 2012
- October 2012
- June 2012
- May 2012
- April 2012
- January 2012
- September 2011
- August 2011
- July 2011
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- August 2008
- July 2008
- June 2008
- May 2008