Skip to content

Commit

Permalink
Published Post on JSON:API Filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
yunier committed Oct 27, 2023
1 parent df5b050 commit 6c061a3
Show file tree
Hide file tree
Showing 9 changed files with 610 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tags: [JSON:API, REST]
author: "Yunier"
date: "2020-09-14"
description: "Guide on how to use the home resource"
series: ['JSON:API in .NET']
series: [JSON:API In .NET]
---

This post will be my first entry into a multi-part series of post showing how I've built RESTful APIs using the [JSON:API](https://jsonapi.org/) specification on .NET Core.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tags: [JSON:API, REST]
author: "Yunier"
date: "2020-10-19"
description: "Guide on how to handle exceptions using a middleware"
series: ['JSON:API in .NET']
series: [JSON:API In .NET]
---

On my second post on [JSON:API](https://jsonapi.org/) in .NET Core I wanted to create an exception handling [middleware](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-3.1). This middleware would be responsible for catching all exceptions and for generating a JSON:API [Errors Documents](https://jsonapi.org/format/#document-top-level).
Expand Down
2 changes: 1 addition & 1 deletion content/post/2020/json-api-exposing-relationships/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ stags: [JSON:API, REST]
author: "Yunier"
date: "2020-12-06"
description: "Guide on how to expose relationship link between resources"
series: ['JSON:API in .NET']
series: [JSON:API In .NET]
---

My [previous](/post/2020/json-api-exposing-the-customer-resource/index/) post on JSON:API exposed customers as an API resource, since then, I have updated the project to expose all remaining resources, that includes Albums, Artists, Employees, Genres, Invoices, InvoiceItems, MediaTypes, Playlists, and Tracks. The time has come to expose the relationship that exist between these resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tags: [JSON:API, REST]
author: "Yunier"
date: "2020-10-30"
description: "Guide on how to expose resources"
series: ['JSON:API in .NET']
series: [JSON:API In .NET]
---

This will be my third blog post on [JSON:API](https://jsonapi.org/) in .NET Core.
Expand Down
2 changes: 1 addition & 1 deletion content/post/2021/json-api-creating-new-resources/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tags: [JSON:API, REST]
author: "Yunier"
date: "2021-08-08"
description: "Guide on how to create new resources"
series: ['JSON:API in .NET']
series: [JSON:API In .NET]
---

So far in my JSON:API series I've covered the [home resource](https://www.yunier.dev/2020-09-14-Adding-Home-Resource/), adding [your own resource](https://www.yunier.dev/2020-10-30-Adding-Customer-Resource/), adding an [exception handling middleware](https://www.yunier.dev/2020-10-19-Exception-Handling-Middleware/) and how to [expose relationship](https://www.yunier.dev/2020-12-06-Exposing-Relationships/) between resources. For the today's post, I would like to cover creating resources. I will update the chinook project by allowing [POST](https://datatracker.ietf.org/doc/html/rfc2616/#section-9.5) request on the customers collections to add new customers.
Expand Down
2 changes: 1 addition & 1 deletion content/post/2022/json-api-pagination-links/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tags: [JSON:API, REST]
author: "Yunier"
date: "2022-01-25"
description: "Exposing pagination links on JSON:API documents"
series: ['JSON:API in .NET']
series: [JSON:API In .NET]
---

It has been a while since I blogged about [JSON:API](https://jsonapi.org/). In my last post on JSON:API I covered how to create [new resources](/post/2021/json-api-creating-new-resources). In today's post, I want to go over how I expose pagination links. [Pagination links](https://jsonapi.org/examples/#pagination) allow a client to page through a collection of resources. A shift of control from the client back to the server.
Expand Down
15 changes: 15 additions & 0 deletions content/post/2023/building-a-web-server-in-go/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Building A Web Server In Go
tags: [Go]
author: "Yunier"
date: "2023-08-15"
description: Building a Web Server in Go
draft: true
---

As mentioned in [Go - Multiple Return Values](/content/post//2023/go-multiple-return-values/) I have been learning Go, I've since finished reading [Learning Go](https://a.co/d/2B7htYx) by [Jon Bodner](https://www.amazon.com/stores/Jon-Bodner/author/B08SWGN5NN) and moved on to reading [Concurrency in Go](https://a.co/d/3ItFK4R) by [
Katherine Cox-Buday](https://www.amazon.com/stores/Katherine-Cox-Buday/author/B07567T8NX) and [Black Hat Go]() by [Chris Patten](https://www.amazon.com/stores/Chris-Patten/author/B08511B8M3) and [Tom Steele](https://www.amazon.com/stores/Tom-Steele/author/B084WN415T), all excellents books, Black Hack Go specifically as it provides many example on how to use Go's [net package](https://pkg.go.dev/net) to interact with a TCP connection. Interacting with TCP connections is key foundational process of any web server, so I wanted to put what I have learn so far about Go in this blog post, to build my own version of a Web Server even including my own custom routers.

Let's get started.


Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
title: Go for the C# Developer - Multiple Return Values
title: Go - Multiple Return Values
tags: [Go]
author: "Yunier"
date: "2023-08-14"
description: Getting used to Go.
series: [Learning Go]
date: "2023-08-01"
description: Introduction to Go's multiple values feature
---

I've been spending the last few weeks learning [Go](https://go.dev/learn/) by reading [Learning Go](https://a.co/d/dlJyukR) by [Jon Bodner](https://www.amazon.com/stores/Jon-Bodner/author/B08SWGN5NN), so far I've been enjoying learning about Go, though there is still one thing I keep tripping over, in Go, you can return one or more values, for me Go is the first language that I have worked with that does that, in every other language I had to introduce a custom discriminating union to achieve what Go does natively.
Expand Down
Loading

0 comments on commit 6c061a3

Please sign in to comment.