下载  >  开发技术  >  C#  > Packt.Mastering.Csharp.and.NET.Programming

Packt.Mastering.Csharp.and.NET.Programming 评分:

Packt.Mastering.Csharp.and.NET.Programming
Table of contents Mastering C# and. NET Framework Credits about the author Acknowledgements about the reviewer www.Packtpub.com e books. discount offers and more Why subscribe Preface What this book covers What you need for this book Who this book is for onventions Reader feedback Customer support Downloading the example code Errata rac Questions 1. Inside the clr An annotated reminder of some important computing terms Context The os multitask execution model Context types Thread satety State Program state Serialization Process orea SysInternals Static versus dynamic memory Garbage collector Concurrent computing Parallel computing Imperative programming Declarative programmi. The evolution of net net as a reaction to the java world The open source movement and.NET Core Common language runtime Common Intermediate Language Managed execution Components and languages Structure of an assembly file Program execution Metadata Introducing metadata with a basic hello world PreJIT, JIT, econoJIT, and RyuJIT Common Type System Naming conventions, rules, and type access modes Members of a type A quick tip on the execution and memory anal ysis of an assembly in Visual Studio 2015 The stack and the heap Garbage collection Implementing algorithms with the CLr Data structures, algorithms, and complexity Big o Notation An approach to performance in the most common sorting algorithms Relevant features appearing in versions 4.5x, 4.6, and. NET Core 1.0 and 1.1 NET 45x NET 4.6(aligned with Visual Studio 2015) NET Core 1.0 NET Core 1.1 Summary 2. Core Concepts of c and. NET C#-what's different in the language? Languages: strongly typed, weakly typed, dynamic, and static The main differences The true reason for delegates The evolution in versions 2.0 and 3.0 Generics Creating custom generic types and methods Lambda expressions and anonymous types ambda expressions It's all about signatures The lino syntax LINQ Syntax is based on the SQL language Deferred execution Joining and grouping collections Type projections Extension methods Summary 3. Advanced Concepts of C# and. NET C#t 4 and net framework 4.0 Covariance and contravariance Covariance in interfaces Covariance in generic types Covariance in LINQ Contravariance Tuples: a remembrance Tuples: implementation in C# Tuples: support for structural equality Tuples versus anonymous types Lazy initialization and instantiation Dynamic programming Dynamic typing The expandoobject object Optional and named parameters The Task object and asynchronous calls C#5.0: async/await declarations What's new in c#t 6.0 String interpolation Exception filters The nameof operator The null-conditional operator Auto- property initializers Static using declarations Expression bodied methods ndex initializers What's new in c# 7.0 Binary literals and digit separators Pattern matching and switch statements pies Decomposition Local functions Ref return values Summary 4. Comparing Approaches for Programming Functional languages F# 4 and. net Framework The inevitable hello world demo dentifiers and scope Lists Function declarations The pipeline operator Pattern matching Classes and types Casting The Type Script language The new Javascript Type Script: a superset of JavaScript So, what exactly is Type Script? Main features and coalitions Installing the tools Transpiling to different versions Advantages in the ide A note on Type Script's object-oriented syntax More details and functionality Summary 5. Reflection and Dynamic Programming Reflection in the. net Framework Calling external assemblies Generic Reflection Emitting code at runtime The System. Codedom namespace The reflection Emit namespace Interoperability Primary Interop assemblies Formatting cells Inserting multimedia in a sheet Interop with Microsoft Word Office apps The Office app default project architectural differences Summary 6. SQL Database Programming The relational model Properties of relational tables The tools-SQL Server 2014 The SQL language SOL Server from Visual Studio Data access in visual studio net data access Using ado. net basic objects Configuring the user interface The Entity Framework data model Summary 7. NOSQL Database Programming a brief historical context he Nosol world Architectural changes with respect to RDBMS Querying multiple queries The problem of nonnormalized data Data nesting About CRUd operations MongoDB on Windows File structure and default configuration Some useful commands Operators Altering data-the rest of crud operations Text indexes Mongodb from visual studio First demo: a simple query from visual Studio CRUD operations Deletion assertion Modifications and replacements Summary 8. Open Source Programming Historical open source movements Other projects and initiatives Open source code for the programmer Other languages The Roslyn project Differences from traditional compilers Getting started with roslyn A first look at Microsoft Code Analysis Services Code Analyzers An entire open source sample for you to check: Scriptcs a basic project using microsoft Code analysis The first approach to code refactoring Debugging and testing the demo Type Script Debugging Type Script Debugging Type script with Chrome Interfaces and strong typing Implementing namespaces Declarations, scope, and Intellisense Scope and encapsulation Classes and class inheritance functions Arrays and interfaces More Typescript in action The dom connection Summary 9. Architecture The election of an architecture The microsoft platform A universal platform The MsF application model The Team model The goⅴ ernance mode The risk model Risk evaluation Risk assessment Risk action plans caSe tools The role of visio A first example Th ne database design Creating the demo application in Visual Studio Website design Reports Many other options BPMN 2.0( Business Process Model and Notation UML Standard support Visual Studio architecture, testing, and analysis tools Applications architecture using Visual Studio Class diagrams Testing Testing our application in Visual Studio The Analyze menu The end of the life cycle-publishing the solution Summary 10. Design Patterns The origins The solid principles Single Responsibility principle An example Open/ Closed principle Back to our sample Liskov Substitution principle Back to the code again Other implementations of LSP in. NET (Generics nterface Segregation principle Dependency Inversion principle A final version of the sample Design patterns Singleton The Factory pattern The Adapter pattern The facade pattern The decorator pattern The Command pattern An example already implemented in. NET The Observer pattern The strategy pattern Other software patterns Other patterns Summary L. Securi The owasp initiative The OwAsP Top 10 Al-injection SQLinjection Prevention The case for Nosql databases A2- Broken Authentication and Session Management he causes Prevention net coding for a2 Desktop applications Web applications A3-Cross-Site Scripting(Xss) Prevention A4-Insecure Direct Object References Prevention A5- Security Misconfiguration Possible examples of attacks Prevention- aspects to consider Prevention -measures A6- Sensitive Data Exposure A7- Missing Function-level Access Control Prevention A8- Cross-Site Request Forgery Prevention A9-Using components with known vulnerabilities A10-Invalidated redirects and forwards Summary 12. Performance Application Performance Engineering e tooIs Advanced options in Visual Studio 2015 Advanced options in the diagnostic Tools menu Other tools The process of performance tuning Performance counters Bottleneck detection Bottleneck detection in practice Using code to evaluate performance Optimizing web applications IIs optimization ASP. NET optimization General and configuration Caching Data access Load balancing Client side Summary 13. Advanced Topics The Windows messaging subsystem The msg structure Sub-classing techniques Some useful tools Platform/Invoke: calling the OS from. NET The process of platform invocation Windows Management Instrumentation CIM Searchable tables Parallel programming Difference between multithreading and parallel programming Parallel lino Dealing with other issues Canceling execution The parallel class The parallel foreach version Task parallel Communication between threads NET Core 1.0 The list of supported environments Core fX Core clr Core rt Core c Installation of net core The cli interface ASP NET Core 1.0 What's new A first approach

