This post dates back to 2013 and is migrated from my old blog. The argument of this post is relevant to people using Entity Framework and needing to filter data coming from a Database with a list of in-memory data. In this article I will try to start summarizing what […]
C#
This post dates back to 2013 and it is migrated from my old blog. In this article I will show you that, when importing data with Entity Framework, you will almost always have performance issues unless you disable AutoDetectChanges. When creating an application to be scheduled on a timely basis […]
This post dates back to 2012 and it is migrated from my old blog. In this article I will show you that when using Queryable.Sum with Entity Framework and Linq to Entities to sum up a list of decimal values (or other value type) like in the following snippet you […]
This post dates back to 2012 and is migrated from my old blog. In this article I will show you that let clauses inside Linq queries are not a simple matter of readability of the query, when it comes to using Entity Framework and the Linq to Entities provider. In […]
This post is an old one written back in 2012 and migrated from my old blog. In this article I will try to explain how to enable and use Entity Framework’s Code First Migrations in a real project (i.e.: a solution with many projects, a database server, etc). The Target […]
1. Why AutoComplete.Net? 2. Download 3. Asp.Net Documentation 3.1. AutoCompleteTextBox 3.2. Tutorial 4. Asp.Net MVC Documentation 4.1. Extension Methods 4.2. Tutorial 1. Why AutoComplete.Net? In this article I will introduce my GitHub project: AutoComplete.Net. Such project is made up of a library containing an Asp.Net WebControl and a bunch of […]
1. Introduction 2. Description 2.1. Implementation 2.2. Strongly Typed Extension Methods 3. Full Code 3.1. PanelExtensions 3.2. MvcPanel 3.3. TestView 3.4. StronglyTypedView 3.5. ViewModel 3.6. Controller 1. Introduction This is the porting of an old post I originally wrote in 2010 in my old blog. In this article I will […]
1. Introduction 2. System Requirements 3. Download and Install 4. Package Contents 4.1. Test Class Library Project Template 4.2. Test Class ItemTemplate 4.3. Code Snippets 5. Uninstall 6. Suggested Books 1. Introduction If you’ve been using ‘NUnit’ you found yourself involved in doing repetitive actions like creating test projects and […]
1. Introduction 2. The problem 3. Other solutions 4. The goal 5. Example 6. Conclusion 7. Advantages of this solution 8. Full source code 1. Introduction Use of enumerations greatly enhance readability of code and let client code be type safe and easier to write. We don’t need to write […]