With WebForms, which will remain in 4.x versions, you can use WebMethod (in aspx pages) and WebApi
@samcov:You coult make a simple asp.net 5 site with only serving static files and just serve that index.html and JS files and thats it. Much leaner with asp.net 5
@csv79: I like that, I've never liked MS's MVC, I much prefer a MVVM style web app! They make a BIG point about in asp.net 5 that you can just save the file and refresh the web page and it works! That always cracks me up because we've been able to do that in webforms the day they were introduced many years ago... 2002!!!
@sheryever - Yes I know that webforms are gone, I don't really mind, I just wanted to know how to make a single page that I can use some syntax to pull data from a database(or elsewhere) and place it on a form ONLY on load. I assume razor syntax is all that's available. I simply do not wish to have the bloated MVC layout. Even with webforms, we NEVER used MS controls, only plain html.