Home
Videos uploaded by user “IAmTimCorey”
C# Async / Await - Make your app more responsive and faster with asynchronous programming
 
38:57
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Download Files: https://iamtimcorey.com/async-await-training/ Asynchronous programming can be intimidating. What's even worse is when you think you learned how to do something and then you try it in your application and it doesn't work. This video is an attempt to fix all of that. In it, you will see how to use the async and await keywords to make your user interface more responsive and to speed up your code's operation. You will also see how to turn an existing method from being synchronous to asynchronous. Along the way we will cover best practices and how to make sure our application behaves like we expect after we make a part of it asynchronous.
Views: 121171 IAmTimCorey
C# Abstract Classes - What They Are, How to Use Them, and Best Practices
 
19:59
Full courses: https://iamtimcorey.com/courses-offered/ Blog Post with Code Samples: https://iamtimcorey.com/abstract-classes Patreon: https://patreon.com/IAmTimCorey Newsletter signup: https://iamtimcorey.com/general-sign-up Sponsors: Tuhafeni Angula (Patreon Subscriber) I get asked about abstract classes a lot. What they are, how they work, and why you should know about them. An easy way to think of an abstract class is to say that it fits between a full base class and an interface. Basically it is a blend of the two. In this video, I am going to demonstrate what an abstract class is, how to use it, and when it makes sense to create an abstract class.
Views: 15450 IAmTimCorey
Intro to Azure DevOps - Source Control, CI/CD, Automation, and more
 
32:14
Full courses: https://www.iamtimcorey.com/ Application Lifecycle Design course: https://www.iamtimcorey.com/p/application-lifecycle-design Patreon: https://patreon.com/IAmTimCorey Newsletter signup: https://iamtimcorey.com/general-sign-up There are a ton of tools surrounding the processes of writing code, such as source control, code hosting, build systems, CI/CD tools, package managers, and more. In the past, companies would cludge together these tool conglomerations to get a process that worked for them. Individual developers, on the other hand, typically did everything with a minimal set of tools and a lot of manual processes. In this video, I am going to introduce you to a tool that changes all of that for both individuals and companies. It is called Azure DevOps. The best part is that, unless you are an organization with more than five developers or are making more than a million dollars in revenue each year, this product is free to use.
Views: 38812 IAmTimCorey
CIS163-101: Extension Methods
 
08:33
Learn the basics of Extension Methods in C# in this video. -~-~~-~~~-~~-~- Please watch: "Top 10 C# Best Practices (plus bonuses)" https://www.youtube.com/watch?v=-9b8NRqjUFM -~-~~-~~~-~~-~-
Views: 2894 IAmTimCorey
Intro to Windows Services in C# - How to create, install, and use a service using Topshelf
 
31:20
Full courses: https://www.iamtimcorey.com/ Blog Post: https://www.iamtimcorey.com/blog/21811/intro-to-windows-services Patreon: https://patreon.com/IAmTimCorey Newsletter signup: https://iamtimcorey.com/general-sign-up Topshelf Link: https://topshelf.readthedocs.io/en/latest/index.html Services in Windows are really powerful tools for automation, but they are often overlooked. These small applications run constantly in the background and can be used for a number of tasks from the simple to the complex. In this video, we are going to look at how to create a service, how to run it and debug it, and how to install it.
Views: 15369 IAmTimCorey
Design Patterns: Single Responsibility Principle Explained Practically in C# (The S in SOLID)
 
35:50
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Source Code: https://iamtimcorey.com/design-patterns-srp/ When you are writing code, are you doing it right? That is a question that worries a lot of people, and it should probably at least be something every developer thinks through. Design patterns are best practice concepts that we can implement into our code to make it better in some way. Think of them as guardrails that keep our code safe. In this video, we are going to look at the first entry in the famous SOLID principle. The S stands for Single Responsibility Principle. We are going to dive into what it means, how it should change our programming practices, and how far we should take it.
Views: 46453 IAmTimCorey
Interfaces in C# - What they are, how to use them, and why they are so powerful.
 
