WebAPI

“Mastering AngularJS for .NET Developers” is here!

Finally! I thought the package had gone lost but then…today the postman knocked the office doors aaaaaand here it is!   It’s an interesting book indeed. Covers most of the functionalities, front to back with an eye to the inner workings and how to integrate with .NET, EntityFramework and WebAPI. Personally, I’m not a big fan […]

Data pagination with WebAPI and AngularJS – part 2

Hi all! Looks like the article I wrote some time ago about data pagination with AngularJS is still getting some attention, so I decided to give it a quick update just to spicy things a little bit. In one of my project I needed a way to run different actions before running the actual pagination, so after […]

Data pagination with WebAPI and AngularJS

UPDATE: wonder how to do the same using React and NodeJS? Read here! One of the first issues I faced while studying/working with AngularJS was how to do pagination with data received from the backend. Assuming that all the real paging is done server-side, I “just” needed a way to easily tell the user on […]

MVC: passing complex models in GET

I started recently to work on a REST WebAPI project and soon realized I needed a way to pass complex parameters to my GET actions. For example, in some cases I have “searcher” classes that expose properties like pagination data, text fields, identificators and so on, something like this: [csharp] public class Identificator{ public int […]

Using Web API as a proxy for downloading files

Imagine this scenario: an ApiController Action that acts as a proxy to an external CDN for downloading files (yes, even large ones). The basic idea here is to use HttpClient to create an async request to the CDN passing also the optional range headers and then simply return the result to client. Easy huh? Let’s […]

Scroll to top