Strona głównaUżytkownik

Piotr Stapp | administrator

Piotr Stapp
Piotr Stapp
brak danych
151 dni, 15 godzin, 11 minut temu
3 listopada, 2016
Administrator
dotnetomaniak.pl

Posted on by krystiankolad W trakcie pracy nad naszymi aplikacjami często musimy sprawdzić, czy na przykład dane wysłane do nas w formularzu lub do naszego api spełniają pewne kryteria. Kryteriami tymi mogą być długość numeru pesel, prawidłowy adres email oraz wiele, wiele więcej. Dziś pokażę, jak skonfigurować taką walidację przy użyciu biblioteki FluentValidation w ASP.Net Core Web Api. Zapraszam. Aby zainstalować bibliotekę w naszym projekcie używamy dwóch komend:dotnet add package FluentValidation ...

Tagi: .net core
Dziel się z innymi:
FluentValidation w ASP.Net Core – Krystian Kolad – o .Necie i nie tylko

Sztuka programowania 2114 dni, 21 godzin, 26 minut temu krystiankolad 53 źrodło rozwiń

If you’ve ever worked on a web application then I’m more than sure that you are familiar with Chrome DevTools but do you know all its secrets?

Dziel się z innymi:
Chrome DevTools – 10 Tips and Tricks – Krystian Czaplicki

Web 2114 dni, 21 godzin, 26 minut temu krystianczaplicki 104 źrodło rozwiń

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 ...

Źródło: plawgo.pl
Dziel się z innymi:
Entity Framework - aktualizacja danych bez ich pobierania - Blog Daniela Plawgo

Bazy danych i XML 2114 dni, 21 godzin, 26 minut temu danielplawgo 193 ź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) &...

Źródło: devsession.pl
Dziel się z innymi:
#2 Recepta na - pretty if - Devsession | Grzegorz Kotfis | Od programisty dla programistów

Sztuka programowania 2113 dni, 20 godzin, 37 minut temu Grzegorz Kotfis 155 ź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%.

Tagi: dotnetcore
Źródło: tech.just-eat.com
Dziel się z innymi:
[EN] Just-Eat - ASP.NET Core 2.1 – Supercharging Our Applications 🚀

Programowanie rozproszone 2113 dni, 20 godzin, 37 minut temu Piotr Stapp 44 źrodło rozwiń

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 ...

Tagi: Wordpress
Źródło: gunnarpeipman.com
Dziel się z innymi:
[EN] Running WordPress on .NET Core | Gunnar Peipman - Programming Blog

Inne 2113 dni, 20 godzin, 37 minut temu Piotr Stapp 20 źrodło rozwiń

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?

Tagi: PHP, Wordpress
Źródło: www.hanselman.com
Dziel się z innymi:
[EN]The whole of WordPress compiled to .NET Core and a NuGet Package with PeachPie - Scott Hanselman

Inne 2114 dni, 21 godzin, 26 minut temu Piotr Stapp 14 źrodło rozwiń

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...

Dziel się z innymi:
[FR->PL] Bezpieczne ciągi w procesie .NET

Sztuka programowania 2114 dni, 21 godzin, 26 minut temu Piotr Stapp 55 źrodło rozwiń

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...

Tagi: CI, Jenkins
Źródło: testingplus.me
Dziel się z innymi:
Konfiguracja Jenkinsa wraz z .NETem + Testy! Od podstaw

Narzędzia 2114 dni, 21 godzin, 26 minut temu Piotr Stapp 79 źrodło rozwiń

In the previous post in this series, I introduced the concept of outgoing middleware using DelegatingHandlers registered with named and typed clients. While that approach is available, the ASP.NET team hope that for most scenarios, we won’t need to resort to manually building our own handlers. In some cases, the built-in features of the library may provide the functionality we need. For example, it is sometimes useful to wrap requests ...

Tagi: HttpClient
Dziel się z innymi:
[EN] HttpClientFactory in ASP.NET Core 2.1 (Part 4) - Steve Gordon

Sztuka programowania 2114 dni, 21 godzin, 26 minut temu Piotr Stapp 31 źrodło rozwiń

In part 1, we discussed some of the problems that exist in the familiar Stream API, and we had an introduction to the Pipe, PipeWriter and PipeReader APIs, looking at how to write to a single Pipe and then consume the data from that Pipe; we also discussed how FlushAsync() and ReadAsync() work together to keep both sides of the machinery working, dealing with "empty" and "full" scenarios - suspending the reader when there is nothing to do, and resuming it when data arrives; and suspending the writer when...

Tagi: stream
Dziel się z innymi:
[EN] Code, code and more code.: Pipe Dreams, part 2

Sztuka programowania 2114 dni, 21 godzin, 26 minut temu Piotr Stapp 17 źrodło rozwiń