48:31
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Blog Post (with source code): https://iamtimcorey.com/interfaces/ Getting help online can be difficult. People get mad at you, they don't understand your question, or the answers you get aren't correct. What do you do? Well, you watch this video and learn how to ask the right question the right way to get the right results.
Views: 48672 IAmTimCorey
Design Patterns: Dependency Inversion Principle Explained Practically in C# (The D in SOLID)
 
41:43
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Source Code: https://iamtimcorey.com/design-patterns-dip/ When you are writing code, are you doing it right? That is a question that worries a lot of people, and it should probably at least be something every developer thinks through. Design patterns are best practice concepts that we can implement into our code to make it better in some way. Think of them as guardrails that keep our code safe. In this video, we are going to look at the fourth entry in the famous SOLID principle. The I stands for Interface Segregation Principle. We are going to dive into what it means, how it should change our programming practices, and how far we should take it.
Views: 30783 IAmTimCorey
C# App Start To Finish Lesson 11 - Text Connection
 
01:01:28
More info on the Paid Version: https://www.iamtimcorey.com/p/c-application-from-start-to-finish Buy It Now: https://sso.teachable.com/secure/288799/checkout/875566/c-application-from-start-to-finish Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Check out this video to see how we are going to build a complete application from start to finish in C#. Using .net and Visual Studio, we will construct an application that is fit to launch. The application will use Winforms, a class library, events, SQL database, text file data storage (in CSV format), custom events and more. This is a 25-hour course that will allow you to follow along as I build an entire application, all for free!
Views: 11195 IAmTimCorey
CIS163-101: Introduction to Class Libraries
 
07:35
We go over the very basics of setting up and using a class library project in C#.
Views: 6422 IAmTimCorey
Weekly Challenge: Error Handling in C#
 
02:28
Challenge Page (with solution): https://iamtimcorey.com/weekly-challenge-error-handling Practice makes perfect, right? Well, mostly, but practice is very important. This series is all about getting you to practice the things you learn. I would encourage you to do every one. See which ones are just easy refreshers and which ones are difficult learning experiences.
Views: 2423 IAmTimCorey
C# Dependency Injection with Autofac
 
54:45
Full courses: https://iamtimcorey.com/courses-offered/ Blog Post with Code Samples: https://iamtimcorey.com/dependency-injection Patreon: https://patreon.com/IAmTimCorey Newsletter signup: https://iamtimcorey.com/general-sign-up Sponsors: Tuhafeni Angula (Patreon Subscriber) Dependency Injection in C# can be a really confusing topic. Yet, when done right, Dependency Injection can be one of the best things you do for your application. It allows you to disconnect pieces of your application from each other easily and it allows you to test the various parts of your application independently. Today, I am going to get you started using Dependency Injection using a free tool called Autofac. We will take a small sample application and first apply the Dependency Inversion Principle (the D in SOLID). Then, we will wire up Autofac to handle connecting the various dependencies together.
Views: 40650 IAmTimCorey
Top 5 C# 7.0 Features in Visual Studio 2017
 
27:15
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). For more information, including the code used in this demo, check out my blog post: http://iamtimcorey.com/top-5-new-csharp-7-features/ I looked over all of the new features added in C# 7.0 and picked out my top five new features. This video will introduce you to those features and show you how to use them. Note that in order to make use of these features, you will need to have Visual Studio 2017 installed. For the final feature, you will also need a NuGet package installed for right now. More information on that is provided in my blog post.
Views: 36679 IAmTimCorey
.NET Core vs .NET Framework - What's the difference?
 
25:26
Getting Started with .NET Core course: https://www.iamtimcorey.com/p/getting-started-with-net-core Patreon: https://www.patreon.com/IAmTimCorey Newsletter signup (with exclusive discounts, giveaways, and more): http://iamtimcorey.com/general-sign-up What is .NET Core? How does it compare to the .NET Framework? Which should I choose? All of these questions and more will be answered in this video. Learn about .NET Core by comparing two MVC projects side by side: one a .NET Framework project and one a .NET Core project. Get comfortable with the changes in .NET Core and see how similar it is to the .NET Framework while at the same time being an obviously upgraded and improved version of MVC. If you want to learn more, make sure to subscribe to the Getting Started with .NET Core course here: https://www.iamtimcorey.com/p/getting-started-with-net-core
Views: 66736 IAmTimCorey
C# App Start To Finish Lesson 06 - Class Library Creation
 
