Visual Studio 2012 – XAML-like event handler generation


When creating a new WebForm in ASP.NET by using Visual Studio 11, I noticed that a context menu is displayed, once you type in the = (equal sign) after the event name in Source view. It is this context menu that contains the item Create New Event. If you then press Tab, the event handler method is automatically generated in the code-behind file. I like it, after having used with XAML and particularly Silverlight development. 🙂

Advertisements