V.le P.A. Pirelli 6, Milano - academy@digi.it - 0269438264

Corsi Microsoft

Cerca un corso

Programming in C#

Codice corso: 20483C
Durata corso: 5gg

Introduzione

This training course teaches developers the programming skills that are required for developers to create Windows applications using the Visual C# language. During their five days in the classroom students review the basics of Visual C# program structure, language syntax, and implementation details, and then consolidate their knowledge throughout the week as they build an application that incorporates several features of the .NET Framework 4.7.

This course is intended for experienced developers who already have programming experience in C, C++, JavaScript, Objective-C, Microsoft Visual Basic, or Java and understand the concepts of object-oriented programming.

This course is not designed for students who are new to programming; it is targeted at professional developers with at least one month of experience programming in an object-oriented environment.

Obiettivi del corso

After completing this course, students will be able to:

Describe the core syntax and features of Visual C#.

Create methods, handle exceptions, and describe the monitoring requirements of large-scale applications.

Implement the basic structure and essential elements of a typical desktop application.

Create classes, define and implement interfaces, and create and use generic collections.

Use inheritance to create a class hierarchy and to extend a .NET Framework class.

Read and write data by using file input/output and streams, and serialize and deserialize data in different formats.

Create and use an entity data model for accessing a database and use LINQ to query data.

Access and query remote data by using the types in the System.Net namespace and WCF Data Services.

Build a graphical user interface by using XAML.

Improve the throughput and response time of applications by using tasks and asynchronous operations.

Integrate unmanaged libraries and dynamic components into a Visual C# application.

Examine the metadata of types by using reflection, create and use custom attributes, generate code at runtime, and manage assembly versions.

Encrypt and decrypt data by using symmetric and asymmetric encryption.

Prerequisiti

Developers attending this course should already have gained some limited experience using C# to complete basic programming tasks. More specifically, students should have hands-on experience using C# that demonstrates their understanding of the following:

 

How to name, declare, initialize and assign values to variables within an application.

How to use: arithmetic operators to perform arithmetic calculations involving one or more variables; relational operators to test the relationship between two variables or expressions; logical operators to combine expressions that contain relational operators.

How to create the code syntax for simple programming statements using C# language keywords and recognize syntax errors using the Visual Studio IDE.

How to create a simple branching structure using an IF statement.

How to create a simple looping structure using a For statement to iterate through a data array.

How to use the Visual Studio IDE to locate simple logic errors.

