C# Console and Windows Forms Development with Entity Framework

Video description

C#, the most versatile programming language in the .NET framework, allows developers to build Windows, web, and mobile applications. It has strong community support, and more than five million developers prefer C#. This course will teach you how to build a Windows Forms application using C#.

The course starts by highlighting the learning objectives and explaining the installation process of Visual Studio 2022. Next, you will learn the basic and advanced concepts of C# console programming needed for application development. You will also understand how to use WinForms, ADO.Net, and Language Integrated Query (LINQ) to create WinForms applications. Moving along, you will learn to build data-driven GUI applications using Windows Forms and manage databases with SQL server management studio.

Next, you will understand the concept of user management and learn how to use utility classes to keep the code clean. Later, you will learn to develop multi-document interface (MDI) applications and learn the techniques to add a Visual Studio project to source control.

By the end of this course, you will have moved around in Visual Studio and examined logic and syntax errors so much that it will be second nature for you when working in the .NET environment. This will put your newly learned skills to practical use and impress your boss and co-workers.

What You Will Learn

  • Find out how to create desktop applications with C#
  • Connect Windows Forms applications to a database
  • Discover how to use C# operators for math and logic tasks
  • Handle database changes and manage create, read, update, and delete (CRUD) operations
  • Write Language Integrated Query (LINQ) to retrieve data from databases
  • Connect to and upload a project to GitHub

Audience

This beginner-friendly course is for anyone wanting to learn LINQ and wanting to learn .NET programming with C#. This course will also be beneficial for those who want to learn desktop development with Windows Forms from scratch.

No prior knowledge of C# or .NET is required.

About The Author

Trevoir Williams: Trevoir Williams is a software engineer and part-time lecturer. With a master’s degree in computer science, he has spent over a decade teaching web, software, and database development courses. He also has extensive industry experience in web application development, Azure Cloud system, and server administration.

He enjoys teaching IT and development courses and hopes to impart knowledge of the latest developments in industry standards and techniques to his students.

Table of contents

  1. Chapter 1 : Introduction
    1. Course Overview
  2. Chapter 2 : Development Environment Setup
    1. Installing Visual Studio 2022 Community Edition
    2. Create Your First C# Console Project
    3. Visual Studio 2022 Community Edition Tour
    4. Understanding the Difference Between .NET 6 and Previous Versions
    5. Development Using Visual Studio Code
    6. Section Review
  3. Chapter 3 : C# Console Programming – Basic Control Structures
    1. Understanding Basic C# Syntax
    2. Input and Output Programs
    3. C# Data Types and Conversion
    4. Application Debugging Techniques
    5. Arithmetic and Assignment Operators
    6. Conditional Statements
    7. Repetition Statements
  4. Chapter 4 : C# Console Programming – More Advanced Concepts
    1. Methods - Void
    2. Methods - Value Returning
    3. String Manipulation Functions
    4. DateTime Manipulation Functions
    5. Exception Handling
    6. Arrays
    7. Lists
  5. Chapter 5 : C# Console Programming – Object-Oriented Concepts
    1. Introduction to Classes and Objects
    2. Method Overloading
    3. Static Classes and Static Class Members
    4. Inheritance with Classes and Interfaces
    5. Constructors
  6. Chapter 6 : Add Visual Studio Solution to GitHub
    1. Create GitHub Account
    2. Add Solution to Source Control
  7. Chapter 7 : WinForms Applications – The Basics
    1. Visual Studio 2022 - Windows Forms Setup
    2. Creating a Simple WinForms Application (Car Rental Application)
    3. Understanding WinForms Controls, Properties, and Events
    4. Form Validation and Exception Handling
    5. Installing SQL Server Express Edition
    6. Creating a Database in a SQL Server
    7. Creating a Database Model with ADO.NET
    8. Selecting Data from the Database Using Language Integrated Query (LINQ)
    9. Submitting to Database from Form
  8. Chapter 8 : Multi-Document Interface (MDI) and More Database Operations
    1. Creating Additional Forms and Windows
    2. Creating a Multi-Document Interface (MDI) Application
  9. Chapter 9 : Managing Database Changes and Create, Read, Update, Delete (CRUD) Operations
    1. Viewing Data in a Grid
    2. Managing Database Changes
    3. Creating and Editing Records (Using One Form)
    4. Vehicle Data Validations and Handling Exception
    5. Managing Car Rental Records
    6. Enhancing Application Flow and User Experience
  10. Chapter 10 : User Management and Login Functionality
    1. Creating a Simple Login Form
    2. Control Features Based on User Roles
    3. User Password and Active Status Reset
    4. Adding New Users and Resetting Password
  11. Chapter 11 : Adding to a Source Control
    1. Adding Project to GitHub

Product information

  • Title: C# Console and Windows Forms Development with Entity Framework
  • Author(s): Trevoir Williams
  • Release date: June 2022
  • Publisher(s): Packt Publishing
  • ISBN: 9781801079792