Leanpub Header

Skip to main content

Complete Practical LINQ Tutorial in C#

LINQ to Entities, LINQ to Objects, LINQ to XML, Functional Programming and LINQ.

Want to harness the full power of LINQ? Then take this course right now!

En düşük fiyat

$19.00

$19.00

Ödeyeceğiniz Miktar

Yazarın kazandığı

$

Also available for 1 course credit with a Learner Membership

PDF
EPUB
Hakkında

Hakkında

About the Course

Extension methods were introduced in C# 3 and since then became an indispensable part of the .NET platform. That enormously powerful feature allowed to build a whole framework built upon it called LINQ or Language Integrated Query. I’ve seen many code bases which avoid using LINQ and rely on old procedural style of programming. If you still feel yourself uncomfortable with LINQ or you want to improve your understanding of LINQ, then this course is for you. As you might know, LINQ was inspired by functional paradigm and F# in particular. So, this course is not only about LINQ but about the fundamentals of functional programming as well.

This course covers:

  • The basics of LINQ: extension methods, the idea of pipelining, IEnumerable, implementing our own extension, query syntax, pitfalls of LINQ operations, how to alter a list
  • Generating data streams: Enumerable class and its main operations, implementing your own extension which generates a stream of data
  • Filtering, Ordering, Projecting: Parsing a CSV file, ThenBy, First, Last, Single, TakeWhile, SkipWhile,Any, All, Contains, SequenceEqual, Select and SelectMany
  • Joining, Grouping, Aggregating: Join, Group, GroupJoin, Zip, Sum, Average, Min, Max
  • Conversions: OfType, Cast, ToArray, ToList, ToDictionary, ToLookup, AsEnumerable, AsQueryable
  • LINQ to XML: overview, generating XML from a collection, reading XML
  • EF and LINQ: Expression Trees, Inserting into and Reading from a database
  • Extendibility in C#: what is functional programming (FP), purity and side effects, extending IDisposable, general-purpose extensions, extending StringBuilder, Primitive Obsession

In short, this is a great course, so enroll right now and start learning LINQ and the fundamentals of functional programming.

Bu kurs bu eğitim rotasına dahildir...

Share this course

Eğitmen

Eğitmen Hakkında

EngineerSpock

I'm thankful enough for that I love what I do.

I began my career as a postgraduate student participating in Microsoft ImagineCup contest.

I've been working with .NET platform since 2003. I've been professionally architecting and implementing software for more than 10 years, primarily based on the .NET platform. I'm passionate about building rich and powerful applications using modern technologies. I'm a certified specialist in Windows Applications and Service Communication Applications by Microsoft. I'm one of the coordinators of the MskDotNet User Group in Moscow.

"If it's work, we try to do less. If it's art, we try to do more." - Seth Godin.

What I can say is that software is my art.

Materyal

Ders Materyali

  • Introduction to LINQ

  • Outline

  • LINQ is Everywhere

  • Extension Methods

  • Pipelining

  • Why LINQ

  • The Role of IEnumerable

  • Extending IEnumerable

  • Parsing a .csv File

  • Named vs Anonymous vs Separate Methods

  • Query Syntax

  • Yield Return

  • LINQ Deferred Execution

  • Exceptions and LINQ

  • Multiple Enumeration Pitfall

  • Altering List

  • Conclusion

  • Generating Data Streams

  • Outline

  • Range-Repeat-Empty

  • Generating Random Numbers

  • Conclusion

  • Filtering, Ordering, Projecting

  • Outline

  • Select

  • Where

  • ThenBy

  • First, Last, Single, OrDefault

  • TakeWhile and SkipWhile

  • SequenceEqual

  • Distinct

  • Any, All, Contains

  • SelectMany

  • ElementAt and Counting

  • Conclusion

  • Joining, Grouping, Aggregating

  • Outline

  • Join

  • GroupBy

  • GroupJoin

  • Zip

  • Min, Max, Sum, Average

  • Concat and Union

  • Intersect and Except

  • Conclusion

  • Conversions

  • Outline

  • OfTypeCast

  • ToArray, ToList, ToDictionary, ToLookup

  • Pitfalls of Conversion

  • Conclusion

  • LINQ to XML

  • Outline

  • XML Document Structure

  • Creating XML from a Collection

  • Refactoring Code

  • Reading XML

  • Conclusion

  • LINQ to Entities

  • Outline

  • Preparing the Project

  • Inserting & Reading

  • Pitfalls of LINQ to Entities

  • Expressions, AsEnumerable and AsQueryable

  • Conclusion

  • Extendibility in C

  • Outline

  • Defining Functional Programming

  • Functions Are Everywhere

  • Why Functional Programming

  • Immutability

  • Purity and Side Effects

  • Extending IDisposable

  • General Extensions

  • Extending StringBuilder

  • Primitive Obsession

  • Conclusion

Leanpub Önkoşulsuz, Risksiz, %100 Mutluluk Garantilidir

Leanpub'tan yaptığınız alışverişlerde, 60 günlük sürede %100 iade garantisi mevcut, bunun için sadece iki tıklama yeterli. Detaylar için (ingilizce) kullanım sözleşmesini okuyunuz.

10$ değerinde bir satıştan 8$, 20$ değerinde bir satıştan 16$ kazanın

7,99$ veya üzeri satışlarda %80 telif, 0,99$ ile 7,98$ arasındaki satışlarda 50 sent sabit ücret düşülerek %80 telif ödüyoruz. 10$'lık bir satıştan 8$, 20$'lık bir satıştan 16$ kazanıyorsunuz. Yani, kitabınızın iade edilmemiş 5000 kopyasını 20$'dan satarsak, 80.000$ kazanacaksınız.

(Evet, bazı yazarlar Leanpub'da bundan çok daha fazlasını kazandılar.)

Gerçekte, yazarlar Leanpub'da yazarak, yayınlayarak ve satarak 14 milyon dolardan fazla kazandılar.

Leanpub'da yazmak hakkında daha fazla bilgi edinin

Ücretsiz Güncellemeler. DRM İçermez.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Leanpub'ın e-kitap formatları ve bunları nerede okuyabileceğiniz hakkında daha fazla bilgi edinin

Leanpub üzerinde Yazın ve Yayımlayın

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Leanpub üzerinde nasıl yazabileceğinizi öğrenin