Skip to main content

Instructor-led training

Advanced .NET Framework Programming Using C# Training in Hudson, Ohio

This hands-on course examines how to utilize advanced features of C# and the .NET Framework in order to build sophisticated, scalable, high-performing applications.

What you'll learn

This hands-on course examines how to utilize advanced features of C# and the .NET Framework in order to build sophisticated, scalable, high-performing applications. The course includes coverage of features available in .NET 2.0 through .NET 4.5.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Hudson, Ohio or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

Prerequisites

C# Programming Experience

Course Outline

 
Working with Types
Common Type System
Value vs. Reference Types
Using Nullable Types
Using Inferred Types
Working with Dynamic Data
 
Object-Oriented Programming
Defining and Using Classes
Understanding Partial Classes
Using Inheritance
Abstract Classes vs Sealed Classes
Understanding System.Object Methods
Understanding .NET Interfaces
Working with Interfaces
 
Working with Text
Using Strings and StringBuilder
Measuring Performance Using Stopwatch
Working with Data from Other Cultures
Using Pattern Matching and Regular Expressions
 
Collections and Generics
Understanding .NET Collections
Ordered vs. Unordered Collections
Managing Data with .NET Collections
Defining Generic Methods
Building and Using Generic Classes
Defining Extension Methods
 
Working with Delegates
Understanding Delegates
Single-cast vs. Multi-cast Delegates
Defining and Using Delegates
Working with Synchronous and Asynchronous Delegates
Understanding the Relationship Between Delegates and Events
Defining and Raising Custom Events
Handling Custom Events
 
Managing Data with ADO.NET
ADO.NET Object Model
Connected vs. Disconnected Access
Working with Data in Databases
Calling Stored Procedures
Working with Transactions
Managing Connection Pooling
Using the ADO.NET Provider Factory
Working with Untyped DataSets
Working with Typed DataSets
Managing DataViews
 
Working with XML Data
Understanding XML and XML Schemas
Using XML with DataSets
Using XmlReader and XmlWriter
Manipulating XML Data Using XmlDocument
Querying XML Data Using XPath
Working with XPathDocument
 
Working with LINQ
Understanding LINQ
Building LINQ Queries
LINQ and Extension Methods
Defining Data Layers Using LINQ
Using LINQ to Objects
Using LINQ to SQL
Using LINQ to DataSets
Using LINQ to XML
 
Working with Threads
Overview of Threading
Creating Threads
Passing Data to Threads
Returning Data from Threads
Managing Threads
Problems with Threads
Synchronizing Threads
Debugging Threads
Using Async and Await
 
Working with the ThreadPool
Understanding Thread Pooling
Managing the ThreadPool
Creating Threads Using the ThreadPool Class
Working with the Task Class
Managing Tasks
Working with the Parallel Task Library
Overview of Parallel Programming
Using the Parallel Class
Making PLINQ Queries
Using Concurrent Collections
 
Assemblies
Understanding .NET Assemblies
Private vs. Shared Assemblies
Where is the Global Assembly Cache (GAC)?
Building and Using Private Assemblies
Defining Strong Names
Building, Installing and Using Shared Assemblies
Configuring Assemblies
Targeting Multiple Versions of .NET
 
Working with Attributes
Understanding Attributes
Using .NET Attributes
Designing Custom Attributes
Using Custom Attributes
 
Using Reflection
Understanding Reflection
Extracting Type Information
Using Reflection for Late Binding
 
Windows Communication Foundation (WCF)
Understanding WCF
Defining Service and Data Contracts
Building a Service
Hosting a Service
Managing Endpoints
Exposing Metadata
Calling a WCF Service

Where the difficulty lies

