System.IO.Pipelines is a new library that is designed to make it easier to do high performance IO in .NET. It’s a library targeting .NET Standard that works on all .NET implementations. Pipelines was born from the work the .NET Core team did to make Kestrel one of the fastest web servers in the industry. What started as an implementation ...
Let’s assume that your system consists of a few microservices. Everything must have high availability so each microservice has at least two active instances on separate machines and everything must be multiplied by the number of testing and production related environments. When there is a situation that requires log analysis you have to skip from server to server looking for the file with desired information. You browse each file using some kind of notepad-based editor and if the files weight hundreds of...
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.
W tym wpisie, kolejnym z serii dotyczącej kreacyjnych wzorców projektowych, omówię wzorzec projektowy Prototype – Prototyp. Prototyp, zgodnie z intuicją, ma za zadanie dostarczyć jakiś pierwotny obiekt, który potem wykorzystamy do konkretnych celów. Tym celem będzie tworzenie obiektów interesujących klienta.
Architektura 975 dni, 18 godzin, 47 minut temu 95 źrodło rozwiń
Passwords suck. People have been moaning about this for years, and it is becoming more and more apparent as we see high profile data and account breaches happen every day and the emerging necessity of services such as Have I Been Pwned and Pwned Passwords. So, what’s the solution? FIDO2 (Fast Identity Online 2)
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 976 dni, 17 godzin, 46 minut temu 208 źrodło rozwiń
Posted on : By Grzegorz KotfisCode Druga „recepta na” będzie związana z warunkami if i skracaniem ich zapisu a zarazem poprawy ich czytelności. Na początek przykład nad którym popracujemy:public class MyBusinessClass { AuthorizationService authorizationService = new AuthorizationService(); public void AddOrderToInvoice(Order order, Invoice invoice, UserInfo user) { if (authorizationService.HasAuthorization(order, user, AuthorizationLevel.Read) &...
Sztuka programowania 976 dni, 17 godzin, 46 minut temu 155 źrodło rozwiń
W 10-tym odcinku podcastu przedstawiamy swoje 10 dobrych praktyk tworzenia oprogramowania. Nie mówimy o SOLID, DRY, KISS i reszcie "popularesów". O tym poczytasz już u wszystkich specjalistów. My przygotowaliśmy swoje własne zestawienie. TOP 10 Dobrych Praktyk Tworzenia Oprogramowania.
Sztuka programowania 976 dni, 17 godzin, 46 minut temu 94 źrodło rozwiń
ASP.NET Core 2.1 was released by Microsoft at the end of May, and last week we deployed two consumer-facing applications upgraded to use ASP.NET Core 2.1 to production for the first time. These applications have now been run in production for an entire weekend of peak traffic, and we’ve seen some great performance improvements – in some cases improving average response times by over 40%.
Programowanie rozproszone 976 dni, 17 godzin, 46 minut temu 44 źrodło rozwiń
Ignore no more! How do you know the right maxThreads (Tomcat/Java) or maxConnections (IIS/.NET) for your application? What is it? Why do you need to set that?
About year ago I wrote a blog post Running PHP applications on .NET Core where I introduced how to build PHP applications to .NET Core using Peachpie. Their showcase was WordPress – the famous blog engine that also runs my blog. Peachpie guys have made significant work over year and they have reached the point where whole WordPress is built as ...
In my blog 'Debugging Through the .NET Core framework' I give specific instructions for setting Visual Studio up so that you can debug into the source code for the .NET Core Runtime. Since Version 2.1 of the .NET Core runtime, it is also possible to do this using the 'Visual Studio Code' editor. Since Visual Studio code runs on Linux (as well as windows, or MacOS), this is what you would be using if you were developing on non-windows platform.
Video :) Opis ASP.NET Web Forms is a mature web application framework that comes included with the full .NET Framework. In this episode, Program Manager Jeff Fritz (@csharpfritz) joins us to talk about two new features that are available to ASP.NET Web Forms developers; configuration builders and dependency injection. These features are both available with the 4.7.2 release of the .NET Framework.
Dzisiejszy wpis jest zainspirowanym jednym z ostatnich code review jaki robiłem. Zauważyłem, że gdy pracujemy z Entity Framework często niektóre rzeczy zaczynamy robić nieefektywnie w stosunku do tego, jakbyśmy zrobili to w chociażby w przypadku ADO.NET. Taką właśnie czynnością jest aktualizowanie oraz usuwanie obiektów z bazy.Aktualizacja obiektu z jego pobraniem Standardowo, gdy zaczynamy uczyć się pracować z Entity Framework, do aktualizacji obiektu możemy ...
Bazy danych i XML 977 dni, 18 godzin, 34 minuty temu 191 źrodło rozwiń
Jeden z poprzednich artykułów poświęciłem na podkreślenie ogromnej roli, jaką pełnią hasła w naszym życiu. Starałem się tam pokrótce opowiedzieć jak zarządzać hasłami i wspomniałem, że sam używam programu LastPass do przechowywania przynajmniej części swoich poufnych danych. Dziś chciałbym pokazać podstawowe sposoby pracy z LastPass i możliwości które oferuje ten manager oraz oczywiście zachęcić do jego używania.
Earlier this year I attended QCon Beijing and QCon Sao Paulo conferences. I really like QCon, because there is no marketing, just real experts exchange of experience. After my first QCon (Shanghai in 2016) I was very excited to come back this year!
W dzisiejszym wpisie chce wam pokazać jak projekt, który stworzyliśmy, możemy dodać do Jenkinsa – popularnego narzędzia do CI. Wpis kieruje do osób średnio zaawansowanych/początkujących. Popularność dostawców CI/CD jest różna, jednak Jenkins cieszy się jedną z największych. Tak jak prezentuje to Google Trend.Źródło: www.mindtheproduc...
C# .NET Core versus Java fastest programs C# .NET Core versus F# .NET Core fastest programs C# .NET Core versus C++ g++ fastest programs
[EN]The whole of WordPress compiled to .NET Core and a NuGet Package with PeachPie - Scott Hanselman
Why? Because it's awesome. Sometimes a project comes along that is impossibly ambitious and it works. I've blogged a little about Peachpie, the open source PHP compiler that runs PHP under .NET Core. It's a project hosted at https://www.peachpie.io. But...why?
Artykuł oryginalnie w języku francuskim, ale nawet po auto-tłumaczeniu na polski jest warty przeczytania: Można sobie wyobrazić, że przechowywanie hasła w łańcuchu podczas wykonywania procesu, oferuje bezpieczne rozwiązanie i że trudno jest odczytać zawartość tego ciągu. W rzeczywistości ten typ pamięci nie jest bezpieczny. W aplikacjach .NET hasła przechowywane w stanie wyczyszczonym można znaleźć w obiekcie typu System.String . Jednak za pomocą bardzo małych środków można szybko odczytać zawartość do...
Sztuka programowania 977 dni, 18 godzin, 34 minuty temu 55 źrodło rozwiń