Paging increases performance by reducing the amount of records returned by SQL queries. Combine paging with Entity Framework projection queries, and you'll notice a major increase in performance. In this post, you will learn how to implement paging with Entity Framework. … [Read more...]
Increasing the Performance of Entity Framework with Projection Queries
If you're not using Entity Framework projection queries, your application is certain to run like a big fat slimy slug! In this post, we will look at what projection queries are, how to write them, and when you should use them. … [Read more...]
Why Is Entity Framework with ASP.NET Slow?
Do you have a slow running ASP.NET Web Application? There's a good chance it's because of lazy loading, an Entity Framework feature that's enabled by default. In my opinion, you should not use lazy loading for web applications. In this post I will explain why lazy loading can slow down performance and what you can do instead. … [Read more...]
How to Send Email Messages with C# and Gmail or Outlook.com
Sending email messages using C# is easy. But you must have access to an SMTP server in order to do it. If you don't have your own SMTP server, it's possible to use your Gmail or Outlook.com account. This post will show you how to create an SmtpMailer class which can be used to send email messages with Gmail or Outlook.com. … [Read more...]
Autofac Cache Module Example for ASP.NET MVC
In my last post, I mentioned why I use Autofac with ASP.NET MVC, and how to set up a basic configuration. In this post, I will explain how to create an Autofac module that can be used to switch between different caching implementations. … [Read more...]
- « Previous Page
- 1
- …
- 3
- 4
- 5
- 6
- Next Page »