Latest Articles in the Category ASP.NET

Sparse Thoughts on ASP.NET MVC Controllers

Dino Esposito, Jan 18, 2010
Views: 1121 Avg Rating: 0/5 Votes: 0 Comments: 0

In this article, Dino Esposito focuses on the core part of the ASP.NET MVC framework - the controller - and shares some considerations about the ideal structure it should have as a class and its intended role.

Using NBuilder to mock up a data driven UI - Part 2

Andrew Siemer, Jan 15, 2010
Views: 704 Avg Rating: 0/5 Votes: 0 Comments: 0

In this article we will continue our discussion by filling out the implementation in our service class with some NBuilder code. Once we have the working service class in place we can then create a working UI (in the ASP.NET MVC project we created in the last article).

Using NBuilder to mock up a data driven UI - Part 1

Andrew Siemer, Jan 13, 2010
Views: 1254 Avg Rating: 0/5 Votes: 0 Comments: 0

In this article we will take a look at a fairly new open source project called NBuilder (http://www.nbuilder.org and http://code.google.com/p/nbuilder/) and how it can be used to provide us with fake data out of the gate. NBuilder allows you to quickly stand up generated objects based on standard .net types in an easy fluent manner. And that is just the start!

ASP.NET MVC in Action: The model in depth

Manning Publications, Dec 03, 2009
Views: 2485 Avg Rating: 0/5 Votes: 0 Comments: 0

In this chapter, we’ll explore a model for a system that helps to manage a small conference, like a Code Camp. The model enables the application to provide an interesting service. Without the model, the application provides no value. We place great importance on creating a rich model with which our controllers can work.

Build a Front End of an E-commerce System Using ASP.NET MVC Framework Part 2

Xianzhong Zhu, Dec 02, 2009
Views: 8251 Avg Rating: 3/5 Votes: 1 Comments: 13

In this two-part series, you will learn how to a typical front end of an E-commerce system using the great Microsoft ASP.NET MVC 1.0 framework. In the first part, we will focus upon the following points: system design, functionality design, architecture design, and database design, etc. in the second part, we will discuss the detailed coding related things.

Build a Front End of an E-commerce System Using ASP.NET MVC Framework Part 1

Xianzhong Zhu, Nov 30, 2009
Views: 9077 Avg Rating: 5/5 Votes: 1 Comments: 8

In this two-part series, you will learn how to a typical front end of an E-commerce system using the great Microsoft ASP.NET MVC 1.0 framework. In the first part, we will focus upon the following points: system design, functionality design, architecture design, and database design, etc. in the second part, we will discuss the detailed coding related things.

Installing the Spark View Engine into ASP.NET MVC 2 Preview 2

Andrew Siemer, Nov 27, 2009
Views: 5591 Avg Rating: 0/5 Votes: 0 Comments: 4

Learn how to integrate the Spark View Engine into a standard ASP.NET MVC 2 application

Tracking access to media resources with HttpHandlers

Andrew Siemer, Nov 25, 2009
Views: 3173 Avg Rating: 0/5 Votes: 0 Comments: 0

This article will discuss what it takes to create an HttpHandler that can keep track of new and existing resources and how many people access those resources.

Building a StackOverflow inspired Knowledge Exchange Three Tiers to MVC – Distributed systems: adding a WCF service layer

Andrew Siemer, Nov 18, 2009
Views: 1292 Avg Rating: 0/5 Votes: 0 Comments: 2

In this article we are going to look at how distributable our current code base is. We will find that even with all the refactoring and modifications that we have done we are still pretty married to a fairly hardwired infrastructure. If one piece of our code requires more resources than any other we can’t simply scale out that bit.

Building a StackOverflow inspired Knowledge Exchange Three Tiers to MVC – Hooray – Inversion of Control with StructureMap

Andrew Siemer, Nov 16, 2009
Views: 1040 Avg Rating: 0/5 Votes: 0 Comments: 0

In this article we will discuss how we can enhance the power of the Dependency Injection pattern by implementing an Inversion of Control container. We will discuss what an IoC container can be used for and how it works. Then we will look at implementing an Inversion of Control container in our code. We will specifically implement the IoC container StructureMap.

Building a StackOverflow inspired Knowledge Exchange Three Tiers to MVC – Hooray – Dependency Injection

Andrew Siemer, Nov 13, 2009
Views: 1462 Avg Rating: 5/5 Votes: 1 Comments: 4

In this article we will address the lack of testability that our current application has. We will do this by making our application conform to the dependency injection pattern. This will allow us to push up all of our dependencies which makes our code considerably more testable than it currently is.

Customizing ASP.NET MVC 2 - Metadata and Validation

Ben Scheirman, Nov 09, 2009
Views: 6534 Avg Rating: 4/5 Votes: 1 Comments: 2

In this article, you will learn about two major extensibility points of ASP.NET MVC 2, the ModelMetadataProvider and the ModelValidatorProvider. These two APIs control how templates are rendered, as well as server-side & client side validation of your model objects.

Mobile Device Detection and Redirection Using ASP.NET / MVC

Amit Patel, Nov 05, 2009
Views: 1213 Avg Rating: 0/5 Votes: 0 Comments: 0

This article explains approaches for ASP.NET mobile development to determine if an HTTP request is coming from a mobile phone and then redirecting the request to a page optimized for a mobile browser.

Building a StackOverflow inspired Knowledge Exchange Three Tiers to MVC – Hooray – Reversing Dependencies

Andrew Siemer, Nov 02, 2009
Views: 1669 Avg Rating: 5/5 Votes: 1 Comments: 6

In this article we will focus on less of the structural issues and instead work on removing our dependency on LINQ to SQL. We will achieve this by employing an object to object mapping tool called AutoMapper.

Getting Started with the ASP.NET MVC Framework

Ben Scheirman, Oct 26, 2009
Views: 8699 Avg Rating: 0/5 Votes: 0 Comments: 0

This article introduces the essential concepts of the ASP.NET MVC framework, dissects the MVC pattern, and provides real-world examples to illustrate how it works.

Pro ASP.NET MVC Framework Review

Brian Mains, Oct 23, 2009
Views: 814 Avg Rating: 0/5 Votes: 0 Comments: 0

Brian Mains reviews the Pro ASP.NET MVC framework book.

Building a StackOverflow inspired Knowledge Exchange Three Tiers to MVC – Hooray – Physical Separation

Andrew Siemer, Oct 19, 2009
Views: 1327 Avg Rating: 5/5 Votes: 1 Comments: 0

In this article we will start to address some of the flaws in our original design. The first step will be to refactor towards logical separation of our code. Then we can analyze the code to see what the remaining issues are. Then we will analyze the pros and cons of this design.

Building a StackOverflow inspired Knowledge Exchange Three Tiers to MVC – Hooray – Logical Separation

Andrew Siemer, Oct 16, 2009
Views: 1492 Avg Rating: 5/5 Votes: 2 Comments: 11

In this article we will take the next step in improving this code by further elevating our logical tiers to physical tiers. This simply means that we will create separate assemblies for each of the separate tiers. By the end of this article we will have our web project, a business layer project, domain project, and a data access project.

Building a StackOverflow inspired Knowledge Exchange - Three Tiers to MVC – Hooray - A simple MVC application

Andrew Siemer, Oct 16, 2009
Views: 1626 Avg Rating: 5/5 Votes: 2 Comments: 2

In this article series we are going to discuss some architectural concepts.

Implementing RESTful Routes & Controllers in ASP.NET MVC 2.0

Ben Scheirman, Oct 12, 2009
Views: 2721 Avg Rating: 0/5 Votes: 0 Comments: 0

In the last article, we covered ASP.NET MVC 2.0 Preview 1. Since then, the team shipped Preview 2 (did I mention these go fast?) and that will be the topic for this article. If you haven't read Part I yet, I suggest you read it now.

Building a StackOverflow inspired Knowledge Exchange - Sitemap and wireframes with Expression Blend 3 and SketchFlow Part 4

Andrew Siemer, Oct 09, 2009
Views: 1157 Avg Rating: 0/5 Votes: 0 Comments: 0

In this article we will take a look at some team collaboration aspects of SketchFlow in the form of getting feedback from the users of our prototype. Then we will build a reusable component for our header and navigation controls that all of the screens in our project can use.

Building a StackOverflow inspired Knowledge Exchange - Sitemap and wireframes with Expression Blend 3 and SketchFlow Part 3

Andrew Siemer, Oct 07, 2009
Views: 1152 Avg Rating: 5/5 Votes: 1 Comments: 0

In this article we will create our first SketchFlow application. We will then dig through the current version of StackOverflow and document all of the important aspects of that site (layout, navigation, workflow, and usability). We will then implement a working mock up that directly resembles StackOverflow which you will be able to play with when you are done reading this!

Building a StackOverflow inspired Knowledge Exchange - Sitemap and wireframes with Expression Blend 3 and SketchFlow Part 2

Andrew Siemer, Sep 25, 2009
Views: 1204 Avg Rating: 5/5 Votes: 1 Comments: 0

In this article we will take a look at what a mock up is good for. We will discuss the definition of usability, getting client sign off, streamlining the specification process, and improving client collaboration. We will then take a look at a list of some of the tools that are out there to use for creating a mock up, some more complex than others.

Building a StackOverflow inspired Knowledge Exchange - Sitemap and wireframes with Expression Blend 3 and SketchFlow Part 1

Andrew Siemer, Sep 24, 2009
Views: 1338 Avg Rating: 0/5 Votes: 0 Comments: 0

In this article we are going to start to look at one of the required design aspects when building a large web application. We will specifically look at what the new SketchFlow tool (in Expression Blend 3) has to offer us when designing our sitemap, wireframe, and user interaction for our site.

A First Look at ASP.NET MVC 2

Ben Scheirman, Sep 23, 2009
Views: 17427 Avg Rating: 0/5 Votes: 0 Comments: 1

In this article, we will take a look at two upcoming features in ASP.NET MVC 2. This article covers ASP.NET MVC 2 Preview 1.

Product Spotlight