Franklin

C# 7 and . NET Core 2. 0 Blueprints : Build Effective Applications That Meet Modern Software Requirements.

Author/Creator:
Strauss, Dirk.
Publication:
Birmingham : Packt Publishing, Limited, 2018.
Format/Description:
Book
1 online resource (420 pages)
Edition:
1st ed.
Status/Location:
Loading...

Options
Location Notes Your Loan Policy

Details

Subjects:
Application software-Development.
Form/Genre:
Electronic books.
Summary:
.NET Core is a general purpose, modular, cross-platform and open source implementation of .NET. With the latest release of .NET Core, more APIs are expected to show up, which will make APIs consistent across .NET Framework, .NET Core, and Xamarin. This guide will teach you the essential .NET Core and C# concepts with the help of real-world ...
Contents:
Cover
Copyright and Credits
Dedication
Packt Upsell
Contributors
Table of Contents
Preface
Chapter 1: 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
Chapter 2: Cricket Score Calculator and Tracker
Setting up the project
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
Summary
Chapter 3: 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
Summary
Chapter 4: 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
Summary
Chapter 5: ASP.NET SignalR Chat Application
Project layout
Setting up the project
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
Summary
Chapter 6: Web Research Tool with Entity Framework Core
Entity Framework (EF) Core history
Enter Entity Framework
Code-First versus Model-First versus Database-First approach
Code-First approach
Model-First approach
Database-First approach
Developing a database design
Setting up the project
Installing the required packages
Entity Framework Core SQL Server
Entity Framework Core tools
Code generation design
Creating the models
Configuring the services
Creating the database
Seeding the database with test data
Creating the controller
Running the application
Deploying the application
Microsoft Azure App Service
Custom targets
FTP
Web Deploy
Web Deploy Package
File System
Folder
Import Profile
Summary
Chapter 7: A Serverless Email Validation Azure Function
Beginning with serverless computing
Importance of serverless computing
Features of Azure Functions
Choice of languages
Pay-per-use pricing
Flexible development
What types of Azure Functions can I create?
Creating an Azure Function
Modifying the Azure Function code
Calling an Azure Function from an ASP.NET Core MVC application
Creating the login form
Hooking it all up
Summary
Chapter 8: Twitter Clone Using OAuth.
Using Tweetinvi
The ASP.NET Core MVC Twitter clone application
Creating your application on Twitter
Creating the ASP.NET Core MVC Application and adding the NuGet package
Let's code
Setting up the classes and settings
Creating the TweetItem class
Setting up the CSS
Adding the controllers
Creating views
Modifying HomeController
Creating the TwitterViewModel class
Creating the HomeTimeline view
Modifying the TwitterController class
Finishing up-the ComposeTweet view
Running the CoreTwitter application
Summary
Chapter 9: Using Docker and ASP.NET Core
What is Docker?
Images and containers
Where does Docker run?
How Docker benefits web developers
Installing Docker on Windows 10 Pro
Understanding Docker
Running an ASP.NET Core application from Visual Studio 2017 inside Docker
Adding Docker support to an existing ASP.NET Core application
Using Docker Hub with GitHub
Summary
Other Books You May Enjoy
Index.
Notes:
Description based on publisher supplied metadata and other sources.
Local notes:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2021. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Contributor:
Rademeyer, Jas.
Other format:
Print version: Strauss, Dirk C# 7 and . NET Core 2. 0 Blueprints
ISBN:
9781788398138
9781788396196
OCLC:
1030816575