Asp.net MVC 2.0 + unity 2.0 (IOC) + ef4.0 instance: rorowoblog open-source project framework code

Source: Internet
Author: User
The current framework of this open-source project is as follows: foreground performance: Asp.net MVC 2 data persistence layer: ADO. NET Entity Framework 4.0 dependency injection container: Unity 2.0 development tools: vs2010 open source project address: http://rorowo.codeplex.com/I this National Day time mainly changed the following content:
1. Change to poco to make EF entity pure
2. added the iochelper class and changed the IOC code to support multiple types of IOC at the same time.
3. Modify the infrastructure layer to support multiple ORM frameworks. 4. Modify the custom controller inherited from defaultcontrollerfactory so that the MVC controller can support dependency injection, make full use of the IOC automatic loading feature 5. Officially enable the Protocol Interface ispecification as the query condition project structure: to create a database, go to rorowo. blog. infrastructure open rowodb. in the edmx model view, right-click the view and select "generate Database Based on Model" to obtain the SQL statement for creating the database. Then, modify the database connection string in the relevant config file. The default database is SQL Server 2008. If the database is 2005, use the notebook to open rowodb. in the edmx file, change providermanifesttoken = "2008" to providermanifesttoken = "2005". Otherwise, data insertion may fail. You are welcome to download the source code from many technical friends! I want to learn more through technical friends... if you are interested in DDD (domain-driven design) and want to add QQ, my number is 17020415. Here, I would like to thank two friends, one is xianrendzw and the other is xuefly. Thank you for your contributions to this project.

// --------------------------------------------------------------------- [Note] I found that many domestic friends are not very familiar with the free code management platform. What is codeplex? Codeplex is a source code management platform provided by Microsoft. It is a platform integrating open-source communities and Version Control (currently, projects on this platform must be open-source ). What can codeplex do? First, you can use the TFC or SVN client to check your development project into codeplex without having to build a dedicated source code management server. At the same time, you can develop it with multiple people, you can see the changes made by other Members to the Code (all those who have used the version control tool are clear ). How do I download the source code of the latest version? If you do not have the latest version of release, how can we download the source code of the latest version? You can go to an open-source project and click the "source code" menu link. Then we can see the last code check-in date, change set number, and click the latest number, the system will go to a list page for checking in related files. There are two links, "Download" and "Browse", and click "Download ", you can download the source code of the current version (you can also enter a code check-in at a specific date to download the code of the previous version ). //-------------------------------------------------------------------

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.