更新时间:2021-08-27 19:55:58
封面
Title Page
Copyright and Credits
C# 7 and .NET Core 2.0 Blueprints
Dedication
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
Conventions used
Get in touch
Reviews
eBook Manager and Catalogue App
Setting up the project
Virtual Storage Spaces and extension methods
The DocumentEngine class
The ImportBooks form
Expression-bodied accessors constructors and finalizers
Populating the TreeView control
Local functions
Pattern matching
Finishing up the ImportBooks code
Throw expressions
Saving a selected book to a storage space
Main eBookManager form
Running the eBookManager application
Summary
Cricket Score Calculator and Tracker
Object-oriented programming
Abstraction
Polymorphism
Compile-time polymorphism versus run-time polymorphism
Inheritance
Encapsulation
Encapsulation versus abstraction
Classes in Cricket Score Tracker
Abstract classes
Interfaces
Classes
Putting it all together
SOLID design principles
Single responsibility principle
Open/closed principle
Cross Platform .NET Core System Info Manager
Setting up the project on Windows
The project in detail
Climacons
The Startup.cs file
The InformationModel class
The InformationController class
The GetInfo view
Running the application on macOS
Setting up the app on Linux
Task Bug Logging ASP .NET Core MVC App
What are the benefits of using MongoDB?
Faster development with MongoDB
Career–enhancing skillset
MongoDB is ranked well in the industry
Setting up MongoDB on your local machine
Connecting your ASP.NET Core MVC application to MongoDB
Adding the NuGet package
Creating the MongoDbRepository class
Reading and writing data to MongoDB
Creating the interfaces and Work ItemService
Creating the view
Modifying the HomeController
Adding work items
Redirecting to the list of work items
ASP.NET SignalR Chat Application
Project layout
Adding the SignalR libraries
Building the server
SignalR Hub subclass
Configuration changes
Creating a client
Included libraries
Naming section
Chat input
Conversation panel
Archive function
JavaScript functions
Solution overview
Showing and telling
Running the application
Getting the party started
Archiving the chat