10-4 Episode 3: ASP.NET WebForms 4.0
- Posted: Dec 31, 2008 at 2:26 PM
- 97,537 Views
- 44 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Happy New Year everyone! In this episode of 10-4 we’ll begin seeing how Visual Studio 10 and the .NET Framework 4.0 offer compelling new functionality for web developers. In this episode we’ll be specifically focusing on ASP.NET WebForms 4.0, and what enhancements it offers. We’ll be diving into the new client ID feature being introduced and see how it can be leveraged in web applications that have a high-reliance on client-centric development.
In future episodes we’ll take a deeper look at the remaining features of WebForms 4.0 including: viewstate control, data control enhancements, and routing integration. If you’d like to see something particularly emphasized, let us know, and we’ll take it into account for upcoming shows.
For more 10-4 episodes, be sure to visit:
http://channel9.msdn.com/shows/10-4
Over and out!
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Nice explanation of the new ClientID feature!
Now that ClientID can be set, wouldn't it make just as much sense to use data binding to set its value? ClientIDMode=Predictable is nice but has limitations as was pointed out in the video. Setting a Suffix property is a nice shortcut if you have a data field amenable for use as a suffix, but if you don't, crafting a function that could, say, substitute spaces with dashes would also suffice.
A note about the video itself, you could have spent more time smoothing down the rough edges. Some of the monologue could have been re-recorded as it was worded a bit oddly. The transition from the end of the content to its summary was a bit jarring, too. The "3D cube" effect transition was cheesy; a simple blend or fade transition would have sufficed.
I'll make sure to kill the cheesy cube rotate as well
As far as using some type of method to create your own client IDs instead of using the predictable method, you could definitely go that route. I didn't have time to show that, but it would be pretty intuitive.
You can rest assured that as soon as we are able to, we will be running these bits and doing these shows on Windows 7
We'll definitely take the feedback and see what we can do for future episodes. Thanks again for the comments.
Hi Vitor - you're right, something does seem to be broken. I tried to do the same on my blog (I get a white square, not a black one). I've emailed the Channel 9 development team, hopefully they can fix it soon.
Brian
and see if that fixes it. I'll be updating the site to use a different xap soon, but in the meantime I'd be interested to know if the experience improves with that change (I changed VideoPlayer.xap to VideoPlayer3.xap, for those that don't want to try to parse the html and find the change).
Thanks for the presentation. It's very useful. Never mind the director skills or the environment version (by the way, it's nice to know it works on older versions). Keep posting.
Take a look at Nuno's solution/proposal:
ASP.NET Controls - Improving automatic ID generation : Introduction ( Part 1)
ASP.NET Controls - Improving automatic ID generation : Concept ( Part 2)
ASP.NET Controls - Improving automatic ID generation : Architectural Changes ( Part 3)
ASP.NET Controls - Improving automatic ID generation : The ShortIDs Naming Provider (Part 4)
What I guess is that you realized that free libs will always be better than anything you could ever made. So if you wanna use them (jQuery and Co), you must autorize the developpers to set the client ID.
I don't congratulate you. You're desining your evolutions to save your plateform and not to bring innovation or to make the developper work easy.
When you dont want to allow integration of third party products, you close your API (clientID unsetable, and client id generated), but when you realize that your are 5 years late on third party libs, you allow integration to save your plateform.
happy new year,
http://www.microsoft.com/downloadS/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&displaylang=en
Good presentation. Very clear and good to understand!
Keep up the good work.
Would it throw an error or is it the developers responsibility to ensure that this dosen't happen.
I know the video is done in Silverlight. Working for a State Agency, all videos are blocked.
Can you make your videos downloadable?
Are we saying that you can use this clientID as a replacement for using javascript to get the clientID?
All videos on Channel 9 are downloadable. Click on the "Downloads" link up above to see links to the different formats.
If you need/want complete control over the form and markup, there's always that other ASP.NET product.
http://blog.osbornm.com/archive/2009/01/06/asp.net-4.0-clientid-overview-again.aspx
I'm glad to hear ASP.Net forms is alive and well. I enjoy the forms paridigm (I also dislike changing paradigms every few years when the end result of the software produced is the same... it's nice knowing that what you're building today can be continued tomorrow without having to make a drastic transition). I'm excited about the ClientID changes. That would have been very handy in the past a few times and will give me a good oportunity to streamline some things we've done in the past.
I have a question. I have a list of linkbuttons inside a repeater. The links when click execute saved searches in my app. The links have a command argument which is the savedSearchId. I would like to be able to add new saved searches from the client client using javascript. The problem is that the command argument is stored in ViewState which cannot be modified in javascript. I can hack around this problem but its messy.
My question is, instead of using the command argument, will I be able to dynamically create the ClientIds to have the savedSearchId suffixed at the end. Will I then be able to get this information out in the OnItemCommand event handler?
Thanks a lot, nice tips.
now I am writing the second version of my new book. ASP.NET & XML Web Services technology(Net Framework 4.0).
this book is for student in the height school who are studing Software Engineering. your tips help me.
Great clip guys
One thing that really kinda ruine the vidoes.. Is that we HAVE to see u
Not that your are ugly and such.. But your kinda in the way when trying to see what happens..
I can't believe people are dogging the editing of the film. I thought the content was great and that is all that really matters to me. I could care less if it were in black and white. Keep putting good content in these videos and all is well with me.
Very casual and good explanation. I like it! Was just wondering which tool do you use to capture screen video with webcam view embedded.
Dull and irrelevant.
A very useful feature for ASP.NET 4.0 would be to include Jquery Template and client side binding. An out-of the box solution that ties client side binding together with ASP.NET would be a major change and benefit in today's Web2.0
Great Show.
Awesome, Keep it comming, Thanks for the hard work and clear tutorial.
NMTD
Remove this comment
Remove this thread
close