SYSK 376: Utility to Add DateTaken as File Name Prefix

I like to view photo images (.jpg files) using Large or Extra Large Icons view in Windows Explorer.  Unfortunately, this view doesn’t give me a way to sort the files by DateTaken property…  So, as a workaround, I created a small application that uses the date/time as a file name prefix, thus, letting the Windows…

0

SYSK 375: Visual Studio Add-In for Managing Configuration Files Across Environments

One of common customer questions/requests I get is about industry best practices and recommendations on managing configuration file settings when deploying code across environments.    There are several options to change different configuration settings in web.config file based on whether the application is in a DEV, QA, STAGE or PROD environment, and, based on my…

2

SYSK 374: Role Based Authorization for WCF Services through Configuration Files

Traditionally, to implement role based authorization in .NET you would use PrincipalPermission attributes, e.g.:   [PrincipalPermission(SecurityAction.Demand, Name = “YourDomain\\User1”, Role = “YourDomain\\Role1”)] public void MethodX(…) {     . . . }   In my opinion, there are two problems with this approach:   1.    At development time you need to make a decision on which…

1

SYSK 373: How to Impersonate the Original Caller When Calling the WCF Service in ASP.NET by Configuration Only

If your WCF services use role based authorization, and you need to pass the identity of the end user (original caller), you have a few options:   1.    Use <identity impersonate=”true” /> in web.config   This is not my preference since there is quite a bit of overhead with doing security context switching for every…

0