September 2011 - Posts
Travis Leithead showed a video "Building responsive apps and sites with HTML5 web workers" in BUILD. When editing "Dedicated worker" JavaScript file in Visual Studio 11 Developer's Preview, we need to add the following line in the beginning of the file to get the proper JavaScript web walker IntelliSense in the editor: /// <reference group="Dedicated Worker" /> "Dedicated Worker" is a reference Group defined in the Tools->Options->Text Editor->JavaScript->IntelliSense->References. It contains a JavaScript file which contains all the web walker JavaScript HTML5 objects. You can then see IntelliSense, such as importScripts: Also, IntelliSense will be shown form the JavaScript files...
The upcoming version of Visual Studio introduces a number of improvements focused on diagnosing your Web Applications. One of these is the new Page Inspector. Page Inspector is a new tool that brings browser diagnostics tools into Visual Studio and provides an integrated experience between the browser, ASP.NET, and source code. Using Page Inspector, you can inspect elements in the integrated browser and see exactly which file and lines of code generated that element (HTML literal content and server-side code). It also comes with a DOM Visualizer and CSS Tools in which you can modify the properties and see the changes in the browser in real time. Decomposing a Web Page (Source Code Selection Mapping) Page Inspector provides an Inspect mode that...
Visual Studio 11 Developer Preview has many new HTML editor features, including the following: Scott Gu's Blog: Source view smart task From ASP.NET 4.5 and Visual Studio 11 Developer Preview Whitepaper WAI-ARIA support New HTML5 snippets Auto-reduce statement completion IntelliSense for code nuggets in attributes Automatic renaming of matching tag when you rename an opening or closing tag Discussed a little bit more here than in the whitepaper: Smart indent Event handler generation Extract to user control Smart indentation The indentation of HTML elements has been tightened up so the cursor will always be placed the right place after hitting Enter when inside any empty HTML tag. When the user hits Enter, the closing div tag is moved 2 lines...
If you're a regular reader of this blog, you may have noticed the electronics posts lately. With my friend Fabien , we've been building a little handheld console from readily available parts. It's also programmable in C#, using a library that we built . It's great fun really. Our plan is to build a kit and a book out of it, to help people learn the basics of digital electronics and C# programming. We've built a site for the project over a few nights last week, using Orchard and hosting on Azure . I thought I'd throw in a little return on experience and talk about the modules we used. The site can be found here: http://www.pix6t4.com The first thing I did to build the site was to build the theme. I started from the built...
The CSS Editor for Visual Studio 11 Developer Preview is a complete rewrite of the 2010 version, featuring excellent performance and stability. As soon as you start to edit a CSS file or a style block embedded in a web page, you'll feel the difference! CSS 3.0 has expanded the richness and complexity of style sheets considerably, and the new editor steps up to make the change not just manageable, but productive. Select the CSS 1.0, 2.1, or 3.0 schema to work with (default is 3.0) and start typing. The first thing you'll see is an overwhelming number of properties available, over 250. Even more appear if you start your property name with a "-", revealing all the vender-specific properties available: While the list may look overwhelming...
Visual Studio 11 Developer Preview has the JavaScript design time engine rewritten, sharing base with IE's JavaScript engine. It has faster performance and better memory footprint. The list below shows some new feature and changes comparing with Visual Studio 2010 for Web development scenarios. All feedbacks are welcomed as it's our passion to make JavaScript developing experience as pleasant, reliable and efficient as other languages. IntelliSense Description VS2010 Behavior Visual Studio 11 Developer Preview Behavior ECMAScript 5 compliance No Yes. Visual Studio 11 Developer Preview fully supports ECMAScript 5. Auto-reducing Statement Completion List No Yes, if the IntelliSense is automatically enabled when typing. The following screen...
The public release of Visual Studio 11 Developer Preview is now available and can be downloaded. Please visit Jason Zander's Blog for the download links and overview of the new features. We have many great features in the preview. We'll discuss some of them in the future blogs. Scott Guthrie has a blog " ASP.NET vNext Series ' which links to the detail of many ASP.NET 4.5 features. Here is a few features included in the Visual Studio 11 Developer Preview: JavaScript editor is rewritten, and is now based on IE10's JavaScript engine. Many new features are added for the JavaScript editor to support it as a first class citizen programming language, such as go to definition, outlining, brace matching, etc. New CSS editor functionalities...
This is the fourth in a series of blog posts I’m doing on ASP.NET vNext. The next releases of .NET and Visual Studio include a ton of great new features and capabilities. With ASP.NET vNext you’ll see a bunch of really nice improvements with both Web Forms and MVC – as well as in the core ASP.NET base foundation that both are built upon. Today’s post is the second of three posts that talk about the new Model Binding support coming to Web Forms. Model Binding is an extension of the existing data-binding system in ASP.NET Web Forms, and provides a code-focused data-access paradigm. It takes advantage of a bunch of model binding concepts we first introduced with ASP.NET MVC – and integrates them nicely with the Web Forms server...
This is the third in a series of blog posts I’m doing on ASP.NET vNext. The next releases of .NET and Visual Studio include a ton of great new features and capabilities. With ASP.NET vNext you’ll see a bunch of really exciting improvements with both Web Forms and MVC – as well as in the core ASP.NET base foundation that both are built upon. Today’s post is the first of three posts I’ll do over the next week that talk about the new Model Binding support coming to Web Forms. Model Binding is an extension of the existing data-binding system in ASP.NET Web Forms, and provides a code-focused data-access paradigm. It takes advantage of a bunch of model binding concepts we first introduced with ASP.NET MVC – and integrates them nicely...
This is the second in a series of blog posts I’m doing on ASP.NET vNext. The vNext releases of .NET and Visual Studio include a ton of great new features and capabilities. With ASP.NET vNext you’ll see a bunch of really exciting improvements with both Web Forms and MVC – as well as in the core ASP.NET base foundation that both are built upon. Today’s post is the first of a few posts I’ll do that talk about some of the improvements coming to Web Forms. Today’s post covers the new support we are introducing for Strongly Typed Data Controls. Some Background on Data Control Templates ASP.NET Web Forms introduced the concept of “templates” starting with the very first release. Templates allow you to customize (or override) the markup...
More Posts
Next page »