Here is a simple example of how to use Bing Maps in an MVC application.
I am using Bing Maps V8 which is the current version of Microsoft.
Also, nothing that document.ready will fire long before the map script loads as it loads asynchronously. Sometimes document.ready will fire before the page is loaded which means the map div might not even be available. To overcome this, we are using the callback parameter of the map script UR: for example:
The Microsoft documentation can be found here:
To setup a Key you can do this quite easily at the Bing Maps Portal website: