Monday, June 30, 2008

C# 3.0 : Convert DataView to DataTable

Convert data from DataView to DataTable in C# 3.0. Use the following method which convert the dataview to datatable.The var is all about type inference, it’s important to remember this is still static typing. The var keyword informs the compiler that it should try and infer the type of variable; if it can not do this a compile error is generated. One very important aspect of the var keyword is that it can only be used with local variables, and even then are a few cases that are not allowed.In this below example I used this var keyword instead of...

Monday, June 16, 2008

How to improve performance of our web sites

Here's a list which are recommendated for improving front-end performance of a website:The Exceptional Performance team has identified a number of best practices for making web pages fast inYahoo. The list includes 34 best practices divided into 7 categories.1. Page ContentMake Fewer HTTP RequestsReduce DNS LookupsAvoid RedirectsMake Ajax CacheablePost-load ComponentsPreload ComponentsReduce the Number of DOM ElementsSplit Components Across DomainsMinimize the Number of iframesNo 404s2. Server OperationUse a Content Delivery NetworkAdd an Expires...

Monday, June 9, 2008

AJAX and WebServices in ASP.NET 3.5

Introduction This article explains the use of webservices in ASP.NET 3.5 AJAX environment and it tells how to call web service methods from a client-side javascript. It also outlines the new System.Web.Script namespace and explores the ways of defining the client-call to a web service method.Calling WebService methods in AJAX To improve the web user experience, the AJAX functionality of ASP.NET has included in its new version, new ways of calling...

The tools for web developers

The following is a collection of some useful cost-free tools for web developers. You wouldn't publish a book without spell-checking it, and you shouldn't publish a webpage without validating it. The following tools will scan your page and give a detailed summary of the errors they find.CSS Validatordeveloped by the same organization that created and standardized the CSS language, is the most used and most reliable CSS validator available. It's a free and open source web-based tool that will scan your CSS source and explain any lexical or syntactic...

Spry Framework for Ajax

Spry is a JavaScript-based framework that enables the rapid development of Ajax-powered web pages. Not a JavaScript guru? No problem. Spry was designed to feel like an extension of HTML and CSS, so anyone with basic web-production skills can create next-generation web experiences by adding the power of Ajax to their pages. Spry can be used with any server-side technology (ColdFusion, PHP, ASP.Net etc.). By building the front-end of your web application with Spry you enable a more efficient designer-developer workflow by keeping UI separated from...