...展开详情
2016-12-19 上传 大小:18.41MB
举报 收藏
分享
Packt.Mastering.Apache.Flink

Packt.Mastering.Apache.Flink, flink的简介,flink的初步入门

立即下载
Packt.Java.9.High.Performance.2017.11.epub

Packt.Java.9.High.Performance.2017.11.epub Packt.Java.9.High.Performance.2017.11.epub

立即下载
Packt.Neural.Network.Programming.with.Tensorflow

Manpreet Singh Ghotra, Rajdeep Dua著基于tensorflow框架深度学习编程书籍,Packt出品易读易学习。

立即下载
Packt.Building.RESTful.Web.Services.with.NET.Core

Packt.Building.RESTful.Web.Services.with.NET.Core

立即下载
Packt.Docker.Quick.Start.Guide.1789347327.rar

<Docker Quick.Start Guide> 英文电子书,epub格式。

立即下载
Packt.Mobile.Test.Automation.with.Appium.pdf【重排完整版】

2018年最新的国外英文原版关于Appium的图文实用说明,经过本人的尽心整理,稍微调整了排版使得和书签使得阅读起来更方便。

立即下载
Packt.Mastering.Hadoop.2014

Packt.Mastering.Hadoop.2014

立即下载
Packt.Mastering.Qt.5

Packt.Mastering.Qt.5

立即下载
Packt.Mastering.Bootstrap.4.2016

Packt.Mastering.Bootstrap.4.2016 Packt.Mastering.Bootstrap.4.2016

立即下载
Packt.Mastering.Python.Networking.2017

Packt.Mastering.Python.Networking.2017

立即下载
Packt.Mastering.Android.Studio.3.2017

Packt.Mastering.Android.Studio.3.2017 Packt.Mastering.Android.Studio.3.2017 Packt.Mastering.Android.Studio.3.2017

立即下载
Packt.Mastering.Internet.of.Things.2018

Packt.Mastering.Internet.of.Things.2018 Packt.Mastering.Internet.of.Things.2018

立即下载
Packt.Mastering.Linux.Kernel.Development.2017

Packt.Mastering.Linux.Kernel.Development.2017 Packt.Mastering.Linux.Kernel.Development.2017

立即下载
Packt.Mastering.Xamarin.UI.Development.2017

Packt.Mastering.Xamarin.UI.Development.2017

立即下载
Packt.Mastering.iOS.10.Programming.2016

Packt.Mastering.iOS.10.Programming.2016

立即下载
Packt.Mastering.Csharp.and.NET.Programming

Packt.Mastering.Csharp.and.NET.Programming

立即下载
Packt.Mastering.Swift.3.Linux.2017

Packt.Mastering.Swift.3.Linux.2017

立即下载
Packt.Mastering.Kali.Linux.for.Advanced.Penetration.Testing.

Packt.Mastering.Kali.Linux.for.Advanced.Penetration.Testing.2nd.Edition

立即下载
Packt.Mastering.ASP.NET.Web.API.2017

Packt.Mastering.ASP.NET.Web.API.2017

立即下载
Packt.Mastering.Android.Development.with.Kotlin.2017

Packt.Mastering.Android.Development.with.Kotlin.2017

立即下载