background preloader

Software Development

Facebook Twitter

KInect

.NET Multi-Tier Application - Windows Azure Tutorial. Developing for Azure is easy using Visual Studio 2013 and the free Azure SDK for .NET.

.NET Multi-Tier Application - Windows Azure Tutorial

If you do not already have Visual Studio 2013, the SDK will automatically install Visual Studio Express 2013, so you can start developing for Azure entirely for free. Implementing Reliable Message Receive Loops. Through observations from several customer projects leveraging the brokered messaging API, we noticed that receiving a message is often subject to a canonical repeated implementation of the receive logic without a sound approach to handling potential anomalies.

Implementing Reliable Message Receive Loops

Generally, such logic does not allow for edge cases; for example, expired message locks. This type of approach can be error-prone if it is not implemented in a robust fashion. The purpose of this section is to provide some specific recommendations around the implementation of reliable message receive logic. First, it is important to note the two distinct modes in which messages can be received from Service Bus. MVC 4. Accessing Resource Files in MVC 3. How to use table storage - Windows Azure feature guide. This guide will show you how to perform common scenarios using the Azure Table Storage Service.

How to use table storage - Windows Azure feature guide

The samples are written in C# code and use the Azure Storage Client Library for .NET. The scenarios covered include creating and deleting a table, as well as working with table entities. For more information on tables, see the Next steps section. Table of Contents. MSDN – Explore Windows, Web, Cloud, and Windows Phone Software Development. Best Practices for Leveraging Windows Azure Service Bus Brokered Messaging API. This article offers practical guidance for developers working with the brokered messaging .NET managed API in the Windows Azure Service Bus .

Best Practices for Leveraging Windows Azure Service Bus Brokered Messaging API

The recommendations supplied in this article come directly from recent customer projects. While building real-world solutions with the Service Bus, we learned about some key best practices and little-known secrets that will help increase reliability and improve the performance of the solutions leveraging the new brokered messaging capabilities in the Service Bus. This article intends to share these learnings with the developer community. Relayed vs Brokered Messaging The Windows Azure Service Bus provides two comprehensive messaging solutions. Announcing Release of Windows Azure Media Services. I’m excited to announce the general availability (GA) release of Windows Azure Media Services.

Announcing Release of Windows Azure Media Services

This release is now live in production, supported by a new media services dev center, backed by an enterprise SLA, and is ready to be used for all media projects. With today’s release, you now have everything you need to quickly build great, extremely scalable, end-to-end media solutions for streaming on-demand video to consumers on any device. For example, you can easily build a media service for delivering training videos to employees in your company, stream video content for your web-site, or build a premium video-on-demand service like Hulu or Netflix. Service Bus Queues. Queues provide messaging capabilities that enable a large and heterogeneous class of applications running on premises or in the cloud to exchange messages in a flexible, secure and reliable fashion across network and trust boundaries.

Service Bus Queues

Queues are hosted in Windows Azure by a replicated, durable store infrastructure. The maximum size of a queue is 5GB. The maximum message size is instead 256KB, but the use of sessions allows you to create unlimited-size sequences of related messages.

Azure Development

Apps for Office Development. JavaScript Development. How an Entirely New, Autistic Way of Thinking Powers Silicon Valley. Book excerpt by Temple Grandin and Richard Panek I’ve given a great deal of thought to the topic of different ways of thinking.

How an Entirely New, Autistic Way of Thinking Powers Silicon Valley

In fact, my pursuit of this topic has led me to propose a new category of thinker in addition to the traditional visual and verbal: pattern thinkers. Reading an interview with Steve Jobs, I came across this quote: “The thing I love about Pixar is that it’s exactly like the LaserWriter.” What? He explained that when he saw the first page come out of Apple’s LaserWriter — the first laser printer ever — he thought, There’s awesome amounts of technology in this box.

But he also knew that the public wasn’t going to care about what was inside the box. He was right, obviously. I haven’t been able to look at an iPod or iPad or iPhone without thinking about that interview. The notorious antenna problem on the iPhone 4? Contrast this philosophy with Google’s; the minds behind Google, I guarantee you, were pattern thinkers.

Windows Debugging & Troubleshooting

Accessiblity. Learn to code. Assembling Sass. Walkthrough: Creating an MSBuild Project File from Scratch. Programming languages that target the .NET Framework, for example, Visual C# and Visual Basic, use MSBuild project files to describe and control the application build process.

Walkthrough: Creating an MSBuild Project File from Scratch

When you use Visual Studio to create an MSBuild project file, the appropriate XML is added to the file automatically. However, you may find it helpful to understand how the XML is organized and how you can change it to control a build. This walkthrough shows how to create a basic project file incrementally, by using only a text editor. The walkthrough follows these steps: ASP.NET MVC Tip #47 – Using ResolveUrl in an HTML Helper. Yesterday, I was creating a simple HTML helper for displaying images.

ASP.NET MVC Tip #47 – Using ResolveUrl in an HTML Helper

Nothing fancy. The code for the helper is contained in Listing 1. Listing 1 – HelpersImageHelper.cs using System.Web.Mvc; using System.Web.Routing; namespace MvcApplication1.Helpers { public static class ImageHelper { public static string Image(this HtmlHelper helper, string id, string url, string alternateText) { return Image(helper, id, url, alternateText, null); } public static string Image(this HtmlHelper helper, string id, string url, string alternateText, object htmlAttributes) { // Create tag builder var builder = new TagBuilder("img"); // Create valid id builder.GenerateId(id); // Add attributes builder.MergeAttribute("src", url); builder.MergeAttribute("alt", alternateText); builder.MergeAttributes(new RouteValueDictionary(htmlAttributes)); // Render tag return builder.ToString(TagRenderMode.SelfClosing); } } }

Creating Custom HTML Helpers (C# The goal of this tutorial is to demonstrate how you can create custom HTML Helpers that you can use within your MVC views.

Creating Custom HTML Helpers (C#

By taking advantage of HTML Helpers, you can reduce the amount of tedious typing of HTML tags that you must perform to create a standard HTML page. In the first part of this tutorial, I describe some of the existing HTML Helpers included with the ASP.NET MVC framework.