19:06
More info on the Paid Version: https://www.iamtimcorey.com/p/c-application-from-start-to-finish Buy It Now: https://sso.teachable.com/secure/288799/checkout/875566/c-application-from-start-to-finish Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Check out this video to see how we are going to build a complete application from start to finish in C#. Using .net and Visual Studio, we will construct an application that is fit to launch. The application will use Winforms, a class library, events, SQL database, text file data storage (in CSV format), custom events and more. This is a 25-hour course that will allow you to follow along as I build an entire application, all for free!
Views: 27705 IAmTimCorey
Dynamic Vs Var in C#
 
28:27
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Facebook Page: https://www.facebook.com/IAmTimCorey/ Want to see a full C# application built from scratch? Check out this course: https://iamtimcorey.com/courses/csharp-from-start-to-finish/ There is a lot of confusion around what the dynamic and var types are and when to use them. This video clears that up. Whether you need to know it for a job interview or just to use them properly, this video will show you what they are, why they exist, and when to use them.
Views: 14767 IAmTimCorey
Design Patterns: Liskov Substitution Principle Explained Practically in C# (The L in SOLID)
 
39:36
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Source Code: https://iamtimcorey.com/design-patterns-lsp When you are writing code, are you doing it right? That is a question that worries a lot of people, and it should probably at least be something every developer thinks through. Design patterns are best practice concepts that we can implement into our code to make it better in some way. Think of them as guardrails that keep our code safe. In this video, we are going to look at the third entry in the famous SOLID principle. The L stands for Liskov Substitution Principle. We are going to dive into what it means, how it should change our programming practices, and how far we should take it.
Views: 24350 IAmTimCorey
SQL Stored Procedures - What They Are, Best Practices, Security, and More...
 
44:34
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Facebook Page: https://www.facebook.com/IAmTimCorey/ Want to see a full C# application built from scratch? Check out this course: https://iamtimcorey.com/courses/csharp-from-start-to-finish/ Microsoft SQL can be confusing. There are a TON of features, options, and settings to consider when attempting to use it. One of my favorite features is stored procedures. These pre-compiled queries allow you to safely and securely access and modify data. In this video, you will learn the basics of how to build a stored procedure, as well as what the benefits and drawbacks of stored procedures are. You will also learn some best practices, including how to secure your entire database in just a few simple commands.
Views: 62480 IAmTimCorey
Intro to .NET Standard - What it is, when to use it, and how it is different than the .NET Framework
 
29:23
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Facebook Page: https://www.facebook.com/IAmTimCorey/ Want to see a full C# application built from scratch? Check out this course: https://iamtimcorey.com/courses/csharp-from-start-to-finish/ With Visual Studio 2017, Microsoft introduced a few new flavors of familiar project types. For example, the Class Library project type now has a .NET Framework version (the standard one we are used to), a .NET Core version, a Portable version, and a .NET Standard version. The .NET Standard version has been tripping people up recently, so I decided to do a video explaining what it is, how to use it, and how it is different from the other project types. This is mostly an informational video without a ton of demo. I show off some off the pitfalls and how to resolve them, but beyond that I mostly just explain the .NET Standard project type. The website I showed off in the video is https://github.com/dotnet/standard/blob/master/docs/versions.md.
Views: 19323 IAmTimCorey
C# App Start To Finish Lesson 01 - Initial Planning
 
16:21
More info on the Paid Version: https://www.iamtimcorey.com/p/c-application-from-start-to-finish Buy It Now: https://sso.teachable.com/secure/288799/checkout/875566/c-application-from-start-to-finish Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Check out this video to see how we are going to build a complete application from start to finish in C#. Using .net and Visual Studio, we will construct an application that is fit to launch. The application will use Winforms, a class library, events, SQL database, text file data storage (in CSV format), custom events and more. This is a 25-hour course that will allow you to follow along as I build an entire application, all for free!
Views: 31714 IAmTimCorey
Intro to WPF: Learn the basics and best practices of WPF for C#
 
