maartenba

Stories kicked by maartenba

Windows Azure Diagnostics in PHP(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 1 year, 8 months ago

When working with PHP on Windows Azure, chances are you may want to have a look at what’s going on: log files, crash dumps, performance counters, … All this is valuable information when investigating application issues or doing performance tuning. Windows Azure is slightly different in diagnostics from a regular web application. Usually, you log into a machine via remote desktop or SSH and inspect the log files: management tools (remote desktop or SSH) and data (log files) are all on the same machine. This approach also works with 2 machines, maybe even with 3. However on Windows Azure, you may scale beyond that and have a hard time looking into what is happening in your application if you would have to use the above approach. A solution for this? Meet the Diagnostics Monitor. read more...

add a comment |category: |Views: 5

tags: another

Hybrid Azure applications using OData(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 1 year, 9 months ago

In the whole Windows Azure story, Microsoft has always been telling you could build hybrid applications: an on-premise application with a service on Azure or a database on SQL Azure. But how to do it in the opposite direction? Easy answer there: use the (careful, long product name coming!) Windows Azure platform AppFabric Service Bus to expose an on-premise WCF service securely to an application hosted on Windows Azure. Now how would you go about exposing your database to Windows Azure? Open a hole in the firewall? Use something like PortBridge to redirect TCP traffic over the service bus? Why not just create an OData service for our database and expose that over AppFabric Service Bus. In this post, I’ll show you how. read more...

add a comment |category: |Views: 24

tags: another

Simplified access control using Windows Azure AppFabric Labs(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 1 year, 9 months ago

Earlier this week, Zane Adam announced the availability of the New AppFabric Access Control service in LABS. This just *has* to be good! Let’s see how easy it is to work with claims based authentication and the AppFabric Labs Access Control Service, which I’ll abbreviate to “ACS” throughout this post. read more...

add a comment |category: |Views: 16

tags: another

MvcSiteMapProvider 2.1.0 released!(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 1 year, 9 months ago

The release for MvcSiteMapProvider 2.1.0 has just been posted on CodePlex. MvcSiteMapProvider is, as the name implies, an ASP.NET MVC SiteMapProvider implementation for the ASP.NET MVC framework. Targeted at ASP.NET MVC 2, it provides sitemap XML functionality and interoperability with the classic ASP.NET sitemap controls, like the SiteMapPath control for rendering breadcrumbs and the Menu control. read more...

add a comment |category: |Views: 25

tags: another

ASP.NET MVC 3 and MEF sitting in a tree...(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 1 year, 10 months ago

As I stated in a previous blog post: ASP.NET MVC 3 preview 1 has been released! I talked about some of the new features and promised to do a blog post in the dependency injection part. In this post, I'll show you how to use that together with MEF. read more...

add a comment |category: |Views: 114

tags: another

ASP.NET MVC 3 preview 1 is out! Quick review...(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 1 year, 10 months ago

I just noticed a very interesting download: ASP.NET MVC 3 preview 1. Yes, you are reading this correctly, the first bits for v3.0 are there! Let’s have a quick look around and see what’s new... read more...

add a comment |category: |Views: 21

tags: another

ASP.NET MVC - MvcSiteMapProvider 2.0 is out!(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 1 year, 11 months ago

MvcSiteMapProvider is, as the name implies, an ASP.NET MVC SiteMapProvider implementation for the ASP.NET MVC framework. Targeted at ASP.NET MVC 2, it provides sitemap XML functionality and interoperability with the classic ASP.NET sitemap controls, like the SiteMapPath control for rendering breadcrumbs and the Menu control. Based on areas, controller and action method names rather than hardcoded URL references, sitemap nodes are completely dynamic based on the routing engine used in an application. The dynamic character of ASP.NET MVC is followed in the MvcSiteMapProvider: there are numerous extensibility points that allow you to extend the basic functionality offered. read more...

add a comment |category: |Views: 222

tags: another

Using Windows Azure Drive in PHP (or Ruby)(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 2 years, 1 month ago

At the JumpIn Camp in Zürich this week, we are trying to get some of the more popular PHP applications running on Windows Azure. As you may know, Windows Azure has different storage options like blobs, tables, queues and drives. There’s the Windows Azure SDK for PHP for most of this, except for drives. Which is normal: drives are at the operating system level and have nothing to do with the REST calls that are used for the other storage types. By the way: I did a post on using Windows Azure Drive (or “XDrive”) a while ago if you want more info. Unfortunately, .NET code is currently the only way to create and mount these virtual hard drives from Windows Azure. But luckily, IIS7 has this integrated pipeline model which Windows Azure is also using. Among other things, this means that services provided by managed modules (written in .NET) can now be applied to all requests to the server, not just ones handled by ASP.NET! In even other words: you can have some .NET code running in the same request pipeline as the FastCGI process running PHP (or Ruby). Which made me think: it should be possible to create and mount a Windows Azure Drive in a .NET HTTP module and pass the drive letter of this thing to PHP through a server variable. And here’s how... read more...

add a comment |category: |Views: 8

tags: another

Using FTP to access Windows Azure Blob Storage(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 2 years, 2 months ago

A while ago, I did a blog post on creating an external facing Azure Worker Role endpoint, listening for incoming TCP connections. After doing that post, I had the idea of building a Windows Azure FTP server that served as a bridge to blob storage. Lack of time, other things to do, you name it: I did not work on that idea. Until now, that is. read more...

add a comment |category: |Views: 147

tags: another

MEF will not get easier, it’s cool as ICE(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 2 years, 2 months ago

Over the past few weeks, several people asked me to show them how to use MEF (Managed Extensibility Framework), some of them seemed to have some difficulties with the concept of MEF. I tried explaining that it will not get easier than it is currently, hence the title of this blog post. MEF is based on 3 keywords: export, import, compose. Since these 3 words all start with a letter that can be combined to a word, and MEF is cool, here’s a hint on how to remember it: MEF is cool as ICE! read more...

1 comment |category: |Views: 375

tags: another

Windows Azure Drive (aka X-Drive)(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 2 years, 3 months ago

With today’s release of the Windows Azure Tools and SDK version 1.1, also the Windows Azure Drive feature has been released. Announced at last year’s PDC as X-Drive, which has nothing to do with a well-known German car manufacturer, this new feature enables a Windows Azure application to use existing NTFS APIs to access a durable drive. This allows the Windows Azure application to mount a page blob as a drive letter, such as X:, and enables easily migration of existing NTFS applications to the cloud. This blog post will describe the necessary steps to create and/or mount a virtual hard disk on a Windows Azure role instance. read more...

2 comments |category: |Views: 238

tags: another

Translating routes (ASP.NET MVC and Webforms)(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 2 years, 4 months ago

For one of the first blog posts of the new year, I thought about doing something cool. And being someone working with ASP.NET MVC, I thought about a cool thing related to that: let’s do something with routes! Since System.Web.Routing is not limited to ASP.NET MVC, this post will also play nice with ASP.NET Webforms. But what’s the cool thing? How about… translating route values? read more...

1 comment |category: |Views: 251

tags: another

Creating an external facing Azure Worker Role endpoint(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 2 years, 4 months ago

When Windows Azure was first released, only Web Roles were able to have an externally facing endpoint. Since PDC 2009, Worker Roles can now also have an external facing endpoint, allowing for a custom application server to be hosted in a Worker Role. Another option would be to run your own WCF service and have it hosted in a Worker Role. Features like load balancing, multiple instances of the Worker are all available. Let’s see how you can create a simple TCP service that can display the current date and time. read more...

add a comment |category: |Views: 124

tags: another

Reducing Code Coupling - Inversion of Control(grantpalin.com)

submitted by grantpalingrantpalin(376) 2 years, 4 months ago

This is the conclusion to my series on reducing code coupling. This installment follows from the previous ones, building on them by introducing the Inversion of Control pattern. read more...

2 comments |category: |Views: 677

tags: another

Ordering fields in ASP.NET MVC 2 templated helpers(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 2 years, 4 months ago

Ever worked with the templated helpers provided by ASP.NET MVC 2? Templated helpers provide a way to automatically build UI based on a data model that is marked with attributes defined in the System.ComponentModel.DataAnnotations namespace. For example, a property in the model can be decorated with the attribute [DisplayFormat(DataFormatString = "{0:c}")], and the templated helpers will always render this field formatted as currency. If you have worked with templated helpers, you must agree: they can be useful! There’s one thing which is impossible in the current version: ordering fields. And that's what this post will accomplish. read more...

2 comments |category: |Views: 159

tags: another

Vote to help me speak at the MIX 2010 conference!(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 2 years, 4 months ago

Everybody knows the Microsoft MIX event, right? The one in Las Vegas? The one with all the fancy web-related stuff? Rings a bell? Ok, great. In the beginning of December 2009, Microsoft did an open call for speakers, which I answered with some session proposals. Who doesn’t want to go to Vegas, right? The open call proposals have been processed (150+ sessions submitted, wow!) and a voting has started. Go ahead and vote on your favourite sessions! There's also Elijah Manor, Justin Etheredge, K. Scott Allen, and many others who submitted good looking sessions. read more...

add a comment |category: |Views: 1

tags: another