.NET Core 2.0 by example learn to program in C# and .NET Core by building a series of practical, cross-platform projects

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...

Descripción completa

Detalles Bibliográficos
Otros Autores: Rishabh, Verm, author (author), Shrivastava, Neha, author
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, England ; Mumbai, [India] : Packt Publishing 2018.
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009631595106719
Tabla de Contenidos:
  • Cover
  • Copyright and Credits
  • Packt Upsell
  • Contributors
  • Table of Contents
  • Preface
  • Chapter 1: 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
  • Chapter 2: 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
  • Chapter 3: 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
  • Chapter 4: 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
  • Chapter 5: 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
  • Chapter 6: 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
  • Chapter 7: 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
  • Chapter 8: 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
  • Chapter 9: 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.
  • Chapter 10: 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
  • Index.