01:10:34
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Facebook Page: https://www.facebook.com/IAmTimCorey/ Want to see a full C# application built from scratch? Check out this course: https://iamtimcorey.com/courses/csharp-from-start-to-finish/ Need to know SQL Better? Check out this course: https://iamtimcorey.com/product/sql-databases-start-finish/ In this video, I will introduce you to WPF, show you the basics of how to get things done, and discuss the benefits and pitfalls of using WPF compared to WinForms. In the end you should be comfortable getting started with WPF.
Views: 132504 IAmTimCorey
C# Essentials: Linq for Lists - Sorting, Filtering, and Aggregating Lists Easily
 
29:28
To sign up for announcements about new videos and exclusive discounts, fill out this form: https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Having a List for an object is a fairly common occurrence in C#. In fact, most data access systems end with having the data in a List. This video will help you see how to sort, filter, and operate on lists easily and powerfully. You will see examples both in a Console application and in a Windows Forms application. This practical example dives right into the most important parts of Linq to get you up and running in minutes.
Views: 58003 IAmTimCorey
Intro to WebAPI - One of the most powerful project types in C#
 
01:15:21
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Learn about WebAPI, a powerful project type that allows C# to communicate with almost any programming language. You can even allow machine to machine communication. So whether you are going to build a mobile app for IOS or Android, a desktop app using WPF, Java, or others, or you are going to build a web application, WebAPI is there to support you. In this video, I will give you the overview of what WebAPI is, how to set it up, how to connect to it for testing, and then some tips and tricks as well before I show you how to deploy it.
Views: 142372 IAmTimCorey
C# Data Access: Text Files
 
24:34
To sign up for announcements about new videos and exclusive discounts, fill out this form: https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Data access in C# is not really hard, but there is a lot of conflicting information out there. This video will help you clear up how to read from and write to a text file. It doesn't cover every method, just one of the easiest.
Views: 79727 IAmTimCorey
C# Generics - What they are, why they are useful, and how to create them
 
55:32
Blog Post with Code Samples: https://iamtimcorey.com/generics/ Patreon: https://patreon.com/IAmTimCorey Newsletter signup: https://iamtimcorey.com/general-sign-up Have you ever used a List of T and wondered what the T meant? Or maybe you heard the term generics but you didn't really know what that was or why it was important. Maybe you have been using generics for a while but didn't know you could create your own. Whatever the case, this video is for you. In this video, I am going to lay the foundation of what generics are and what makes them so powerful. Then, we will look at a demonstration I have set up on how you can keep your code dry, better conform to the SOLID principles, and make your life easier by implementing generics a class.
Views: 23652 IAmTimCorey
CIS163-101: C# Basics - Variables, If and Switch
 
12:22
In this video, we cover a few of the basics in C# - Variables, If statements, and Switch statements. -~-~~-~~~-~~-~- Please watch: "Top 10 C# Best Practices (plus bonuses)" https://www.youtube.com/watch?v=-9b8NRqjUFM -~-~~-~~~-~~-~-
Views: 3170 IAmTimCorey
Design Patterns: Open Closed Principle Explained Practically in C# (The O in SOLID)
 
52:32
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Source Code: https://iamtimcorey.com/design-patterns-ocp/ When you are writing code, are you doing it right? That is a question that worries a lot of people, and it should probably at least be something every developer thinks through. Design patterns are best practice concepts that we can implement into our code to make it better in some way. Think of them as guardrails that keep our code safe. In this video, we are going to look at the second entry in the famous SOLID principle. The O stands for Open Closed Principle. We are going to dive into what it means, how it should change our programming practices, and how far we should take it.
Views: 29191 IAmTimCorey
Creating a WebAPI with Authentication - A TimCo Retail Manager Video
 
