Shawn Cicoria - CedarLogic

Perspectives and Observations on Technology

Recent Posts

Sponsors

Tags

General





Community

Email Notifications

Blogs I Read

Archives

Other

Use OpenDNS

Browse by Tags

All Tags » Code (RSS)
Additional Mime Types in Visual Studio 2010 Development Web Server
While the development server in Visual Studio 2010 is great for most work, it does have 1 shortcoming in that if you start adding content types that are not part of the base set of known Mime types built in, you won’t affect the proper header response...
Posted: 10-06-2011 3:38 PM by cicorias | with no comments
Filed under: , , ,
Use an Action delegate to time a method…
I wanted an ability to be able to simply time methods and write to a log/trace sink and a very simple approach that I ended up using was to provide a method that takes an Action delegate which would be the method that is to be timed. The following is...
Posted: 09-21-2011 12:15 PM by cicorias | with no comments
Filed under: ,
Hosted Service as a Windows Azure CDN Origin Tips
The Windows Azure Content Delivery Network (CDN) helps improve the solution experience by putting content closer to the end-user, enhances availability, geo-distribution, scalability, lower latency delivery, and performance. If that’s the goal we want...
HACK: Forcing FBA Token Refresh against SPClaimProvider with No Credential Challenge
The approach takes advantage of the SP 2010 OOB Session Token handler and FBA claims provider implementation that during a period of token lifetime, if there is activity during the period of time that can be defined as "EW" in the image in the...
CloudNinja - Windows Azure Multi-tenant Sample - Home
So, as one of the OneTAP leads for Windows Azure focusing on the BizSpark folks, I run into many questions regarding HOWTO and in areas of Auto-Scaling, provisioning, authentication. The folks at Full Scale 180 ( http://www.fullscale180.com ) have created...
Posted: 05-18-2011 5:41 AM by cicorias | with no comments
Filed under: , ,
Differences when Running with OutputCache managed module under ASP.NET IIS7.x with Cache-control header
This post is to report some differences when using MVC or IHttpHandlers if you’re attempting to set the Cache-control : max-age or s-maxage value under IIS7.x using the HttpResponse.Cache methods. [UPDATE]: 2011-3-14 – The missing piece was calling ...
Taking advantage of Windows Azure CDN and Dynamic Pages in ASP.NET - Caching content from hosted services
With the updates to Windows Azure CDN announced this week [ 1 ] I wanted to help illustrate the capability with a working sample that will serve up dynamic content from an ASP.NET site hosted in a WebRole. First, to get a good overview of the capability...
Running Jetty under Windows Azure Using RoleEntryPoint in a Worker Role
This post is built upon the work of Mario Kosmiskas and David C. Chou’s prior postings – from here: http://blogs.msdn.com/b/mariok/archive/2011/01/05/deploying-java-applications-in-azure.aspx   http://blogs.msdn.com/b/dachou/archive/2010/03/21/run...
Posted: 03-03-2011 4:34 PM by cicorias | with no comments
Filed under: , ,
Extending SQL 2008 R2 Master Data Services (MDS) with IWorkflowTypeExtender
During hierarchy changes, MDS provides some basic rules for validating hierarchy members against some logic that is defined in the model within the MDS interface or through the Services interface.  Behind the scenes, MDS is generating all sorts of...
Posted: 11-14-2010 4:52 PM by cicorias | with no comments
Filed under: , ,
Using a WCF Message Inspector to extend AppFabric Monitoring
I read through Ron Jacobs post on Monitoring WCF Data Services with AppFabric http://blogs.msdn.com/b/endpoint/archive/2010/06/09/tracking-wcf-data-services-with-windows-server-appfabric.aspx What is immediately striking are 2 things – it’s so easy to...
App_offline.htm and SharePoint and wholly contained images…
The question came up today if we could use an “app_offline.htm” file along with HTML in that file that would reference images. First, I wasn’t 100% sure if the app_offline.htm would work, but it sure did.  Since it’s just the Asp.net hosting process...
Posted: 06-08-2010 5:26 PM by cicorias | with no comments
Filed under: , ,
Strings are UTF-16…. There is an error in XML document (1, 1).
I had a situation today where an xml document had a directive indicating it was utf-8.  So, the code in question was reading in the “string” of that xml then attempting to de-serialize it using an Xsd generated type. What you end up with is an exception...
Posted: 05-31-2010 8:25 PM by cicorias | with no comments
Filed under: , ,