Category Archives: REST

CQRS and REST: the perfect match

In many of my applications, the UI and API gravitate towards task-oriented UIs. Instead of “editing an invoice”, I “approve an invoice”, with specialized models, behaviors and screens just for accomplishing that task. But what happens when we move from … Continue reading 

| Comments Off

Entities aren’t resources, resources aren’t representations

One of the easy mistakes in building a REST API is trying to take your rows out of the database and expose them directly as JSON. Such technology exists, where you can directly expose stored procedures as SOAP web services, … Continue reading 

| Comments Off

End-to-end Hypermedia: Building a React Client

In the last post, I walked through what is to me the most interesting part of REST – the client. It’s easy to build a server API, but no API is complete without someone actually using that API. This is … Continue reading 

Also posted in Uncategorized | Comments Off

End-to-End Hypermedia: Building the Client

Now that we’ve built our hypermedia-rich server component, we can focus now on the client portion. Building the server piece, while somewhat involved, isn’t too much different than building a plain JSON API. We had to build a piece to … Continue reading 

Also posted in Conference, continuous deployment, CQRS, DDD, Event sourcing, presentation | 1 Comment

End-to-End Hypermedia: Building the Server

In the last post, we looked at choosing a hypermedia type. This isn’t the easiest of things to do, and can take quite a bit of effort to settle on a choice. On top of that, you very often need … Continue reading 

| Comments Off

End-to-End Hypermedia: Choosing a Media Type

So you’ve decided to make the leap and build a hypermedia-rich API. Hopefully, this decision came from necessity and not boredom, but that’s a post for another day. At this point, you’re presented with a bit of a problem. You … Continue reading 

| Comments Off

End-to-End Hypermedia: Making the Leap

REST, a term that few people understand and fewer know how to implement, has become a blanket term for any sort of Web API. That’s unfortunate, because the underlying foundation of REST has a lot of benefits. So much so … Continue reading 

| Comments Off

CQRS applied

In this post I have discussed CQRS, an architectural pattern from a high level perspective. CQRS is one of my favorite patterns when it comes to complex line of business applications. Let’s discuss CQRS on a specific sample. Imagine we … Continue reading 

Also posted in architecture, commands, CQRS, design, queries, Read model | 31 Comments

Writing an Angular JS application end-2-end–Part 2

Introduction In the previous post I showed how we can use Yeoman to scaffold a new ASP.NET vNext application on Ubuntu. I then implemented a simple RESTful API and also started to implement the basics of a domain model. In … Continue reading 

Also posted in ASP.NET vNext, CQRS, Event sourcing, GetEventStore, How To, introduction, Ubuntu | 5 Comments

Creating an Angular application end-2-end – Part 1

Introduction In this post series I want to demonstrate how to create a full blown application end-to-end which uses Angular JS on the client, ASP.NET vNext and/or Node JS on the server. Architectural patterns that I am going to use … Continue reading 

Also posted in AngularJS, ASP.NET vNext, Ubuntu | 11 Comments