Dictionary lookup vs switch vs if performance in C#

0 Comments

Lets say you want to execute a specific logging function based on a log level. Amongst others you could use a switch- or if statements or use a generic dictionary containing the functions to call.

Printing table contents for debugging purposes in T-SQL

0 Comments

Sometimes you just want to add a print statement in a stored procedure to output the contents of a table. Then you can use the "FOR XML" statement in T-SQL: declare @Data_as_xml xml set @Data_as_xml

Uploading large files with Outsystems

0 Comments

If you want to upload "large" files e.g. <= 100MB, on any ASP .NET website, you must edit the web.config file. There are many settings that you might want to update, when uploading large files