Sometimes there is a valid reason to serve static files from the application instead of CDN. In such cases it's important to remember about performance. This post describes one of optimizations which can be applied.
Sometimes you need to acquire client originating IP address in your web application. This post shows how this can be done in ASP.NET Core, taking into consideration running behind proxies (including Akamai and CloudFlare).
How to create model from existing database in Entity Framework Core - ASP.NET Core
ASP.NET Core comes with out-of-the-box support for server side in-memory response caching. This post shows how to replace in-memory approach with Redis and address durability and load balancing.
Clear-Site-Data is a hard which can be used to instruct a browser to clear locally stored data. This post explores how it can be combined with sign out in ASP.NET Core.
This post discusses WebSocket lifetime and how to handle prematurely closed connections.
This post shows lesser known features of Web Push Protocol - Replacing Messages and Urgency.
In my last post, I wrote about great HTTP client for .NET Core called RestEase and I showed how to use it as a simple proxy between API Gateway and microservice. Today I’ll present how this library can also simplify writing part of integration tests. Unit test vs integration test I assume that for some of you the term „integration test” may sounds odd, therefore I’d like to explain it first to avoid the possible confusion with a unit test later in this artic...
Sztuka programowania 2559 dni, 20 godzin, 19 minut temu 152 źrodło rozwiń
Push API and Web Push Protocol specifications allow for delivering push notifications even when client is offline. This post shows how to request delivery of push message.
Push API and Web Push Protocol specifications allow for delivering push notifications even when client is offline. This post shows how this capabilities can be used in ASP.NET Core.
POST Tunneling is a technic which can be used when client doesn't support certain HTTP methods or infrastructure blocks them. This post shows how to support it in ASP.NET Core.
Save-Data request header is a client hint which indicates that client would like to reduce data usage. This post shows how it can be used in ASP.NET Core MVC.
This post shows how conditional requests can be used in ASP.NET Core MVC powered Web API to improve performance and avoid Lost Update problem.
When IIS is used as reverse proxy for ASP.NET Core application it can alter the response. This post shows how to prevent one of such alterations - response compression.
A few days ago I faced an interesting problem. In a nutshell, I had one interface implemented by three classes...
This post explores how the HEAD method is handled by ASP.NET Core and proposes solutions to some problems.
Written by Dawid Sibińskion As you may know, in my MoneyBack Xamarin.Android application I’ve used SQLite as the local db management system. Recently I’ve added an ASP.NET Core web solution to my GitHub repository in order to create back-end API for my mobile app. I wanted to have database hosted on a remote server and Android application to synchronize its data with it. Then I started wondering… and decided to make a deeper research first. As I wrote in my post summing up DajSiePoznac2017 comp...
Architektura 2670 dni, 21 godzin, 40 minut temu 40 źrodło rozwiń
This post shows how Redis can be used to solve the problem of SSE or WebSockets broadcasting for ASP.NET Core applications behind load balancer.
This post shows how SSL Acceleration (Offloading) scenario can be supported in ASP.NET Core.
Last week I mentioned that together with .Net Core 2.0 we got something that makes my jaw drop. This “little” feature that made me feel slightly uncomfortable is Raroz Pages. In this post, I will show you what it really is or, in fact, what it is not 😊 and if we should be afraid of it... At first glance, you may think that Razor Pages are Microsoft’s attempt of coming back to the ASP.Net WebForms. Which I, unfortunately, still deal with damn too often so b...