(Scott Mitchell) This article demonstrates how to display a paged grid of data in an ASP.NET MVC application and builds upon the work done in two earlier articles: Displaying a Grid of Data in ASP.NET MVC and Sorting a Grid of Data in ASP.NET MVC.
Tag: Development
Deferred Execution and Immediate Execution in LINQ
(Dhananjay Kumar) Deferred Execution executes a query only when a loop starts. What I mean here is that, we iterate through the query variable to get the result.
CompareAttribute in ASP.NET MVC 3 – Compare Properties During Validation
(David Hayden) Yesterday I was talking about IValidatableObject in DataAnnotations and how ASP.NET MVC 3 has direct support for it: ASP.NET MVC 3 Validation and IValidatableObject.
C#: Fun with Indexers
(Syed Mehroz Alam) This post refers to an interesting situation when you create a class in C# with an indexer and a property named “Item”. Let’s see why this is not possible simultaneously.
Mapping Objects to Database Tables with the Java Persistence API
(Jesse Smith) Over the years, many frameworks have to tried to address the redundancy of repetitive databases operations such as CRUD (Create, Read, Update, and Delete) by mapping business-model classes to database tables, a process known as Object-to-Relational Mapping (ORM) to perform these action
Captcha for aspx using VB.NET
(John Faris) To reduce the incidence of spam and reduce the likelihood of denial of service attacks, many web pages include an image block with distored text, known as a Captcha.
VS 2010 SP1 (Beta) and IIS Express
(Scott Guthrie) Last month we released the VS 2010 Service Pack 1 (SP1) Beta. You can learn more about the VS 2010 SP1 Beta from Jason Zander’s two blog posts about it, and from Scott Hanselman’s blog post that covers some of the new capabilities enabled with it.
Preprocessed Razor Templates
(K. Scott Allen) Preprocessed T4 templates generate all the code you need to execute a template at runtime.
Dynamic Web Applications with ASP.NET Mono using MySQL and VB.NET
This tutorial will provide an example of an actual, dynamic web application project in ASP.NET Mono using MySQL and VB.NET. A “dynamic web application,” as described in this tutorial, refers to a web application that depends on the use of a database.
Using Helper Methods with ASP.NET Web Matrix Beta 3
(Malcolm Sheridan) One of the great features of ASP.NET Web Pages is the ability to create reusable code through Helpers. Helpers are written in either Razor syntax, or even by creating class libraries in C# or VB.NET. Helpers always return IHtmlString, which is HTML encoded string. Helpers can be c
