Click here to Skip to main content
15,887,214 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: I am getting the error: A potentially dangerous Request.QueryString value was detected from the client (msg="...ema 'dbo'.<br />The EXECUTE pe..."). Pin
Jochen Arndt21-May-18 23:29
professionalJochen Arndt21-May-18 23:29 
SuggestionRe: I am getting the error: A potentially dangerous Request.QueryString value was detected from the client (msg="...ema 'dbo'.<br />The EXECUTE pe..."). Pin
Richard Deeming22-May-18 2:22
mveRichard Deeming22-May-18 2:22 
GeneralRe: I am getting the error: A potentially dangerous Request.QueryString value was detected from the client (msg="...ema 'dbo'.<br />The EXECUTE pe..."). Pin
Jochen Arndt22-May-18 2:59
professionalJochen Arndt22-May-18 2:59 
AnswerRe: I am getting the error: A potentially dangerous Request.QueryString value was detected from the client (msg="...ema 'dbo'.<br />The EXECUTE pe..."). Pin
jkirkerx23-May-18 13:38
professionaljkirkerx23-May-18 13:38 
AnswerAnswer: I am getting the error: A potentially dangerous Request.QueryString value was detected from the client (msg="...ema 'dbo'.<br />The EXECUTE pe..."). Pin
indian14329-May-18 9:18
indian14329-May-18 9:18 
QuestionAttribute routing on index Pin
jkirkerx17-May-18 11:26
professionaljkirkerx17-May-18 11:26 
AnswerRe: Attribute routing on index Pin
Vincent Maverick Durano21-May-18 14:17
professionalVincent Maverick Durano21-May-18 14:17 
GeneralRe: Attribute routing on index Pin
jkirkerx22-May-18 13:29
professionaljkirkerx22-May-18 13:29 
This is my route config.
It's better now, but I'm befuddled as to why I had to add the extra 2 when it worked for years.
I did upgrade my MVC to 5.2.3, but stopped there due to issues with X.PagedList.Boostrap4
I thought I knew what I was doing but it fell apart on me when I went attr routing.
This is the website
https://jkirkerx.com
public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

            // Enabling attribute routing
            routes.MapMvcAttributeRoutes();

            // Enabling Area Registration
            //AreaRegistration.RegisterAllAreas();  

            // Custom Route for the Ajax
            Route ajaxRoute = new Route("{controller}/{action}", new MvcRouteHandler());
            routes.Add("Ajax", ajaxRoute);

            // Custom Route for the Error Pages
            Route errorRoute = new Route("{controller}/{action}/{error}", new MvcRouteHandler());
            routes.Add("Error", errorRoute);

            // Diagnostics UserName Route
            Route diagUserNameRoute = new Route("{controller}/{userName}/{action}", new MvcRouteHandler());
            routes.Add("Diagnostics", diagUserNameRoute);

            // Setup UserName Route
            Route setupUserNameRoute = new Route("{controller}/{userName}/{action}", new MvcRouteHandler());
            routes.Add("Setup", setupUserNameRoute);

            // Admin UserName Route
            Route adminUserNameRoute = new Route("{controller}/{userName}/{action}", new MvcRouteHandler());
            routes.Add("Admin", adminUserNameRoute);

            // Portfolio Controller Route
            Route portfolioRoute = new Route("{controller}/{action}", new MvcRouteHandler());
            routes.Add("Portfolio", portfolioRoute);

            // Custom Route for the Request Review
            Route reviewRequestRoute = new Route("{controller}/{sT}", new MvcRouteHandler());
            routes.Add("ReviewRequest", reviewRequestRoute);

            // Custom Route for the Review
            Route reviewRoute = new Route("{controller}/{action}", new MvcRouteHandler());
            routes.Add("Reviews", reviewRoute);

            // Home / Default Controller Route
            Route homeRoute = new Route("{controller}/{action}", new MvcRouteHandler())
            {
                Defaults = new RouteValueDictionary(new { controller = "Home", action = "Index", id = UrlParameter.Optional })
            };
            routes.Add("Default", homeRoute);
        }
    }
If it ain't broke don't fix it


modified 22-May-18 19:36pm.

QuestionSecuring my WebApi with OAuth2 Pin
Kraftw3rk16-May-18 22:51
Kraftw3rk16-May-18 22:51 
AnswerRe: Securing my WebApi with OAuth2 Pin
Richard MacCutchan16-May-18 23:35
mveRichard MacCutchan16-May-18 23:35 
AnswerRe: Securing my WebApi with OAuth2 Pin
Vincent Maverick Durano21-May-18 14:21
professionalVincent Maverick Durano21-May-18 14:21 
QuestionASP.Net MVC output caching at client side Pin
Mou_kol16-May-18 4:16
Mou_kol16-May-18 4:16 
AnswerRe: ASP.Net MVC output caching at client side Pin
Richard MacCutchan16-May-18 4:58
mveRichard MacCutchan16-May-18 4:58 
AnswerRe: ASP.Net MVC output caching at client side Pin
Vincent Maverick Durano21-May-18 21:09
professionalVincent Maverick Durano21-May-18 21:09 
QuestionAsp.net Pin
Member 1363315416-May-18 0:20
Member 1363315416-May-18 0:20 
AnswerRe: Asp.net Pin
David Mujica16-May-18 3:59
David Mujica16-May-18 3:59 
GeneralRe: Asp.net Pin
Member 1363315416-May-18 18:59
Member 1363315416-May-18 18:59 
GeneralRe: Asp.net Pin
Richard Deeming17-May-18 2:25
mveRichard Deeming17-May-18 2:25 
AnswerRe: Asp.net Pin
Vincent Maverick Durano21-May-18 14:04
professionalVincent Maverick Durano21-May-18 14:04 
QuestionASP.Net MVC What is Donut Caching Pin
Mou_kol14-May-18 22:21
Mou_kol14-May-18 22:21 
AnswerRe: ASP.Net MVC What is Donut Caching Pin
Richard MacCutchan14-May-18 22:54
mveRichard MacCutchan14-May-18 22:54 
GeneralRe: ASP.Net MVC What is Donut Caching Pin
Mou_kol14-May-18 23:34
Mou_kol14-May-18 23:34 
GeneralRe: ASP.Net MVC What is Donut Caching Pin
F-ES Sitecore15-May-18 2:58
professionalF-ES Sitecore15-May-18 2:58 
GeneralRe: ASP.Net MVC What is Donut Caching Pin
Mou_kol15-May-18 22:29
Mou_kol15-May-18 22:29 
GeneralRe: ASP.Net MVC What is Donut Caching Pin
Vincent Maverick Durano21-May-18 16:22
professionalVincent Maverick Durano21-May-18 16:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.