David_F
Preventing SQL Injections with string based queries
@Turwaith also I am not sure you prevent SQL injection in your code when
case System.Data.SqlDbType.Text:
and you invoke param.Value.ToString().Replace("'", "''")
what happens when I inject malicious text in param?30 replies
❔ Sending a message to ServiceBus topic from ASP.NET Web API controller
see configuration in https://masstransit.io/documentation/configuration
12 replies
❔ Task tracking
@Jer also remember to propagate or request from DI the cancellationToken that fires when shutdown is requested in every logic the tasks do because cancellation should be cooperative. ASP .NET Core by default gives a couple of seconds to allow gracefull shutdown and after these seconds pass, the process exits anyway not waiting for your background work
13 replies