Ajax

  • warning: Parameter 2 to wijering4_swftools_flashvars() expected to be a reference, value given in /var/www/virtustate/includes/module.inc on line 462.
  • warning: Parameter 2 to wijering4_swftools_flashvars() expected to be a reference, value given in /var/www/virtustate/includes/module.inc on line 462.

jQuery Globalization Plugin from Microsoft

Last month I blogged about how Microsoft is starting to make code contributions to jQuery, and about some of the first code contributions we were working on: jQuery Templates and Data Linking support.

ASMX ScriptService mistake – Invalid JSON primitive

One group of searches that consistently brings traffic here is variations on the error: Invalid JSON primitive. Unfortunately, the post that Google sends that traffic to doesn’t address the issue until somewhere within its 150+ comments.

Today, the topic gets its own post.

If you’ve worked with ASMX ScriptServices or Page Methods without ASP.NET AJAX’s client-side proxy (e.g. using jQuery or pure XMLHttpRequest code), you’ve may have seen this cryptic error yourself. Or, perhaps you’ve just arrived here due to seeing it for the first time.

jQuery Templates and Data Linking (and Microsoft contributing to jQuery)

The jQuery library has a passionate community of developers, and it is now the most widely used JavaScript library on the web today.

Two years ago I announced that Microsoft would begin offering product support for jQuery, and that we’d be including it in new versions of Visual Studio going forward. By default, when you create new ASP.NET Web Forms and ASP.NET MVC projects with VS 2010 you’ll find jQuery automatically added to your project.

Encosia

ASP.NET and AJAX code, ideas, and examples.

ASMX ScriptService mistakes: Installation and configuration

Continuing my series of posts about ASMX services and JSON, in this post I’m going to cover two common mistakes that plague the process of getting a project’s first ASMX ScriptService working: Installing System.Web.Extensions into the GAC and configuring your web.config.

System.Web.Extensions (aka ASP.NET AJAX)

The ability for ASMX services to return raw JSON is made possible by two key features originally added by the ASP.NET AJAX Extensions v1.0:

ASMX and JSON – Common mistakes and misconceptions

While we were recording episode 5 of Mastering jQuery, I found myself running down a lengthy list of misconceptions and potential pitfalls when it comes to using ASMX services for AJAX callbacks. After years of fielding questions revolving around that topic, I suppose I’ve developed a decent handle on the issues most often encountered.

Test Image

My Web Site

From the exampe on MustardSeed Media: http://mustardseedmedia.com/podcast/episode1

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialise correctly.

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialise correctly.


Google Ajax Libraries API

Syndicate content

User login

Cumulus Tag Cloud

Judges 13:16

And the angel of Jehovah said unto Manoah, Though thou detain me, I will not eat of thy bread; and if thou wilt make ready a burnt-offering, thou must offer it unto Jehovah. For Manoah knew not that he was the angel of Jehovah.
There are currently 0 users and 7 guests online.
Powered by Drupal, an open source content management system
Syndicate content

Stephen Kelley's Twitter

 

Your true home is in nothingness, in emptiness of all content. You face it most cheerfully when you go to sleep! Find out for yourself the state of wakeful sleep and you will find it quite in harmony with your real nature. Words can only give you the idea, and the idea is not the experience. All I can say is that true happiness has no cause, and what has no cause is immovable. Which does not mean it is perceivable, as pleasure. What is perceivable is pain and pleasure; the state of freedom from sorrow can be described only negatively.

Sri Nisargadatta Maharaj