Book description
Explore C# and the .NET Core framework to create applications and optimize them with ASP.NET Core 2
Key Features
- Get to grips with multi-threaded, concurrent, and asynchronous programming in C# and .NET Core
- Develop modern, cross-platform applications with .NET Core 2.0 and C# 7.0
- Create efficient web applications with ASP.NET Core 2.
Book Description
C# is a widely used programming language, thanks to its easy learning curve, versatility, and support for modern paradigms. The language is used to create desktop apps, background services, web apps, and mobile apps. .NET Core is open source and compatible with Mac OS and Linux. There is no limit to what you can achieve with C# and .NET Core.
This Learning Path begins with the basics of C# and object-oriented programming (OOP) and explores features of C#, such as tuples, pattern matching, and out variables. You will understand.NET Standard 2.0 class libraries and ASP.NET Core 2.0, and create professional websites, services, and applications. You will become familiar with mobile app development using Xamarin.Forms and learn to develop high-performing applications by writing optimized code with various profiling techniques.
By the end of C# 7 and .NET: Designing Modern Cross-platform Applications, you will have all the knowledge required to build modern, cross-platform apps using C# and .NET.
This Learning Path includes content from the following Packt products:
- C# 7.1 and .NET Core 2.0 - Modern Cross-Platform Development - Third Edition by Mark J. Price
- C# 7 and .NET Core 2.0 High Performance by Ovais Mehboob Ahmed Khan
What you will learn
- Explore ASP.NET Core to create professional web applications
- Master OOP with C# to increase code reusability and efficiency
- Protect your data using encryption and hashing
- Measure application performance using BenchmarkDotNet
- Use design techniques to increase your application's performance
- Learn memory management techniques in .NET Core
- Understand tools and techniques to monitor application performance
Who this book is for
This Learning Path is designed for developers who want to gain a solid foundation in C# and .NET Core, and want to build cross-platform applications. To gain maximum benefit from this Learning Path, you must have basic knowledge of C#.
Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.
Publisher resources
Table of contents
- Title Page
- Copyright
- About Packt
- Contributors
- Preface
- Controlling the Flow and Converting Types
- Writing, Debugging, and Testing Functions
-
Building Your Own Types with Object-Oriented Programming
- Talking about OOP
- Building class libraries
- Storing data with fields
- Writing and calling methods
- Controlling how parameters are passed
- Splitting classes using partial
- Controlling access with properties and indexers
- Summary
-
Implementing Interfaces and Inheriting Classes
- Setting up a class library and console application
- Simplifying methods with operators
- Defining local functions
- Raising and handling events
- Implementing interfaces
- Making types more reusable with generics
- Managing memory with reference and value types
- Inheriting from classes
- Casting within inheritance hierarchies
- Inheriting and extending .NET types
- Summary
-
Understanding and Packaging .NET Standard Types
- Understanding assemblies and namespaces
- Sharing code cross-platform with .NET Standard 2.0 class libraries
- Understanding NuGet packages
- Publishing your applications for deployment
- Packaging your libraries for NuGet distribution
- Porting from .NET Framework to .NET Core
- Summary
- Using Common .NET Standard Types
- Working with Files, Streams, and Serialization
- Improving Performance and Scalability Using Multitasking
- Building Web Sites Using ASP.NET Core Razor Pages
-
Building Web Sites Using ASP.NET Core MVC
- Setting up an ASP.NET Core MVC website
- Understanding an ASP.NET Core MVC website
- Summary
-
Building Web Services and Applications Using ASP.NET Core
- Building web services using ASP.NET Core Web API
- Documenting and testing web services using Swagger
- Building SPAs using Angular
- Using other project templates
- Summary
- Building Windows Apps Using XAML and Fluent Design
-
Building Mobile Apps Using XAML and Xamarin.Forms
- Understanding Xamarin and Xamarin.Forms
- Building mobile apps using Xamarin.Forms
- Summary
- Understanding .NET Core Internals and Measuring Performance
- Data Structures and Writing Optimized Code in C#
- Designing Guidelines for .NET Core Application Performance
- Memory Management Techniques in .NET Core
-
Microservices Architecture
- Microservices architecture
-
Developing microservices architecture with .NET Core
-
Creating a sample app in .NET Core using microservices architecture
- Solution structure
- Logical architecture
- Developing a Core infrastructure project
- Developing an identity service for user authorization
- Implementing the vendor service
- Creating a vendor domain
- Creating the vendor infrastructure
- Creating the vendor service
- Implementing the mediator pattern in the vendor service
-
Creating a sample app in .NET Core using microservices architecture
- Deploying microservices on Docker containers
- Summary
- Other Books You May Enjoy
Product information
- Title: C# 7 and .NET: Designing Modern Cross-platform Applications
- Author(s):
- Release date: December 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789956696
You might also like
book
C# 7.1 and .NET Core 2.0 - Modern Cross-Platform Development - Third Edition
C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development, Third Edition is a practical guide …
book
C# 8.0 and .NET Core 3.0 – Modern Cross-Platform Development - Fourth Edition
Publisher's Note: Microsoft stops supporting .NET Core 3.1 in December 2022. The newer 7th edition of …
book
Hands-On Parallel Programming with C# 8 and .NET Core 3
Enhance your enterprise application development skills by mastering parallel programming techniques in .NET and C# Key …
book
C# 7 and .NET Core 2.0 High Performance
Improve the speed of your code and optimize the performance of your apps About This Book …