I need to pass a list (or array) of IP addresses and other information from C# code behind to the javascript function, which is in the external .js..
Also, this list may be long (1000+ items) .. What is the most efficient way to do this? can you provide a small example? should I use json serialization?