40:50
Patreon ($5/month or more gets source code for this course as it comes out): https://www.patreon.com/IAmTimCorey Newsletter signup (with exclusive discounts, giveaways, and more): http://iamtimcorey.com/general-sign-up In this video, we set up a C# WebAPI project with authentication. We then walk through the settings, configure our first user, and test out the authentication and authorization process. One-off tutorials are awesome but they aren't the only thing you should be doing to learn C#. Another vital part of learning is learning how to put it all together. This interactive course is all about putting the pieces together. You can watch each video on its own or you can watch them in order and see a bigger picture. The choice is yours. This course focuses on real-world development. As such, we are simulating that we work for TimCo Enterprise Solutions on a brand new product, the TimCo Retail Manager. Just like in the real world, we are starting out with one set of requirements but know that over time they will change.
Views: 15788 IAmTimCorey
Introduction to ASP.NET MVC in C#:  Basics, Advanced Topics, Tips, Tricks, Best Practices, and More
 
01:41:28
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Facebook Page: https://www.facebook.com/IAmTimCorey/ Want to see a full C# application built from scratch? Check out this course: https://iamtimcorey.com/courses/csharp-from-start-to-finish/ Need to know SQL Better? Check out this course: https://iamtimcorey.com/product/sql-databases-start-finish/ In this video, I walk you through ASP.NET MVC. I show you what it is, how to configure it, how to set it up, what all of the different files represent, and more. Learn about the best practices surrounding MVC along the way. The topics covered in this video include: - What is MVC (Model-View-Controller) - Bundling - Routing - NuGet - Deployment - Razor - ActionLinks - RenderSection - Web.Config - CustomErrors - Scaffolding - Templates - Packages.config - Global.asax - Shared Layouts - and much more
Views: 207205 IAmTimCorey
WPF with MVVM Project Setup - A TimCo Retail Manager Video
 
14:16
Patreon ($5/month or more gets source code for this course as it comes out): https://www.patreon.com/IAmTimCorey Newsletter signup (with exclusive discounts, giveaways, and more): http://iamtimcorey.com/general-sign-up This video sets up our WPF front-end project using Caliburn Micro as our MVVM framework system. One-off tutorials are awesome but they aren't the only thing you should be doing to learn C#. Another vital part of learning is learning how to put it all together. This interactive course is all about putting the pieces together. You can watch each video on its own or you can watch them in order and see a bigger picture. The choice is yours. This course focuses on real-world development. As such, we are simulating that we work for TimCo Enterprise Solutions on a brand new product, the TimCo Retail Manager. Just like in the real world, we are starting out with one set of requirements but know that over time they will change.
Views: 6315 IAmTimCorey
C# Advice and What is Coming in 2019
 
17:31
Full courses: https://www.iamtimcorey.com/ Foundation in C# Intro Course: https://www.iamtimcorey.com/p/foundation-in-c-module-1-getting-started Patreon: https://patreon.com/IAmTimCorey Newsletter signup: https://iamtimcorey.com/general-sign-up As we wrap up 2018 and look towards 2019, I wanted to cover some of the most common questions I received this year as well as what you can look forward to in 2019 from this channel.
Views: 10506 IAmTimCorey
Design Patterns: Interface Segregation Principle Explained Practically in C# (The I in SOLID)
 
40:24
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Source Code: https://iamtimcorey.com/design-patterns-isp/ When you are writing code, are you doing it right? That is a question that worries a lot of people, and it should probably at least be something every developer thinks through. Design patterns are best practice concepts that we can implement into our code to make it better in some way. Think of them as guardrails that keep our code safe. In this video, we are going to look at the fourth entry in the famous SOLID principle. The I stands for Interface Segregation Principle. We are going to dive into what it means, how it should change our programming practices, and how far we should take it.
Views: 17116 IAmTimCorey
Weekly Challenge: Advanced Parameters
 
03:27
Challenge Page (with solution): https://www.iamtimcorey.com/courses/c-weekly-challenges/lectures/9208099 Practice makes perfect, right? Well, mostly, but practice is very important. This series is all about getting you to practice the things you learn. I would encourage you to do every one. See which ones are just easy refreshers and which ones are difficult learning experiences.
Views: 1253 IAmTimCorey
Visual Studio Projects and Solutions
 
