更新时间:2021-06-24 18:31:30
coverpage
Title Page
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
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
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
Let's Chat Web Application
Let's Chat web app requirement specifications
Let's Chat web app – high-level design
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
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