title: Can ASP.NET MVC return a javascript response like Ruby on Rails can?
body: <p>I'm diving into ASP.NET MVC and I'm coming from a Ruby on Rails background.  I'm trying to understand how ASP MVC handles AJAX functionality and, after reading some of the tutorials on the ASP website, it appears they implement AJAX functionality very differently.  One of the ways that RoR handles AJAX functionality is by returning ruby-embedded javascript code that is executed as soon as it is received by the browser.  This makes implementing AJAX really simple and quite fun.  Can ASP.NET MVC return a javascript response?</p>