Exploring the .NET Core 3.0 Runtime


Book Description

Explore advanced .NET APIs and create a basic .NET core library with dynamic code generation and metadata inspection to be used by other libraries or client applications. This book starts with the benefits of .NET including its fundamental tasks and tools where you will learn .NET SDK tools and the ILDasm tool. This is followed by a detailed discussion on code generation in .NET API programming. Along the way, you will learn how to build a programming model through a code-generator tool and metadata inspector tool using .NET version information for .NET assembly and binary code. Exploring the .NET Core 3.0 Runtime covers the features of Microsoft Visual Studio 2019 using a tutorial and shows you how to create a .NET Core 3.0 application. Here you will configure and deploy your .NET projects along with meta packages and see some do's and don'ts. Finally, you will compare the features of .NET Core 3.0 with the .NET Framework library and its GUI frameworks. After reading this book, you will be able to work in a .NET 3.0 environment and program for its two advanced features: code generation and metadata inspection. What You Will Learn Understand the inner workings of an assembly’s structural organizationWork with reflection through the .NET Core platformCarry out dynamic code generation using the .NET Core API's code document model (CodeDOM) Use the metadata mechanism of the .NET Core platform Who This Book Is For Software developers and engineers using .NET and/or the .NET Core platform and tools.




.NET IL Assembler


Book Description

Advanced .NET IL Assembler is a comprehensive drill-down into the inner workings of the .NET Framework. Acknowledged runtime expert and Microsoft insider Serge Lidin steps through the internal structures and operations that take place when .NET code is executed, showing how the syntax and grammar of the coding language is broken down into low-level units that can be expressed through the ILAsm language that runs behind the scenes in .NET. By reading this book you will develop the skills you need to write tighter, faster, .NET code; to debug complex error handling situations; and to oversee multi-language and multi-platform projects with confidence.




Compiling for the .NET Common Language Runtime (CLR)


Book Description

This book covers thru .NET Common Language Runtime; the latest environment for component leased programming or Microsoft Platforms. This book deals with implementation of conventional programming languages. The book will have two examples used to illustrate the main points of the text.




Pro C# 8 with .NET Core 3


Book Description

This essential classic provides a comprehensive foundation in the C# programming language and the frameworks it lives in. Now in its 9th edition, you will find the latest C# 8 and .NET Core features, along with new chapters on Microsoft’s lightweight, cross-platform framework, .NET Core 3.1. Coverage of ASP.NET Core, Entity Framework Core, and more, sits alongside the latest updates to .NET Core, including Windows Presentation Foundation (WPF). Not only does this book cover all of the latest features in C# 8, but all chapters and code samples have been rewritten for this latest release. Dive in and discover why this book has been a favorite of C# developers worldwide for more than 15 years. Gain a solid foundation in object-oriented development techniques, attributes and reflection, generics and collections, and numerous advanced topics not found in other texts (such as CIL opcodes and emitting dynamic assemblies). With the help of Pro C# 8 with .NET Core 3 gain the confidence to put C# into practice and explore the .NET Core universe on your own terms. What You Will LearnDiscover the bells and whistles of C# 8 features and updates to previous features Hit the ground running with ASP.NET Core web applications and web services, and Entity Framework Core Work with the latest version of Windows Presentation Foundation, now a part of .NET Core Understand the philosophy behind .NET and the cross-platform alternative, .NET CoreDevelop applications with C# and modern frameworks for services, web, and smart client applications Who This Book Is For Developers who are interested in .NET programming and the C# language “Amazing! Provides easy-to-follow explanations and examples. I remember reading the first version of this book; this is a 'must-have' for your collection if you are learning .NET Core!” – Rick McGuire, Senior Application Development Manager, Microsoft “Phil is a journeyman programmer who brings years of experience and a passion for teaching to make this fully revised and modernized ‘classic’ a ‘must-have’. Any developer who wants full-spectrum, up-to-date coverage of both the C# language and how to use it with .NET Core and ASP.NET Core should get this book.” – Brian A. Randell, Partner, MCW Technologies and Microsoft MVP




C# 8.0 and .NET Core 3.0 – Modern Cross-Platform Development


Book Description

