万本电子书0元读

万本电子书0元读

顶部广告

.NET Core 2.0 By Example电子书

售       价:¥

34人正在读 | 0人评论 9.8

作       者:Rishabh Verma,Neha Shrivastava

出  版  社:Packt Publishing

出版时间:2018-03-20

字       数:48.8万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Build cross-platform solutions with .NET Core 2.0 through real-life scenarios About This Book ? Bridges the gap between learning and doing and improves your software development skills ? Covers the best practices of .NET development to improve your productivity ? Example-based approach to get you started quickly with software programming Who This Book Is For If you are a developer or architect and want to learn how to build cross-platform solutions using Microsoft .NET Core, this book is for you. It is assumed that you have some knowledge of the .NET Framework, OOP, and C# (or a similar programming language). What You Will Learn ? Build cross-platform applications with ASP.NET Core 2.0 and its tools ? Integrate, host, and deploy web apps with the cloud (Microsoft Azure) ? Leverage the ncurses native library to extend console capabilities in .NET Core on Linux and interop with native coden .NET Core on Linux and learn how to interop with existing native code ? Reuse existing .NET Framework and Mono assemblies from .NET Core 2.0 applications ? Develop real-time web applications using ASP.NET Core ? Learn the differences between SOA and microservices and get started with microservice development using ASP.NET Core 2.0 ? Walk through functional programming with F# and .NET Core from scratch In Detail With the rise in the number of tools and technologies available today, developers and architects are always exploring ways to create better and smarter solutions. Before, the differences between target platforms was a major roadblock, but that's not the case now. .NET Core 2.0 By Example will take you on an exciting journey to building better software. This book provides fresh and relevant content to .NET Core 2.0 in a succinct format that’s enjoyable to read. It also delivers concepts, along with the implications, design decisions, and potential pitfalls you might face when targeting Linux and Windows systems, in a logical and simple way. With the .NET framework at its center, the book comprises of five varied projects: a multiplayer Tic-tac-toe game; a real-time chat application, Let'sChat; a chatbot; a microservice-based buying-selling application; and a movie booking application. You will start each chapter with a high-level overview of the content, followed by the above example applications described in detail. By the end of each chapter, you will not only be proficient with the concepts, but you’ll also have created a tangible component in the application. By the end of the book, you will have built five solid projects using all the tools and support provided by the .NET Core 2.0 framework. Style and approach This book takes a concise yet comprehensive project-based approach to teaching the tricks and tools of .NET Core 2.0.
目录展开

Title Page

Copyright and Credits

.NET Core 2.0 By Example

Packt Upsell

Why subscribe?

PacktPub.com

Contributors

About the authors

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

Getting Started

Downloading required tools for Windows and Linux

Downloads for Windows

Downloads for Linux

Installing .NET Core 2.0 and tools (Windows)

Installing Visual Studio 2017 version 15.3

Installing Visual Studio Code

Setting up an Ubuntu Linux VM

Ubuntu setup using Hyper-V

Installing .NET Core 2.0 and tools (Linux)

Creating simple running code

Creating an application in Windows through Visual Studio 2017 version 15.3

Creating application in Windows through Visual Studio Code

F# primer

F# keywords

Comments

Data types

Variable declaration

Operators

Arithmetic operators

Comparison operators

Boolean operators

Bitwise operators

Decision-making statements

if statements

Loop statements

F# functions

Calling a function

File sequence

Basic input/output syntax

Summary

Native Libraries in .NET Core

Introduction to ncurses

Interop with existing native and Mono libraries

Platform Invoke (P/Invoke)

DLLImport attribute

Interop with existing native libraries with example

When not to use P/Invoke

Building a sample native library (C++)

A sample application to implement new library and ncurses

Summary

Building Our First .NET Core Game – Tic-Tac-Toe

Anatomy of an ASP.NET Core 2.0 application

Tic-Tac-Toe

Requirement specifications

Designing the game

SignalR

SignalR transport mechanisms

SignalR Core

Solution

Project setup

Coding the game

Game demo

Summary

Let's Chat Web Application

Let's Chat web app requirement specifications

Let's Chat web app – high-level design

Project setup

Authentication

Windows authentication

Forms authentication

Token-based authentication

Authorization

Simple authorization

Role-based authorization

Claims-based authorization

Middleware

Dependency Injection

How do you write custom middleware?

Configuration

Logging

Summary

Developing the Let's Chat Web Application

ASP.NET Core 2.0 fundamentals

Quick lap around MVC

Routing

Model binding

Validation

Filters

Controllers

Error handling

Implementing authentication through Facebook

Summary

Testing and Deploying – The Let's Chat Web Application

Chat hub module

Razor primer

Tag Helpers

Views

Razor pages

Coding the Chat hub module

Testing overview

Unit testing

Testing using xUnit

Live Unit Testing

Introduction to containers

Docker

Bot 101

Summary

To the Cloud

Introduction to the cloud

Types of cloud

Getting started with Azure

Creating a VM in Azure

Automating using PowerShell

Publishing a web app in Azure

Azure App Services

Publishing the web app

Publishing profiles

App Service features

DEPLOYMENT

SETTINGS

DEVELOPMENT TOOLS

API

MONITORING

SUPPORT + TROUBLESHOOTING

Cloud storage

Summary

Movie Booking Web App

Introducing Entity Framework

Presenting Entity Framework Core

Getting started with Entity Framework Core

Movie booking app requirements

Designing the movie booking app

Coding the movie booking app

Deploying the movie booking app

Monitoring the movie booking app

Application Insights

Summary

Microservices with .NET Core

Introduction to microservices

A traditional service

Microservices

Handy things to know

General tips

Performance tips

Azure tips

Introducing Blazor

What's coming in .NET Core 2.1

Summary

Functional Programming with F#

Introduction to functional programming

Functional programming features

Higher-order functions (HOF)

Purity

Recursion

Currying

Closure

Function composition

Introduction to F#

Basics of classes

Constructor of a class

A let and do binding

Generic type parameters

Properties

Static and instance properties

Abstract properties

Inheritance and casts

Virtual methods and overrides

Constructors and inheritance

Functions and lambda expressions

Handling data – tuples, lists, record types, and data manipulation

List

Record type

Object-oriented programming in F#

Exception handling

Data access layer with F#

CSV, HTML, JSON, and XML data

Providers

Data access tools

SQL data access

Web data access

Querying SQL vNext with F#

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部