July, 2010
Securing ASP.NET MVC
In this article, Dino Esposito tells how he would rewrite the AccountController class, and related view model classes, to make them fit comfortably in a multi-layer solution that provides extra capabilities.
DevProConnections
|
June, 2010
Paging Data
Building HTML pagers in ASP.NET MVC is an easy job if you never have more than one pager in a view. When multiple pagers are required in a view, a reusable solution might be hard to find. To make it work, you need to find a way to pass state information across requests—something the viewstate does so well in Web Forms.
DevProConnections
|
June, 2010
ASP.NET MVC vs. Web Forms
ASP.NET MVC is a modern, technically superior web development framework--but if the 10-year-old Web Forms still works for you, you should stay with it.
DevProConnections
|
June, 2010
Dealing with Data Shared Among Views
In ASP.NET MVC, the view is not supposed to perform any actions such as retrieving data, writing data, or anything else. As a result, the view is expected to receive from the outside any data it has to display. Questions arise as to how the view should retrieve global data. In this article, Dino Esposito explores approaches to this fairly common dilemma of ASP.NET MVC development.
DevProConnections
|
May, 2010
The Entity Framework in Action
Visual Studio 2010 includes Entity Framework (EF) 4. Knowing what EF 4 is about and having an idea of how to use it can help you decide whether you want to add EF 4 to you SQL Server development toolkit.
SQL Server Magazine
|
May, 2010
Encoding and Strings
Since its first version, ASP.NET has provided tools—specifically, the HtmlEncode and HtmlDecode methods—for encoding and decoding HTML text. Dino Esposito shows how, ASP.NET 4, using these methods is easier due to a new syntax and a new subsystem.
DevProConnections
|
April, 2010
Visual Studio 2010 for Database Professionals
VS 2010’s new code-editing features, database projects, and support for the .NET Framework 4.0 and the Entity Framework 4.0 let you more easily design and develop applications.
SQL Server Magazine
|
April, 2010
Fundamentals of Unit Testing in ASP.NET
Testability has long been recognized as a fundamental attribute of software development, but only recently has it been recognized as a common task to deal with in ASP.NET development. Dino Esposito walks you through the fundamentals of unit testing and explains how you can leverage fakes and mocks to write effective test programs.
DevProConnections
|
February, 2010
Attributes of a Controller
You can specialize the behavior of the ASP.NET MVC controller by using a few declarative attributes that belong to three categories: filters, invocation attributes, and action selectors. In this article, Dino Esposito examines five filter attributes that let you control authorization for methods, output caching, exception handling, and more.
DevProConnections
|
November, 2009
Working with Custom HTTP Handlers
Dino Esposito contrasts classic Web Forms requests with HTTP handlers and discusses some of the intricacies you might face when hosting custom HTTP handlers in an ASP.NET MVC application.
DevProConnections
|
October, 2009
The Model, the View, and the Dictionary
The beauty of MVC is that the controller of the action does its own work, then yields to a distinct object to update the UI. The beauty of the MVC implementation in ASP.NET MVC is that the view object doesn't have to retrieve fresh data itself but receive
DevProConnections
|
September, 2009
Managing Client IDs
Work out predictable ID names in ASP.NET
DevProConnections
|
August, 2009
Custom HTML Helpers
Writing custom HTML helpers is easy and it gives you a great chance to create your own made-to-measure toolset. Dino Esposito shows you how it's done.
DevProConnections
|
July, 2009
HTML Helpers
DevProConnections
|
June, 2009
Model: The “M” in ASP.NET MVC
DevProConnections
|
June, 2009
Gaia Ajax 3.5 for ASP.NET
DevProConnections
|
May, 2009
Posting Forms the AJAX Way in ASP.NET MVC
DevProConnections
|
May, 2009
AJAX Features in ASP.NET MVC
Dino Esposito explores the various aspects of the AJAX API you can leverage in ASP.NET MVC applications.
DevProConnections
|
April, 2009
LINQ to SQL in Action: Joining and Grouping
Explore the workings of LINQ to SQL queries, then walk through examples of using LINQ to SQL to join and group data in .NET Framework applications.
SQL Server Magazine
|
March, 2009
Input Validation in ASP.NET MVC
Dino Esposito continues his exploration of data entry in ASP.NET MVC. This month he delves into model state and data validation.
DevProConnections
|