Skip to main content

Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

ISBN: 978-1-118-83298-1

Feb 2014

1560 pages

$38.99

Description

Comprehensive, advanced coverage of C# 5.0 and .NET 4.5.1

Whether you're a C# guru or transitioning from C/C++, staying up to date is critical to your success. Professional C# 5.0 and .NET 4.5.1 is your go-to guide for navigating the programming environment for the Windows platform. After a quick refresher of the C# basics, the team of expert authors dives in to C# 5.0 and updates for NET 4.5.1. Includes:

  • Different behaviors for .NET 4.5.1 and the changes to Visual Studio 2013
  • Changes to ASP.NET Core, Web Forms, MVC, and Web API
  • Updated Windows 8 deployments and localization, event logs, and data flow
  • Shuffling of ADO.NET Entity Framework
  • Additions to Windows Workflow Foundation
  • New Windows Runtime 2.0 updates

Related Resources

Instructor

Request an Evaluation Copy for this title

Introduction xxiii

Part I: The C# Language

Chapter 1: .NET Architecture 3

Chapter 2: Core C# 23

Chapter 3: Objects and Types 65

Chapter 4: Inheritance 89

Chapter 5: Generics 107

Chapter 6: Arrays and Tuples 129

Chapter 7: Operators and Casts 151

Chapter 8: Delegates, Lambdas, and Events 183

Chapter 9: Strings and Regular Expressions 209

Chapter 10: Collections 229

Chapter 11: Language Integrated Query 279

Chapter 12: Dynamic Language Extensions 313

Chapter 13: Asynchronous Programming 325

Chapter 14: Memory Management and Pointers 347

Chapter 15: Reflection 373

Chapter 16: Errors and Exceptions 391

Chapter 17: Visual Studio 2013 415

Chapter 18: Deployment 469

Chapter 19: Assemblies 489

Chapter 20: Diagnostics 521

Chapter 21: Tasks, Threads, and Synchronization 555

Chapter 22: Security 605

Chapter 23: Interop 631

Chapter 24: Manipulating Files and the Registry 665

Chapter 25: Transactions 709

Chapter 26: Networking 741

Chapter 27: Windows Services 773

Chapter 28: Localization 805

Chapter 29: Core XAM L 847

Chapter 30: Managed Extensibility Framework 865

Chapter 31: Windows Runtime 895

Chapter 32: Core ADO .NET 919

Chapter 33: ADO .NET Entity Framework 965

Chapter 34: Manipulating XM L 997

Chapter 35: Core WPF 1051

Chapter 36: Business Applications with WPF 1103

Chapter 37: Creating Documents with WPF 1155

Chapter 38: Windows Store App s: User Interface 1177

Chapter 39: Windows Store App s: Contracts and

Chapter 40: Core AS P.NET 1223

Chapter 41: AS P.NET Web Forms 1253

Chapter 42: AS P.NET MV C 1297

Chapter 43: Windows Communication Foundation 1339

Chapter 44: AS P.NET Web API 1381

Chapter 45: Windows Workflow Foundation 1407

Chapter 46: Peer-to-Peer Networking 1433

Chapter 47: Message Queuing 1447

Index 1479

Read Me text
Download
Chapter 2 Code
Download
Chapter 3 Code
Download
Chapter 4 Code
Download
Chapter 5 Code
Download
Chapter 6 Code
Download
Chapter 7 Code
Download
Chapter 8 Code
Download
Chapter 9 Code
Download
Chapter 10 Code
Download
Chapter 11 Code
Download
Chapter 12 Code
Download
Chapter 13 Code
Download
Chapter 14 Code
Download
Chapter 15 Code
Download
Chapter 16 Code
Download
Chapter 18 Code
Download
Chapter 19 Code
Download
Chapter 20 Code
Download
Chapter 21 Code
Download
Chapter 22 Code
Download
Chapter 23 Code
Download
Chapter 24 Code
Download
Chapter 25 Code
Download
Chapter 26 Code
Download
Chapter 27 Code
Download
Chapter 28 Code
Download
Chapter 29 Code
Download
Chapter 30 Code
Download
Chapter 31 Code
Download
Chapter 32 Code
Download
Chapter 33 Code
Download
Chapter 34 Code
Download
Chapter 35 Code
Download
Chapter 36 Code
Download
Chapter 37 Code
Download
Chapter 38 Code
Download
Chapter 39 Code
Download
Chapter 40 Code
Download
Chapter 41 Code
Download
Chapter 42 Code
Download
Chapter 43 Code
Download
Chapter 44 Code
Download
Chapter 45 Code
Download
Chapter 46 Code
Download
Chapter 47 Code
Download
Figure Correction (Figure 9-1)
Posted 5.1.15
Download
ChapterPageDetailsDatePrint Run
26Text Correction: Error in Code,Currently is:
Next, you declare a class called MyFirstClass.
Should be:
Next, you declare a class called MyFirstCSharpClass.
04/02/15
74Text Correction,Currently Reads:
The declaration private int Age; is not needed.
Should Read:
The declaration private int age; is not needed.
10/02/14
91Text Correction,Currently Reads:
Private inheritance is very rarely in C++ anyway .
Should Read:
Private inheritance is very rarely used in C++ anyway .
10/02/14
6146Error in Text,(last sentence before code in Tuples section)
Currently Reads:
The newly created tuple is initialized with the result and reminder variable to return the result of the division (code file TupleSamle/Program.cs):
Should Read:
The newly created tuple is initialized with the result and remainder variable to return the result of the division (code file TupleSamle/Program.cs):
30 June 2015
6146Error in Code,( Tuples section first section of code)
Currently reads:
int result = dividend/divisor;
int reminder = dividend%divisor;
Should read:
int result = dividend/divisor;
int remainder = dividend%divisor;
30 June 2015
6146Error in Code,( Tuples section second section of code)
Currently Reads:
var result = Divide(5,2);
Console.WriteLine( result of division: {0}, reminder: {1} ,
Result.Item1,result.Item2);
Should Read:
var result = Divide(5,2);
Console.WriteLine( result of division: {0}, remainder: {1} ,
Result.Item1,result.Item2);
30 June 2015
9213Figure correction,Figure 9-1 is incorrect. The correct figure is available on the book�s code download page. 5/1/15
8206Error in Code,Currently is:
protected override void StopListening(object source)
{
(source as CarDealer).NewCarInfo = CarDealer_NewCarInfo;
}
Should be:
protected override void StopListening(object source)
{
(source as CarDealer).NewCarInfo -= CarDealer_NewCarInfo;
}
5 Oct 2015
492Text Correction,Page 492, note section
Currently reads: �If you you will be using��
Should read: �If you will be using��
05/01/15
591Text Correction: Error in Code,2nd code block
Currently reads:
int index = WaitHandle.WaitAny(mEvents);
Should read:
int index = WaitHandle.WaitAny(waitHandles);
05/01/15
21592Error in Code,(Page 592 code near bottom of the page)
Currently reads:
calcs[i] = new Calculator(cEvent);
taskFactory.StartNew(calcs[i].Calculation,
                                               Tuple.Create(i + 1, i + 3);
Should Read:
int i1 = i;
cals[i] = new Calculator(cEvent);
Task.Run(() => calcs[i1].Calculation(i1 + 1, i1 + 3);
13 July 2015
57-58Error in Text,The table on this page should not have the first row shaded on page 57 or shaded and repeated on page 58. It is not a header row but a standard row of items. 06 Nov 2015
61-62Error in Text,The table on this page should not have the first row shaded on page 61 or shaded and repeated on page 62. It is not a hea