Jiri gala C # Notes on upgrading from V4.0 to V4.2 on the quick development platform,

Source: Internet
Author: User

Jiri gala C # Notes on upgrading from V4.0 to V4.2 on the quick development platform,

Currently, the version I used is 4.0, which has not been updated in the last two years. I am so worried about upgrading it. I didn't expect it to be so difficult to take actions!

It took three days to upgrade the code of jizira to version 4.2, and make the original DotNet. WebApplication run properly, as expected. Here, we will briefly record the experiences of the upgrade.

 

Tools used:

1. BeyondCompare trial version-compare Program Files

2. SQLDelta 14-day trial version-compare database table structure changes (and data changes)

3. VS2010-ensure that the upgraded WebApplication is easy to use

4. MSSQL 2008 R2-standard database

 

Highlights of the latest code:

1. Separated DotNet. Model

2. Separation of DotNet. IService

3. Added Redis cache for DotNet. Business

4. DotNet. Utilities adds many BaseSystemInfo parameters and underlying functions: Database read/write splitting.

5. Added DotNet. UserCenter for calling other programs, such as WebApp, Android, and apple.

6. Comprehensive and powerful user logon log tables

7. Add tracking and underlying text logs for database access

8. added the DotNet. MVC project, BS-side user and permission management (not studied yet)

 

Related:

1. Database UserCenter update

2. Projects and Solutions

Note:

1. After SqlDelta generates the deployment code, you must manually update the values of some fields in the old record.

123456 UPDATE [UserCenterV40].[dbo].[BaseUser]SET IsAdministrator=1,UserName='Administrator',NickName='Administrator'WHERE UserName='Admin'UPDATE BaseModule SET AuthorizedDays=0UPDATE BaseUserLogOn SET OpenIdTimeout = GETDATE() UPDATE BaseUserContact SET MobileVerificationDate = GETDATE()

2. The DotNet. WebApplication has many functions with logon and read permissions. You need to update BaseSystemInfo. SystemCode.

This article is the first update record, and will continue to record the experiences of the DotNet. MVC project.

Postscript: please do not ask me to source code, if you need to buy please contact girI Ga, his blog garden home address: http://www.cnblogs.com/jirigala/

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.