Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepfeiffer committed Mar 13, 2017
1 parent 5bb3b56 commit 8d83345
Show file tree
Hide file tree
Showing 40 changed files with 23,281 additions and 0 deletions.
22 changes: 22 additions & 0 deletions MovieMVC.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 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MovieMVC", "MovieMVC\MovieMVC.csproj", "{C8258860-BE99-445C-8BA2-3B29EBD30C19}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C8258860-BE99-445C-8BA2-3B29EBD30C19}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C8258860-BE99-445C-8BA2-3B29EBD30C19}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C8258860-BE99-445C-8BA2-3B29EBD30C19}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C8258860-BE99-445C-8BA2-3B29EBD30C19}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
23 changes: 23 additions & 0 deletions MovieMVC/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 MovieMVC
{
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 8d83345

Please sign in to comment.