Skip to content

Carl's personal website – May the Source be with you

  • Home
  • About
  • Contact
Skip to content

Carl's personal website – May the Source be with you

My attempt to blog about coding while somehow avoiding creating yet another coding blog.

Tag: memory leak

Compiling expression trees with Roslyn… without memory leaks

Posted on May 9, 2020May 15, 2020 by Carl

Introduction

My story starts, as many good stories do, with the awesomeness of Entity Framework.  Anyone who has used it knows that you can replace those ugly SQL WHERE clauses with beautiful lambda predicates:

var adultCustomers = db.Customers
                          .Where(c => c.DateOfBirth < DateTime.Now.AddYears(-18));
Continue reading →
0 Quote
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Carl's personal website - May the Source be with you
    • Already have a WordPress.com account? Log in now.
    • Carl's personal website - May the Source be with you
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar