CopyPastor

Detecting plagiarism made easy.

Score: 1; Reported for: String similarity Open both answers

Possible Plagiarism

Reposted on 2020-11-20
by Prince Painadath

Original Post

Original - Posted on 2020-11-20
by Prince Painadath



            
Present in both answers; Present only in the new answer; Present only in the old answer;

For MVC5 below code works for issue same controller name for different areas. You have to specify which area controller have to hit first. routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }, new[] { "ApplicationName.Areas.AreaName.Controllers" } ).DataTokens.Add("area", "AreaName");
For MVC5 below code works for issue same controller name for different areas. You have to specify which area controller have to hit first. routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }, new[] { "ApplicationName.Areas.AreaName.Controllers" } ).DataTokens.Add("area", "AreaName");

        
Present in both answers; Present only in the new answer; Present only in the old answer;