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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:25:38+00:00 2026-05-29T09:25:38+00:00

I have a question for you stackoverflow experts :). I’m planning to use the

  • 0

I have a question for you stackoverflow experts :). I’m planning to use the FLOT jQuery plugin to chart some data to the MVC3 application I’m building.

I have several views that return data, but I’m just using a resultset and not an entity framework of any sort (it’s nice and fast). I’ve never worked with JSON before, and I have the following questions:

a) Do I have to use a data model to return data to the controller, then use the JSON method to create the JSON file, or can I return the data without using an entity framework and achieve the same result?
b) Is there a bit of sample code anywhere that can help me out with this (or a link to a good example?

Many thanks in advance ;-).

  • 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-05-29T09:25:39+00:00Added an answer on May 29, 2026 at 9:25 am

    If you can get your data into a class with properties (get;set;) then you can simply use the built in serializer for MVC ie return Json(yourClass);

    If you want a bit more control over it, check out
    http://json.codeplex.com/

    Theres a linq-to-json and a dataset converter as well.

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

Sidebar

Related Questions

I have a question about .data(). In a stackoverflow answer, jquery saves data in
I have a question which is similar to some questions at stackoverflow but none
(Please note that I have seen a similar question on StackOverflow recently, however I
[i meant to ask this question on StackOverflow...] I have been using VisualSVN Server
After reading a description about swapping pointer addresses on Stackoverflow, I have a question
I have seen stackoverflow ask question page they disable button until my postback event
Greetings to all! This is my first question here on stackoverflow. I have a
This question may seem a little bit stackoverflow-implementation specific, but I have seen a
I have an answered StackOverflow question about how to combine to legacy CHAR database
First question on stackoverflow :) Hope I won't embarrass myself... I have a javascript

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.