Hands-On Mobile Development with .NET Core
Can Bilgin更新时间:2021-06-24 13:56:28
最新章节:Leave a review - let other readers know what you thinkcoverpage
Title Page
Copyright and Credits
Hands-On Mobile Development with .NET Core
About Packt
Why subscribe?
Packt.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Section 1: .NET Core and Cross-Platform Philosophy
Getting Started with .NET Core
Cross-platform development
Developing fully native applications
Hybrid applications
Native cross-platform frameworks
Introduction to .NET Core
.NET Foundation
Notable .NET Foundation projects
.NET Core
ASP.NET Core
Roslyn
Reactive Extensions for .NET
Entity Framework
IdentityServer
ML.NET
Xamarin and Xamarin.Forms
xUnit.net
Developing with .NET Core
Creating a runtime agnostic application
Defining a runtime and self-contained deployment
Defining a framework
Summary
Xamarin Mono and .NET Standard
Introduction to Xamarin
Creating your first Xamarin application
Xamarin on iOS – Mono Touch
Xamarin on Android – Mono Droid
Xamarin.Forms
Using .NET Standard with Xamarin
Extending the reach
Summary
Universal Windows Platform
Universal Windows Platform
Creating UWP applications
XAML Standard
.NET Standard and .NET Native
Platform extensions
Summary
Section 2: Xamarin and Xamarin.Forms
Developing Mobile Applications with Xamarin
Xamarin versus Xamarin.Forms
Xamarin application anatomy
Selecting the presentation architecture
Model-View-Controller (MVC) implementation
Model-View-ViewModel (MVVM) implementation
Useful architectural patterns
Inversion of Control
Event aggregator
Decorator
Summary
UI Development with Xamarin
Application layout
Consumer expectations
Platform imperatives
Development cost
Implementing navigation structure
Single-page view
Simple navigation
Multi-page views
Master/detail view
Using Xamarin.Forms and native controls
Layouts
Xamarin.Forms view elements
Native components
Creating data-driven views
Data-binding essentials
Value converters
Triggers
Visual states
Summary
Customizing Xamarin.Forms
Xamarin.Forms development domains
Xamarin.Forms shared domain
Using styles
Creating behaviors
Attached properties
XAML markup extensions
Customizing native domains
Platform specifics
Xamarin.Forms effects
Composite customizations
Creating custom controls
Creating a Xamarin.Forms control
Creating a custom renderer
Creating a custom Xamarin.Forms control
Summary
Section 3: Azure Cloud Services
Azure Services for Mobile Applications
An overview of Azure services
An introduction to distributed systems
Cloud architecture
Gateway aggregation
Backends for frontends
A materialized view
The cache-aside pattern
Queue-based load leveling
Competing consumers
The publisher/subscriber pattern
The circuit breaker and retry patterns
Azure service providers and resource types
Data stores
Relational database resources
Azure storage
Azure blobs
Azure files
Azure queues
Azure tables
Cosmos DB
Azure Cache for Redis
Azure serverless
Azure functions
Azure Logic Apps
Azure Event Grid
Development services
Azure DevOps
Visual Studio App Center
Summary
Creating a Datastore with Cosmos DB
The basics of Cosmos DB
Global distribution
Consistency spectrum
Pricing
Data access models
SQL API
MongoDB API
Others
Modeling data
Creating and accessing documents
Denormalized data
Referenced data
Cosmos DB in depth
Partitioning
Indexing
Programmability
Change feed
Summary
Creating Microservices Azure App Services
Choosing the right app model
Azure virtual machines
Containers in Azure
Azure Container Services with Kubernetes
Service Fabric Mesh
Microservices with Azure Service Fabric
Azure App Service
Creating our first microservice
Initial setup
Implement retrieval actions
Implementing patch updates
Implementing a soft delete
Integrating with Redis cache
Hosting the services
Azure Web App for App Service
Containerizing services
Securing the application
ASP.NET Core Identity
Azure AD
Azure AD B2C
Summary
Using .NET Core for Azure Serverless
Understanding Azure Serverless
Developing Azure Functions
Implementing Azure Functions
Function triggers and bindings
Configuring functions
Hosting functions
Creating our first Azure function
Developing a Logic App
Implementing Logic Apps
Using connectors
Creating our first Logic App
Workflow execution control
Integration with Azure services
Repository
Queue-based processing
Event aggregation
Summary
Section 4: Advanced Mobile Development
Fluid Applications with Asynchronous Patterns
Utilizing tasks and awaitables
Task-based execution
Synchronization context
Single execution guarantee
Logical tasks
The command pattern
Creating producers/consumers with blocking collections
Asynchronous execution patterns
Service initialization pattern
Asynchronous event handling
The asynchronous command
Native asynchronous execution
Android services
iOS backgrounding
Summary
Managing Application Data
Improving HTTP performance with transient caching
Client cache aside
Entity tag (ETag) validation
Key/value store
Persistent data cache using SQLite
SQLite.NET
Entity Framework Core
Data access patterns
Implementing the repository pattern
Observable repository
Data resolver
Understanding Realm
Summary
Engaging Users with Notifications and the Graph API
Understanding Native Notification Services
Notification providers
Sending notifications with PNS
General constraints
Azure Notification Hub
Notification Hub infrastructure
Notification hub
Notification namespace
Notifications using Azure Notification Hub
Registration
Notification
Creating a notification service
Defining the requirements
Device registration
Transmitting notifications
Broadcasting to multiple devices
Advanced scenarios
Push to pull
Rich Media for push messages
The Graph API and Project Rome
The Graph API
Project Rome
Device relay
User activities
Notifications
Remote Sessions
Nearby sharing
Summary
Introducing Cognitive Services
Understanding Cognitive Services
Speech APIs
Speech to text
Language Understanding Service
Computer vision
Search API
Search query completion
Web Search API
Image search
Other
Summary
Section 5: Application Life Cycle Management
Azure DevOps and Visual Studio App Center
Using Azure DevOps and Git
Creating a Git repository with Azure DevOps
Branching strategy
Managing development branches
Creating Xamarin application packages
Using Xamarin build templates
Xamarin.Android build
Xamarin.iOS pipeline
Environment-specific configurations
Creating and utilizing artifacts
App Center for Xamarin
Integration with the source repository and builds
Setting up distribution rings
Distribution with AppCenter
AppCenter releases
AppCenter distribution groups
App Center distribution to production
App Center telemetry and diagnostics
Summary
Application Telemetry with Application Insights
Collecting insights for Xamarin applications
Telemetry data model
Advanced application telemetry
Exporting App Center telemetry data to Azure
Collecting telemetry data for Azure Service
Application Insights data model
Collecting telemetry data with ASP.NET Core
Collecting telemetry with Azure Functions
Analyzing data
Summary
Automated Testing
Maintaining application integrity with tests
Arrange Act and Assert
Creating unit tests with mocks
Fixtures and data-driven tests
Maintaining cross-module integrity with integration tests
Testing the client-server communication
Implementing platform tests
Automated UI tests
Xamarin.UITests
Page Object Pattern
Summary
Deploying Azure Modules
Creating an ARM template
ARM template concepts
Using Azure DevOps for ARM templates
Deploying .NET Core applications
Summary
CI/CD with Azure DevOps
Introducing CI/CD
CI/CD with GitFlow
Development
Pull request/merge
The CI phase
Release branch
Hotfix branches
Production
The QA process
Code review
Testing
Static code analysis with SonarQube
Local analysis with SonarLint
CI analysis
External Roslyn analyzers
Creating and using release templates
Azure DevOps releases
Release artifacts
Release stages
Release gates and triggers
Xamarin release template
Azure web application release
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
更新时间:2021-06-24 13:56:28