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

  • SEARCH
  • Home
  • 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 8423613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:46:13+00:00 2026-06-10T03:46:13+00:00

do to some type of bug in microsoft’s service bus clients must send my

  • 0

do to some type of bug in microsoft’s service bus clients must send my servers text/x-json as as application/json causes the servicebus to crash or not respond. So I am looking to configure ServiceStack to treat accept : text/x-json and content-type : text/x-json the same as it would treat them when set to application/json? I looked at ContentTypeFilter.Regiser but it’s not clear which serializer options I need to set.

  • 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-10T03:46:15+00:00Added an answer on June 10, 2026 at 3:46 am

    You can’t change the existing JSON ContentType in ServiceStack but you can register a new ContentType with something like:

    appHost.ContentTypeFilters.Register(ContentType.Json,
        (r, o, s) => JsonDataContractSerializer.Instance.SerializeToStream(o, s), 
        JsonDataContractDeserializer.Instance.DeserializeFromStream);
    

    Note: this is the same API that the built-in CsvFormat and HtmlFormat use.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm reviewing some legacy code and I've found a bug that causes the response
My Android application contains an EditText view where you can type some short messages
I have some *Type form classes and a forms.html.twig to customize form appearance. By
Does .NET have some type of built in function that allows filtering on Gridviews?
I'm looking for some type of profiling utility I could use where I can
Is there some type of cap as to how much CPU an applet can
I wish to add some type of business logic constraint to a table, but
I was doing some type conversion routines last night for a system I am
There is some type Record : type Day = Integer type Description = String
Does anyone know if there is some type of tool, preferably a Firefox add

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.