There are no comments yet...Kick things off by filling out the form below.
Building a Simple Blog Engine with ASP.NET MVC and LINQ - Part 2
The second part of my articles about Building a Simple Blog Engine with ASP.NET MVC and LINQ has been published on ASP Alliance.
In the second part of the article series about ASP.NET MVC Framework, Keyvan adds controllers to his blogging engine in order to describe how to use controllers in ASP.NET MVC and discusses some details related to controllers. He first discusses the concept of URL routing patterns and then explores the anatomy of a controller class. Finally, he examines how to implement the controllers in his sample blog application.
In a nutshell I would say that the second part is all about controller. You probably know that controllers are one of the main parts of the MVC pattern.
After publishing the first part that was an introduction to MVC pattern, ASP.NET MVC Framework and KBlog, I thought it's good to start the main series by discussing about controller component which is one of the main components and is a good start point.
Second part of this article series starts with an introduction to controller as well as a quick overview of routing mechanism and its default behavior in ASP.NET MVC. URL routing is a topic that should be covered in a separate part but was necessary to get introduced in this part.
After the introduction and talking about the default routing pattern, discussion about the controller begins by talking about the anatomy of a controller class. The next step is to talk about action methods and their role and then about parameters in action methods and several ways to work with parameters in action methods.
The last major topic of this article is implementing the controller classes for KBlog as our case study to see how these theories can be applied to real world scenarios.
Next parts of this series are in progress and hopefully you will see them published in the near future. It was quiet a while that I was away from ASP Alliance but now after publishing two parts of my new article series, I'm back on it again!
[advertisement] Axosoft OnTime 2008 is four developer tools in one: bug tracking, project wiki, feature management, and help desk. It manages your development process so developers can focus on coding. Installed or Hosted – Free Single-user license -- Free 30-day team trial.
No Comments : 01.30.08