skip to main
skip to sidebar
Polish Cowboy's Random Thoughts
Wednesday, November 20, 2013
Bringing back the Programs start-menu in Windows 8
For months now, in Windows 8, I missed my old trusty Programs folder, where my Start button used to be. And today, thanks to Toolbars feature, I have it back. Simply:
Right click on the Toolbar
Select Toolbars - New toolbar ...
Than paste "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" into the Folder location
Tuesday, June 4, 2013
Parameterized SQL and IN clause
There are many ways to pass table value parameters to an SQL statement in C#. I did not like any of them, since they were either:
Not secure - by concatenating table values, which exposes your application to SQL injection attacks
Not performing - by utilizing SQL Server pattern matching, i.e. LIKE '%...%'
Cumbersome - by requiring special type to be created on the database server
Quite weird - by creating CSV split function and joining the result to the original query
So I have decided to create my own and share it with the world on the CodeProject site.
Thursday, November 15, 2012
Using AOP and MemoryCache to improve performance
I've submitted an article to Code Project on a simple use of AOP and MemoryCache from .Net Framework 4.
I mostly blog about technology, but sometime I get random thoughts while arguing with myself and they might spill into this blog ... You've been warned ...
View my complete profile