From the course: .NET Essentials: Working with LINQ

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Learn how to use LINQ in a .NET application

Learn how to use LINQ in a .NET application - .NET Tutorial

From the course: .NET Essentials: Working with LINQ

Learn how to use LINQ in a .NET application

- [Instructor] Most of the examples we've seen in this course have been written and run inside LINQPad. And I have told you at the beginning of the course, I think LINQPad is an invaluable tool. But also, you're going to be using LINQ code within your real .NET projects. So I thought I'd spend this video and spend a couple of minutes looking at how you could use LINQ within, in this case, it's an ASP.NET project. So it's inside the Solution called linqEssentials, the project is called UseWebColors I should say. It's going to be working with the classes that we've seen in many of the other demos. We'll be working with ColorSource and WebColor class. And I have a reference. Let's verify that there is a reference. Right here, there's my reference to CourseLib. And now, this a ASP.NET site. And I am using Razor Pages. So all the code is in these two files. It's in index.chtml. And it's in index.chtml.cs. So here, you…

Contents