How to create a Function that accepts arguments (parameters and returns a value of a specified type.

How to design and build a simple user interface using standard controls from the Visual Studio toolbox.

How to connect to a SQL Server database and the basics of how to retrieve and store data.

How to sort data in a loop.

How to recognize the classes and methods used in a program.

Struttura del Corso

MODULE 1: Review of Visual C# Syntax

In this module, you will learn about some of the core features provided by the .NET Framework and Microsoft Visual Studio. You will also learn about some of the core Visual C# constructs that enable you to start developing .NET Framework applications.

Lessons

After completing this module, students will be able to:

Describe the architecture of .NET Framework applications and the features that Visual Studio 2017 and Visual C# provide

Use basic Visual C# Data Types, Operators, and Expressions

Use Standard Visual C# Constructs

Implementing Insert Functionality for the Students List

Implementing Delete Functionality for the Students List

Displaying a Student’s Age

Lab : Implementing Edit Functionality for the Students List

MODULE 2: Creating Methods, Handling Exceptions, and Monitoring Applications

In this module, you will learn how to create and use methods and how to handle exceptions. You will also learn how to use logging and tracing to record the details of any exceptions that occur.

Lessons

After completing this module, students will be able to:

Create and Invoke Methods

Create Overloaded Methods and use Optional Parameters

Handle Exceptions

Monitor applications by using logging, tracing, and profiling

Refactoring the Enrolment Code

Validating Student Information

Saving Changes to the Class List

Lab : Extending the Class Enrolment Application Functionality

MODULE 3: Basic types and constructs of Visual C#

In this module, you will learn how to create and use structs and enums, organize data into collections, and create and subscribe to events.

Lessons

After completing this module, students will be able to:

Create and use Structs and Enums

Use Collection Classes to organize data

Create and subscribe to Events

Adding Navigation Logic to the Grades Prototype Application

Creating Data Types to Store User and Grade Information

Displaying User and Grade Information

Lab : Writing the Code for the Grades Prototype Application

MODULE 4: Creating Classes and Implementing Type-Safe Collections

In this module, you will learn how to use interfaces and classes to define and create your own custom, reusable types. You will also learn how to create and use enumerable, type-safe collections of any type.

Lessons

After completing this module, you will be able to:

Create and instantiate classes.

Create and instantiate interfaces.

Use generics to create Type-Safe Collections

Implement the Teacher, Student, and Grade Structs as Classes

Add Data Validation to the Grade Class

Display Students in Name Order

Enable Teachers to Modify Class and Grade Data

Lab : Adding Data Validation and Type-Safety to the Application

MODULE 5: Creating a Class Hierarchy by Using Inheritance

In this module, you will learn how to use inheritance to create class hierarchies and to extend .NET Framework types.

Lessons

After completing this module, you will be able to:

Create base classes and derived classes by using inheritance

Create classes that inherit from .NET Framework classes

Refactoring Common Functionality into the User Class

Implementing Password Complexity by Using an Abstract Method

Creating the ClassFullException Custom Exception

Lab : Refactoring Common Functionality into the User Class

MODULE 6: Reading and Writing Local Data

In this module, you will learn how to read and write data by using transactional file system I/O operations, how to serialize and deserialize data to the file system, and how to read and write data to the file system by using streams.

Lessons

After completing this module, you will be able to:

Read and write data to and from the file system by using file I/O

Convert data into a format that can be written to or read from a file or other data source

Use streams to send and receive data to or from a file or data source

Serialize Data for the Grades Report as XML

Preview the Grades Report

Persist the Serialized Grade Data to a File

Lab : Generating the Grades Report

MODULE 7: Accessing a Database

In this module, you will learn how to create and use entity data models (EDMs) and how to query many types of data by using Language-Integrated Query (LINQ).

Lessons

After completing this module, you will be able to:

Create, use, and customize an Entity Data Models (EDM)

Query data by using LINQ

Create an Entity Data Model from The School of Fine Arts Database

Update Student and Grade Data by Using the Entity Framework

Extende the Entity Data Model to Validate Data

Lab : Retrieving and Modifying Grade Data

MODULE 8: Accessing Remote Data

In this module, you will learn how to use the request and response classes in the System.Net namespace to directly manipulate remote data sources. You will also learn how to use Windows Communication Foundation (WCF) Data Services to expose and consume an entity data model (EDM) over the web.

Lessons

After completing this module, you will be able to:

Access Data Across the Web

Access Data by Using OData Connected Services

Create a WCF Data Service for the SchoolGrades Database

Integrate the Data Service into the Application

Retriev Student Photographs Over the Web (If Time Permits)

Lab : Retrieving and Modifying Grade Data Remotely.

MODULE 9: Designing the User Interface for a Graphical Application

In this module, you will learn how to use Extensible Application Markup Language (XAML) and Windows Presentation Foundation (WPF) to create engaging UIs.

Lessons

After completing this module, you will be able to:

Use XAML to Design a User Interface (UI)

Bind a XAML Controls to Data

Apply styles to a XAML UI

Customize the Appearance of Student Photographs

Style Logon View

Animate the StudentPhoto Control (If Time Permits)

Lab : Customizing Student Photographs and Styling the Application

MODULE 10: Improving Application Performance and Responsiveness

In this module, you will learn how to improve the performance of your applications by distributing your operations across multiple threads.

Lessons

After completing this module, you will be able to:

Use the Task Parallel Library to implement Multitasking

Performing Operations Asynchronously

Synchronizing Concurrent Access to Data

Ensuring That the UI Remains Responsive When Retrieving Teacher Data

Providing Visual Feedback During Long-Running Operations

Lab : Improving the Responsiveness and Performance of the Application

MODULE 11: Integrating with Unmanaged Code

In this module, you will learn how to interoperate unmanaged code in your applications and how to ensure that your code releases any unmanaged resources.

Lessons

After completing this module, you will be able to:

Integrate unmanaged code into a Microsoft Visual C# application by using the Dynamic Language Runtime (DLR).

Control the Lifetime of unmanaged resources and ensure that your application releases resources

Generating the Grades Report by Using Word

Controlling the Lifetime of Word Objects by Implementing the Dispose Pattern

Lab : Upgrading the Grades Report

MODULE 12: Creating Reusable Types and Assemblies

In this module, you will learn how to consume existing assemblies by using reflection and how to add additional metadata to types and type members by using attributes. You will also learn how to generate code at run time by using the Code Document Object Model (CodeDOM) and how to ensure that your assemblies are signed and versioned, and available to other applications, by using the global assembly cache (GAC).

Lessons

After completing this module, you will be able to:

Use reflection to inspect and execute assemblies

Create and consume custom attributes

Generate managed code at run time by using CodeDOM

Version, sign, and deploy your assemblies to the GAC

Create and Applying the IncludeInReport attribute

Update the Report

Storing the Grades

Utilities Assembly Centrally (If Time Permits)

Lab : Specifying the Data to Include in the Grades Report

MODULE 13: Encrypting and Decrypting Data

In this module, you will learn how to implement symmetric and asymmetric encryption and how to use hashes to generate mathematical representations of your data. You will also learn how to create and manage X509 certificates and how to use them in the asymmetric encryption process.

Lessons

After completing this module, you will be able to:

Encrypt data by using symmetric encryption

Encrypt data by using asymmetric encryption

Encrypt the Grades Report

Lab : Encrypting and Decrypting the Grades Report

P.IVA 06249920965
C.C.I.A.A. REA: MI - 1880014
Cap. Soc. € 12.000,00

Contatti

V.le P.A. Pirelli 6,20126 Milano
Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.
Tel.: +39 02 694 382 64
Fax.: +39 02 694 382 35

© Copyright 2020 DI.GI. Academy
Privacy Policy | Cookie Policy