Click here to Skip to main content
12,406,986 members (61,390 online)
Click here to Skip to main content

Stats

43.6K views
1.5K downloads
33 bookmarked
Posted

Simple JSON Handler for ASP.NET 2.0 to Implement AJAX Functionality

, 30 Jun 2011 CPOL
Simple JSON handler for ASP.NET 2.0 to implement AJAX functionality
using System;
using System.Collections.Generic;
using System.Web;

namespace SampleJSONWeb
{
    public class ReferenceData
    {
        private string id;

        public string Id
        {
            get { return id; }
            set { id = value; }
        }

        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public ReferenceData(string id, string name)
        {
            this.id = id;
            this.name = name;
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Pubudu Kasakara
Architect
Singapore Singapore
Pubudu Kasakara is working as Solution Architect in Singapore. He has more than 11 years of professional involvement in the IT industry. Worked in successful projects involving mainly the Service Oriented Application by contributing to all requirements gathering, design and implementation phases. He is having experience with SOA applications development, Microsoft .NET, BizTalk, He is member of Charted It professional in UK.

Solution Architect
http://www.kasakara.com

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160730.1 | Last Updated 1 Jul 2011
Article Copyright 2011 by Pubudu Kasakara
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid