DCSIMG
Ajax - Doron's .NET Space

Browse by Tags

All Tags » Ajax (RSS)

Ajax Page Methods Will Always Have Session

In my ongoing process of performance optimization, I noticed the use of an ASP.NET Ajax Page Method in a certain page. It looked something like this: [ WebMethod ( true )] public static   bool HasDataBeenUpdated( DateTime lastUpdateTime) {    //Checks something in the cache against this date    // .... } Page methods are a way to Ajax-ly call a static method on the page, instead of creating a specific web-service for this. As you can see, this method was marked with [WebMethod...
Posted by dorony | 4 comment(s)
תגים:,

Using Script# to learn ASP.NET Ajax

One of the really great things about the ASP.NET Ajax Extensions library is its client-side capabilities. It allows you to write OOP-Style code with namespaces, classes, inheritance and the works. Still, learning to use it can be a bit annoying. You don't get the intellisense or documentation support as you would with C#, and all in all the Visual Studio javascript editor is nothing to tell the kids about. Therefore, what I would have liked is to be able to write some code in C#, and see how it gets...
Posted by dorony | with no comments
תגים:, ,