Home / ASP.NET Weblogs

Latest Microsoft Blogs

Browse by Tags

Related Posts

  • Solving the Shakespeare Million Monkeys Problem in Real-time with Parallelism and SignalR

    A little over 18 months ago I was talking to Stephen Toub (he of the Parallel Computing fame ) about parallelism and the kinds of problems it could solve. I said, naively, "could we solve the million monkey's problem ?" He said, "the what?" "You know, if you have an infinite number of monkeys and an infinite number of keyboards they will eventually write Shakespeare ." We brainstormed some ideas (since Stephen is a smarter than I, this consisted mostly of him gazing thoughtfully into the air while I sat on my hands) and eventually settled on an genetic algorithm. We would breed thousands of generations of (hypothetical) monkeys a second and then choose which ones would be allowed to perpetuate the species based...


  • JavaScript Reference group Dedicated Worker

    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...


  • New JavaScript editing features for Web development in Visual Studio 11 Developer Preview

    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...


  • Asynchronous scalable web applications with real-time persistent long-running connections with SignalR

    I've been spending some time exploring asynchrony and scale recently. You may have seen my post about my explorations with node.js and iisnode running node on Windows . Every application has different requirements such that rules to "make it scale" don't work for every kind of application. Scaling a web app that gets some data and for loops over it is different from an app that calls out to a high-latency mainframe is different from an app that needs to maintain a persistent connection to the server. The old adage "when all you have it is a hammer everything looks like a nail" really holds true in the programming and web space. The more tools - and the knowledge to use them - the better. That's why I'm an...


  • Learning about Progressive Enhancement - Supporting Mobile Browsers with CSS3 Media Queries

    I blogged about how happy I've been working with designer Jeremy Kratz on my recent site redesign . We've been meeting lately about small improvements and tweaks. One of the core goals was to support many screen sizes from 30" down to a small smart phone screen. You can see the results on the right in a Windows Phone and iPhone. My team is doing a lot of work on Mobile lately, not just with things like jQuery Mobile and what that means not just for ASP.NET but the mobile web in general. We've also worked with 51Degrees and they've even created a NuGet package that can help you tailor your site to any device. You'll hear more about Mobile in ASP.NET from Steve soon and I'll be sharing some ideas in a few upcoming...


  • Play Sound in HTML5 and cross browser support with backward compatability.

    In the last post in this series [ read here ] I added the clock timing logic to the HTML workout timer. The next feature to add is round and interval audio. I want to ring a bell at the beginning and the end of each round, a warning before a change in work state, [...] Read More...


  • ASP.NET Password Strength Indicator with jQuery Plugin.

    Password strength is a key factor in account security for weeb applications. As developers we all have a basic understanding of what a secure password is but the averge consumer of internet applications doesn’t so adding a visual indicator when your user selectes a password is a great feature. There are many, many plugins that [...] Read More...


  • Web Standards Update for Visual Studio 2010 SP1

      The Web Platform and Tools team is very pleased to announce the first Web Standards Update for Visual Studio SP1 . It updates the HTML5 intellisense and validation to reflect the latest W3C specifications and fixes some bugs bugs in the current SP1 support for HTML5. Also JavaScript intellisense it updated to reflect many of the new browser capabilities such as Geolocation and DOM storage. Finally, this update adds comprehensive CSS3 intellisense and validation based on the latest specifications from W3C. As the HTML5 and CSS3 specifications mature we will make updates available accordingly to ensure that ASP.NET web developers always have the latest standards to work with. This is at the same time an invitation to report any bugs or...


  • Sample Code and Slides from DevConnection Germany

    Thank you everyone who came to my three talks this week at DevConnections Germany! I really enjoyed my time in Karlsruhe. Here are the slides and sample code for the three talks: jQuery Templates In this talk, I discuss how you can take advantage of jQuery templates when building both ASP.NET Web Forms and ASP.NET MVC applications. I demonstrate several advanced features of templates such as wrapped templates and remote templates. Download the slides Download the code HTML5 In this talk, I discuss the features of HTML5 which matter most when building database-driven web applications. I demonstrate WebSockets, Web Workers, Web Storage, IndexedDB, and Offline Web Applications. Download the slides Download the code jQuery + OData In this talk,...


  • Globalization, Internationalization and Localization in ASP.NET MVC 3, JavaScript and jQuery - Part 1

    There are several books worth of information to be said about Internationalization (i18n) out there, so I can't solve it all in a blog post. Even 9 pages of blog posts . I like to call it Iñtërnâtiônàlizætiøn , actually. There's a couple of basic things to understand though, before you create a multilingual ASP.NET application. Let's agree on some basic definitions as these terms are often used interchangeably. Internationalization (i18n) - Making your application able to support a range of languages and locales Localization (L10n) - Making your application support a specific language/locale. Globalization - The combination of Internationalization and Localization Language - For example, Spanish generally. ISO code "es"...


Page 1 of 16 (160 items) 1 2 3 4 5 Next > ... Last »