Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8828503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:37:14+00:00 2026-06-14T07:37:14+00:00

I am currently working on a solution where we have a self-hosted ServiceStack layer

  • 0

I am currently working on a solution where we have a self-hosted ServiceStack layer running, but the problem is that I keep getting errors when I access it from the browser and the browser tries to get the favicon. As far as I can see there is no option of ignoring a specific route when running self-hosted?

I would have imagined something like

Routes.Ignore("favicon*")

a bit like the

Routes.Add<Foo>("/foo")

in my AppHost Configure method

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T07:37:15+00:00Added an answer on June 14, 2026 at 7:37 am

    Unlike MVC which uses a Http Module to process and hijack all requests, ServiceStack is built-on ASP.NET’s raw IHttpHandler interfaces. This means ServiceStack must handle any request matching the ServiceStack handler path (e.g. / or /api) by returning an IHttpHandler and isn’t able to Ignore them like they do in MVC.

    You can however catch and handle all unhandled requests by registering a handler in IAppHost.CatchAllHandlers, e.g:

    appHost.CatchAllHandlers.Add((httpMethod, pathInfo, filePath) => {
       if (pathInfo.StartsWith("favicon"))
          return new NotFoundHttpHandler();
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I search for a working solution for a rather simple problem, but could not
We're currently working on a solution that involves managing a large number of parts
I am currently working on a project in which I have to keep track
I am currently working on a prototype ASP.NET MVC 3 solution that will be
I'm currently working on a solution which needs to use both Silverlight 3.0 and
I am currently working on a solution in C# to copy database tables across
I'm currently working on a Lotus Notes solution. We're just using Web forms so
I'm currently working on an Asp.net MVC Web application. In my solution, there're two
Currently working with converting SQLException error messages into messages that are more useful for
Currently working on a site built in Django and i'm getting an issue when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.