I\'m having trouble getting C# and JavaScript/jQuery to play nice here.
I have a knockout view model, plain old javascript object... one of its property/methods fire
The way we do this in my MVC 3 project is to include the following in the Master Layout:
Then you just prepend that to your URLs in the JavaScript.
Which in your sample would read:
url: baseSiteURL + 'vendors/' + viewModel.count() + '/' + viewModel.filterText()