Build your spring. NET + nhib.pdf + ASP. net mvc Framework (6 ).

Source: Internet
Author: User

If no error is reported for configuration in your project, but null is always injected in, you can check whether the project in which the configuration file is located has been referenced or configured in the configuration file. In addition, the injection in control in MVC fails. In the end, we still use the Cs method to obtain the entity classes at the business logic layer, which is somewhat regrettable.

Next we will review the entire project construction process:

1. Prepare the development environment: Spring. net, nhib.pdf, ASP. net mvc, vs2008 SP1, etc.

2. Create a solution, add service Dao model and other projects at various layers, and prepare the database

3. Design and Implement idao. On this basis, implement ibll

4. Configure HBM object class ing XML file

Configure the webconfig file of the WEB Project

Configure commondao. xml ---- core configuration file of nhib.pdf

Configure Dao Layer Injection XML file

Configure the BLL layer to inject XML files

5. Test and use

 

This series is almost written. Share your knowledge with me to make technology change the world. The series is constantly improving...

I hope you will give more comments!

 

Related downloads

Download the spring.net nhib.pdf control used in the project

Project: Download source code

 

ArticleIndex:

Build your spring. NET + nhib.pdf + ASP. net mvc Framework (1)

Build your spring. NET + nhib.pdf + ASP. net mvc Framework (2) create your project

Build your spring. NET + nhib.pdf + ASP. net mvc Framework (3) Implement the database interface layer and business logic layer

Build your spring. NET + nhib.pdf + ASP. net mvc Framework (4) Full configuration strategy

Build your spring. NET + nhib.pdf + ASP. net mvc Framework (5) to test your results

Build your spring. NET + nhib.pdf + ASP. net mvc Framework (6 ).

Related Article

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.