万本电子书0元读

万本电子书0元读

顶部广告

Hands-On Mobile Development with .NET Core电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Can Bilgin

出  版  社:Packt Publishing

出版时间:2019-05-31

字       数:54.2万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Develop native applications for multiple mobile and desktop platforms including but not limited to iOS, Android, and UWP with the Xamarin framework and Xamarin.Forms Key Features * Understand .NET Core and its cross-platform development philosophy * Build Android, iOS, and Windows mobile applications with C#, .NET Core, and Azure Cloud Services * Bring Artificial Intelligence capabilities into your mobile applications with Azure AI Book Description .NET Core is the general umbrella term used for Microsoft’s cross-platform toolset. Xamarin used for developing mobile applications, is one of the app model implementations for .NET Core infrastructure. In this book, you will learn how to design, architect, and develop highly attractive, maintainable, efficient, and robust mobile applications for multiple platforms, including iOS, Android, and UWP, with the toolset provided by Microsoft using Xamarin, .NET Core, and Azure Cloud Services. This book will take you through various phases of application development with Xamarin, from environment setup, design, and architecture to publishing, using real-world scenarios. Throughout the book, you will learn how to develop mobile apps using Xamarin, Xamarin.Forms and .NET Standard; implement a webbased backend composed of microservices with .NET Core using various Azure services including but not limited to Azure App Services, Azure Active Directory, Notification Hub, Logic Apps, and Azure Functions, Cognitive Services; create data stores using popular database technologies such as Cosmos DB, SQL and Realm. Towards the end, the book will help developers to set up an efficient and maintainable development pipeline to manage the application life cycle using Visual Studio App Center and Visual Studio Services. What you will learn * Implement native applications for multiple mobile and desktop platforms * Understand and use various Azure Services with .NET Core * Make use of architectural patterns designed for mobile and web applications * Understand the basic Cosmos DB concepts * Understand how different app models can be used to create an app service * Explore the Xamarin and Xamarin.Forms UI suite with .NET Core for building mobile applications Who this book is for This book is for mobile developers who wish to develop cross-platform mobile applications. Programming experience with C# is required. Some knowledge and understanding of core elements and cross-platform application development with .NET is required.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部