Tagged Questions
19
votes
8answers
1k views
Adding complexity to remove duplicate code
I have several classes that all inherit from a generic base class. The base class contains a collection of several objects of type T.
Each child class needs to be able to calculate interpolated ...
2
votes
5answers
730 views
How to turn on/off code modules?
I am trying to run multiple sites using single code base and code base consist of the following module (i.e. classes)
User module
Q & A module
Faq module
and each class works on MVC pattern ...
2
votes
1answer
658 views
Visual Studio extension to highlight code reuse?
I was under a tight deadline to finish a project in C#, and as a result I feel I didn't code things in the most efficient way. Now that I have time to go back and optimize the code, I was wondering if ...
2
votes
1answer
2k views
Best way to reuse common functions between ASPX pages ?
I have a bunch of functions that are used across multiple ASPX files. I want to condense these down to one file to be used for all the ASPX files. I have a few ideas but I want to know what the ...
1
vote
2answers
396 views
Should the search engine return a dictionary or strongly typed objects?
I'm building a search engine using Lucene.NET / Solr.NET, and I'm wondering should search hits be returned as a dictionary or strongly typed object.
public class SearchResult
{
public string ...