Use the latest mononrails to modify the runable Castle example

Source: Internet
Author: User

Not long ago, while learning castle while translating, I felt that the web model provided by Castle was good, so I opened its example to test it and downloaded the recently released library, and found that the namespace had changed, so I modified the originalProgramSo that the database can be used normally in the new database and the database connection is changed to sqlserver (Hey, it's nice to use nhib.pdf without modifying anyCodeYou only need to slightly adjust the configuration file ).
The first modification process is to find that the command space has changed, and some classes have also changed, in addition, the latest Castle compilation package I downloaded references different nvelocity versions, so it took me one morning to modify the original code. I thought it could be done quickly :), in order to let everyone see what is different from the ASPX page, here we will download the modified one. Let's learn it together:/files/linwinfan/minddump.rar

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.