Step 1
Best in the debugging process by putting breakpoints.
Step 2
Best in use of SQL Profiler.
Step 3
Best in use of Browser inspect elements.
- The first step for code behind flow.
- The second step for database or backend.
- The third step for UI part.
Tricks
When MVC application will load their many partial views inside one view related to controller action method.So it is very difficult for developers to find out the control in the page is coming from which view. In that case, go to inspect element then pick an element from the page and copy that control id and find out where it is using in the project by ctrl+f. By doing that process the developer can add new control and feature on the page. This step is very helpful when you work in real time project in any organization.
By using SQL profiler developer can easily find out what the procedure and its related tables used in the currently loaded page.
By using breakpoints developer can do debugging and find out the flow of that project from method to method.
In which Case
If you are a developer and company will give you very limited time to be familiar with any .Net application which is already developed like MVC. So, how you will be more familiar and get knowledge about the flow of this application without anyone's help.
Result
If you are best in these parts not only good or better then no-one can beat you in the coding world you will always be the best programmer. If you will face any new project or new application these steps will always help you even you are new or experience to that particular existing MVC project.
Summary
- Attain any existing MVC project without fear.
- Take these steps in your pocket always.