Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1102)

Delta Between Two Patch Sets: Calendar.ASP.NET.MVC5/App_Start/RouteConfig.cs

Issue 194980043: Issue 6: Create an ASP.Net MVC Sample Base URL: https://google-api-dotnet-client.samples.googlecode.com/hg/
Left Patch Set: Import order, dev console link, AssemblyInfo comment Created 9 years, 1 month ago
Right Patch Set: Addressed peleyal's comments Created 8 years, 11 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Calendar.ASP.NET.MVC5/App_Start/MyRequestedScopes.cs ('k') | Calendar.ASP.NET.MVC5/App_Start/Startup.Auth.cs » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // This file is added automatically by the MVC 5 application template. 1 // This file is added automatically by the MVC 5 application template.
2 2
3 using System; 3 using System;
4 using System.Collections.Generic; 4 using System.Collections.Generic;
5 using System.Linq; 5 using System.Linq;
6 using System.Web; 6 using System.Web;
7 using System.Web.Mvc; 7 using System.Web.Mvc;
8 using System.Web.Routing; 8 using System.Web.Routing;
9 9
10 namespace Calendar.ASP.NET.MVC5 10 namespace Calendar.ASP.NET.MVC5
11 { 11 {
12 public class RouteConfig 12 public class RouteConfig
13 { 13 {
14 public static void RegisterRoutes(RouteCollection routes) 14 public static void RegisterRoutes(RouteCollection routes)
15 { 15 {
16 routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); 16 routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
17 17
18 routes.MapRoute( 18 routes.MapRoute(
19 name: "Default", 19 name: "Default",
20 url: "{controller}/{action}/{id}", 20 url: "{controller}/{action}/{id}",
21 defaults: new { controller = "Home", action = "Index", id = UrlP arameter.Optional } 21 defaults: new { controller = "Home", action = "Index", id = UrlP arameter.Optional }
22 ); 22 );
23 } 23 }
24 } 24 }
25 } 25 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b