ASP.NET, MVC, jQuery, WPF, Silverlight and .NET articles Link List – March 2011

Here’s a quick wrap up of the ASP.NET, jQuery, JavaScript, WPF, Silverlight, LINQ and other .NET articles published on DevCurry.com in the month of March 2011.

ASP.NET and MVC 3 Articles

Sort the ASP.NET GridView Columns using jQuery TableSorter plugin - Continuing my ASP.NET GridView Tips and Tricks series, this post shows how to use a jQuery plugin to sort ASP.NET GridView columns that are bound to custom classes.

ASP.NET: SQLDataSource QueryString Handling - I have seen a lot of developers using the QueryStringParameter with the SQLDataSource for demo ASP.NET applications. A frequently asked question is how to perform checks in cases where the parameter has the value null or Nothing and supply a default value to it

ASP.NET MVC: Use CSS on Html.ActionLink - I have seen plenty of asp.net mvc questions around applying CSS on an HTML.ActionLink, so I thought of writing a post to demonstrate how to do so.

ASP.NET MVC 3: Display Empty Data Text in WebGrid - Let us see a simple tip that shows how to display Empty Data in a ASP.NET MVC 3 WebGrid.

Compare Attribute in ASP.NET MVC 3 - ASP.NET MVC 3 introduces a number of attributes which derive from ValidationAttribute (System.ComponentModel.DataAnnotations) having client-side validation support. One such attribute is the Compare attributeusing which you can compare properties of a model for eg: ‘Email Address’ and ‘Confirm Email Address’.

Test Emails in ASP.NET without a Mail Server - The tip I am going to share today is an old one but many developers do not know about it. It shows how to send emails in ASP.NET without a Mail server.

Upgrade from ASP.NET MVC 2 to ASP.NET MVC 3 - Ever since ASP.NET MVC 3 RTM’ed, I see a lot of questions about upgrading applications using ASP.NET MVC 2 to MVC 3. Here are some helpful links.

Bind to Multiple ASP.NET Site Map files - You can use more than one sitemap file and decide which one to bind to a control. Follow these steps to bind a control like the Menu Control, to multiple ASP.NET Site Map files.

Change ASP.NET GridView Header Text at Runtime - Continuing my ASP.NET GridView Tips and Tricks series, this post shows how to change the ASP.NET GridView Header Text at runtime.

jQuery and JavaScript Articles

jQuery: Check if Function Exists before Calling - This post shows how to check if a function exists, before calling it. We will use both JavaScript as well as jQuery (JavaScript library) to do so.

2D Array in JavaScript using Constructor Function - A user asked me if there was a more generic way to do the same. Let us see one more way of creating a 2D array, using a constructor function

ReadOnly ASP.NET TextBoxes using jQuery - In this post, we will see how to make the ASP.NET TextBox readonly at runtime, using jQuery.

JavaScript: Sum of Decimal Array - Here’s how to do a sum of Array of Decimals in JavaScript. I have written this post to make you aware of the Array.prototype.reduce function, so that you do not have to impement one on your own

JavaScript: Filter Bad Words in a String - In this post, we will see how to filter bad words in a string using JavaScript. To do so, we will first define an array that contains all the words that are to be filtered. We will then use a regular expression to check a piece of text (bad words) in a string

jQuery UI Slider Events Example - The jQuery UI Slider plugin converts elements into sliders. I have seen many questions from developers asking how to use the slider plugin and capture events. This post will show you how to use the jQuery UI Slider with an example

jQuery: Add new Element before the Last Element - jQuery allows us to add new or existing elements anywhere in the DOM. All we need to do is identify the target element and use a jQuery inbuilt method to place elements before or are after the target element.

Silverlight and WPF Articles

Assembly Caching in Silverlight 4 for Performance Gains - The smaller the XAP file, the quicker your application loads. Assembly caching in Silverlight 3 and 4 does exactly that. Let us understand what assembly caching is.

Silverlight: Debug Out Of Browser application - Why would you need to debug Silverlight applications running out of the browser? One reason is to test applications that use Elevated Trust. Let us see how simple it is to debug applications running out of the browser

WPF: Two way TextBox Binding - In WPF, one of the important features provided is to bind one XAML element to another element, without using any code. This reduces code-behind requirements for the XAML file. In the code segment below, I have explained Two-Way binding between Textboxes in a WPF application, using the UpdateSourceTrigger property of the Binding class.

WPF 4: Using ObjectDataProvider for DataBinding - Windows Presentation Foundation (WPF) has provided many features for developing Data Driven applications. Using the DataBinding feature of WPF, effective data representation can easily be achieved.

LINQ and other .NET Articles

Use Path.Combine instead of Concatenating Paths - I always advice developers to use System.IO.Path.Combine instead of doing string path concatenation. Here’s why!

Pass Argument to Threads in .NET - In this post, we will see how to use the .NET ParameterizedThreadStart delegate to pass arguments to Threads.

Find Uppercase words in a String using C# - I am helping a friend to build an Editor API in C#. One of the functionalities in the Editor is to filter uppercase words in a string and highlight them. Here’s a sample of how uppercase words can be filtered in a string

Select Last N elements using LINQ to XML - Here’s a simple example of selecting the last ‘N’ elements of a XML document using LINQ to XML

Generate Random Numbers in .NET using RNGCryptoServiceProvider - The Random class generates pseudo random numbers, based on a seed value. It uses the system clock to generate its seed value. However we were working on a security API and needed an algorithm with a more sophisticated seed value to generate cryptographically secure random numbers. Here’s how we did it using the RNGCryptoServiceProvider class

Other Articles

Visual Studio 2010 Service Pack (SP1) Released - Microsoft has released the first Service Pack of Visual Studio 2010. See what’s new in VS 2010 SP1.

Learn Entity Framework 4 and ASP.NET 4 – Employee Info Starter Kit – Check out this cool project by ASP.NET MVP Ashraful Alam called the “Employee Info Starter Kit v5.0”, which is a project template that bundles most of the new and existing features available in ASP.NET 4.0, Entity Framework 4.0 and Visual Studio 2010.

Visual Studio 2010 and .NET Framework 4 Training Kit – March 2011 update - Microsoft has released an update for the Visual Studio 2010 and .NET Framework 4 Training Course which includes 50 labs, 22 demos, 16 presentations and 12 videos to help you learn how to utilize the Visual Studio 2010 features and a variety of framework technologies

Make the Most of Technical Events like TechEd India 2011 - I am attending TechEd India 2011 next week (March 23 –25) and I am really excited about it! For those who are attending such events in these economically testing times, here are some pointers on how to make the most of such events.

Windows Azure Toolkit for Windows Phone 7 Released - A couple of days ago, Microsoft released the Windows Azure Toolkit for Windows Phone 7. This toolkit is designed to make it easier for phone developers to leverage cloud services running in Windows Azure.






About The Author

Suprotim Agarwal
Suprotim Agarwal, Developer Technologies MVP (Microsoft Most Valuable Professional) is the founder and contributor for DevCurry, DotNetCurry and SQLServerCurry. He is the Chief Editor of a Developer Magazine called DNC Magazine. He has also authored two Books - 51 Recipes using jQuery with ASP.NET Controls. and The Absolutely Awesome jQuery CookBook.

Follow him on twitter @suprotimagarwal.

No comments: