Ibatis + Castle. MCV version npetshop3

Source: Internet
Author: User
   
note: I used vs2005 and mssql2005.
to integrate ibatis + Castle, I found some relevant materials, they are old.
A man has been integrated before. The typical example is npetshop. (ibatis.net + Castle. MVC )
but the trouble is that the version is vs2003 and the file is still generated by 2007, it cannot be run.
you have to refresh it and change it to vs2005.

In addition, the web directory and project directory are not stored in the same way. Double-click" npetshop. web. SLN " opening is what the original development looks like, haha ......
the configuration procedure is as follows:
    1. Add database:Directory: "npetshop3 \ npetshop. Persistence \ DDL"There are SQL files of MSSQL and MySQL. You can select the data to execute it;
    2. Modify the configuration file and connect to the database. The old method is: Find the Dao. config file in npetshop. Web. The user account has been created when the SQL file is executed.Modify datasource = "XXXX". Of course, you can also use the SA user to pick it up.
    3. In this way, Ko is ready to run. Hey, hey !!

This is just a demo of the. NET Framework, which is not complete. It is only used for learning. There is a bug in it, just in the search area. If you are interested, you are very welcome to exchange and learn.

My QQ: 372788002

Email: send620@163.com

Exchange, explore, and learn more!

 

Npetshop3 new version (ibatis.net + Castle. MVC) source code:Npetshop3 New Version ibatis.netw.castle.mvc.rar

Severe warning: reference this article, source code, images, etc., please be sure to indicate the source,It cannot be used for advertising or other commercial purposes without consent !!This source code is only for learning and communication !!!!!

Author: Night Owl
Source: http://www.cnblogs.com/dzone/

The copyright of this article is shared by the author and the blog. You are welcome to repost this article, but you must keep this statement without the author's consent andArticleThe original text connection, including the article, is displayed on the obvious location of the page,Code, Images, and other resources on this site. Otherwise, you will be held legally liable.

 

 
 

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.