وبلاگ بلیان

Pro Windows 10 Development with Xaml and C# 7

معرفی کتاب «Pro Windows 10 Development with Xaml and C# 7» نوشتهٔ Jesse Liberty,Jon Galloway,Philip Japikse,Jonathan Hartwell (auth.)، منتشرشده توسط نشر Apress L.P. Springer [distributor در سال 2018. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

Benefit from a nuts-and-bolts examination of how XAML and C# 7 fit together and obtain everything you need to get up and running with Windows 10. Once you have a good understanding of the basics, you progress to more advanced topics steadily increasing your understanding as a whole. This holistic knowledge is essential to get the most out of Windows 10 development. Each topic is covered clearly and concisely and is packed with the details you need to code effectively. The most important features are given a no-nonsense, in-depth treatment and chapters contain examples that demonstrate both the power and the subtlety of Windows 10. __Windows 10 Development with XAML and C# 7__ focuses on the features that you need for your project and brings your existing C# coding knowledge to bear. **What You’ll Learn** * Discover what universal Windows 10 apps are capable of and why they are special * Use advanced features to create immersive and engaging Windows 10 applications * Create applications that work seamlessly on tablets and desktops * Manage the life cycle of your application **Who This Book Is For** Anyone wanting to get to grips with Windows 10 development using the cross-platform standards of XAML and C#. Table of Contents 5 About the Authors 10 About the Technical Reviewer 12 Chapter 1: Getting Started 13 Background 13 Versionless Windows 10 14 The Microsoft Store 14 Windows Design Guidelines 14 Being Fast and Fluid 15 Sizing Beautifully 16 Using the Right Contracts 16 Investing in a Great Tile 16 Feeling like It Is Connected and Alive 16 Roaming to the Cloud 17 UX Guidelines 17 Tooling 17 Visual Studio 2017 17 Versions 18 Visual Studio Community Edition 18 Visual Studio with MSDN 18 The Windows 10 Simulator 18 Creating Your First Windows 10 UWP App 19 Adding a Basic Page 22 The Simulator Controls 24 Blend for Visual Studio 2017 26 Opening Your Project in Blend for Visual Studio 27 Projects, Assets, States, and Data Tabs 28 Objects and Timeline 29 Page Designer, Markup, and Code 29 Properties, Resources, and Data Tabs 29 Git 30 Using Git in Visual Studio 31 GitHub for Windows 31 Enabling Git in Visual Studio 2017 32 Checking In Changes 34 Remote Repositories 35 Reverting Changes 35 NuGet 36 Installing Your First Package 37 Installing from the Command Line 37 Installing from the Graphical User Interface GUI 38 Summary 39 Chapter 2: Building Your First Windows 10 UWP App 40 Creating Your First App 40 App Project Overview 41 Properties 44 References 44 Assets 44 App1_TemporaryKey.pfx 45 Package.appxmanifest 45 The Application Tab 46 The Visual Assets Tab 47 The Capabilities Tab 48 The Declarations Tab 49 The Content URIs Tab 49 The Packaging Tab 49 App.xaml 50 MainPage.xaml 50 Model View ViewModel (MVVM) 51 The Pattern 51 Model 51 View 51 ViewModel 52 Creating a Model 52 Adding Customer Properties 53 INotifyPropertyChanged 55 Creating the ViewModel 58 Updating the Code-Behind 60 Creating the View 60 Testing the App 62 Guidance 63 Navigation 63 Creating a New Page 64 Creating the UI 65 Adding Navigation to the MainPage 66 Handling the NavigatedTo Event 69 The Back Button 69 Summary 70 Chapter 3: Themes, Panels, and Controls 71 Choosing a Theme 71 Using Panels 74 The Canvas Control 75 The Grid Control 79 Defining Rows and Columns 79 Alignment, Margins, and Padding 82 The StackPanel Control 84 The RelativePanel Control 86 The Border Control 87 Working with Controls 88 TextBlock and TextBox 89 Spell Check 92 Headers and Watermarks Controls 96 The PasswordBox Control 99 Buttons and Event Handlers Controls 100 The HyperLinkButton Control 104 The CheckBoxes, ToggleSwitches, and RadioButtons Controls 105 The ListBox, ListView, and ComboBox Controls 108 The Image Control 111 The Slider Control 114 The ProgressBar Control 114 The ToolTip Control 116 The DatePickers and TimePickers Controls 116 Flyouts 118 Basic Flyouts 119 Menu Flyouts 120 Understanding Dependency Properties 121 Data Hiding 121 Dependency Properties 123 Summary 127 Chapter 4: Binding 128 DataContext 129 Creating a Simple Binding 129 Data-Binding Statements 132 Binding Errors 134 FallbackValue 135 TargetNullValue 136 Binding to Elements 136 Binding Modes 139 UpdateSourceTrigger 140 INotifyPropertyChanged 141 Binding to Collections 145 Creating the Collection 145 Creating a Data-Bound ListView 150 INotifyCollectionChanged 152 Data Converters 153 Summary 158 Chapter 5: Local Data 159 Application Data 159 Settings Containers 160 Saving, Reading, and Deleting Local Data 160 Creating the Data Layer 166 Creating the Repository Interface 167 Creating the DataModel 168 Creating the ViewModel 169 Implementing INotifyPropertyChanged 169 Adding the Public Properties 171 Local Data 174 Using JSON to Format Data 174 Local Data Containers 175 Creating the File Repository 175 Creating the View 181 Roaming 187 User-Specified Locations 188 Creating the FileOperations Class 188 Adding the File Association for JSON Files 192 SQLite 195 Summary 203 Chapter 6: Application Lifecycle 204 The Three Application States 205 Running 206 Suspended 206 Terminated 206 State Transitions 207 Launching 208 Activating 208 Suspending 208 Resuming 208 Terminating 208 Killing 209 Managing the Lifecycle 209 Building the Sample App 210 Adding the Navigation Parameter Class 211 Creating the Details Page 212 Creating the Main Page 214 Handling Adding/Editing List Items 216 Responding to App Suspension 217 The OnSuspending Event 217 The EnteredBackground Event 218 Responding to App Activation 223 Determining the Previous Application State 223 Testing the Restoring Navigation State 223 Testing the Restoring Session Information 224 Summary 225 Index 227 Master XAML and C# 7 to get the most from Windows 10 with experienced authors and Microsoft MVPs - Jesse Liberty, Phil Japikse, Jon Galloway, and Jonathan Hartwell. This book begins with a nuts-and-bolts examination of how the technologies fit together and shows you everything you need to get up and running with the new platform. Once you have a good understanding of the basics, you progress to more advanced topics steadily increasing your understanding as a whole. This holistic knowledge is essential to truly master Windows 10 development. Each topic is covered clearly and concisely and is packed with the details you need to code effectively. The most important features are given a no-nonsense, in-depth treatment and chapters contain examples that demonstrate both the power and the subtlety of Windows 10. Pro Windows 10 Development with XAML and C# 7 focuses on the features that you need for your project and brings your existing C# coding knowledge to bear. You will: Discover what universal Windows 10 apps are capable of and why they are special Use advanced features to create immersive and engaging Windows 10 applications Create applications that work seamlessly on tablets and desktops Prepare and deploy your Windows 10 applications Benefit From A Nuts-and-bolts Examination Of How Xaml And C# 7 Fit Together And Obtain A Foundation For Getting Up And Running With Windows 10. Once You Have A Good Understanding Of The Basics, You Progress To More Advanced Topics Steadily Increasing Your Understanding As A Whole. This Holistic Knowledge Is Essential To Get The Most Out Of Windows 10 Development. Each Topic Is Covered Clearly And Concisely And Is Packed With The Details You Need To Code Effectively. The Most Important Features Are Given A No-nonsense, In-depth Treatment And Chapters Contain Examples That Demonstrate Both The Power And The Subtlety Of Windows 10. Windows 10 Development With Xaml And C# 7 Focuses On The Features That You Need For Your Project And Brings Your Existing C# Coding Knowledge To Bear. What You’ll Learn Discover What Universal Windows 10 Apps Are Capable Of And Why They Are Special Use Advanced Features To Create Immersive And Engaging Windows 10 Applications Create Applications That Work Seamlessly On Tablets And Desktops Manage The Life Cycle Of Your Application Who This Book Is For Anyone Wanting To Get To Grips With Windows 10 Development Using The Cross-platform Standards Of Xaml And C#. Front Matter ....Pages i-xiii Getting Started (Jesse Liberty, Jon Galloway, Philip Japikse, Jonathan Hartwell)....Pages 1-27 Building Your First Windows 10 UWP App (Jesse Liberty, Jon Galloway, Philip Japikse, Jonathan Hartwell)....Pages 29-59 Themes, Panels, and Controls (Jesse Liberty, Jon Galloway, Philip Japikse, Jonathan Hartwell)....Pages 61-117 Binding (Jesse Liberty, Jon Galloway, Philip Japikse, Jonathan Hartwell)....Pages 119-149 Local Data (Jesse Liberty, Jon Galloway, Philip Japikse, Jonathan Hartwell)....Pages 151-195 Application Lifecycle (Jesse Liberty, Jon Galloway, Philip Japikse, Jonathan Hartwell)....Pages 197-219 Back Matter ....Pages 221-227 Annotation Benefit from a nuts-and-bolts examination of how XAML and C# 7 fit together and obtain everything you need to get up and running with Windows 10. Once you have a good understanding of the basics, you progress to more advanced topics steadily increasing your understanding as a whole. This holistic knowledge is essential to get the most out of Windows 10 development. Each topic is covered clearly and concisely and is packed with the details you need to code effectively Covering each topic clearly and concisely and packed with the details you need to code effectively, this no-nonsense book offers a nuts-and-bolts examination of how XAML and C# 7 fit together and provides everything you need to get up and runnin
دانلود کتاب Pro Windows 10 Development with Xaml and C# 7