#webAPI

TechKeysXTechKeysX
2025-06-04

Using JsonPropertyName to map Json to Class C# Tip #42 - How to use the [JsonPropertyName] attribute in C# to map mismatched JSON fields (like "id") to class properties (like UniquePostId) during deserialization.

𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕kubikpixel@chaos.social
2025-05-14

SQLx integration in Axum:

SQLx is an awesome crate for interacting with databases in Rust with compile time checks. In this blog post, we will learn how to use it in an Axum backend to store and retrieve data from a database.
– by @mo8it (2023-05-29)

🦀 mo8it.com/blog/sqlx-integratio

#sql #database #rust #rustlang #code #it #axum #sqlx #webdev #db #webapi #web

Chris Woody Woodruffcwoodruff
2025-05-09

OData Template Preview is live! Scaffold APIs in .NET 8+ with query options ($filter,$select,$expand), batch support, Swagger & case-insensitive routing. Install with
`dotnet new install Microsoft.OData.WebApiTemplate`

devblogs.microsoft.com/odata/a

JuanluElGuerre :verified:JuanluElGuerre@hachyderm.io
2025-05-07

I was writing yet another JsonConverter<T>... until I discovered how .NET handles polymorphic serialization with just two attributes 😲

Here’s how I ditched boilerplate & made my APIs cleaner with [JsonPolymorphic] + [JsonDerivedType] 🚀👇
wp.me/p29SK-ZB
#DotNet #CSharp #SystemTextJson #WebAPI #CleanCode

2025-04-26

Scalar на замену Swashbuckle в .NET 9 и как это готовить с Design API First

Рассказываю чем заменить Swashbuckle, который убрали из .Net 9, для создания страницы похожей на Swagger UI.

habr.com/ru/articles/904738/

#web_api #aspnet_core #swagger #open_api #net_9 #dotnet_core #dotnet #typespec #webapi #openapi

2025-03-24

Having played a bit I'm now adding #OpenAPI docs with #Swagger UI to #Autonomi dweb using #utoipa and #utoipauto.

EDIT: switched from #utoipauto to #utoipa_actix_web

I'm neither a user nor, until now a builder of HTTP APIs so stumbling around, but these crates do a decent job of being usable even to a novice.

I really shouldn't be let loose with all this :rofl:

#Rustlang #REST #WebAPI

Chris Woody Woodruffcwoodruff
2025-03-24

Code on Demand is REST’s wildcard—optional but powerful. It lets servers send executable code to clients for enhanced functionality when needed. Want to know when, why, and how to use it effectively? Check out the latest post!

htmx up next!

woodruff.dev/rest-constraint-6

Chris Woody Woodruffcwoodruff
2025-03-23

REST’s layered system is all about flexibility and scale. You can improve performance, security, and scalability by stacking components like gateways and load balancers without messing with the core API. Curious how this works? Check out my latest post!

woodruff.dev/rest-constraint-5

Chris Woody Woodruffcwoodruff
2025-03-22

Caching is what makes REST APIs lightning fast. Performance gets a huge boost by sending clients reused responses instead of constantly asking servers. Want to see how caching works and why it matters? Check out my latest post!

woodruff.dev/rest-constraint-4

Chris Woody Woodruffcwoodruff
2025-03-21

Going stateless is one of REST’s secret weapons. Treating each request as independent makes APIs more scalable, reliable, and easier to cache. Want to know why statelessness is such a big deal? Read the post!

woodruff.dev/rest-constraint-3

Chris Woody Woodruffcwoodruff
2025-03-20

Client-server separation is the secret sauce behind REST’s scalability. By keeping the UI and data storage separate, each can evolve independently. Want to know why this design choice is such a game-changer? The blog post will explain a lot.

woodruff.dev/rest-constraint-2

Chris Woody Woodruffcwoodruff
2025-03-18

Great APIs aren’t about cramming in features—they’re about keeping things simple. Clear URLs, predictable responses, and a clean structure make all the difference. Want to know why simplicity wins in design? Check out my latest post!

woodruff.dev/restful-api-desig

2025-03-11

I am in the situation that I need to talk to a #WebAPI that I am not familiar with (PlayFab). The documentation could be better, so there is a lot of stuff that I need to find out by trial-and-error.

Some weeks ago I bought an issue of the c't magazine - the only one I bought in years - that by chance had an article about a tool for such a situation: #Bruno (usebruno.com/).

After playing around a bit with it: Full recommendation.

#GameDev

2025-03-01

Lapidary-render 0.12.0 is now released.

To the best of my knowledge it's the only #codeGenerator that properly handles #jsonSchema anyOf and allOf.
Also has support for oneOf, but not per the specs.

github.com/python-lapidary/lap

#pythonLapidary #openAPI #openAPI3 #openAPI30 #programming #python #webAPI

2025-02-23

Who here knows enough #webplatfrom and #webapi to know if relative links exists with the Origin Private File System (#OPFS)?

thanks much for RT and dig to find people knowing...

2025-02-22

Отключение http-метрик в ASP.NET Core

Выход ASP.NET Core 9 порадовал возможностью выборочно отключать http-метрики. В статье сценарии использования с примерами и детальный разбор того, как всё устроено под капотом. Хочу разобраться

habr.com/ru/articles/880738/

#c# #net #net_9 #aspnet #aspnet_core #aspnet_webapi #webapi #метрики #metrics #prometheus

2025-02-17

"... Web APIs, polyfills and features that are entirely missing from the Web platform and are thus "unpolyfillable", even when native apps do have access to those features in the very same device. Outrageous! ..."

On barcodes and Web APIs:
soledadpenades.com/posts/2025/

#javascript #webapi #polyfill

Abdullah1xcoder
2025-02-17

🔒 How to Design a Secure Web API: Best Practices 💻

Designing a secure Web API is essential to protect sensitive data, prevent unauthorized access, and ensure safe interactions with your application. Whether you’re developing a RESTful API or GraphQL API, implementing security measures is key to maintaining the integrity and safety of your system.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst