Nabidul Islamnabidul.hashnode.dev·Apr 30, 2024Bulletproofing .NET Applications with FluentValidationWhat is FluentValidation FluentValidation is a .NET library that builds strict and maintainable validation rules. It utilises the principles of "fluent interfaces" to provide a clean architecture, separating validation logic from the rest of the code...Discuss·12 likes·139 readsfluentvalidation
belsetbelset.hashnode.dev·Mar 15, 2024Validation of input data in Minimal API filters .NET, sensible and without fussI believe anyone would like to study new technologies “on the fly”. Any extra-efforts which may arise in comprehending some difficult subject may disgust that person and cause him or her to stop doing it. To me, it would seem kind of obvious why this...Discuss·33 readsflatvalidator
Ervin Boy Jati Asmaraasmaraervin.hashnode.dev·Feb 19, 2024Clean Architecture in ASP.NET 8 Core Web API — CQRS — Mediator | Visual StudioPertama bukalah Visual Studio kemudian pilihlah “Create a new project” Pilih Create a new project Memilih template ASP .NET Core Web API Memberi nama dari template ini yaitu “CleanArchWithCQRSandMediator.API” Memilih versi dari .NET, s...Discussdotnet
Quang Phanquangphan.hashnode.dev·Jan 30, 2024Validate .NET Core input against Cross Site Scripting (XSS) (Part 2)Let's examine an Azure Function that takes a string input request and subsequently serves that same data to the web for rendering. Assume the text below is the input: "<img src=x onerror=\"confirm('System Compromised')\">" Without any sanitization b...Discuss·1 like·165 readsSecurity Journey - XSS prevention in Azure Function.XSS
Dilakshan Antony Thevathasatdilakshan.hashnode.dev·Dec 5, 2023FluentValidation Introduction and Setup In .NETWhat is FluentValidation? FluentValidation is a .NET library for building strongly-typed validation rules using a fluent interface. It allows you to define validation rules for your domain models using a simple, readable syntax. It can be used to val...Discuss·2 likesdotnet
Okechukwu Godspraiseprazehub.hashnode.dev·Jan 11, 2023Fluent Validation in ASP.NET CoreOne of the ways used to validate models, is the use of data annotations. But then there are quite some issues with this approach for a scalable system. The good thing is that there is a library, that can help enhance validation, giving you total cont...Discuss·225 readsfluentvalidation
Cecil Phillipcecilphillip.dev·Apr 20, 2017Fluent Validation Rules with ASP.NET CoreWhen it comes to model validation in ASP.NET, we've always have had the option of using Data Annotations to declaratively define validation rules with attributes. The situation may arise where using attributes just might not be the thing for you. It ...DiscussAspnetcore