I\'m fairly new to ASP.NET MVC, and I\'m having a little trouble with scripts... in particular, I want to use jQuery in most pages, so it makes sense to put it in the master
I made some of what OJ mentions, I created a GoogleHelper class with this methods
public static string ReferenceGoogleAPI()
{
var appSettings = new AppSettingsReader();
string apiKey = appSettings.GetValue("GoogleApiKey", typeof(string)).ToString();
return ReferenceGoogleAPI(apiKey);
}
public static string ReferenceGoogleAPI(string key)
{
return "";
}
public static string ReferenceGoogleLibrary(string name, string version)
{
return "";
}
Now I'm adding extra methods to get some ClientLocation data ;)