We are delighted to announce that we’ve added support for ASP.NET WebAPI and Kendo UI to the PLINQO for Entity Framework templates! In the article below we will talk about the templates and show off the new features. Please note that while we are still working on these features, we would love for you to download the templates and give us your feedback.
Also note that you will need to download and install MVC4 and NuGet before continuing.
Please note that the templates require CodeSmith Generator 6.5.1.
You can get started with the templates by downloading the latest nightly build and running the Quick Start. We have also placed the PLINQO for Entity Framework Templates on NuGet and will release more information when stable WebAPI and Kendo UI templates are available via NuGet.
The generated admin sample site shown below is very useful for interacting with your data.
One of the main features that we support out of the box is Paging. Paging allows you to see limited amounts of data, making the generated website blazing fast without killing your server. It's worth noting that WebAPI 1.0 will ship without paging support.
We also support server side sorting and filtering out of the box!
You can use the sample website to update existing content just as you would with Dynamic Data.
One of the best features of WebAPI is that it is Extensible. We've integrated into the WebAPI pipeline and offered all of the above features without adding one line of code to the generated controllers.
public PetShop.Data.Category GetByKey(System.String identification)
var category = _context.Category.GetByKey(identification);
if (category == null)
throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.NotFound));
public IQueryable<PetShop.Data.Category> GetAll()
public IQueryable<PetShop.Data.Category> GetByName(System.String name)
We still have some work to do on the templates and would love your feedback. We are tentatively planning on bringing WebAPI and Kendo UI support to the CSLA and other PLINQO Frameworks templates in the future!
As we've already discussed... I'm looking forward to (and needing) this for the L2S PLINQO framework. PLINQO, Web API and Kendo UI are going to be at the heart of each project we do moving forward. Having this baked into the PLINQO templates will be a HUGE time saver for us.
Add does not work...