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...1 like·178 readsSecurity Journey - XSS prevention in Azure Function.XSS
Mohsen Davarynejadfor∇ The Gradientthegradient.io·Jan 21, 2024Overfitting in ML modelsOverfitting happens when a model is more complex than it should be and starts to fit the noise in the data (or some degree of that) instead of the underlying pattern. Overfitting leads to poor model performance on new and unseen data. While there is ...31 likes·66 readsPiML
Vedant Phougatevolving-engineer.hashnode.dev·Jul 4, 2023Using Custom "ProblemDetailsFactory" (2/3)This article shows, how one can return a structured response from an ASP.NET web API in case of errors (exceptions & model validations). One way to do that is by using custom ProblemDetailsFactory. 1. What is ProblemDetailsFactory? ProblemDetailsFact...362 readsStructured Error Response from Web APIasp.net core