ASP.NET MVC4.0 部署

时间:2022-08-24 22:12:32

EntifyFramework 5.0.0 安装

http://www.nuget.org/packages/EntityFramework/5.0.0

 

1. 文章,部署前的配置

http://www.asp.net/mvc/tutorials/deployment/deployment-to-a-hosting-provider/deployment-to-a-hosting-provider-deploying-to-iis-as-a-test-environment-5-of-12

 

2. 之后会随之而来一个Securiy问题

http://www.aspforums.net/Threads/161473/Security-Exception-The-application-attempted-to-perform-an-operation-not-allowed-by-the-security-policy/

 

3. 目标--上传图片

https://github.com/ServiceStack/ServiceStack.UseCases/blob/master/ImageResizer/Global.asax.cs#L63-L70

 

4. 看了一眼源码,以后重点照顾一下:VerifyLicenseKeyText