Publisher's Note: Microsoft stops supporting .NET Core 3.1 in December 2022. The newer 7th edition of this book is available that covers .NET 7 (end-of-life May 2024) or .NET 6 (end-of-life November 2024), with C# 11 and EF Core 7. Key FeaturesBuild modern, cross-platform applications with .NET Core 3.0Get up to speed with C#, and up to date with all the latest features of C# 8.0Start creating professional web applications with ASP.NET Core 3.0Book Description In C# 8.0 and .NET Core 3.0 – Modern Cross-Platform Development, Fourth Edition, expert teacher Mark J. Price gives you everything you need to start programming C# applications. This latest edition uses the popular Visual Studio Code editor to work across all major operating systems. It is fully updated and expanded with new chapters on Content Management Systems (CMS) and machine learning with ML.NET. The book covers all the topics you need. Part 1 teaches the fundamentals of C#, including object-oriented programming, and new C# 8.0 features such as nullable reference types, simplified switch pattern matching, and default interface methods. Part 2 covers the .NET Standard APIs, such as managing and querying data, monitoring and improving performance, working with the filesystem, async streams, serialization, and encryption. Part 3 provides examples of cross-platform applications you can build and deploy, such as web apps using ASP.NET Core or mobile apps using Xamarin.Forms. The book introduces three technologies for building Windows desktop applications including Windows Forms, Windows Presentation Foundation (WPF), and Universal Windows Platform (UWP) apps, as well as web applications, web services, and mobile apps. What you will learnBuild cross-platform applications for Windows, macOS, Linux, iOS, and AndroidExplore application development with C# 8.0 and .NET Core 3.0Explore ASP.NET Core 3.0 and create professional web applicationsLearn object-oriented programming and C# multitaskingQuery and manipulate data using LINQUse Entity Framework Core and work with relational databasesDiscover Windows app development using the Universal Windows Platform and XAMLBuild mobile applications for iOS and Android using Xamarin.FormsWho this book is for Readers with some prior programming experience or with a science, technology, engineering, or mathematics (STEM) background, who want to gain a solid foundation with C# 8.0 and .NET Core 3.0.




Murach's ASP.NET Core MVC (2nd Edition)


Book Description

This 2nd Edition of Murachs ASP.NET Core MVC does a better job than ever of delivering the skills you need to develop websites using the MVC (Model-View-Controller) pattern with ASP.NET Core. If you know the basics of C#, youll quickly learn to code the way todays top web professionals do. Each section features clear, beginner-friendly examples and easy-to-understand explanations that walk you through crucial skills, best practices, and helpful tips. Im a first-time customer who has recently purchased your ASP.NET Core MVC book, and I have to say Im greatly impressed. [It] was actually fun from start to finish (and I've read many, many programming books before). - Shannon Fairchild, Senior Software Developer, Kingston, Ontario, Canada Section 1 (just 5 chapters) shows how to develop responsive web apps that follow the MVC pattern so theyll be easy to maintain as they grow and change. Then, it shows how to test and debug these apps using the debugging tools provided by Visual Studio and your browser. Section 2 builds out that set of skills to create more complex controllers, work with Razor views, handle cookies and sessions, work with model binding, validate data, and use EF Core to work with databases. Finally, section 3 presents additional skills that you can learn when you need them. Automate testing by using dependency injection and unit tests. Reduce code duplication by creating custom tag helpers and view components. Control user access to a site with ASP.NET Core Identity. Deploy a site to the cloud with Azure. And use Visual Studio Code, an increasingly popular alternative to the Visual Studio IDE. Every Murach book guarantees high quality. The complete apps show how each feature works in context. The exercises at the end of each chapter let you practice your new skills and gain valuable hands-on experience. And the distinctive paired-pages format is ideal for learning and reference.




C# 6 and .NET Core 1.0: Modern Cross-Platform Development


Book Description

Create powerful cross-platform applications using C# 6, .NET Core 1.0, ASP.NET Core 1.0, and Visual Studio 2015 About This Book Build modern, cross-platform applications with .NET Core 1.0 Get up-to-speed with C#, and up-to-date with all the latest features of C# 6 Start creating professional web applications with ASP.NET Core 1.0 Who This Book Is For Are you struggling to get started with C#? Or maybe you're interested in the potential of the new cross-platform features that .NET Core can offer? If so, C# 6 and .NET Core 1.0 is the book for you. While you don't need to know any of the latest features of C# or .NET to get started, it would be beneficial if you have some programming experience. What You Will Learn Build cross-platform applications using C# 6 and .NET Core 1.0 Explore ASP.NET Core 1.0 and learn how to create professional web applications Improve your application's performance using multitasking Use Entity Framework Core 1.0 and learn how to build Code-First databases Master object-oriented programming with C# to increase code reuse and efficiency Familiarize yourself with cross-device app development using the Universal Windows Platform and XAML Query and manipulate data using LINQ Protect your data by using encryption and hashing In Detail With the release of .NET Core 1.0, you can now create applications for Mac OS X and Linux, as well as Windows, using the development tools you know and love. C# 6 and .NET Core 1.0 has been divided into three high-impact sections to help start putting these new features to work. First, we'll run you through the basics of C#, as well as object-orient programming, before taking a quick tour through the latest features of C# 6 such as string interpolation for easier variable value output, exception filtering, and how to perform static class imports. We'll also cover both the full-feature, mature .NET Framework and the new, cross-platform .NET Core. After quickly taking you through C# and how .NET works, we'll dive into the internals of the .NET class libraries, covering topics such as performance, monitoring, debugging, internationalization, serialization, and encryption. We'll look at Entity Framework Core 1.0 and how to develop Code-First entity data models, as well as how to use LINQ to query and manipulate that data. The final section will demonstrate the major types of applications that you can build and deploy cross-device and cross-platform. In this section, we'll cover Universal Windows Platform (UWP) apps, web applications, and web services. Lastly, we'll help you build a complete application that can be hosted on all of today's most popular platforms, including Linux and Docker. By the end of the book, you'll be armed with all the knowledge you need to build modern, cross-platform applications using C# and .NET Core. Style and approach This book takes a step-by-step approach and is filled with exciting projects and fascinating theory. It uses three high-impact sections to equip you with all the tools you'll need to build modern, cross-platform applications using C# and .NET Core.




CLR Via C#


Book Description

Dig deep and master the intricacies of the common language runtime (CLR) and the .NET Framework. Written by a highly regarded programming expert and consultant to the Microsoft .NET team, this guide is ideal for developers building any kind of application--including Microsoft ASP.NET, Windows Forms, Microsoft SQL Server, Web services, and console applications. You'll get hands-on instruction and extensive code C# code samples to help you tackle the tough topics and develop high-performance applications. Discover how to: Build, deploy, administer, and version applications, components, and shared assemblies Design types using constants, fields, constructors, methods, properties, and events Work effectively with the CLR's special types including enumerators, arrays, and strings Declare, create, and use delegates to expose callback functions Define and employ re-usable algorithms with interfaces and generics Define, use, and detect custom attributes Use exception handling to build robust, reliable, and security-enhanced components Manage memory automatically with the garbage collector and work with native resources Apply CLR Hosting, AppDomains, assembly loading, and reflection to build dynamically extensible applications PLUS--Get code samples on the Web




Learning ASP.NET Core 3.0 -Second Edition


Book Description

A beginner's guide to building fully functioning web applications from scratch using the latest features of ASP.NET Core 3 and C# 8 Key Features Get to grips with the new features and APIs in ASP.NET Core 3, EF Core 3, and Blazor Create web APIs that integrate your applications with other systems and services Learn to deploy your web applications in new environments such as the cloud and Docker containers Book Description ASP.NET Core is an open source framework from Microsoft that makes it easy to build highly efficient and dynamic cross-platform web applications. Updated for the latest features of ASP.NET Core 3, this second edition will equip you with the skills you need to build powerful web applications. The book starts with an introduction to ASP.NET Core and its features, giving you a complete understanding of the framework. You will also learn how to set up your development environment with Visual Studio 2019 and build a fully functioning application from scratch. You'll then understand core concepts for building web applications such as Model View Controller (MVC), dependency injection, and WebSockets. As you advance, you'll discover how to use Entity Framework Core 3 to automate all database-related activities for your application. You will then build and document secure web APIs using security best practices to protect your web applications from threats and vulnerabilities. Finally, you will learn how to use Azure DevOps as a CI/CD tool to deploy and monitor your applications using Microsoft Azure, Amazon Web Services (AWS), and Docker. By the end of this book, you'll have the skills you need to develop efficient and robust web applications in ASP.NET Core 3. What you will learn Delve into basic and advanced ASP.NET Core 3 concepts with the help of examples Build an MVC web application and use Entity Framework Core 3 to access data Add web APIs to your web applications using RPC, REST, and HATEOAS Create a fully automated continuous integration and continuous delivery (CI/CD) pipeline using Azure DevOps Use Azure, Amazon Web Services, and Docker to deploy and monitor your applications Secure your web application from common attacks such as Cross-Site Scripting and SQL injection Explore client-side development using C# Razor components Who this book is for This book is for developers who want to build modern web applications with ASP.NET Core. The book will also be helpful for anyone working in infrastructure engineering and operations to monitor and diagnose problems during the runtime of ASP.NET Core 3.0 web applications. Although no prior understanding of ASP.NET or .NET Core is required, basic C# programming knowledge is assumed.




Pro .NET Memory Management


Book Description

Understand .NET memory management internal workings, pitfalls, and techniques in order to effectively avoid a wide range of performance and scalability problems in your software. Despite automatic memory management in .NET, there are many advantages to be found in understanding how .NET memory works and how you can best write software that interacts with it efficiently and effectively. Pro .NET Memory Management is your comprehensive guide to writing better software by understanding and working with memory management in .NET. Thoroughly vetted by the .NET Team at Microsoft, this book contains 25 valuable troubleshooting scenarios designed to help diagnose challenging memory problems. Readers will also benefit from a multitude of .NET memory management “rules” to live by that introduce methods for writing memory-aware code and the means for avoiding common, destructive pitfalls. What You'll LearnUnderstand the theoretical underpinnings of automatic memory management Take a deep dive into every aspect of .NET memory management, including detailed coverage of garbage collection (GC) implementation, that would otherwise take years of experience to acquire Get practical advice on how this knowledge can be applied in real-world software development Use practical knowledge of tools related to .NET memory management to diagnose various memory-related issuesExplore various aspects of advanced memory management, including use of Span and Memory types Who This Book Is For .NET developers, solution architects, and performance engineers