C# .NET Core versus Java fastest programs C# .NET Core versus F# .NET Core fastest programs C# .NET Core versus C++ g++ fastest programs

Tagi: benchmark
Dziel się z innymi:
[EN] C# .NET Core vs Java - Which programs are faster? | Computer Language Benchmarks Game

Inne 2114 dni, 21 godzin, 26 minut temu Piotr Stapp 118 źrodło rozwiń

Many web applications use databases for persistent data storage, and using Object Relational Mapping (ORM) frameworks is a common way to develop such database-backed web applications. Unfortunately, developing efficient ORM applications is challenging, as the ORM framework hides the underlying database query generation and execution. This problem is becoming more severe as these applications need to process an increasingly large amount of persistent data. Recent research has targeted specific aspects of ...

Tagi: ORM
Dziel się z innymi:
[EN] How not to structure your database-backed web applications: a study of performance bugs in the wild.

Bazy danych i XML 2114 dni, 21 godzin, 26 minut temu Piotr Stapp 39 źrodło rozwiń

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.

Tagi: debug, vs code
Dziel się z innymi:
[EN] Debugging through the .NET Core framework using VSCode (e.g. on Linux) – Vance Morrison's Weblog

Narzędzia 2113 dni, 20 godzin, 37 minut temu Piotr Stapp 17 źrodło rozwiń

In the first article of machine learning in ML.NET saga, we explored basics of machine learning and we got our first look at Microsoft’s framework for this purpose. There we mentioned that machine learning addresses two kinds of problems: regression and classification. We used Iris classification dataset, which is sort of a Hello World! example in the machine learning world, in order to get familiar with the concepts...

Źródło: rubikscode.net
Dziel się z innymi:
[EN] Machine Learning with ML.NET – Solving Real-World Classification Problem (Wine Quality) | Rubik's Code

Sztuka programowania 2114 dni, 21 godzin, 26 minut temu Piotr Stapp 23 źrodło rozwiń

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.

Tagi: WebForms
Źródło: channel9.msdn.com
Dziel się z innymi:
[EN]New features in ASP.NET Web Forms | On .NET | Channel 9

Web 2113 dni, 20 godzin, 37 minut temu Piotr Stapp 17 źrodło rozwiń

This blog post provides insights into the NuGet team plans for the upcoming quarter (July - Sep 2018). In the March 2018 NuGet Spring 2018 Roadmap, we had outlined Package Signing, Organizations, Cross-platform credential provider support, Repeatable builds for PackageReference based projects, etc. as our immediate priorities. We were able to complete much of this work over the past few months and have made good progress on others. In this blog post, I would like to summarize our progress and share our p...

Tagi: NuGet
Źródło: blog.nuget.org
Dziel się z innymi:
[EN] NuGet Summer 2018 Roadmap

Narzędzia 2114 dni, 21 godzin, 26 minut temu Piotr Stapp 14 źrodło rozwiń

About two years ago I blogged about an upcoming experimental IO API in the .NET world - at the time provisionally called "Channels"; at the end of May 2018, this finally shipped - under the name System.IO.Pipelines. I am hugely interested in the API, and over the last few weeks I'm been consumed with converting StackExchange.Redis to use "pipelines", as part of our 2.0 library update. My hope in this series, then, is to discuss:what "pipelines" arehow to use them in terms of codewhen you might want to u...

Tagi: csharp
Dziel się z innymi:
[EN] Code, code and more code.: Pipe Dreams, part 1

Sztuka programowania 2114 dni, 21 godzin, 26 minut temu Piotr Stapp 23 źrodło rozwiń

Ostatnie problemy z usługą Storage w Azure to dobry moment, żeby przypomnieć trzy pewniki występujące w chmurze, o których dużo osób zapomina…

Źródło: kaluzny.io
Dziel się z innymi:
3 pryncypia projektowania aplikacji w chmurze

Cloud 2116 dni, 21 godzin, 12 minut temu Łukasz Kałużny 99 źrodło rozwiń

W poprzednich dwóch postach (Postal – wysyłka email w ASP.NET MVC oraz Hangfire – wysyłka email w tle) pokazałem jak wysyłać wiadomości email w aplikacji ASP.NET MVC. Jeśli nie czytałeś/czytałaś tamtym wpisów, to zachęcam do nadrobienia lektury, szczególnie, że w tym wpisie będę bazował na kodzie, z tamtych wpisów. W dzisiejszym poście chciałbym jeszcze pozostać przy tej tematyce i pokaże Ci, w jaki sposób można automatycznie testować kod odpowiedzialny za wysy...

Testowanie wysyłki email w ASP.NET MVC - Blog Daniela Plawgo

Web 2115 dni, 21 godzin, 45 minut temu danielplawgo 81 źrodło rozwiń

1 2... 13 14 15 16 17

Najaktywniejsi w tym miesiącu