Wednesday 11 April 2012

Where to put the dotNetCharting license file in Windows Server 2008 for a SharePoint application

We had a problem with our dotNetCharting images displaying the only in production demo message as it could not find the license file. This was only occurring on our Windows Server 2008 server and not on our Windows Server 2000 server. We have a SharePoint site so placing the licence file into the bin directory would not work as  SharePoint  deploys differently to normal websites and doesn't have a bin directory as everything lives in the GAC.

The license file in Windows Server 2000 resided in this path:

C:\Documents and Settings\All Users\Application Data\dotnetcharting\xyz.lic

The solution for Windows Server 2008 was to put the license file into this path:

C:\ProgramData\dotNetCharting\xyz.lic

Gotta love SharePoint  :(

Wednesday 4 April 2012

Building HTML5 Applications: Using CSS3 Media Queries to Build a More Responsive Web

Building HTML5 Applications: Using CSS3 Media Queries to Build a More Responsive Web:
Support for CSS3 Media Queries across all major desktop and mobile browsers means you can use context clues to deliver tailored experiences for a wide range of devices, as Brandon Satrom explains.

This article provides an overview of the Media Queries CSS3 module, discusses its syntax and use, and shows a simple example that leverages Media Queries to build tablet- and smartphone-friendly views for an online photo gallery. The goal is to provide a solid foundation for creating responsive Web sites and applications using only CSS and some tailored styles.
Brandon Satrom
MSDN Magazine April 2012