ASP.Net Core 3 – pass parameters to actions Passing parameters to actions is an essential part of building RESTful Web API. .Net Core offers multiple ways to pass parameters to methods, that represent your endpoints. Let’s see what they are.Pass parameter as a part of an url When passing a parameter in a url, you need to define a routing that would contain a parameter. Let’s have a look a the example:C# [Route("{daysForward}")] [HttpGet] public IActionResult Get(int daysForward) { ...
Join Ryan Nowak on a tour of ASP.NET Core’s evolution from “Project K” to present day and look forward to a few possible futures. We’ll discuss technical design details of how the ASP.NET Core stack is changing from bottom (hosting and startup), through the server, middleware pipeline, and
This post describes an attempt to build a proof-of-concept RSocket server by putting together RSoket.NET and new ASP.NET Core networking primitives for non-HTTP servers.
Przemysław Walkowski Zapraszam na recenzję.Szybka recenzja Książka jest słaba. Ma charakter bardzo długiego 500 stronicowego postu na blogu opisującego jak stworzyć aplikację od zera z użyciem ASP.NET Cora 2 i Angulara 5. Tak jak to jest z postami na blogach tego typu, książka część rzeczy wyjaśnia, co się dzieje w kodzie a bardzo trudne rzeczy pomija lub w najlepszym razie daje długie, ciężko kopiujące się linki do stro...
Sztuka programowania 1977 dni, 5 godzin, 48 minut temu 168 źrodło rozwiń
ASP.NET Core SignalR provides an API for creating server-to-client remote procedure calls (RPC). A challenge appears when we want such a remote procedure call to return a result. This post shows a possible way to achieve that.
This post is part of Push Notifications and ASP.NET Core series. In this post we take a look at some special cases which should be handled for correct usage of push notifications.
Jakiś czas temu podczas rozwijania swojego projektu Open Source stanąłem przed, wydawać by się mogło prostym problemem. Otóż chciałem udostepnić użytkownikom biblioteki metodę rozszerzającą, która automatycznie zarejestrowałaby w kontenarze dependency injection wszystkie klasy implementujace konkretny interfejs. W przypadku zewnętrzynych bibliotek jak np. Autofac taki zabieg jest możliwy dzieki Assebly Scaning, który wyglada następująco: builder.RegisterAssemblyTypes(myAssembly) .Where(t => t....
Sztuka programowania 2148 dni, 23 godziny, 19 minut temu 157 źrodło rozwiń
Health checks are one of new features in ASP.NET Core 2.2. It's significantly changing from preview to preview. This post attempts to grasp current state and explore this feature.
How to create token in ASP.NET Core
Sztuka programowania 2237 dni, 5 godzin, 29 minut temu 138 źrodło rozwiń
Integrating Akka.NET and ASP.NET Core can be quite tricky. In this blog post, I would like to demonstrate how to make these two technologies work together smoothly.
Architektura 2250 dni, 4 godziny, 59 minut temu 138 źrodło rozwiń
Reporting API aims at providing a framework for browsers to deliver reports about various issues to the servers. This post explores how the experimental implementation of this standard in Chrome can be used with ASP.NET Core.
This post shows how Cosmos DB change feed can be exposed from ASP.NET Core.
In some situations Server-Sent Events connection may require keep alives. This post describes one of such situations and shows how it can be solved in ASP.NET Core.
ASP.NET Core WebHooks provide support for receiving web hooks in ASP.NET Core web applications. This post explores built-in capabilities and customization options for ASP.NET Core WebHooks model binding.
ASP.NET Core WebHooks provide support for receiving web hooks in ASP.NET Core web applications. This post explores how ASP.NET Core WebHooks support signature validation.
It’s been a while since I published the latest article, but it’s high time to finally get into the topic of microservices for real. Does open source, .NET Core, distributed system, Docker and other cool words sound good to you? If that’s the case, stick with me and let me guide you through the world (or at least part of it) of microservices. This is going to be the very first article (an introduction) of the upcoming series.
Architektura 2320 dni, 4 godziny, 1 minutę temu 213 źrodło rozwiń
ASP.NET Core WebHooks provide support for receiving web hooks in ASP.NET Core web applications. This post explores how ASP.NET Core WebHooks handles verification requests.
This is a second post in my series about ASP.NET Core WebHooks. As promised it will be focused on machinery which makes it possible for a WebHook request to find matching action.
ASP.NET Core WebHooks provide support for receiving web hooks in ASP.NET Core web applications. This post is a general overview of what's under its hood and how it works.
This post shows how RethinkDB changefeed can be exposed from ASP.NET Core with Server-Sent Events and WebSockets fallback.