Cover image for Real World . NET 4 and C# : Indispensible Experiences from 15 . NET and C# MVPs.
Real World . NET 4 and C# : Indispensible Experiences from 15 . NET and C# MVPs.
Title:
Real World . NET 4 and C# : Indispensible Experiences from 15 . NET and C# MVPs.
Author:
Evjen, Bill.
ISBN:
9781118221891
Personal Author:
Physical Description:
1 online resource (650 pages)
Contents:
Real World .NET 4, C#,and Silverlight -- About The Technical Editor -- Credits -- Acknowledgments -- Contents -- Introduction -- Chapter 1: Asp.Net and Jquery -- Understanding Web Forms -- View State -- web.config Transformations -- Simplified web.config -- New ASP.NET Web Forms Templates -- Asp.Net Mvc -- Versions of MVC -- The Pieces of MVC -- Model -- View -- Controller -- Action Methods -- Model Binding -- URL Routing -- Accessing a Database -- MVC Tooling -- Creating a New Project -- Referenced Assemblies -- Site Structure -- Adding a Controller -- Adding a View -- Sample Application -- Sample Application Database -- Departments -- ASP.NET MVC Framework Summary -- jQuery -- Manipulating DOM Elements with jQuery -- Calling Server Code with jQuery -- jQuery -- Summary -- About the Author -- Chapter 2: Asp.Net Performance -- Looking at How ASP.NET Handles Page Requests -- State Management and Caching -- Understanding State in .NET -- Working with Sessions -- Running Sessions In-Process -- Running Sessions Out of Process -- Maintaining Sessions on SQL Server -- Deciding on the State of Sessions -- Working with Output Caching -- VaryByParam -- VaryByHeader -- VaryByControl -- VaryByCustom -- Extending -- Partial Page (UserControl) Caching -- Looking at .NET 4's New Object Caching Option -- Caching Web Services -- Hardware Considerations -- Using Performance Counters -- Viewing Performance Counters Through an Administration Tool -- Tips and Tricks -- Keep Requests Down to a Minimum -- Make Use of Content Delivery Networks -- Enable the Browser to Cache Items Longer -- Enabling Content Compression -- Location of Content in Your Pages -- Make JavaScript and CSS External -- Summary -- About the Author -- Chapter 3: Ethical Hacking of Asp.Net -- Ethical Hacking - Is That an Oxymoron? -- Filling Your Toolbox -- Fiddler -- Firebug.

Internet Explorer 9 Developer Toolbar -- Lens -- Understanding Session Management -- Session Management in HTTP -- Session Management in ASP.NET -- Attacking the ASP.NET Authentication -- Deep Dive into ASP.NET Authentication -- Stealing the Ticket -- Tampering with the Ticket -- Hijacking the Login Session -- Protecting Your Application Against Login Session Hijacking -- Cross-Site Request Forgery -- Protecting Against CSRF Attacks -- Additional Protection Against CSRF -- Attacking the ASP.NET Session -- ASP.NET Session Under the Covers -- Guessing the Session ID -- Stealing the Session Cookie -- Testing Your Application Against Session Hijacking -- Protecting Your Website Against Session Hijacking -- Session Fixation -- Protecting Your Application Against Session Fixation Attacks -- Hacking the View State -- Peeking into the View State -- Testing Your View State Against Information Disclosure -- Encrypting Your View State -- Tampering with the View State -- Reposting the View State -- Tricking Event Handlers -- Event Validation Internals -- Hacking Event Validation -- Pushing the Disabled Button -- Pushing the Invisible Button -- Protecting Your Site Against POST Attacks -- Summary -- About the Author -- Chapter 4: How to Build a Real World Silverlight 5 Application -- Setting the Scene for the Application -- Prototype First, Code Later - Using SketchFlow -- Introducing SketchFlow -- Finding Your Way Around SketchFlow -- Creating the Application's Prototype -- The Map of the Application -- Screen Mockup -- Testing the Prototype and Gathering Feedback -- Data-Binding Primer -- Hello, Data Binding -- Binding Syntax -- Binding Modes -- INotifyPropertyChanged Interface -- Converters -- Creating a Data Bound Screen -- WCF RIA Services in Action -- Choosing the Service-Layer Technology -- Hello to You, WCF RIA Services -- Why WCF RIA Services?.

Architecture and Concepts of RIA Services -- Creating the Server-Side -- Setting Up the Solution -- Data Access Using Entity Framework -- Creating the Actual Services -- Convention Is the Rule -- Meanwhile, in the Silverlight Project -- Loading Data in the MovieSelection Screen -- Polishing the Screen -- Applying the MVVM Pattern -- Different Parts, Different Roles -- The View -- The ViewModel -- The Model -- Choosing the MVVM Approach -- Picking a Little Helper - MVVM Light -- Refactoring to MVVM -- The Model -- The ViewModel -- The View -- At Your Command -- Messaging -- Creating Customized Controls -- Control Templates -- Summary -- About the Author -- Chapter 5: Silverlight - the Silver Lining for Line-of-Business Applications -- Getting Started -- Hello, Business World! -- The Application Class -- The UserControl Class -- Project Templates -- Silverlight Application -- Silverlight Class Library -- Silverlight Business Application -- Silverlight Navigation Application -- Other Application Templates -- XAML Is Object XML -- Hosting Silverlight Applications -- Providing Excellent IApplicationService -- Choosing the Right Silverlight Framework -- Getting SOLID: MVC, MVP, and MVVM -- Dependency Injection and Inversion of Control -- The Managed Extensibility Framework -- MVVM Frameworks -- Prism -- MVVM Light -- nRoute -- Caliburn.Micro -- Jounce -- Taking Silverlight Out-of-the-Box -- Dynamic Loading -- Out-of-Browser Applications -- Isolated Storage -- Communication -- The Future of Silverlight -- Summary -- About the Author -- Chapter 6: Tips and Tricks For Designers and Developers -- Understanding the Diff erences Between Silverlight and WPF -- Choosing XAML over Other Markups -- Understanding the Separation of Concerns -- Tips and Tricks for Designers -- Naming Your Objects -- Designing in Photoshop -- Importing Assets from Photoshop.

Using Sample Data for a Better Design Experience -- Tips and Tricks for Developers -- Showing Sample Data in Design Mode -- Using Behaviors to Make Things Easier -- Summary -- About the Author -- Chapter 7: Mvvm Patterns in Silverlight 4 -- Developing Your Own Framework -- Getting to Know MVVM -- Creating an MVVM Framework -- Framework Goals -- Framework Technologies -- Getting Started -- Defining ViewModels -- Creating New Views and View Models -- Registering Views and View M -- Displaying Views -- Building Composite Screens -- Displaying Dialogs -- Communicating Between Views -- Putting the MVVM Framework to Use -- Existing MVVM Frameworks -- Prism -- MVVM Light -- Caliburn.Micro -- Other Frameworks -- Additional Considerations -- Data Binding -- Commands -- Data Access -- Summary -- About the Author -- Chapter 8: Windows Phone "Mango" for Silverlight Developers -- Hardware Foundation -- Camera API -- Camera Best Practices -- Sensors API -- Gyroscope -- Compass -- Motion -- Sensors Best Practices -- Software Foundation -- Runtime Improvements -- Tools Enhancements -- Network Sockets -- Silverlight/XNA Hybrid Applications -- Local Database -- Application Model -- Fast Application Switching (FAS) -- Multitasking -- Background Agents -- Notifications -- Background Transfer Service -- Integration Service -- Secondary Tiles -- Push Notifications -- Contacts/Appointments Data Access -- Summary -- About the Author -- Chapter 9: Pragmatic Services Communication with WCF -- Sample Project -- Service Orientation Revisited -- Distributed Means Communication -- Service Orientation -- WCF Basics 101 -- Basic Toolset -- The Power of the B -- Less Is More -- Application Scenario -- Requirements -- Application Architecture -- Application Structure -- Modeling Services -- Contracts -- Service Contracts -- Operation Contracts -- Messages -- Message Contracts.

Data Contracts -- Fault Contracts -- Paging Data -- Metadata -- Flat WSDL -- Metadata URLs -- Implementing Services -- Validation -- Mapping -- Tracing -- Hosting Services -- Customizing Hosting -- Testing with Console Hosts -- Self-Hosting with a Windows Service -- Web-Hosting with WAS -- Bootstrapping -- Consuming Services -- Shared Contracts -- Asynchronous Calls -- Service Agent Pattern -- Complementing Service Approach -- Web Programming Model -- Hosting and Consuming -- Optimization Strategies -- Tweaking -- Streaming -- Summary -- About the Author -- Chapter 10: Securing WCF Services Using the Windows Identity Foundation (WIF) -- Identity in .NET Applications -- Identity in the Base Class Library -- Identity in WCF -- Windows Identity Foundation -- Security Token Handlers -- Claims Transformation -- Claims-Based Authorization -- Recapping the Building Blocks -- WCF and WIF -- Prerequisites -- Configuring and Enabling WIF -- Windows Authentication -- Username/Password Authentication -- X.509 Certifi cate Authentication -- SAML Token Authentication -- Sessions -- Recapping Confi guring and Enabling -- Transforming and Accessing Claims -- Authorization -- Tracing -- Possible Solutions for Securing the Movie Database SOAP Service -- Internal Users -- Adding Windows Authentication -- Claims Transformation -- Authorization -- Adding an External Content Provider -- Adding the Service Endpoint for External Users -- Adjusting Claims Transformation -- The Client -- Assessing the Solution -- Possible Solutions for Securing the Movie Database REST Service -- Internal Users -- Token-Based Authentication -- Summary -- About the Author -- Chapter 11: Applied .Net Task Parallel Library -- Problems and Solutions -- Using Tasks -- Task Class -- Closures -- Applying Tasks -- Understanding TPL-Style Exception Handling -- Understanding AggregateException.

Implementing Exception Handling.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: