I don't care for the MVC pattern most of us use for building web applications. What I like about frameworks like ASP.MVC is how is automatically maps URLs to an idiomatic C# method.
public class PersonController : Controller {
public ActionResult Get(int id) {
return View(new { Id = id, Name = "Bob" });
}
}
What I'd like to so instead is something more function based rather than object oriented based.
module Routing
type Person = { Id: int; Name: string }
let getPeople(id:int) = { Id = id; Name = "Bob" }