Human in the cloud... @cicorias
Browse by Tags
Tagged Content List
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 that is emitted to the client/browser. For example...
6 Oct 2011
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 what I came up with (this is my reminder…) class Program...
21 Sep 2011
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 to be sure that when we instantiate the source of...
10 Jul 2011
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 section "Background" below, that the...
15 Jun 2011
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 a nice sample application that demonstrates the...
18 May 2011
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 Response.Cache.SetSlidingExpiration(true) as follows...
14 Mar 2011
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 you can read the Overview of the Windows Azure...
11 Mar 2011
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-java-with-jetty-in-windows-azure.aspx As Mario points...
3 Mar 2011
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 T-SQL to ultimately enforce these rules. There is...
14 Nov 2010
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 get monitoring data into a viewer (AppFabric Dashboard...
10 Jun 2010
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 that detects the file, it circumvents loading...
8 Jun 2010
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 indicating that there’s an error in the Xml...
28 May 2010
Page 1 of 1 (12 items)
© 2015 Microsoft Corporation.
Privacy & Cookies