This post explores subtle and undocumented difference regarding response compression and response buffering in ASP.NET Core depending on target framework.
There are many different approaches to deal with failures in web apps. One of the most common is returning a result... The idea is simple. If the method fails because of validation or something else, the result tells it. The only thing we need is ifstatement an...
Recently, I was struggling with the SSO authentication. At first I did pick up JSON Web Token which of course is a legitimate option, however, I was forced to share the secret key between different parties, as I decided to use HMAC. Not so long ago I decided to switch to the RSA instead and I’d like to present you both solutions using ASP.NET Core.
Sztuka programowania 1303 dni, 17 godzin, 36 minut temu 138 źrodło rozwiń
A number of browsers support WebSocket per-message compression out of the box. This post shows how it can be used in ASP.NET Core.
Jak zbudować Continous Integration dla projektu ASP.NET Core przy pomocy dockera i Gitlab Pipelines
In my last article, I presented how to run Aurelia unit tests inside Bitbucket pipeline. What’s quite funny (or may be scary for some of you) is that few hours after publishing, Facebook presented to me an add with „great CI tool” called Buddy. Without much thought, I navigated to the project’s site and I felt in love immediately. Why? There’s one reason – it’s dead simple...
This post focuses on Cross-Site WebSocket Hijacking vulnerability and how to protect against it.
WebSocket is the closest API to a network socket available in browser. This makes it probably the most flexible transport which a web application can use. That flexibility comes at price. From WebSocket perspective the message content is opaque. This means that client and server must agree on application subprotocol. WebSocket provides a simple subprotocol negotiation mechanism which helps in that task.
Since ASP.NET Core became a truly cross-platform framework, we’re free to use other environments such as Linux in order to host our applications. This is a great opportunity not only to reduce the possible licensing costs but also to try out a new environment. In the video tutorial below, I’ll show you how to build a Docker image using ASP.NET Core, publish it to the Virtual Machine running in the Digital Ocean and use Nginx to expose the app to the world.
Sztuka programowania 1345 dni, 22 godziny, 6 minut temu 280 źrodło rozwiń
There is a number of Web APIs which allow measuring performance of web applications. The youngest member of that family is Server Timing API which allows communicating the server performance metrics to the client. This article shows how this API can be used in ASP.NET Core.
Prezentacja frameworka, który wspomoże nas w tworzeniu przejrzystej i funkcjonalnej dokumentacji dla API.
Parę tygodni temu Microsoft przedstawił wersje robocze „Application Architecture Guidance”, czyli poradników dotyczących architektury aplikacji budowanych przy wykorzystaniu narzędzi Microsoftu. Gratka dla każdego .Netowca.
Architektura 1354 dni, 3 godziny, 57 minut temu 595 źrodło rozwiń
In this article, I’d like to guide you through the development process of the simple application named Depot. It was created for my presentation about using .NET Core in practice, which is a part of .NET Core Tour. The overall journey will last 10 steps, so get ready.
Programowanie rozproszone 1381 dni, 9 godzin, 24 minuty temu 75 źrodło rozwiń
Google's Certificate Transparency project is an open framework for monitoring and auditing SSL certificates. Starting April 2018 Chrome will require compliance with Certificate Transparency. Expect-CT Extension for HTTP will introduce a way to test the Certificate Transparency policy and this article shows how it can be used once it arrives.
Dzisiaj chciałem podzielić się moimi doświadczeniami z użyciem biblioteki SignalR w projekcie .NET Core. Co prawda, nie mam jeszcze za dużo przykładów użycia w projekcie, ponieważ dopiero udało mi się zmusić ją do działania. Wydaje mi się jednak, że to co tutaj opiszę przyda się komuś, jeżeli napotka na podobne problemy co ja.
Architektura 1385 dni, 8 godzin, 13 minut temu 1270 źrodło rozwiń
W dzisiejszym artykule postaram się opowiedzieć jak uruchomić aplikację ASP.NET Core w Dockerze na serwerze VPS. Docker jest narzędziem umożliwiającym uruchamianie procesów w odizolowanym środowisku nazywanym kontenerem. Kontener dostarcza procesowi wszystkich zależności czyniąc z niego autonomiczną jednostkę wykonującą określoną funkcję. Taki przenośny, wirtualny kontener można uruchomić na systemach Windows, Linux, macOS. W tym artykule opiszę jak zainstal...
ASP.NET Core comes with ready to use Cross Origin Resource Sharing support. The usage is very straightforward and nicely described in documentation, but what if there is a need to reconfigure the policy at runtime?
Article for Daj się Poznać competition describing plugin mechanism created in ASP.NET Core with help of Autofac DI container
Daj się poznać 2017 1403 dni, 20 godzin, 6 minut temu 194 źrodło rozwiń
Article for Daj się Poznać competition describing settings mechanism created with ASP.NET Core, Entity Framework Core and Sqlite
Daj się poznać 2017 1403 dni, 20 godzin, 6 minut temu 42 źrodło rozwiń
Jak skonfigurować DI dla biblioteki Middleware w ASP.NET Core
Daj się poznać 2017 1409 dni, 11 godzin, 46 minut temu 85 źrodło rozwiń