وبلاگ بلیان

Modernizing . NET Web Applications: Everything You Need to Know about Migrating ASP. NET Web Applications to the Latest Version Of . NET

جلد کتاب Modernizing . NET Web Applications: Everything You Need to Know about Migrating ASP. NET Web Applications to the Latest Version Of . NET

معرفی کتاب «Modernizing . NET Web Applications: Everything You Need to Know about Migrating ASP. NET Web Applications to the Latest Version Of . NET» نوشتهٔ Altaj، Neva و Tomáš Herceg، منتشرشده توسط نشر Apress L. P. در سال 2024. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

Table of Contents About the Author About the Technical Reviewer Acknowledgments Chapter 1: Introduction The New Generation of .NET Bridging the Gap with .NET Standard What Has Changed Ten Thousand Feet View of the Book Get Ready About the Author Application Framework Equivalents in the .NET Core World Frameworks for Web UI ASP.NET Web Forms ASP.NET MVC ASP.NET Web Pages Communication Frameworks ASP.NET XML Web Services Windows Communication Foundation ASP.NET Web API ASP.NET SignalR Data Access Libraries LINQ to SQL Entity Framework Membership and Identity Membership Providers ASP.NET Identity Other Unsupported Technologies and APIs Summary Chapter 2: Justifying the Modernization To Modernize or Not to Modernize Example 1: Application in Maintenance Mode with a Negligible Number of New Requirements Example 2: Complex and Actively Developed Admin Portal Example 3: Ecommerce Solution Transformed into Multiple Applications Takeaways Benefits of the New .NET Technical Arguments Performance Improvements Just-In-Time Compiler Tiered Compilation Inlining Other JIT Improvements Vectorization Garbage Collector New Performance-Related Types Span and Memory Allocation-Free Parsing ValueTask Source Generators New JSON Parser Optimizations in Base Types and Collections Parsing and Formatting Vectorization for Strings Collections Summary Developer Productivity Better Developer Tools Hot Reload Version Control Package References SDK-Style Projects Entity Framework Migrations Support for Linux and Containers Architectural Improvements Configuration Dependency Injection Logging Hosting Other Packages Conclusion Nontechnical Arguments Hiring and Motivation of Developers Higher Operating and Maintenance Costs Security Considerations Summary Chapter 3: Before You Start Choosing the Right Strategy Example: Modernizing a Large E-learning Website Incremental Changes In-Place Modernization Side-by-Side Modernization Full Rewrite Back to the Example Estimating the Effort Divide and Conquer Example: Estimating the Effort Preparing the Environment Cleanup Review Project Dependencies Monitoring and Diagnostics Version Control Git Workflows GitHub Flow Gitflow Trunk-Based Development Conclusion Summary Chapter 4: Migrating APIs and Web Services Before You Start Refactoring on the Way ASP.NET XML Web Services Migrating to SoapCore SOAP Extensions Authentication Migrating to gRPC Windows Communication Foundation Migrating to CoreWCF Authentication Unsupported Features CoreWCF Improvements over WCF ASP.NET Web API Migrating Controllers Explicit HTTP Methods Routing Action Results Parameter Binding Working with Files Configuration Compatibility with Newtonsoft.Json Authentication Host Authentication Custom Authentication Filters JWT and OWIN-Based Authentication Unifying the OpenAPI Metadata Configuring Client Proxy Generation Diff Tools ASP.NET SignalR Migration of SignalR Hubs Authentication and Authorization Persistent Connections Migration of Client Applications Automatic Reconnects Scaling Summary Chapter 5: Migrating Data Access Migrating ADO.NET Primitives SQL Server Connection Encryption by Default SQLite Oracle LINQ to SQL Lazy and Eager Loading Scaffolding Entity Framework Core Model Other Differences Entity Framework Choose Between Entity Framework and Entity Framework Core Migrate ObjectContext to DbContext API Database First Approach with Entity Framework and the New .NET Migrate to Entity Framework Core Scaffolding Porting the Code First Model Lazy Loading Configuration and Connection Strings ASP.NET Identity Tables Testing Differences in Complex Queries Migrations Migrating the Entity Framework Migrations Summary Chapter 6: Migrating Identity Stores ASP.NET Membership Providers Insecure Passwords Migration to ASP.NET Core Identity Migration of Passwords Do Not Keep Passwords in the Original Format Storing the Old Password Hashes Securely Other Password Formats ASP.NET Universal Providers Migration to ASP.NET Core Identity Migrating User Profiles ASP.NET Identity Migration to ASP.NET Core Identity Authentication in ASP.NET Core Using ASP.NET Core Identity Summary Chapter 7: In-Place Migration of Web UI Applications Trivial Applications In-Place and Side-by-Side Migration Modernization Using DotVVM A Brief History Model-View-ViewModel on the Web Communication with the Server Before You Start Prerequisites Coexistence of DotVVM and Web Forms Migrating the Master Page Migrating the Pages Migrating Components Handlers The Final Step Practical Example Running the Project Adding DotVVM Master Page and the First Page Migrating the Other Pages Switching to the New .NET Authentication and Authorization Other Changes Wrapping Up Summary Chapter 8: Side-by-Side Migration of UI Applications Initial Setup Create the New ASP.NET Core Application Forwarded Headers Server Configuration Sharing Code Between the Applications Migrating the First Page Choosing the UI Framework Adding Blazor Server Migrating Layout Page Migrating First Page Sharing the Session Remote Session Remote Session in Blazor Server Sharing the Authentication State Remote Authentication External Identity Providers Cache Invalidation Distributed Caching Custom Solution Based on SignalR Other Considerations Filesystem Access Concurrency and Locking Migrating Remaining Pages Migrating the Handler Moving Static Files Completing the Migration Remove the Session Switch the Authentication Caching Removing the Old Application Summary Chapter 9: Migration of ASP.NET MVC and Web Pages Available Frameworks Choosing the Technology ASPX View Engine Preparing the Migration Migrating ASP.NET Web Pages Routing Migrating the Layout Page The First Page Migration of Remaining Pages Route Parameters Validation Forms and Binding Authorization Unsupported Features Migrating ASP.NET MVC Upgrading Controllers Fixing the Upgrade Issues Migration of Remaining Pages Final Step Summary Chapter 10: A Word on Architecture Clean and Readable Code Layering Code Consistency and Conventions Testing Unit Tests Integration Tests Integration Tests with Database User Interface Tests Summary Conclusion
دانلود کتاب Modernizing . NET Web Applications: Everything You Need to Know about Migrating ASP. NET Web Applications to the Latest Version Of . NET