My talk on ASP.NET and modern web development
On 18th January I was speaking in an HTML5 seminar arranged by Microsoft Finland (agenda in Finnish). Although my presentation was in Finnish, you can find a short link-annotated recap of the presentation â€“ and links to the material â€“ here.
The material (partly in Finnish)
- My PowerPoint slide deck
- Demo #1: HTML5 Editor templates, Modernizr
- Demo #2: JSON Data transfer, OData
The presentation was recorded and will be available on YouTube. Iâ€™ll update this blog post with the link once the video is out.
A short recap of the presentation
I started by reminding the audience that ASP.NET is no longer equal to Web Forms, and the pain points regarding web forms are largely no more. After that, I went on to discuss the fact that HTML5 and CSS3 arenâ€™t really server-side features, and no server-side feature can greatly affect the effort of building HTML5 apps.
With that said, it was time for the first demos. I pulled up the Demo #1 (Html5DemoApp2.sln), containing a customer info form. I pointed out that MVC3, using client-side validation, already uses HTML5 data attributes to convey the validation criteria and messages. To enhance the HTML5 experience, I pulled HTML5 Editor templates from NuGet, enhancing the form with HTML5 input types. This was demoed with Firefox validating the email field properly, as well as Opera rendering the birthday field as a datepicker.
The last segment of the session was all about fast communication between the client and the server. I showed a few slides presenting polling, long polling and finally, WebSockets. I then went on â€“ with some mandatory demo effects! â€“ to show how to build a simple chat application using IIS 8 and Visual Studio 11. Further on, I discussed how the abstraction level of websocket communications can be raised by leveraging the SignalR library.
For the conclusion, I reminded the audience that Microsoft developers can no longer afford to live in their private closed confines. Microsoft has opened up by supporting open source endeavors and open protocols, and developers should follow suit. Building HTML5 applications with .NET is in fact very easy â€“ as far as the server platform can help you, the Redmondian stack pretty much does it.