C# 7 and .NET Core 2.0 blueprints build effective applications that meet modern software requirements
Leverage the features of C# 7 and .NET core 2.0 to build real-world .NET core applications About This Book See how to incorporate Entity Framework Core to build ASP .NET core MVC application Get hands-on SignalR and NuGet packages Work with Reactive Extensions (Rx.Net) using the elasticsearch tool G...
Other Authors: | |
---|---|
Format: | eBook |
Language: | Inglés |
Published: |
Birmingham ; Mumbai :
Packt Publishing
2018.
|
Edition: | 1st edition |
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009631487006719 |
Table of 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.