Geeks With Blogs

News





INauseous() Shawn Cicoria - Solution Architect, Craftsman and Artisan - INauseous() - Main Blog Here: www.Cicoria.com September 2011 Entries
Faking SPContext–for testing only…
Keith Dahlby has a good post on creating a fake SPContext. Here’s the link and the code NOTE: This is not production safe code – use at own risk… http://solutionizing.net/20... public static SPContext FakeSPContext(SPWeb contextWeb) { // Ensure HttpContext.Current if (HttpContext.Current == null) { HttpRequest request = new HttpRequest("", web.Url, ""); HttpContext.Current = new HttpContext(request, new HttpResponse(TextWriter.Nul... } // SPContext is based on SPControl.GetContextWeb(), ......

Posted On Wednesday, September 21, 2011 5:55 PM

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 { static void Main(string[] args) { TestMethod1(); } private static void TestMethod1() { LoggingHelper.TimeThis("doing something", () => { Console.WriteLine("This is the Real Method Body"); ......

Posted On Wednesday, September 21, 2011 3:15 PM

Building scalable web applications with Windows Azure (ed. and on premise too!)
Matthew Kerner’s session at BUILD covers many of the patterns and approaches that a well designed and highly scalable solution can do to make the most efficient use of the platform. Truth is many of the areas Matthew covers should be for on Premise too – including use of Windows Azure CDN. At about ~30:00 in Matthew references one of my posts on Windows Azure CDN and using it with your Compute role (hosted service) as an CDN origin… ......

Posted On Tuesday, September 20, 2011 8:08 AM

Comparison of Windows Azure Storage Queues and Service Bus Queues « Microsoft Technologies Rocks !!!

Nice table comparing Windows Azure Queues vs. Windows Azure AppFabric Service Bus – note the comment regarding in WAZ SDK 1.5 Queue message size is now 64KB

Of course, I like the name of the blog too.

Comparison of Windows Azure Storage Queues and Service Bus Queues « Microsoft Technologies Rocks !!!

Posted On Tuesday, September 20, 2011 8:07 AM

Bringing Hyper-V to “Windows 8” - Building Windows 8 - Site Home - MSDN Blogs

This is huge – and a welcomed addition.  Been waiting too long for this.

Bringing Hyper-V to “Windows 8” - Building Windows 8 - Site Home - MSDN Blogs

Posted On Wednesday, September 7, 2011 5:28 PM

Copyright © Shawn Cicoria | Powered by: GeeksWithBlogs.net | Join free