Your colleague might be referring to the use of MVC Controllers to deliver JSON content via AJAX calls from your client end. In this case there is no external .dll's that are necessary.
MVC Scaffolding makes a RESTful type interface very easy to setup. Here is one possible way how you would do it.
public class HomeController : AsynController
{
[HttpPost] //Create
public JsonResult CreateStuff(Stuff s)
{
var newStuff = new Stuff { Property = s.Property };
db.Stuff.Add(newStuff);
db.SaveChanges();
return Json(new { data = newStuff }, JsonBehavior.AllowGetRequest);
}
[HttpGet] //Read
public JsonResult GetStuff(int id)
{
var stuff = db.Where(x => x.Id == id).FirstOrDefault();
return Json(new { data = stuff }); //Check for null on the js side.
}
[HttpPut] //Update
public JsonResult UpdateStuff(Stuff s)
{
bool updated = false;
var stuff = db.Where(x => s.Id == id).FirstOrDefault();
if (stuff != null)
updated = true;
stuff.Property = s.Property;
return Json(new { data = stuff, updated = updated});
}
[HttpDelete] //delete
public JsonResult DeleteStuff(int id)
{
bool deleted = false;
var deleteThis = db.Where(x => x.Id == id).FirstOrDefault();
if (deleteThis != null)
db.Stuff.Remove(deleteThis);
db.SaveChanges();
deleted = true;
return Json(new { deleted = deleted });
}
}
//js side
//more sophisticated logic goes here
$(document).ready(function() {
$.ajax({ url : '/CreateStuff/',
success : function(e) {
console.log("created " + e);
}
});
});