C# 7 and .NET Core Cookbook
C# has recently been open-sourced and C# 7 comes with a host of new features for building powerful, cross-platform applications.
This book will be your solution to some common programming problems that you come across with C# and will also help you get started with .NET Core 1.1. Through a recipe-based approach, this book will help you overcome common programming challenges and get your applications ready to face the modern world.
We start by running you through new features in C# 7, such as tuples, pattern matching, and so on, giving you hands-on experience with them. Moving forward, you will work with generics and the OOP features in C#. You will then move on to more advanced topics, such as reactive extensions, Regex, code analyzers, and asynchronous programming. This book will also cover new, cross-platform .NET Core 1.1 features and teach you how to utilize .NET Core on macOS. Then, we will explore microservices as well as serverless computing and how these benefit modern developers. Finally, you will learn what you can do with Visual Studio 2017 to put mobile application development across multiple platforms within the reach of any developer.
Table of Contents
1: NEW FEATURES IN C# 7.0
2: CLASSES AND GENERICS
3: OBJECT-ORIENTED PROGRAMMING IN C#
4: CODE ANALYZERS IN VISUAL STUDIO
5: REGULAR EXPRESSIONS
6: WORKING WITH FILES, STREAMS, AND SERIALIZATION
7: MAKING APPS RESPONSIVE WITH ASYNCHRONOUS PROGRAMMING
8: HIGH PERFORMANCE PROGRAMMING USING PARALLEL AND MULTITHREADING IN C#
9: COMPOSING EVENT-BASED PROGRAMS USING REACTIVE EXTENSIONS
10: EXPLORING .NET CORE 1.1
11: ASP.NET CORE ON THE MVC FRAMEWORK
12: CHOOSING AND USING A SOURCE CONTROL STRATEGY
13: CREATING A MOBILE APPLICATION IN VISUAL STUDIO
14: WRITING SECURE CODE AND DEBUGGING IN VISUAL STUDIO
15: CREATING MICROSERVICES ON AZURE SERVICE FABRIC
16: AZURE AND SERVERLESS COMPUTING
Buy on Amazon or Packt’s Website (Note: Buying from the Packt website, defaults to the eBook purchase).
C# Programming Cookbook
During your application development workflow, there is always a moment when you need to get out of a tight spot. Through a recipe-based approach, this book will help you overcome common programming problems and get your applications ready to face the modern world.
We start with C# 6, giving you hands-on experience with the new language features. Next, we work through the tasks that you perform on a daily basis such as working with strings, generics, and lots more. Gradually, we move on to more advanced topics such as the concept of object-oriented programming, asynchronous programming, reactive extensions, and code contracts.
You will learn responsive high performance programming in C# and how to create applications with Azure. Next, we will review the choices available when choosing a source control solution. At the end of the book, we will show you how to create secure and robust code, and will help you ramp up your skills when using the new version of C# 6 and Visual Studio.
Table of Contents
- New Features in C# 6.0
- Classes and Generics
- Object-Oriented Programming in C#
- Composing Event-Based Programs Using Reactive Extensions
- Create Microservices on Azure Service Fabric
- Making Apps Responsive with Asynchronous Programming
- High Performance Programming Using Parallel and Multithreading in C#
- Code Contracts
- Regular Expressions
- Choosing and Using a Source Control Strategy
- Creating a Mobile Application in Visual Studio
- Writing Secure Code and Debugging in Visual Studio
- Creating a Web Application in Azure
Buy on Amazon or Packt’s Website (Note: Buying from the Packt website, defaults to the eBook purchase).
C# Code Contracts Succinctly
Developed by Microsoft’s Research in Software Engineering, Code Contracts provide a way to convey code assumptions in your .NET applications. They can take the form of preconditions, postconditions, and state invariants. In C# Code Contracts Succinctly, author Dirk Strauss demonstrates how to use Code Contracts to validate logical correctness in code, how they can be integrated with abstract classes and interfaces, and even how they can be used to make writing documentation less painful.
Table of Contents
- Getting Started
- Using Code Contracts
- Some Useful Tips
- Testing Code Contracts
- Code Contracts Editor Extensions
- Conclusion
- Tools and Resources
Download for free from Syncfusion.