Subscribe to this Blog

Subscribe to this Blog

JavaScript - Stephen Walther on ASP.NET MVC

Browse by Tags

All Tags » JavaScript (RSS)

jQuery in ASP.NET Talk at PDC by swalther

Mark your calendars and come to my jQuery in ASP.NET talk at PDC. It looks like my talk is scheduled for Tuesday (10/28/2008) at 5:15pm. You can still register for the PDC here: http://www.microsoftpdc.com/ I'm really excited about the new possibilities...

ASP.NET MVC Tip #45 – Use Client View Data by swalther

In this tip, I explore one approach to building Ajax applications with ASP.NET MVC. I show how you can use view data when building Ajax applications with ASP.NET MVC in the same way as you would use view data when building server-side application. I demonstrate...

ASP.NET MVC Tip #7 – Prevent JavaScript Injection Attacks with Html.Encode by swalther

In this tip, Stephen Walther convinces you that JavaScript Injection attacks are much more serious than you might think. I show you how to do very evil things with an ASP.NET MVC website using a JavaScript Injection attack and then I explain an easy way to prevent this type of attack. ...

ASP.NET AJAX In-Depth: Object Inheritance by swalther

The goal of the blog entry is simple: I want to understand everything happening under the covers when you take advantage of ASP.NET AJAX inheritance....
Filed under: ,

Two Methods of Creating JavaScript Objects: Prototype Inheritance and the Xerox Method by swalther

In this blog entry, I examine different methods of building new JavaScript objects from existing JavaScript objects. For lack of better names, I’m calling the first method the Prototype Inheritance method and the second method the Xerox method. The goal of this blog entry is discuss the relative strengths and weaknesses of the two methods. At the very end of this entry, I briefly examine the approach taken by the ASP.NET AJAX framework....
Filed under: ,

Creating JavaScript Properties in ASP.NET AJAX by swalther

JavaScript (or more accurately, ECMAScript 3.0) does not support properties. JavaScript objects do not have properties in the same sense as C# or VB.NET objects have properties. That’s unfortunate, since there are benefits to C# and VB.NET properties...
Filed under: ,

JavaScript Magic Properties: Using __count__ , __proto__ , and __parent__ by swalther

Two of the Mozilla implementations of the JavaScript engine, SpiderMonkey and Rhino, support a special list of magic properties. Because SpiderMonkey is the JavaScript engine used by Firefox, this means that you can use these magic properties in JavaScript code that is executed within the Firefox browser....
Filed under:
More Posts