Re: DI in MVC

2019-12-18 Thread David Burstin
Hi Richard, Thanks for that - most helpful. Sorry I hadn't replied sooner. Cheers David On Wed, 11 Dec 2019 at 17:35, Richard Carde wrote: > On Fri, 29 Nov 2019 at 11:22, David Burstin > wrote: > >> Hi guys, >> >> Got a DI question: >> > ... > >> Is there a way that I can get MVC DI to

Re:

2019-12-18 Thread mike smith
Consider that ultimate of all log files, a .dmp file. Everything is going to be in that, and they typically get automatically sent when something goes wrong. Mike. On Thu, Dec 19, 2019, 09:03 Alan Ingleby wrote: > I guess the key requirement here is "I'm about to write this string to a > log

Re:

2019-12-18 Thread Alan Ingleby
I guess the key requirement here is "I'm about to write this string to a log file, is there a chance there's a credit card number in here?". All other things considered, this is reasonably good safeguard. I'd imaging if the quick and dirty regex I listed picks anything up, you could do a further

Re:

2019-12-18 Thread Grant Maw
I thought all credit cards use the Mod10 (Kuhn) algorithm. I seem to remember it being a safeguard against data entry errors back in the day, so this is possibly a hangover from those days. We never validate card numbers. We pass the card data to the processing gateway and let their APIs handle