Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • MS AJAX Lib beta is out

    You can get it from here . I’m curious to see if it contains new features…
    Posted to LA.NET [EN] by luisabreu on Fri, Nov 20 2009
    Filed under: Filed under: ,
  • No more hacks for the MS AJAX’s binding problem

    At least, when the RTM version is released! Ok, I guess you need some context: in the previous post , I talked about a problem which was mentioned to me by Andy in the comments of an existing post. The problem was that the __msajaxBindings field ended up being added to an object used in a live binding...
    Posted to LA.NET [EN] by luisabreu on Fri, Nov 13 2009
    Filed under: Filed under: ,
  • MS AJAX: bindings and serialization

    In my “goodbye MS AJAX post”, reader Andy asked a really interesting question : how to serialize an object which is used in a binding relationship? The main problem is that the JavaScriptSerializer doesn’t support circular references. Unfortunately, it doesn’t also provide a way for you to specify which...
    Posted to LA.NET [EN] by luisabreu on Wed, Nov 11 2009
    Filed under: Filed under: ,
  • The AdoNetDataContext object: what about saving?

    Well, this really doesn’t deserve any special attention. Ok, let me put it another way: there’s a lot of work going on behind the scenes, but you shouldn’t have to worry with any of it. I’ve thought about writing a post on the objects that end up being used by the AdoNetDataContext to propagate changes...
    Posted to LA.NET [EN] by luisabreu on Mon, Nov 9 2009
    Filed under: Filed under: ,
  • Getting your ADO.NET Data Services uris right: the easy way

    Here we are again, for more on the MS AJAX library. In the previous post , we’ve seen that we can interact with ADO.NET Data Services by using the AdoNetDataContext instances. Today, we’ll be looking at more advanced features of the ADO.NET Data Services which are also available in the MS AJAX library...
    Posted to LA.NET [EN] by luisabreu on Mon, Nov 9 2009
    Filed under: Filed under: ,
  • Getting started with the AdoNetDataContext

    Today we’re going to start looking at the AdoNetDataContext. This class expands the DataContext object and uses several specific methods for ensuring the correct interaction with an existing ADO.NET Data Service. These internal methods added by the AdoNetDataContext are essentially used in identity related...
    Posted to LA.NET [EN] by luisabreu on Mon, Nov 9 2009
    Filed under: Filed under: ,
  • The DataContext component: creating entities

    Before we can move on and take a look at the AdoNetDataContext component, we need to talk about one more topic: creating entities and how it might be integrated with DataContext component. The DataContext exposes a createEntity method which can be used for  creating new objects of a specific type...
    Posted to LA.NET [EN] by luisabreu on Sun, Nov 8 2009
    Filed under: Filed under: ,
  • The DataContext component: deferred properties

    Today we’ll keep looking at the DataContext component and we’ll see how it supports deferred properties. Deferred properties are properties which are lazy loaded as “needed”. Using deferred properties means that the component will try to make a remote call for getting the value of that property. As you...
    Posted to LA.NET [EN] by luisabreu on Sat, Nov 7 2009
    Filed under: Filed under: ,
  • The DataContext component: linking objects

    Today we’ll keep going in our study of the DataContext component and we’ll see how we can establish relationships between objects through links. I guess you’re probably asking something like: “Hum…establishing relationships between objects…how about using properties?” For instance, suppose we’re working...
    Posted to LA.NET [EN] by luisabreu on Thu, Nov 5 2009
    Filed under: Filed under: ,
  • Regular expressions and JavaScript – part II

    In the previous post , we’ve seen that we can build regular expression objections through a constructor ( RegExp) or by using a literal (/…/). Today I thought I’d be writing some code for illustrating the use of regular expressions. However, I think I’ll concentrate on MS AJAX and I’ll point you to this...
    Posted to LA.NET [EN] by luisabreu on Thu, Nov 5 2009
    Filed under: Filed under:
  • Regular expressions and JavaScript

    After writing my last post on getting style properties from JavaScript, I’ve noticed that I still haven’t written anything about JavaScript and regular expressions…and that’s why I’ll be writing a couple of posts on this topic. Before going on, a disclaimer: I’m not really an expert on regular expressions...
    Posted to LA.NET [EN] by luisabreu on Wed, Nov 4 2009
    Filed under: Filed under:
  • Getting the CSS display value: there’s more to it than you might think at first

    Well, I’m spoiled… that’s what happens when you use frameworks like JQuery …Everything is good until that one day…someone says something stupid: “I need you to write some JS code but I don’t want external references on JQuery !”. Yep, I thought exactly the same thing: WTF??? “Now, that we’re clear on...
    Posted to LA.NET [EN] by luisabreu on Wed, Nov 4 2009
    Filed under: Filed under:
  • The DataContext component: improving the identity algorithm

    In the previous post , we’ve started looking at identity and how it’s supported by the DataContext component. Today we’ll improve the initial algorithm so that we’re able to support more advanced scenarios. Even though the first algorithm for identity management was really simple...
    Posted to LA.NET [EN] by luisabreu on Wed, Nov 4 2009
    Filed under: Filed under: ,
  • The DataContext component: getting started with identities

    We’ve already met several interesting features of the DataContext component. Today we’ll keep going and we’ll start discussing identity. I’m not sure if you’ve noticed, but the DataContext exposes several identity related methods. For instance, the getIdentity method is used by the control to get the...
    Posted to LA.NET [EN] by luisabreu on Tue, Nov 3 2009
    Filed under: Filed under: ,
  • The DataContext component: Committing changes – take II

    In the previous post , we’ve seen how easy it is to commit the changes that are buffered by a DataContext instance. At the time , I said that there were still a couple of things related with the saveChanges method that needed further discussion…and that’s what we’ll do in this post. To illustrate one...
    Posted to LA.NET [EN] by luisabreu on Mon, Nov 2 2009
    Filed under: Filed under: ,
  • The DataContext component: committing changes

    Ok, we’ve already seen one option for fetching data from a remote web service. In this post, we’ll see how to commit changes tracked by the DataContext component. Committing buffered changes means that you’ll need to set (at least) two DataContext instance properties: serviceUri and saveOperation. serviceUri...
    Posted to LA.NET [EN] by luisabreu on Mon, Nov 2 2009
    Filed under: Filed under: ,
  • The DataContext component: fetching data from a web service

    Until now, we’ve met some of the basic features introduced by the DataContext component. As I’ve said , you can think of this control as a buffer which keeps track of changes performed to several items it keeps track of. We’ve already seen that we can use the trackData method for initiating a tracking...
    Posted to LA.NET [EN] by luisabreu on Mon, Nov 2 2009
    Filed under: Filed under: ,
  • The DataContext class: cancelling changes

    In the previous post , we’ve see how to execute some basic actions over a DataContext instance. In this post we’ll keep looking at the it and we’ll see the available options for working with changes made over the data tracked by the control. Before getting started, we’ll assume that _ctx references an...
    Posted to LA.NET [EN] by luisabreu on Mon, Nov 2 2009
    Filed under: Filed under: ,
  • Getting started with the DataContext object

    Yesterday, I’ve started looking at the DataContext object. I haven’t still tested all its features (to do that, I still need to take a look at ADO.NET Data Services and study the AdoNetDataContext type), but I’ve already picked up some ideas about it. I guess it’s fair to say that you can think of the...
    Posted to LA.NET [EN] by luisabreu on Fri, Oct 30 2009
    Filed under: Filed under: ,
  • DataViews, DataViews and more DataViews: DataViews everywhere!

    Ok, I think this title might have caught your attention! (at least, that’s what I’m hopping for!). This post is a direct consequence of another discussion with a friend regarding the use of the DataView control. He told me something like this: “well, DataViews are cool…can’t deny it…but it’s only for...
    Posted to LA.NET [EN] by luisabreu on Thu, Oct 29 2009
    Filed under: Filed under: ,
Page 1 of 9 (166 items) 1 2 3 4 5 Next > ... Last »