Participants already write C#. The harder part is the set of mechanisms the syllabus covers, which interact in ways that are easy to get wrong. The topics build in this order:

  • Types and abstractions. Value versus reference types, nullable and inferred types, dynamic data, abstract versus sealed classes and the System.Object methods set up the later modules. Generics, extension methods and interfaces rely on them.
  • Delegates, events and LINQ. Delegates lead to events, then to LINQ queries built on extension methods. A common misconception is that a LINQ query runs where it is written. Queries are usually deferred, so when and how often they execute depends on how they are consumed. The syllabus runs the same idea across LINQ to Objects, SQL, DataSets and XML.
  • Data access. ADO.NET covers connected versus disconnected access, transactions, connection pooling, the provider factory, and untyped and typed DataSets. XML work (XmlReader/XmlWriter, XmlDocument, XPath) follows. Mistakes here show up as leaked connections or inconsistent data.
  • Concurrency. Threads, synchronization and debugging come first, then the ThreadPool, the Task class, the Parallel class, PLINQ, concurrent collections, and async and await. Developers often treat async as a way to make code faster. In fact it changes how a method is scheduled and resumed. Blocking on async work and sharing state without synchronization are the usual failures.
  • Deployment and metadata. Private versus shared assemblies, strong names, the GAC, attributes and reflection explain how code is located, versioned and inspected at runtime. They are also how late binding works.
  • WCF. The closing module (service and data contracts, hosting, endpoints, metadata) draws on attributes, assemblies and configuration from earlier modules.

Who it suits and what to take around it

The course is advanced and lists C# programming experience as its prerequisite. It suits developers who can already write classes and loops and now need to build, maintain or support larger applications. The description covers features from .NET 2.0 through .NET 4.5. That makes it a fit for organizations that maintain or migrate existing applications on those releases. Per the vendor's lifecycle information, .NET Framework 4.0, 4.5 and 4.5.1 and earlier 4.x releases are out of support.

If your team's C# experience is thin, C# Essentials is a sensible first step, because this course moves quickly past syntax into generics, delegates and threading. For the runtime fundamentals this course builds on, such as assemblies and the common language runtime, see .NET Framework Using C#.

Organizations working with newer .NET releases can ask about private training tailored to the versions they use. Request a training proposal to discuss it.

Illustrative scenarios

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

  • Maintaining a data-heavy internal application. A team might inherit code that uses typed DataSets and hand-written transactions. Connected versus disconnected access, connection pooling, stored procedure calls and the provider factory help them see where connections are held and where a transaction boundary belongs.
  • Speeding up a batch job. A team might have a nightly job that processes records one at a time. The Parallel class, PLINQ, tasks and concurrent collections are candidate tools. Stopwatch measurement and thread synchronization topics help them check whether the change actually pays off and stays correct.
  • Building an extensible component library. A team might want plug-in behavior driven by custom attributes and discovered through reflection. Strong-named shared assemblies and assembly configuration then determine how those components are versioned and deployed.

AI coding assistants with these topics

AI coding assistants are quick at drafting LINQ queries, ADO.NET boilerplate, generic helper methods and unit tests. They are weaker where behavior depends on runtime details:

  • Async and threading. Generated code may block on async calls, ignore cancellation, swallow exceptions or share mutable state without locking. It can look correct and still deadlock or race under load.
  • Deferred execution. A query may be re-evaluated on every enumeration, or run after its data source has been disposed.
  • Version fit. Suggestions may use language features or APIs that do not exist in the framework version you target, such as anything from newer .NET releases, or may mix LINQ to SQL and other data-access styles.
  • Resources and configuration. Connection and reader cleanup, transaction scope, and WCF endpoint and assembly binding settings are often incomplete or wrong.

To verify, compile against the exact target framework. Run concurrent code repeatedly under load, and use Stopwatch measurements rather than assumptions about speed. Inspect the SQL that LINQ queries produce, and confirm that connections and other disposable objects are closed. The syllabus topics on debugging threads and measuring performance give you the vocabulary for these checks.

Frequently asked questions

What level is this course, and what should I know beforehand?

It is an advanced, 4-day course. The listed prerequisite is C# programming experience. You should be comfortable writing classes and methods in C#.

What does the course cover?

Types and object-oriented features, strings and regular expressions, collections and generics, delegates and events, ADO.NET, XML, LINQ, threading, the ThreadPool, tasks and the Parallel library, assemblies, attributes, reflection, and WCF basics.

Which .NET versions does it address?

The description covers features from .NET 2.0 through .NET 4.5. The vendor lists .NET Framework 4.0, 4.5, 4.5.1 and earlier 4.x releases as out of support. The course serves teams that maintain, support or migrate existing applications on those versions.

Can the course be delivered privately, onsite or online?

Yes. HSG delivers private training for organizations at the client's location or live online.

Can the content be customized?

Private training can be tailored to the technology versions and topics an organization uses, including newer releases. Use the training proposal request to describe your needs.

Training locations

Advanced .NET Framework Programming Using C# training across the U.S. and beyond.

We provide private Advanced .NET Framework Programming Using C# training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Advanced .NET Framework Programming Using C# training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.