Mastering C# and .NET Framework

Marino Posadas

  • 出版商: Packt Publishing
  • 出版日期: 2016-12-16
  • 售價: $1,830
  • 貴賓價: 9.5$1,739
  • 語言: 英文
  • 頁數: 646
  • 裝訂: Paperback
  • ISBN: 1785884379
  • ISBN-13: 9781785884375
  • 相關分類: .NETC#
  • 下單後立即進貨 (約3~4週)

商品描述

Deep dive into C# and .NET architecture to build efficient, powerful applications

About This Book

  • Uniquely structured content to help you understand what goes on under the hood of .NET’s managed code platform to master .NET programming
  • Deep dive into C# programming and how the code executes via the CLR
  • Packed with hands-on practical examples, you’ll understand how to write applications to make full use of the new features of .NET 4.6, .NET Core and C# 6/7

Who This Book Is For

This book was written exclusively for .NET developers. If you’ve been creating C# applications for your clients, at work or at home, this book will help you develop the skills you need to create modern, powerful, and efficient applications in C#.

No knowledge of C# 6/7 or .NET 4.6 is needed to follow along—all the latest features are included to help you start writing cross-platform applications immediately. You will need to be familiar with Visual Studio, though all the new features in Visual Studio 2015 will also be covered.

What You Will Learn

  • Understand C# core concepts in depth, from sorting algorithms to the Big O notation
  • Get up to speed with the latest changes in C# 6/7
  • Interface SQL Server and NoSQL databases with .NET
  • Apprehend SOLID principles and the most relevant GoF Patterns with practical examples in C# 6.0
  • Defend C# applications against attacks
  • Use Roslyn, a self-hosted framework to compile and advanced edition in both C# and Visual basic .NET languages
  • Discern LINQ and associated Lambda expressions, generics, and delegates
  • Design a .NET application from the ground up
  • Understand the internals of a .NET assembly
  • Grasp some useful advanced features in optimization and parallelism

In Detail

Mastering C# and .NET Framework will take you in to the depths of C# 6.0/7.0 and .NET 4.6, so you can understand how the platform works when it runs your code, and how you can use this knowledge to write efficient applications. Take full advantage of the new revolution in .NET development, including open source status and cross-platform capability, and get to grips with the architectural changes of CoreCLR.

Start with how the CLR executes code, and discover the niche and advanced aspects of C# programming – from delegates and generics, through to asynchronous programming. Run through new forms of type declarations and assignments, source code callers, static using syntax, auto-property initializers, dictionary initializers, null conditional operators, and many others. Then unlock the true potential of the .NET platform. Learn how to write OWASP-compliant applications, how to properly implement design patterns in C#, and how to follow the general SOLID principles and its implementations in C# code.

We finish by focusing on tips and tricks that you'll need to get the most from C# and .NET.

This book also covers .NET Core 1.1 concepts as per the latest RTM release in the last chapter.

Style and approach

This book uses hands-on practical code examples that will take you into the depths of C# and .NET. Packed with hands-on practical examples, it is great as a tutorial, or as a reference guide.

商品描述(中文翻譯)

深入探索C#和.NET架構,以建立高效且強大的應用程式

關於本書
獨特結構的內容,幫助您了解.NET托管程式碼平台的內部運作,以精通.NET程式設計
深入研究C#程式設計以及代碼如何通過CLR執行
充滿實際的實例,您將了解如何撰寫應用程式,充分利用.NET 4.6、.NET Core和C# 6/7的新功能

本書適合對象
本書專為.NET開發人員撰寫。如果您一直在為客戶、工作或家庭創建C#應用程式,本書將幫助您開發所需的技能,以在C#中創建現代、強大且高效的應用程式。

無需了解C# 6/7或.NET 4.6,即可跟隨本書的內容 - 所有最新功能都包含在內,以幫助您立即開始撰寫跨平台應用程式。但您需要熟悉Visual Studio,本書也將介紹Visual Studio 2015的所有新功能。

您將學到什麼
深入了解C#的核心概念,從排序算法到大O符號
熟悉C# 6/7的最新變化
使用.NET介面SQL Server和NoSQL數據庫
理解SOLID原則和C# 6.0中最相關的GoF模式,並通過實例進行實踐
保護C#應用程式免受攻擊
使用Roslyn,一個自主托管的框架,編譯和高級編輯C#和Visual Basic .NET語言
了解LINQ和相關的Lambda表達式、泛型和委派
從頭開始設計.NET應用程式
了解.NET組件的內部運作
掌握一些有用的優化和並行處理的高級功能

詳細內容
精通C#和.NET Framework將帶您深入瞭解C# 6.0/7.0和.NET 4.6,以便您了解平台在執行代碼時的運作方式,並將此知識應用於撰寫高效的應用程式。充分利用.NET開發的新革命,包括開放源碼狀態和跨平台能力,並瞭解CoreCLR的架構變化。

從CLR執行代碼開始,探索C#程式設計的專業和高級方面 - 從委派和泛型到異步程式設計。瀏覽新型態聲明和賦值、源代碼呼叫者、靜態使用語法、自動屬性初始化器、字典初始化器、空條件運算符等。然後發揮.NET平台的真正潛力。學習如何撰寫符合OWASP標準的應用程式,如何正確實現C#中的設計模式,以及如何遵循一般的SOLID原則及其在C#代碼中的實現。

最後,專注於您需要從C#和.NET中獲得的技巧和訣竅。

本書還涵蓋了.NET Core 1.1的概念,根據最新的RTM版本在最後一章中介紹。

風格和方法
本書使用實際的代碼示例,帶您深入瞭解C#和.NET。充滿實際的實例,非常適合作為教程或參考指南。