JSON, AJax, ASP.NET, Prototype and SubSonic
Over the last few days, I have been working on something with a mixture of ASP.NET, JSON, SubSonic, Ajax and Prototype. the way everything is done is fairly simple, but also a bit all over the shop. mind you, I’m learning, and I’m happy with the results.
I have an ASHX file written in C#, which uses SubSonic to query a SQL DB.
Subsonic returns a list of objects, which I then convert to a JSON string using Json.NET. this is then returned to the user.
the front end is a very simple HTML file, which includes Prototype. it calls the ASHX pages, getting back the JSON objects, parses them, and then displays them to the user. Very cool stuff!
Only doing this as a test, and demo, but lets hope I can get it working on something else!
blog comments powered by Disqus