Home > DeveloperSection > Forums > What is DRY Principle in ASP.NET MVC ?
Sachin Singh
Sachin Singh

Total Post:26

Points:182
Posted on    May-01-2016 11:34 PM

 ASP.Net C#  ASP.Net  ASP.NET MVC 
Ratings:


 1 Reply(s)
 251  View(s)
Rate this:
Hi Everyone,

I want to know about the  DRY Principle and how it is so important in ASP.NET MVC.
Please can anyone give me a solution.

Thank you.



Anupam Mishra

Total Post:135

Points:949
Posted on    May-01-2016 11:58 PM

Hi Sachin,

DRY  Principle is not specific to any one technology. Just make sure you look at your classes from a functionality standpoint (not even from a copy/paste coder view) and see where the duplication occurs. 
This process will probably not happen in one sitting, and you will only notice duplication after reviewing your code several months later when adding a new feature. If you have unit tests, you should have no fear in removing that duplication.


Don't want to miss updates? Please click the below button!

Follow MindStick