Contents tagged with development

  • Using abstract classes as controller parameters in ASP.NET MVC4

    As a part of the API for our product, we have the need to allow the UI to send us a parcel of data, and we need to process it differently based solely on a single parameter in the data.  We have decided to create an abstract model class to handle this, but MVC's DefaultModelBinder doesn't work out of the box on abstract classes (or interfaces).  There are many discussions out there on this, and the accepted way to solve this problem is to create a new ModelBinder class that has more …

    Read More...
  • Fertilization Part 0: Creating a fork

    Use Case Maker is housed in an old CVS repository.  The first thing that I want to do is to convert that into a more modern source control system, such as subversion or git.  Because of my own personal preferences, I am going to choose git as the repository of choice.  This will also enable me to host the repository on GitHub for my readers to browse.

    I want to retain the existing history, so simply downloading the source and pushing it into a new repository is not an …

    Read More...
  • Fertilization project selected!

    After a not-so-exhaustive search for a project to fertilize (refactor) as a series for this blog, I have decided on an old project I found on SourceForge called Use Case Maker.  The primary goal at the end is to have a new major version completed without affecting functionality in the interim releases.  The current major release on SourceForge is 2.0, so we will be working for a 3.0 release.

    My goals for 3.0 are:

    Upgrade to the 4.0 version of the .NET Framework

    Plug-in …

    Read More...
  • Software fertilization

    On countless occassions throughout my career, I have been tasked with fixing up legacy business-critical applications containing old, fragile code, that may or may not have been designed very well the first time.  My initial reaction is usually "Just rewrite it," but that has never (and I mean never) been the desire of the business.  Often, the business has invested so much time and money into their product that there is an institutional pride which precludes even bringing the subject …

    Read More...
  • 1