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 8233777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:14:49+00:00 2026-06-07T18:14:49+00:00

I am using MVC4 RC and I read that MVC4 uses JSON.NET as the

  • 0

I am using MVC4 RC and I read that MVC4 uses JSON.NET as the default JSON Serializer/DeSerializer.
I am not using Web Api and just using default MVC controllers.
When I break on Application_Start and browse through ValueProvidersFactories, I still find JSONValueProviderFactory, which internally uses JavaScriptSerializer.

?ValueProviderFactories.Factories
Count = 6

[0]: {System.Web.Mvc.ChildActionValueProviderFactory}

[1]: {System.Web.Mvc.FormValueProviderFactory}

[2]: {System.Web.Mvc.JsonValueProviderFactory} <–

[3]: {System.Web.Mvc.RouteDataValueProviderFactory}

[4]: {System.Web.Mvc.QueryStringValueProviderFactory}

[5]: {System.Web.Mvc.HttpFileCollectionValueProviderFactory}

So to use JSON.NET, do I still need to create my own ValueProviderFactory (as done here) Or I am missing something in the whole picture?

  • 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-07T18:14:50+00:00Added an answer on June 7, 2026 at 6:14 pm

    So to use JSON.NET, do I still need to create my own
    ValueProviderFactory (as done here) Or I am missing something in the
    whole picture?

    No, you are not missing anything. You debugged and understood perfectly fine the whole picture. If you want to use JSON.NET with standard ASP.NET MVC controllers (not Web API) you have to roll your own Json value provider factory.

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

Sidebar

Related Questions

I am creating a web api using asp.net mvc4 and the response output is
I'm using Newtonsoft JSON.NET 4.5r7 in an MVC4 non-api project. Below I rename id
I am using MVC4's WEB API to expose a controller. Initially I created created
I am building a Web API using MVC4 and some request return blocks of
I'm using latest MVC4-RC (.net 4.0) with Microsoft ASP.NET Web Optimization Framework http://nuget.org/packages/Microsoft.AspNet.Web.Optimization/1.0.0-beta3 and
The DataAnnotations validator not working in asp.net mvc 4 razor view, when using the
I am considering building some services using the new Web API that's introduced in
I am new to asp.net MVC, using MVC4 at the moment, learning by tutorials
Using ASP.NET MVC there are situations (such as form submission) that may require a
I added ASP.NET Web API RC to my MVC3 project using NuGet: Install-Package AspNetWebApi

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.