• Complain

Andrew Troelsen - C# 6.0 and the .NET 4.6 Framework

Here you can read online Andrew Troelsen - C# 6.0 and the .NET 4.6 Framework full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2015, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Andrew Troelsen C# 6.0 and the .NET 4.6 Framework

C# 6.0 and the .NET 4.6 Framework: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "C# 6.0 and the .NET 4.6 Framework" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

This new 7th edition of Pro C# 6.0 and the .NET 4.6 Platform has been completely revised and rewritten to reflect the latest changes to the C# language specification and new advances in the .NET Framework. Youll find new chapters covering all the important new features that make .NET 4.6 the most comprehensive release yet, including:

  • A Refined ADO.NET Entity Framework Programming Model
  • Numerous IDE and MVVM Enhancements for WPF Desktop Development
  • Numerous updates to the ASP.NET Web APIs

This comes on top of award winning coverage of core C# features, both old and new, that have made the previous editions of this book so popular. Readers will gain a solid foundation of object-oriented development techniques, attributes and reflection, generics and collections as well as numerous advanced topics not found in other texts (such as CIL opcodes and emitting dynamic assemblies).

The mission of this book is to provide you with a comprehensive foundation in the C# programming language and the core aspects of the .NET platform plus overviews of technologies built on top of C# and .NET (ADO.NET and Entity Framework, Windows Communication Foundation (WCF), Windows Presentation Foundation (WPF), ASP.NET (WebForms, MVC, WebAPI).). Once you digest the information presented in these chapters, youll be in a perfect position to apply this knowledge to your specific programming assignments, and youll be well equipped to explore the .NET universe on your own terms.

What You Will Learn:

  • Be the first to understand the .NET 4.6 platform and C# 6.
  • Discover the ins and outs of the leading .NET technology.
  • Learn from an award-winning author who has been teaching the .NET world since version 1.0.
  • Find complete coverage of XAML, .NET 4.6 and Visual Studio 2015 together with discussion of the new Windows Runtime.

Andrew Troelsen: author's other books


Who wrote C# 6.0 and the .NET 4.6 Framework? Find out the surname, the name of the author of the book and a list of all author's works by series.

