A project to auto-generate JavaScript proxies for MVC and WebApi controllers
C# Batchfile
Switch branches/tags
Nothing to show
Clone or download
martynsmall and stevegreatrex Added support for explicitly including authentication types (#16)
* Added support for including authentication types

* Updated the version number
Latest commit ce24b41 Feb 6, 2017


ProxyApi is a library that automatically creates JavaScript proxy objects for your ASP.NET MVC and WebApi Controllers.

public class DemoController : ApiController
    public void Post(int id, Person person) {

	public Person Get(int id) {


$.proxies.demo.post({ Name: 'Bob Smith' });

  .done(function(person) {
    //use retrieved person

All in 2 easy steps:

  1. Download the NuGet package
  2. Add a script tag for ~/api/proxies

Intellisense Support

If you want intellisense support for the generated proxies, you can download the additional Intellisense NuGet package

See the introductory blog post for more details, and check out greatrexpectations.com for updates.