---
title: "Where is the route mapping code written?"  
description: "Where is the route mapping code written?"  
author: "Hemant Patel"  
published: 2018-03-12  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/23348/where-is-the-route-mapping-code-written  
category: "c#"  
tags: ["c#", "asp.net mvc", "mvc", "mvc4"]  
reading_time: 1 minute  

---

# Where is the route mapping code written?

We can write route mapping code in "RouteConfig.cs" file and it's registered using "global.asax" application start event.

## Answers

### Answer by Hemant Patel

We can write route mapping code in "RouteConfig.cs" file and it's registered using "global.asax" application start event.


---

Original Source: https://www.mindstick.com/interview/23348/where-is-the-route-mapping-code-written

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
