
This video gives an overview of the entire course.
In this video, we will learn how .NET Framework, .NET Core, .NET Standard, and .NET Native are related. To understand .NET more effectively, let's begin with:
In this video, we'll get acquainted with the interface and best features of Visual Studio 2017. In addition to this, we can also:
This video summarizes what we have learned in the earlier topics.
This video provides the overview of this section.
This video explains the basics of C#. It also provides guidance on how to manage projects with Visual Studio 2017. You can also explore:
This video explains how to name variables, store texts and numbers. It also suggests improvements in C#. Some of the other features explained in the video are:
This video explains how console applications are text-based and they run at the command prompt. They typically perform simple tasks that need to be scripted, such as compiling a file or encrypting a section of a configuration file. To build a console application, let's begin by:
This video explains how operators apply simple operations such as addition and multiplication to operands such as numbers. They usually return a new value that is the result of the operation. You can also:
This video provides the basic expectations required from this section.
This video explains how every application needs to be able to select from choices and branch along different code paths. The two selection statements that are available in C# are if and switch.
You can use if for all your code but switch can simplify your code in some common scenarios. To understand selection statements effectively, you need to:
This video explains how iteration statements repeat a block either while a condition is true or for each item in a group. The choice of which statement to use is based on a combination of ease of understanding to solve the logic problem and personal reference. To understand iteration statements, you need to:
In this video, you will often need to convert between different types. Some of them are:
In this video you will learn about handling exceptions. You've seen several scenarios when errors have occurred. C# calls where an exception has been thrown. A good practice is to avoid writing code that will throw an exception whenever possible, but sometimes you can't. In those scenarios, you must catch the exception and handle it. Some ways of handling exceptions are:
In the earlier video, we saw that when casting between number types, it was possible to lose information. In this video, we will see how the value will overflow if it is stored in a type that is too big. To check for overflow, you can:
This video summarizes what we have learned in the earlier topics.
This video provides the basic expectations required from this section.
This video explains how class library assemblies group types together into easily deployable units (DLL files). Apart from when you learned about unit testing, you have only created console applications to contain your code. To make the code that you write reusable across multiple projects, you should put it in class library assemblies, just like Microsoft does. The steps involved in building class libraries are:
In this video, we will start by defining a solution/project. If you have completed all the previous activities, then you can open your project and continue with it. To implement interfaces and inherit classes, you have to:
In this video, we will understand object-oriented programming. In C#, we use class (usually) or struct (rarely) to define each type of object. You can think of a type as being a blueprint or template for an object.
This video summarizes what we have learned in the earlier topics.
This video provides the basic expectations required from this section.
One of the most common places to store data is in a Relational Database Management System (RDBMS). Common ones include Microsoft SQL Server, Oracle, and SQLite. Let us begin by:
The Entity Framework (EF) was first released as part of .NET Framework 3.5 with Service Pack 1, back in late 2008. Since then, it has evolved, as Microsoft has observed how programmers use an object-relational mapping (ORM) tool in the real world. We will now see how to work on:
This video summarizes what we have learned in the earlier topics.
This video provides the basic expectations required from this section.
This video explains that UWP is Microsoft's latest technology solution to build applications for its Windows suite of operating systems. UWP provides a guaranteed API layer across multiple device types. You can create a single app package that can be uploaded to a single store to be distributed to reach all the device types your app can run on. These devices include Windows 10, Windows 10 Mobile, Xbox One, and Microsoft HoloLens. To do this, you have to:
In 2006, Microsoft released Windows Presentation Foundation (WPF), which was the first technology to use XAML. It is still used to create desktop applications. XAML can be used to create:
To be able to create apps for UWP, you must enable developer mode in Windows 10. Let us begin by:
When building graphical user interfaces, you will often want to use a resource, such as a brush, to paint the background of controls. These resources can be defined in a single place and shared throughout the app. To use resources and templates effectively, you have to:
When building graphical user interfaces, you will often want to bind a property of one control to another or to some data. To do this, you have to:
This video summarizes what we have learned in the earlier topics.
This video provides the basic expectations required from this section.
This video is about how Microsoft ASP.NET Core is part of a history of Microsoft technologies used to build web applications and services that have evolved over the years. To understand ASP.NET Core effectively, you have to:
This video will walk you through the parts that make up a modern ASP.NET Core MVC application. To explore an ASP.NET Core MVC Web application, you have to first:
This video summarizes what we have learned in the earlier topics.
The course will initially begin with familiarizing you to the different .NET technologies and Visual Studio 2017. Beginning from the basic concepts of declaring and working with variables, we move on to writing code that makes decisions, repeats a block of statements, converts between types, and handles errors.
You will also learn about .NET Core and its class library assemblies, and packages of types that are defined in .NET Standard that allow your applications to connect existing components together to perform common practical tasks. You will then learn to make your own types using object-oriented programming (OOP) and learn how to read and write to databases.
You will then see what can be achieved with Extensible Application Markup Language (XAML) when defining the user interface for a graphical app, in particular, for Universal Windows Platform (UWP). Finally, we look at building web applications with a modern HTTP architecture on the server side using Microsoft ASP.NET Core MVC.
About the Author
Mark J. Price is a Microsof Certifed Trainer (MCT) and Microsof Specialist:
Programming in C# and Architecting Microsof Azure Solutions, with more than 20 years of educational and programming experience. Since 1993, Mark has passed more than 80 Microsof programming exams and specializes in preparing others to pass them too. His students range from professionals with decades of experience to 16-year-old apprentices with none. He successfully guides all of them by combining educational skills with real-world experiences in consulting and developing systems for enterprises worldwide. Between 2001 and 2003, Mark was employed full time to write ofcial courseware for Microsof in Redmond, USA. His team wrote the frst training courses for C# while it was still an early alpha version. While with Microsof, he taught "train-the-trainer" classes to get other MCTs up to speed on C# and .NET. Currently, Mark creates and delivers training courses for Episerver's Digital Experience Cloud, the best .NET CMS for Digital Marketing and E-commerce. In 2010, Mark studied for a Postgraduate Certifcate in Education (PGCE). He taught GCSE and A-Level mathematics in two London secondary schools. He holds a Computer Science BSc. Hons. Degree from the University of Bristol, UK.
Marino Posadas is an independent senior trainer, writer, and consultant in Microsoft Technologies. He is a Microsof MVP in C#, Visual Studio, and Development Technologies; an MCT, MCPD, MCTS, MCAD, and MCSD; and was the former Director for Development in Spain and Portugal for Solid Quality Mentors. Marino has published 15 books and more than 500 articles on development technologies in several magazines and online publications. Topics covered in his books range from Clipper and Visual Basic 5.0/ 6.0 to C # and .NET- safe programming, to programming with Silverlight 2.0 and 4.0 and Web Standards. His latest books are Mastering C# and .NET Framework, Packt Publishing and The Guide to Programming in HTML5, CSS3, and JavaScript with Visual Studio. He is also a speaker at Microsof events, having lectured in Spain, Portugal, England, the USA, Costa Rica, and Mexico.
Reynald Adolphe has been a .NET software engineer with 10+ years’ experience doing website consulting and development. He also dabbles in some comedy & has put tech events together that includes entertainment.