How MonoRail works

刚注册了个博客,先转载篇,不然博客空空的。^_^。
转载地址:http://www.castleproject.org/monorail/documentation/v1rc2/manual/howitworks.html
MonoRail can be view as another implementation of IHttpHandler. It basically extracts information from the Url and searches for a controller in a binary tree. If found, the controller is created and from that point on, the controller handles the request.



 

The controller is able to select the action (method) to invoke, process the arguments (in the case of SmartDispatcherController) and delegate the execution to it.

When the action returns, the controller checks if a view was selected (and no redirect was issued). If so the ViewEngine is invoked to process the selected view, which renders the content directly to the client's browser.

As MonoRail runs on top of Asp.Net infrastructure (not to be confused with WebForms) it takes advantage of all features like Session management, Application/Request level events and security.

转载于:https://www.cnblogs.com/hailsorm/archive/2007/10/24/935821.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值