- Artigos
- Programming in C#
Programming in C#
https://www.nbcc-academy.com/shop/product/programming-in-c-23235 horas
About the course
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.
ideal for
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.
Objectives
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
Prerequisite Knowledge
Basic knowledge of programming language
Basic knowledge in object-oriented programming
Course Program
REVIEW OF VISUAL C# SYNTAX
Overview of Writing Application by Using Visual C#
Data Types, Operators, and Expressions
Visual C# Programming Language Constructs
LAB : IMPLEMENTING EDIT FUNCTIONALITY FOR THE STUDENTS LIST
Implementing Insert Functionality for the Students List
Implementing Delete Functionality for the Students List
Displaying a Student’s Age
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
CREATING METHODS, HANDLING EXCEPTIONS, AND MONITORING APPLICATIONS
Creating and Invoking Methods
Creating Overloaded Methods and Using Optional and Output Parameters
Handling Exceptions
Monitoring Applications
LAB: EXTENDING THE CLASS ENROLMENT APPLICATION FUNCTIONALITY
Refactoring the Enrolment Code
Validating Student Information
Saving Changes to the Class List
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
BASIC TYPES AND CONSTRUCTS OF VISUAL C#
Implementing Structs and Enums
Organizing Data into Collections
Handling Events
LAB: WRITING THE CODE FOR THE GRADES PROTOTYPE APPLICATION
Adding Navigation Logic to the Grades Prototype Application
Creating Data Types to Store User and Grade Information
Displaying User and Grade Information
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
CREATING CLASSES AND IMPLEMENTING TYPE-SAFE COLLECTIONS
Creating Classes
Defining and Implementing Interfaces
Implementing Type-Safe Collections
LAB: ADDING DATA VALIDATION AND TYPE-SAFETY TO THE APPLICATION
Implementing the Teacher, Student, and Grade Structs as Classes
Adding Data Validation to the Grade Class
Displaying Students in Name Order
Enabling Teachers to Modify Class and Grade Data
After completing this module, you will be able to:
Create and instantiate classes
Create and instantiate interfaces
Use generics to create type-safe collections
CREATING A CLASS HIERARCHY BY USING INHERITANCE
Creating Class Hierarchies
Extending .NET Framework Classes
LAB: REFACTORING COMMON FUNCTIONALITY INTO THE USER CLASS
Refactoring Common Functionality into the User Class
Implementing Password Complexity by Using an Abstract Method
Creating the ClassFullException Custom Exception
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
READING AND WRITING LOCAL DATA
Reading and Writing Files
Serializing and Deserializing Data
Performing I/O by Using Streams
LAB : GENERATING THE GRADES REPORT
Serializing Data for the Grades Report as XML
Previewing the Grades Report
Persisting the Serialized Grade Data to a File
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
ACCESSING A DATABASE
Creating and Using Entity Data Models
Querying Data by Using LINQ
LAB : RETRIEVING AND MODIFYING GRADE DATA
Creating an Entity Data Model from The School of Fine Arts Database
Updating Student and Grade Data by Using the Entity Framework
Extending the Entity Data Model to Validate Data
After completing this module, you will be able to:
Create, use, and customize an EDM
Query data by using LINQ
ACCESSING REMOTE DATA
Accessing Data Across the Web
Accessing Data by Using OData Connected Services
LAB : RETRIEVING AND MODIFYING GRADE DATA REMOTELY
Creating a WCF Data Service for the SchoolGrades Database
Integrating the Data Service into the Application
Retrieving Student Photographs Over the Web (If Time Permits)
After completing this module, you will be able to:
Send data to and receive data from web services and other remote data sources
Access data by using WCF Data Services
DESIGNING THE USER INTERFACE FOR A GRAPHICAL APPLICATION
Using XAML to Design a User Interface
Binding Controls to Data
LAB : CUSTOMIZING STUDENT PHOTOGRAPHS AND STYLING THE APPLICATION
Customizing the Appearance of Student Photographs
Styling the Logon View
Animating the StudentPhoto Control (If Time Permits)
After completing this module, you will be able to:
Use XAML to design a UI
Bind a XAML control to data
Apply styles to a XAML UI
IMPROVING APPLICATION PERFORMANCE AND RESPONSIVENESS
Implementing Multitasking
Performing Operations Asynchronously
Synchronizing Concurrent Access to Data
LAB : IMPROVING THE RESPONSIVENESS AND PERFORMANCE OF THE APPLICATION
Ensuring That the UI Remains Responsive When Retrieving Teacher Data
Providing Visual Feedback During Long-Running Operations
After completing this module, you will be able to:
Use the Task Parallel Library to implement multitasking
Perform long-running operations without blocking threads
Control how multiple threads can access resources concurrently
INTEGRATING WITH UNMANAGED CODE
Creating and Using Dynamic Objects
Managing the Lifetime of Objects and Controlling Unmanaged Resources
LAB : UPGRADING THE GRADES REPORT
Generating the Grades Report by Using Word
Controlling the Lifetime of Word Objects by Implementing the Dispose Pattern
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
CREATING REUSABLE TYPES AND ASSEMBLIES
Examining Object Metadata
Creating and Using Custom Attributes
Generating Managed Code
Versioning, Signing, and Deploying Assemblies
LAB : SPECIFYING THE DATA TO INCLUDE IN THE GRADES REPORT
Creating and Applying the IncludeInReport attribute
Updating the Report
Storing the Grades.Utilities Assembly Centrally (If Time Permits)
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
ENCRYPTING AND DECRYPTING DATA
Implementing Symmetric Encryption
Implementing Asymmetric Encryption
LAB : ENCRYPTING AND DECRYPTING THE GRADES REPORT
Encrypting the Grades Report
Encrypting the Grades Report
After completing this module, you will be able to:
Encrypt data by using symmetric encryption
Encrypt data by using asymmetric encryption