Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Apress committed Oct 18, 2016
0 parents commit 135960d
Show file tree
Hide file tree
Showing 1,613 changed files with 2,057,066 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Chapter 02/SimpleApp/SimpleApp.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2013 for Web
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleApp", "SimpleApp\SimpleApp.csproj", "{2F3D4F89-3E8D-47BE-9FB6-C2E367253D8C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2F3D4F89-3E8D-47BE-9FB6-C2E367253D8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2F3D4F89-3E8D-47BE-9FB6-C2E367253D8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2F3D4F89-3E8D-47BE-9FB6-C2E367253D8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2F3D4F89-3E8D-47BE-9FB6-C2E367253D8C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
23 changes: 23 additions & 0 deletions Chapter 02/SimpleApp/SimpleApp/App_Start/RouteConfig.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;

namespace SimpleApp
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);
}
}
}
Loading

0 comments on commit 135960d

Please sign in to comment.