Polling AJAX is tricky. If the next interval triggers before the last AJAX request is complete, your app is doomed!! This creates a domino effect where your queue for requests fill up faster then it can complete. Your queue will NEVER finish… similar to an infinite loop.
Convert a C# Object to JavaScript in MVC Razor
Creating a JavaScript application on top of ASP.NET MVC is becoming more common these days. Rightfully so, especially with the new Web API addition to MVC 4. The clear separation between client-side and server-side is an elegant architecture indeed!
Looking Ahead to HTML5
Now that Internet Explorer 9 has cooled off the press, we can alas rejoice that all new PC’s and mobile devices are supporting HTML5! This brings a new era that aims to refactor the web in a whole new way. As you will see, HTML5 provides us code slimming techniques that make our HTML source code much more easier and functional.
Building an HTML5 Mobile App using jQuery Mobile and ASP.NET MVC
The mobile revolution has created a plethora of new platforms and languages. It
is rare to see old technologies successfully reaching new grounds together. A good
example of this is .NET MVC and jQueryMobile. The blends of Razor, HTML, CSS, and jQuery make mobile a very familiar territory, a package that makes things quick, easy, and beautiful!
Get an Absolute URL from a Relative Path in C# .NET
Getting an absolute path from a relative one has been made very easy and pleasant by .NET. Just feed the relative path to the “Page.ResolveUrl” method and that’s it! One thing that was left out by .NET though is how to get an absolute URL from a relative path? With social networks on the rise, passing around your links has become more important than ever. There are many ways to do this, but all have their drawbacks. I will show you a static method that I use that solves just about all cases.
Building a Mobile Web App using Sencha Touch 2 and MVC
In my previous post, I showed how to build a mobile web app using jQuery Mobile. Its use of HTML5 data attributes and CSS classes made it pretty straightforward, especially if you are used to building regular websites. The architecture of your mobile website would have to be based on the server-side though, whether this be ASP.NET MVC, PHP, Ruby, etc. Then I came across Sencha Touch which changes this mentality to a more progressive approach… client-side applications!
How to Post Sitefinity Forms to Paypal
The task at hand is more complicated than it sounds. Normally you would just generate a button in Paypal and paste the form code to your website. If it were only that easy. Try doing this in any ASP.NET website and you will run into a big problem… no nested forms allowed!
Back to the Basics with JavaScript
In case you haven’t heard.. JAVASCRIPT IS MAKING A COME BACK!! And it is not the same JavaScript you fiddled around with in the pre-AJAX era. It has become reborn with the help of HTML5, mobile, and even Windows 8 (see Create your first Metro style app using JavaScript). Understanding JavaScript is becoming essential and can no longer be dismissed as a “weakly-typed, toy language with no compilation checks,” but instead as a versatile, dynamic, cross-platform language.
Building a Javascript MVC App using Sencha Ext JS
With mobile getting all the love lately, I thought I would give back to the desktop community. I showed how to build a mobile web app using Sencha Touch 2 and MVC. Now I will do the same with a desktop web app using Ext JS.
- « Previous Page
- 1
- …
- 7
- 8
- 9