3/23/13

Encrypting ASP.Net Application Settings

When storing sensitive information in our web.config files, we may want to keep this information secured by encrypting the settings. We can easily do this by using the ASP.NET IIS registration tool (aspnet_regiis.exe) found in the Visual Studio command prompt. This tools allows us to encrypt our settings by just using a couple of command lines, but there are a few things that we should know before...

2/24/13

CRM Dynamic Outlook Client Does Not Authenticate

After installing the CRM Dynamics Outlook client, you may see an error indicating that your credentials can't be authenticated by the CRM service even when you know that your credentials are correct.     When this takes place, we need to look at what service your work station...

1/27/13

Cross Domain Support With Web API

og-bit.com As we know, cross-site HTTP requests from scripts are restricted due to security reasons.  Basically, if our web application runs on a domain (myapp.com), and we try to make a web service call via AJAX to a different domain (myservice.com), we get a cross domain error (not allowed). In the world of Web API and web services in general, we have the need to support cross domain requests...

Web API Serialize ENUM Types as String

og-bit.com By default, Web API serializes ENUM data types to the numeric value. For some applications, it would be better to use the string representation instead of the number. An example would be when using  a JavaScript template framework which prevents the need to add implementation code to map the numbers to labels. But before we go crazy and start changing all the model definitions,...

1/5/13

Copy Office 365 files to Local Disk

og-bit.com So we are done building your Office 365 website, and we would like to save a copy of the files to a local disk. We open SharePoint Designer and realized that we are able to see the files and folders. However we are not able to just right click and save the files to a Windows directory.  What do we do know? In order to be able to copy files from Office 365 to Windows explorer,...