Using HTML5 WebSockets

In previous blog posts I wrote about using Server-Sent Events so send data from the server to the browser. This works but has the drawback that it is a one way messaging from the server to the browser. There is nothing preventing you from doing ajax style calls back to the server but basically you are using 2 connection. The big plus for Server-Sent Events is that is use standard HTTP connections so the infrastructure is no problem.   WebSockets Sometimes you want more flexibility of duplex communication and this is where WebSockets come in. Opening a connection from the … Continue reading Using HTML5 WebSockets

Customizing the HTML5 checks Modernizr does

In the previous blog post I demonstrated how to use Modernizr to test for the availability of HTML 5 features. Doing so was quite easy but as every test is always performed to add CSS classes to the <html> element there is a bit of overhead in using the default Modernizr JavaScript file. Fortunately they have made a fix for this rather easy and added a page where you can quickly create a custom version with just the checks you need for your site.     Adding custom checks The careful reader might have noticed that there is no option … Continue reading Customizing the HTML5 checks Modernizr does

HTML5 feature detection aka Modernizr

Yesterday I blogged about using the new Server-Sent Events or the EventSource object to send messages from the server to the client. But what happens if I try to do this in a browser that doesn’t support Server-Sent Events? If I run the code from yesterday in Internet Explorer 9 I sill see the following error dialog: The reason is that IE 9 doesn’t support Server-Sent Events, see, so it results in an Microsoft JScript runtime error: ‘EventSource’ is undefined exception HTML5 Feature detection In the old days if web development we used to check the browser the client … Continue reading HTML5 feature detection aka Modernizr

HTML5 – Server-Sent Events

There are a lot of cool new features and one of these is Server-Sent Events. According to Server-Sent Events are usable on almost half of the modern browsers. And as is often the case Internet Explorer is the big missing piece again. But fortunately there are some nice polyfills to take care of IE. More about that some other time.   So what are Server-Sent Events? Server-Sent Events are a way of sending data from the server to the client. There is actually another part of HTML5 that will let you do so and that is the WebSockets standard. … Continue reading HTML5 – Server-Sent Events

Building rich HTML5 clients using REST services recording

For those who missed the online event about building JavaScript and HTML5 client for a REST service build using the new WCF Web API the recordings are up. You can download the hi res recording here or download one of the other formats from the main page here. And remember there a bunch of other useful recording from other DevelopMentor instructors on the same page.   Enjoy!   [f1] [f2]

HTML5 slides and demo code

Below is are the links to the slides and demo code from my HTML 5 presentation I did yesterday evening at the DotNed user group meeting hosted by 4DotNet in Meppel. Slides (Dutch language) Code   The slides are also on SlideShare here.   HTML5 (Dutch) View more presentations from Maurice Beijer   Enjoy! [f1] [f2]

Building rich HTML5 clients using REST services

  You can download the slide from my session on Building rich HTM 5 clients using REST services here and the sample application using the WCF Web API here.   The slides are also available on SlideShare.   Building rich HTML 5 clients using REST services View more presentations from Maurice Beijer Enjoy!   [f1] [f2]

New #DotNed podcast: A conversation with Scott Hanselman about Windows Azure, iCloud and scalability

  In this podcast Maurice de Beijer speaks with Scott Hanselman about web development. They discuss the move of Scott Guthrie to the Azure team and what this will mean for the average web developer. They also talk about WebMatrix, iCloud and scalability amongst other things.   The first English language podcast for the DotNed community   Enjoy!   [f1] [f2]

#dotNed Podcast: Security met Alex Thissen

In deze podcast spreek ik met Alex Thissen over het beveiligen van applicaties. Ze bespreken veel voorkomende kwetsbaarheden en wat je kan doen om je hier tegen te verdedigen. Ook hebben ze het over federated security en Windows Identity Foundation en wat dit voor de toekomst gaat betekenen.   PS: Dutch language only   [f1] [f2]