I’m listening/watching this video on Channel9 which is on the ASP.NET 4.0 preview. Scott Hunter is the main presenter (at least at the beginning). This will probably be a little different of a post by me...
- Web Forms
- Did he say "HTML Standards Compliant?" (cool!)
- ClientIDs will be controlled by us (no more mangling... Hurray!)
- Moving away from table-based controls and using CSS2 adapters (sort of... invisibly)
- URL Routing (yawn... We have this in SP1... It’ll probably be easier to use)
- Supposedly better View-state controls (I’m dubious about this)
- More granular control
- Ability to turn off Viewstate on Gridview/Listview without issues
- Client Script
- jQuery intellisense (did he go to a Google site?)
- Ajax Control Toolkit will be adopted by MS (it will be a part of ASP.NET in 4.0)
- MS will support it.
- MS will enhance it
- Rich Client-side templating controls (I’m already embedded in this stuff)
- [Wow.. Bertrand is up..]
- [I wish I could see the source code... I hope they give that away]
- The big thing is that JS it’s pretty easy to do and it minimizes the amount code you need to write on the client
- Phil’s demo (mentioned below) reiterates that MS Ajax and jQuery work well together
- ASP.NET MVC [not something I’m extremely excited about, but I am interested in it]
- Hint at a auto build of pages when you point at an object... (Dynamic Data??)
- Ajax in MVC with MVC
- [It’s Phil Haaack...]
- Phil demos Partial rendering
- returning a couple items in a JSON string
- [Actually in some respects Ajax can be easier in an MVC app... in any MVC app not just MS' ASP.NET MVC]
- [Phil blew up his text... I can actually read it]
- Next demo is sort of an UpdatePanel-like demo [simple To Do list updated without a page render by the browser]
- Uses "using Ajax.BeginForm" to define the scope of the form tag [very cool IMO]
- BeginForm has some options that let you define what you want to happen when the form is submitted and returns and then what you can execute something after the submit is done [in this case a background call is made and a specified DOMElement is updated and then jQuery effect is called]
- ASP.NET Dynamic Data
- More than Scaffolding [Not to self I need to check this out some more]
- [Scott Hunter is demoing this]
- Demo is a blog app [same as one of the initial Rails tutorials]
- It builds a set of templates for your data model
- It uses these templates for the data display/edit/etc.
- Enhancing (surprise, surprise) MVC [for those who don’t know this makes ASP.NET MVC a real competitor to Rails]
- Supports custom Data Layer aka Business Logic Data Source
- Better filtering
- Better control over column order, and columns that are shown
- Dynamic Data to ADO.NET Data Services [Pronounced "Astoria"]
- [Another demo to show the last 3]
- Search screen [a lot of which is automated if not all... he doesn’t show how we get here... just the code that is here]
- Created via LinqDataSource with a where child tag that has additional child tags defining fields to search on
- Same LinqDataSource can control the visibility of fields
- Dynamic Data works against IQueryable Data source : LinqDataSource (EF, LINQ to SQL, etc.), AstoriaDataSource, Business Logic DataSource (sort of like the Object DataSource except that the class is IQueryable aka usable from a LINQ query [Cool!])
- Astoria DataSource which allows an Astoria service as the source of data in a server-side app [Yay!]
- ASP.NET Core changes
- Swap out the Cache mechanism via a provider mechanism [Yay!]
- Fixes to pain points
[I skipped the questions]
Print | posted on Thursday, October 30, 2008 12:05 PM