Browse by Tags

Related Posts

  • JavaScriptSerializer (JSON) Feature Requests

    Some requests for the JavascriptSerializer: I'd like to have a way be able to put javascript literals in my JSON output, like an element id or an object reference. The ability for a custom converter to return a scalar value instead of a dictionary (just change the return type to object) attributes to...
    Posted to ASP.NET AJAX Discussion and Suggestions (Forum) by paultyng on 12-01-2006, 12:00 AM
    Filed under: ajax, JSON, JavascriptSerializer
  • Custom JSON converter

    I would like to write a JavaScript converter that outputs in JSON rather than an IDictionary<string,object>. Why? Say for instance I have a class: class MyClass { public int X; public int Y; public int Add() { return X + Y; } public int Subtract() { return X - Y; } public int Average { get { return...
    Posted to ASP.NET AJAX Networking and Web Services (Forum) by alancnet on 12-29-2006, 12:00 AM
    Filed under: JSON, serialization, ajax
  • JSON "Maxium length exceeded"

    Guys, I have what I hope is a simple problem. I am calling a simple web service in my project called FilterService. It has one method: [ WebMethod ] [System.Web.Script.Services. ScriptMethod (UseHttpGet= true )] public string GetIndustries() { SetCacheHeaders(); JavaScriptSerializer serializer = new...
    Posted to ASP.NET AJAX Networking and Web Services (Forum) by JCannelos on 03-23-2007, 12:00 AM
    Filed under: atlas javascript webservices complextypes, ajax webservice, JSON, web service, ajax, ajax v1.0, web service ajax
  • Serializing C# type to Javascript

    We have a type defined in C# that that we are using the JavaScriptSerializer to get down to the client. On the client we have a JavaScript implementation of that type including a JavaScript implementation of its methods. I am trying to use $create to create the Component and populate with the serialised...
    Posted to ASP.NET AJAX Networking and Web Services (Forum) by paddeo on 05-22-2007, 12:00 AM
    Filed under: ajax, JSON, Deserialization
  • Re: Wildcard Extensions, RewritePath and /jsdebug

    I'm experiencing the same exact problem. In fact, this problem even occurs when UrlRewriting.Net is disabled. I'm currently running ASP.NET 2.0 on Windows 2000 with IIS 5.0. When I define the wildcard extension mapping, ScriptService URLs (e.g. xxxxx.asmx/js, xxxxx.asmx/jsdebug, and xxxxx.asmx...
    Posted to ASP.NET AJAX Discussion and Suggestions (Forum) by buddydvd2 on 06-07-2007, 12:00 AM
    Filed under: ajax, JSON, url rewriting, ASP.NET 2.0, isapi extension, wildcard extension mapping, pathinfo, iis 5.0
  • Web services serialization?

    Hello, I am trying to create a simple ASP.NET web service that can return a string as its output (such as "Hello world!") without it being wrapped in XML (such as "<string>Hello world!</string>"). This seems like a very simple task, but I have been searching for a solution...
    Posted to ASP.NET AJAX Networking and Web Services (Forum) by Ry@n on 07-23-2007, 12:00 AM
    Filed under: JSON, web service, ajax
  • Re: Client Side Animations

    Here is a tutorial I wrote sometime ago that you may want to look at regarding animations. There are links to many other articles I have written on: SQL Server 2005, SQL Anywhere 10, ASP.NET 2.0<AjaxToolKit, Cold Fusion, Oracle XE, MS Access, MS FoxPro, Ajax, Dojo, Json and many others. http://hodentek...
    Posted to ASP.NET AJAX Control Toolkit (Forum) by mysorian on 07-25-2007, 12:00 AM
    Filed under: ajax, ASP.NET 2.0<AjaxToolKit, Json, Cold Fusion, SQL Server 2005, Oracle XE, Dojo, MS Access, SQL Anywhere 10, MS FoxPro
  • Re: JSON Error: "A circular reference was detected while serializing an object of type ..."

    Dan, Thanks for the response. Yeah, I looked at this post a few days ago. It doesn't seem like it can be applied to my issue, but I did look it over. My frustration comes from the ASP.NET example on passing JSON objects, and I'm doing exactly what this example is doing, yet I get a circular reference...
    Posted to ASP.NET AJAX Networking and Web Services (Forum) by kinger on 07-27-2007, 12:00 AM
    Filed under: JSON, ajax
  • JSON => JavaScript type mismatch

    I am trying to use AJAX with Virtual Earth. One issue I am having is with transfering objects from the server to the client. I have created C# object on the server that look like the Virtual Earth objects (VELatLong, VELatLongRectangle etc) and I can serialize them to JASON and deserialize them on the...
    Posted to ASP.NET AJAX Networking and Web Services (Forum) by sawbill on 09-18-2007, 12:00 AM
    Filed under: JSON, ajax
  • WCF ASP.NET Service not working - what am I missing

    Hello. This is a simple question, so please take a look. I am using Orcas Beta2 and I created a new Solution. In there added a Web Application Project. In the project I created an Ajax enabled WCF service. When I call the service from JavaScript I get this error: Service1 is not defined. What am I missing...
    Posted to ASP.NET AJAX Networking and Web Services (Forum) by coderGeek on 10-12-2007, 12:00 AM
    Filed under: WCF, JSON, ajax, Orcas, vs2008, beta2
Page 1 of 2 (15 items) 1 2 Next >