Is it possible to use ArcGIS API for JavaScript in ASP.Net MVC4's Razor View? If you found how to do this, please let me know. So far, I have only found ways to post back to a MVC controller using jQuery. From there, you can return a json action response. I don't think you can use any of MVC Razor markup directly in DIVs made up of DOM injected text. This is the model for for the Javascript API to avoid postbacks. Almost all the map interaction is done with DOM injection that is rather easy to do using jQuery. Forget using any Dojo that you don't have to. It is garbage. If anyone wants to see how I interact with MVC controllers to get back a json object, just ask.
... View more