Home » Posts tagged "view"

ASP.NET MVC – Controller to View

ka_vol1_100 A couple of weeks ago we looked at ASP.NET MVC routing in the MVC framework.  The routing controls which method in which controller gets called.

The obvious next question is, how do we get from the controller to the view?

Continue reading “ASP.NET MVC – Controller to View”

DotNetNuke Modules – Anatomy of the View

Now that we’ve laid the foundation of DotNetNuke modules, it is time to start looking at the specific modules. While it would be practically impossible to cover every detail and every API feature of a DotNetNuke component, we do want to look closely enough that you know what you are looking at as you are trying to write your code.

Continue reading “DotNetNuke Modules – Anatomy of the View”

DotNetNuke 5.x Can’t Move Module On A Page

B01I0099

As I mentioned a couple of days ago, the move to DotNetNuke 5 has brought about a few changes.  Some of them are design decisions that are just frustrating, like not being able to see that a module is viewable by the administrators only.  Others are bugs, like not being able to press the ENTER key while searching for a user, like we discussed a couple of days ago.

Today I’d like to alert you to a design decision that may cause you some trouble.

Continue reading “DotNetNuke 5.x Can’t Move Module On A Page”

ASP.NET MVC – Model != BLL or DAL

Last week I introduced the ASP.NET MVC framework by talking a bit about what the model, view and controller are.

In the comments, John Meyer said,

I respectfully disagree with your claim that the model is you BLL. MVC is a UI layer pattern, and as such all models, views, and controllers are strictly in the UI level.

While historically, MVC has been described in the way I stated–while the ASP.NET MVC guys have also portrayed the Model as BLL or below–I have to agree with John.  Here’s why:

Continue reading “ASP.NET MVC – Model != BLL or DAL”