MIX07 - Developing AJAX Applications with Visual Studio "Orcas"
I admit I’ve been lax and haven’t been installing the Visual Studio “Orcas” releases. I’ve followed the cool stuff, but I haven’t actually installed it. This session made me wish we were already in this.
ASP.NET 3.5. The ListView control is sort of like a repeater but gives
you a little more control over list creation. For example, you could set
a list template to something like
<ul runat="server"></ul> and a list
item template of
<li><%# DataBoundField %></li> to make an unordered
list… and the output HTML is no more or less than exactly what you
specified - great control over the HTML. The DataPager control is an
extender for any databound control that allows you to easily add paging
- no more having to natively support it in your controls.
To assist in the Intellisense effort, they’ve added XML documentation
support such that the Intellisense is driven by the XML doc comments in
your script. If you document your script, it’ll appear just like
standard .NET Intellisense with method descriptions, parameter
you add attributes to the XML doc comments to tell Intellisense what the
expected parameter types and what the return type of the method is
<param name="myParam" type="String">Some Parameter</param>).
Specifying the return type is how the Intellisense knows the way to
treat return values from your methods. ASP.NET AJAX libraries will all
be commented this way.