I recently re-read this great article by Martin Fowler about Technical Debt. I feel shy about having a partially dissenting opinion but I’m taking courage and I will blog about it. The part that caught my attention is the following sentence: If I have a terrible area of the code […]
Technical
If you are programming an Android app and you’re allowing your users to select an image from gallery you will soon discover that as the screen rotates the image disappears! Gosh! What’s happening?! Let’s go a step back. So far you should know that activities have a specific lifecycle. Each […]
Hello everyone, today I will share my experience about creating a Git repository for a new Android Studio project. This post dates back to 2016 and is migrated from an older blog. My goal is to allow a fellow developer to checkout (Clone in Git words) the project from server […]
This post dates back to 2013 and it is ported from my old blog. I recently installed IIS Express on my machine. I found it useful and I developed a GUI for it that you can find here on GitHub: The most surprising feature of IIS Express, in my opinion, […]
This post dates back to 2013 and it is migrated from my old blog. The argument of this post can be relevant to people using Subversion and willing to give a try to Git. In this article I will try to give a quick way to get started with Git […]
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 […]
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 […]
This post is an old one migrated from my early years blog: In this post I list the new line character for batch scripts, Makefile files and VBScript scripts. A while ago I spent a lot of time for finding information about which character was the line continuation character in […]
1. Tasks Block 2. MsBuild Task 2.1. MSBuild and ReferencePath – CruiseControl.NET not resolving reference to Nunit 2.2. An Alternative MSBuild Logger – Christian Rodemeyer’s MsBuildToCCNet 2.3. CruiseControl.NET Webdashboard fails in finding images if not installed in virtual directory 2.4. MSBuildToCCNET reports wrong number of compiled projects 2.5. CruiseControl.NET, MsBuild […]
1. Introduction 2. Resources 3. Prerequisites – Install Software 4. Setup a Subversion Repository with the Help of TortoiseSVN 4.1. Create a Repository 4.2. Set a Security Policy 4.3. Run Subversion Server Process 5. Checkout a Working Copy 6. Add content and Commit 6.1. Add a Text File to Versioning […]
1. Prerequisites 2. Introduction – SolutionInfo.cs 3. Introduction – Partitioned single solution 4. Partitioned single solution and SolutionInfo.cs – The problem 5. Partitioned single solution and SolutionInfo.cs – The Solution 6. Subversion Issue 695 and Release 1.5 7. Notes 7.1. Add a file as link 7.2. Set Build Action to […]
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 […]
1. Introduction 2. Resources 3. Installation 3.1. Install CruiseControl.NET 3.2. Create a CCNet Website in IIS 3.3. Install Nunit 4. CruiseControl.NET Server Configuration – General 5. Structure of a ‘Project’ Configuration File 6. Source Control Block 7. Trigger Block 8. Labeller Block 1. Introduction This article is the revised and […]