C# 6.0 and the .NET 4.6 Framework — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "C# 6.0 and the .NET 4.6 Framework" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Part I
Introducing C# and the .NET Platform
Andrew Troelsen and Philip Japikse 2015
Andrew Troelsen and Philip Japikse C# 6.0 and the .NET 4.6 Framework 10.1007/978-1-4842-1332-2_1
1. The Philosophy of .NET
Andrew Troelsen 1 and Philip Japikse 1
(1)
Minneapolis, USA
Electronic supplementary material
The online version of this chapter (doi: 10.1007/978-1-4842-1332-2_1 ) contains supplementary material, which is available to authorized users.
Microsofts .NET platform (and the related C# programming language) were formally introduced circa 2002 and have quickly become a mainstay of modern-day software development. As mentioned in the books introductory section, the goal of this text is twofold. The first order of business is to provide you with deep and detailed examination of the syntax and semantics of C#. The second (equally important) order of business is to illustrate the use of numerous .NET APIs, including database access with ADO.NET and the Entity Framework (EF), the LINQ technology set, WPF, WCF and web site development using ASP.NET. As they say, the journey of a thousand miles begins with a single step; and with this I welcome you to .
The point of this first chapter is to lay the conceptual groundwork for the remainder of the book. Here you will find a high-level discussion of a number of .NET-related topics such as assemblies, the Common Intermediate Language (CIL), and just-in-time (JIT) compilation. In addition to previewing some keywords of the C# programming language, you will also come to understand the relationship between various aspects of the .NET Framework, such as the Common Language Runtime (CLR), the Common Type System (CTS), and the Common Language Specification (CLS).
This chapter also provides you with a survey of the functionality supplied by the .NET base class libraries, sometimes abbreviated as BCLs. Here, you will also overview the language-agnostic and platform-independent nature of the .NET platform (yes, its true; .NET is not confined to the Windows operating system). As you would hope, many of these topics are explored in further detail throughout the remainder of this text.
An Initial Look at the .NET Platform
Before Microsoft released the C# language and .NET platform, software developers who created applications for the Windows family of operating system frequently made use of the COM programming model. COM (which stands for the Component Object Model) allowed individuals to build libraries of code that could be shared across diverse programming languages. For example, a C++ programmer could build a COM library that could be used by a Visual Basic developer. The language-independent nature of COM was certainly useful; however, COM was plagued by complicated infrastructure and a fragile deployment model and was possible only on the Windows operating system.
Despite the complexity and limitations of COM, countless applications have been successful created with this architecture. However, nowadays, a majority of applications created for the Windows family of operating systems are not created with the COM model. Rather, desktop applications, web sites, OS services, and libraries of reusable data access/business logic are created using the .NET platform.
Some Key Benefits of the .NET Platform
As mentioned, C# and the .NET platform were first introduced to the world in 2002 and were intended to offer a much more powerful, more flexible, and simpler programming model than COM. As you will see during the remainder of this book, the .NET Framework is a software platform for building systems on the Windows family of operating systems, as well as on numerous non-Microsoft operating systems such as Mac OS X and various Unix/Linux distributions. To set the stage, here is a quick rundown of some core features provided courtesy of .NET:
  • Interoperability with existing code : This is (of course) a good thing. Existing COM software can commingle (i.e., interop) with newer .NET software, and vice versa. As of .NET 4.0 onward, interoperability has been further simplified with the addition of the dynamic keyword (covered in ).
  • Support for numerous programming languages : .NET applications can be created using any number of programming languages (C#, Visual Basic, F#, and so on).
  • A common runtime engine shared by all .NET-aware languages : One aspect of this engine is a well-defined set of types that each .NET-aware language understands.
  • Language integration : .NET supports cross-language inheritance, cross-language exception handling, and cross-language debugging of code. For example, you can define a base class in C# and extend this type in Visual Basic.
  • A comprehensive base class library : This library provides thousands of predefined types that allow you to build code libraries, simple terminal applications, graphical desktop application, and enterprise-level web sites.
  • A simplified deployment model : Unlike COM, .NET libraries are not registered into the system registry. Furthermore, the .NET platform allows multiple versions of the same *.dll to exist in harmony on a single machine.
You will see each of these topics (and many more) examined in the chapters to come.
Introducing the Building Blocks of the .NET Platform (the CLR, CTS, and CLS)
Now that you know some of the major benefits provided by .NET, lets preview three key (and interrelated) topics that make it all possible: the CLR, CTS, and CLS. From a programmers point of view, .NET can be understood as a runtime environment and a comprehensive base class library. The runtime layer is properly referred to as the Common Language Runtime , or CLR . The primary role of the CLR is to locate, load, and manage .NET objects on your behalf. The CLR also takes care of a number of low-level details such as memory management, application hosting, coordinating threads, and performing basic security checks (among other low-level details).
Another building block of the .NET platform is the Common Type System , or CTS . The CTS specification fully describes all possible data types and all programming constructs supported by the runtime, specifies how these entities can interact with each other, and details how they are represented in the .NET metadata format (more information on metadata later in this chapter; see for complete details).
Understand that a given .NET-aware language might not support every feature defined by the CTS. The Common Language Specification , or CLS, is a related specification that defines a subset of common types and programming constructs that all .NET programming languages can agree on. Thus, if you build .NET types that expose only CLS-compliant features, you can rest assured that all .NET-aware languages can consume them. Conversely, if you make use of a data type or programming construct that is outside of the bounds of the CLS, you cannot guarantee that every .NET programming language can interact with your .NET code library. Thankfully, as you will see later in this chapter, it is simple to tell your C# compiler to check all of your code for CLS compliance.
The Role of the Base Class Libraries
In addition to the CLR, CTS, and CLS specifications, the .NET platform provides a base class library that is available to all .NET programming languages. Not only does this base class library encapsulate various primitives such as threads, file input/output (I/O), graphical rendering systems, and interaction with various external hardware devices, but it also provides support for a number of services required by most real-world applications.
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «C# 6.0 and the .NET 4.6 Framework»

Look at similar books to C# 6.0 and the .NET 4.6 Framework. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «C# 6.0 and the .NET 4.6 Framework»

Discussion, reviews of the book C# 6.0 and the .NET 4.6 Framework and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.