Model-View-Controller (MVC)

Please see my other Web articles. MODEL-VIEW-CONTROLLER (MVC) 4 Accessing Form Values ADO.NET Entity Data Model Action Methods using GET & POST Action Methods with Parameters Bundles Displaying Data Source Records Providing an Input Form Using CSS Classes with Textboxes C.R.U.D. Operations Class Diagram – Building a Class ContentResult Customized Grid Custom Model Custom Validation…

Web Development

Since the browser replaced the traditional software client as the primary consumer of logic-intensive applications and content, web development remains one of the most critical tech-skills within organizations. The following pages demonstrate my skills within programming-both client and server side, as well as crucial concepts for delivering highly robust and maintainable applications: c# C# is…

MVC: Conditionally Display View link

Displaying Links Based on IF Logic This article illustrates how to conditionally display a link within an MVC based on the results of an IF statement As you can see in my View’s HTML, I am displaying a “Home” link and then, if the current user is part of the Administrator role, display a link…

MVC: Custom Validation

Using Custom Validation within a View While MVC provides many robust attributes within a Model to satisfy many validation scenarios, some situations exist which require custom logic to validate a user’s input. This article will illustrate how to implement your own routines to validate user input. First, create a new class which contains a “using…

MVC 4 ADO.NET Entity Data Model

Leveraging Visual Studio’s ORM Tool to Create a Data Layer Any application which interacts with a data source utilizes a data layer to perform Create, Read, Update, and Delete (CRUD) operations. Usually, this is quite an arduous tasks requiring endless maintenance to reflect changes in the data source as they occur. However, Visual Studio provides…