12:17
Learn the differences between projects and solutions, as well as how the two interact. To sign up for announcements about new videos and other training resources, fill out this form: http://eepurl.com/btLrsH (your email will be kept safe and you will not be spammed). -~-~~-~~~-~~-~- Please watch: "Top 10 C# Best Practices (plus bonuses)" https://www.youtube.com/watch?v=-9b8NRqjUFM -~-~~-~~~-~~-~-
Views: 56845 IAmTimCorey
WPF in C# with MVVM using Caliburn Micro
 
01:23:30
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Facebook Page: https://www.facebook.com/IAmTimCorey/ Want to see a full C# application built from scratch (now with WPF and ASP.NET Add-Ons available)? Check out this course: https://www.iamtimcorey.com/p/c-application-from-start-to-finish WPF can be a tricky topic to get right. At first, it is fairly easy to get started. Then, you figure out that seemingly simple things aren't that simple. That's when you realize WPF was built on a different set of rules and ideas from WinForms. It works best with standards and systems in place. One popular standard is to use the MVVM pattern. In this video, I show you how to implement MVVM in WPF using a tool called Caliburn Micro.
Views: 68633 IAmTimCorey
Setting Up a GitHub Repository - A TimCo Retail Manager Video
 
33:24
Patreon ($5/month or more gets source code for this course as it comes out): https://www.patreon.com/IAmTimCorey Newsletter signup (with exclusive discounts, giveaways, and more): http://iamtimcorey.com/general-sign-up In this video, we will be setting up our coding environment by setting up a repository on GitHub, preparing our source control system to be used with Visual Studio, and getting the solution started. One-off tutorials are awesome but they aren't the only thing you should be doing to learn C#. Another vital part of learning is learning how to put it all together. This interactive course is all about putting the pieces together. You can watch each video on its own or you can watch them in order and see a bigger picture. The choice is yours. This course focuses on real-world development. As such, we are simulating that we work for TimCo Enterprise Solutions on a brand new product, the TimCo Retail Manager. Just like in the real world, we are starting out with one set of requirements but know that over time they will change.
Views: 9470 IAmTimCorey
C# Advanced Async - Getting progress reports, cancelling tasks, and more
 
52:22
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Download Files: https://iamtimcorey.com/async-await-training/ Intro to Async / Await: https://youtu.be/2moh18sh5p4 Now that we know how to do the basics in async, let's take it to the next level. In this video, we look at how to get status reports back from asynchronous tasks so we can display a progress bar and more to the screen while they are running. We also set up the ability to cancel a long-running or hung asynchronous task. We will also explore the differences between adding tasks in a foreach loop vs Parallel.foreach and how we can even get the benefits of both methods at the same time.
Views: 42093 IAmTimCorey
Handling Exceptions in C# - When to catch them, where to catch them, and how to catch them
 
59:46
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Handling exceptions is about more than just putting try catch blocks in your code. Where you put them is very important. It is also important to know when not to put a try catch in your code. This video covers the best practices of exception handling as well as how to rethrow exceptions, create new exceptions, and capture specific exceptions. Get the download file at https://iamtimcorey.com/handling-exceptions-training/
Views: 17038 IAmTimCorey
Using SQLite in C# - Building Simple, Powerful, Portable Databases for Your Application
 
38:41
SQLite from Start to Finish course: https://iamtimcorey.com/courses/sqlite-app-from-start-to-finish/ Blog Post with Code Samples: https://iamtimcorey.com/sqlite-in-csharp Patreon: https://patreon.com/IAmTimCorey Newsletter signup: https://iamtimcorey.com/general-sign-up Have you ever wanted to store data for an application but didn't want to deal with the hassle of a full database server? Or maybe you wanted to have one database per installation. Those and many other scenarios are a perfect fit for SQLite. Today I am going to show you how to get started using SQLite in C#. We will build a small database, attach it to a C# project, and then wire up our project to read from and write to the database.
Views: 38192 IAmTimCorey
Git Tutorial for Beginners: A Quick Start Guide
 
01:32:08
Learn the basics of Git source control from the ground up in this git tutorial. Learn best practices, tips, and tricks so you can get up and running with git right away. To sign up for announcements about new videos and exclusive discounts, fill out this form: https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). This video assumes that you do not know anything about git so it starts you off as a beginner would, by installing git. It then moves on to a very basic example that you can follow along with. As the video progresses, you will dive into more and more realistic examples. This guide will prepare you for the real world usage of source control, specifically git. Typically git is used to protect code but this video does not utilize code or code tools in order to keep the example as simple as possible and so that the beginner users will not get confused as to what is git and what is the code. The basic git commands will be explained and demonstrated. While a few gui tools will be identified, the primary tool of this video is git bash because it is what git was designed for and it is what everyone has.
Views: 84478 IAmTimCorey
C# Tips: Emailing a Project
 
08:20
To sign up for announcements about new videos and exclusive discounts, fill out this form: https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Have you ever tried to email a C# project to someone? If so, you probably had a hard time. This video will show you two different ways you can clean up your project and email it without fear of the email being rejected because of a bad zip file. Learn what files to exclude from the zip file to get it to email without losing any of your important content.
Views: 6029 IAmTimCorey
Creating a C# Application: From idea to finished product
 
02:01:33
To sign up for announcements about new videos and exclusive discounts, fill out this form: https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Walk through all of the steps necessary to convert general application requirements into a finished product. This video will utilize a simple Windows Forms application with a Class Library for the models.
Views: 542673 IAmTimCorey
How To Deploy a ASP.NET Website to IIS or Azure
 
21:28
Full courses: https://iamtimcorey.com/courses-offered/ Blog Post with Code Samples: https://iamtimcorey.com/website-deploy Patreon: https://patreon.com/IAmTimCorey Newsletter signup: https://iamtimcorey.com/general-sign-up Deploying a website used to be tricky. Now with all of the built in help, deploying your ASP.NET website to a local web server or the cloud can be done in minutes. Today, I am going to show you the options you have for deploying a full .NET website. We will cover deploying to a local or remote IIS server as well as Window Azure. Since .NET Core is a bit different, I will be covering the deployment options for it in a separate video. Not to worry though, the techniques in this video will also work for .NET Core. There are just more options available to it than their are to the full .NET Framework.
Views: 22929 IAmTimCorey
Intro to Unit Testing in C# using XUnit
 
01:42:09
Newsletter signup (with exclusive discounts): https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). Source Code (and homework): https://iamtimcorey.com/unit-testing-resources/ Unit testing is an important part of writing quality software. It is also a controversial and somewhat difficult topic to get started in. In this video, we walk through why we would use unit testing, what a unit test is, how to create a test, and how to deal with some of the more difficult situations. Along the way, we will cover best practices, the pitfalls to avoid, and how to write more testable code. This video uses XUnit instead of NUnit or MSTest based upon my preference. However, the techniques taught will apply to other test types.
Views: 41709 IAmTimCorey
Fluent Validation in C# - The Powerful Yet Easy Data Validation Tool
 
43:58
Full courses: https://www.iamtimcorey.com/ Blog Post: https://www.iamtimcorey.com/blog/24715/fluent-validation Patreon: https://patreon.com/IAmTimCorey Newsletter signup: https://iamtimcorey.com/general-sign-up Data validation is extemely important. The problem is that it can create a lot of excess code. Plus you end up in the position of having similar validation code throughout your application, violating the DRY principle. In this video, I am going to introduce you to Fluent Validation, a free tool to help make your validation clean, easy to create, and easy to maintain. As a bonus, it even works on models that you don't own and cannot change.
Views: 13083 IAmTimCorey
The log4net Tutorial: Logging in C# (hands-on from beginner to advanced)
 
