Contents tagged with HTML5
-
Tricky issue with HTML5 drag and drop
Recently a reader asked about a tricky issue with HTML5 drag and drop. The issue is this:
-
Working with Promises in Windows Store Apps
To deal with the complexity involved in asynchronous programming, Windows Store apps make use of what is known as a Promise. The implementation of Promises in Windows Store apps is based on Common JS Promises proposal. At code level a promise is an object that represents the result of an asynchronous operation and returns a value at some later time in the future. Promises make it easy to work with asynchronous operations in Windows Store apps. This article discusses what promises are and also shows how to use them in a Windows Store app.
-
Display a list of audio / video files using HTML5 and GridView
Recently one of the readers asked this question - How to display a list of audio and video files in ASP.NET web form? Additional requirements were - a) The database contains audio as well as video file URLs. At run time depending on whether a file is audio file or video file appropriate media player should be displayed to the user. b) At a time only one media file should be playing from a given list. This post provides one of the possible solution to the problem.
-
ASP.NET Web Forms, ASP.NET MVC and HTML5 Courses in Thane
After taking a break for some time from my training activities I will be conducting classroom training programs again in the month of June and July 2013. Since the release of VS2012 lots of people have inquired about our training programs and hence will be arranging these courses for them. To begin with three courses are scheduled - Programming ASP.NET Web Forms, Programming ASP.NET MVC and Programming HTML5 & jQuery for ASP.NET Developers. All of the course are 40 hrs. duration each and will be conducted in Thane on weekends.
-
Using xhr() in Windows Store Apps
At times you may need to make cross-domain requests in your Windows store app. This can be done using the WinJS.xhr() function. The xhr() function is an easy to use wrapper over the traditional XMLHttpRequest object. This article introduces you with the xhr() function and many of its configuration options. It also illustrates how the xhr() function can be used to call ASP.NET Web API.
-
Book Review: Pro HTML5 Programming, 2nd Edition
If you are a web developer you must be aware of the rising attention being paid to HTML5. HTML5 is not merely about some markup tags. It provides a whole new set of features that make it a programmable platform. Modern web applications invariably make use of HTML markup, CSS, JavaScript, AJAX and related technologies. Noticing this trend HTML5 offers many new and exiting features to the web developers. If you want to be on the cutting edge of the web development technologies you must be well-versed in HTML5. To that end Pro HTML5 Programming, 2nd Edition does a great job of providing in-depth understanding of most of the HTML5 features.
-
HTML5 Form features you should know
In the past few articles I discussed HTML5 features that every ASP.NET developer should be aware of. In this article I will focus on HTML Forms and discuss some enhancements that make your life easy. Merely using various input types is just one part of the story. You should also know HTML5 features that are applicable to the form as a whole. This article illustrates some such features. All the examples use Chrome as a browser but many can be tested in Safari, Opera and others.
-
Introduction to HTML5 for ASP.NET Developers
More and more web applications are harnessing the power of client side features of a browser. To that end HTML5 has many features to offer web developers. HTML markup, JavaScript and CSS have become more powerful and flexible than ever before. ASP.NET Developers must be well-versed with HTML5 features because all of the leading browsers are aggressively supporting them and newer web applications are bound to rely heavily on them. This article is intended to give you an overview of some key features of HTML5 from a developer's perspective. We won't go into too much detail of new HTML tags, CSS3 and such "markup" level features, instead we will focus on features more appealing to web developers.
-
Working with HTML5 Canvas
One of the reasons for the popularity of the web is the graphical user interface offered to the end users. Images, animations, fonts and other interactive effects make a website appealing from an end user's perspective. However, one limitation that website developers often encounter is drawing graphics in the browser. As a solution, developers often resort to Flash or Silverlight based plug-ins or generate graphics on the fly at server side and then send it to the client. HTML5 does a great job in client side graphic rendering by offering what is known as canvas. The actual drawing can be carried out using JavaScript code and certain new graphic objects. Understanding HTML5 canvas and associated JavaScript objects is important for any ASP.NET developer and this article teaches you just that.
-
Using HTML5 input types in ASP.NET
HTML5 introduced several new input types for <INPUT> element. These new input types include number, range, email, url, color, date, datetime and a few more. Though these types are not fully supported by all desktop browsers any ASP.NET developer should know them because newer browser versions will definitely support them. In this article you will learn the basics of using the new input types. More importantly you will also learn to use them with ASP.NET Web Forms and ASP.NET MVC applications.