01:37:46
To sign up for announcements about new videos and exclusive discounts, fill out this form: https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed). This video will teach you how to use log4net without fear. Instead of copying and pasting confusing config files that cause more problems than they solve, watch this video and you will understand how to make log4net do exactly what you want. You will be taken through step-by-step through the following sections: 1. Getting Started - installing log4net, initial configuration and getting it running in your code. 2. .NET 4.5 Changes - What additional options you have if you are using .NET 4.5. 3. Appenders - How to log to different data repositories like SQL Server, text files and more. 4. Filters - How to log only the data you want to capture while ignoring the rest. This will cover both the simple options as well as the more advanced possibilities. 5. Log Patterns - Learn how to capture a number of different pieces of data, what the pitfalls are of some data points and how to send data to your data source. 6. Advanced Logging - Take logging to the next level by capturing custom data in your own fields. Even capture data at the time of the error without any extra configuration. 7. Wrap Up - Review what has been learned and identify how to move forward with log4net. This video course is easy for a beginner to get started with but even if you didn't know anything coming in, if you follow the steps outlined in the video, you will become an advanced log4net user by the end of the video. The entire video is a hands-on demonstration of not just what to do but how to do it. You will be able to follow along with the video with ease. Also provided is a link to the source code for this video. The source code has been tagged at the end of each section to indicate where you can revert to in order to see the code at any point in the video. Course Resource: Course code: https://github.com/TimCorey/Log4netTutorial log4net Code Project article: http://www.codeproject.com/Articles/140911/log-net-Tutorial log4net homepage: http://logging.apache.org/log4net/ Video Quick Use Guide: 4:35 - Step 1: Add log4net package 5:25 - Step 2: Add log4net configuration 18:54 - Step 3: Add log4net assembly 20:47 - Step 4: Create log4net log reference 25:30 - Step 5: Log messages 27:56 - Creating LogHelper 32:37 - Appenders 1:04:46 - Filters 1:14:13 - Conversion pattern
Views: 105790 IAmTimCorey
Dependency Injection in WPF - A TimCo Retail Manager Video
 
33:01
Patreon ($5/month or more gets source code for this course as it comes out): https://www.patreon.com/IAmTimCorey Newsletter signup (with exclusive discounts, giveaways, and more): http://iamtimcorey.com/general-sign-up In this video, we add dependency injection into our WPF project using Simple Container, which comes with Caliburn Micro. One-off tutorials are awesome but they aren't the only thing you should be doing to learn C#. Another vital part of learning is learning how to put it all together. This interactive course is all about putting the pieces together. You can watch each video on its own or you can watch them in order and see a bigger picture. The choice is yours. This course focuses on real-world development. As such, we are simulating that we work for TimCo Enterprise Solutions on a brand new product, the TimCo Retail Manager. Just like in the real world, we are starting out with one set of requirements but know that over time they will change.
Views: 5954 IAmTimCorey
Weekly Challenge: Config File in C#
 
03:22
Challenge Page (with solution): https://www.iamtimcorey.com/courses/c-weekly-challenges/lectures/6912774 Practice makes perfect, right? Well, mostly, but practice is very important. This series is all about getting you to practice the things you learn. I would encourage you to do every one. See which ones are just easy refreshers and which ones are difficult learning experiences.
Views: 2488 IAmTimCorey
How to connect C# to SQL (the easy way)
 
01:20:40
For the source code, more details, and a copy of the database, go to https://iamtimcorey.com/csharp-sql-data-access To sign up for announcements about new videos and exclusive discounts, fill out this form: https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed).
Views: 257849 IAmTimCorey
Delegates in C# - A practical demonstration, including Action and Func
 
01:09:11
Blog Post with Code Samples: https://iamtimcorey.com/delegates/ Patreon: https://patreon.com/IAmTimCorey Newsletter signup: https://iamtimcorey.com/general-sign-up Delegates in C# are really powerful but most people don't know how to use them effectively, if at all. Today I am going to show you what delegates are, how to use them, why they are useful, and really how to take your code to the next level. Along the way I will cover the special types of delegates named Func and Action. Now if all of these new words seem intimidating, don't worry. This topic is actually really simple at its foundation. Yes you can do some complex things with delegates but an actual delegate is absolutely simple.
Views: 27938 IAmTimCorey