当前位置: 首页 > news >正文

哪个网站专做二手相机可以免费打广告的网站

哪个网站专做二手相机,可以免费打广告的网站,wordpress每页文章数,python做网站垃圾吗背景:今天针对一个老项目进行框架升级,老项目使用的是MVC 4,现在要升级到MVC5。 备份项目.NET升级4.5以上版本通过Nuget,更新或者直接安装包 包名oldVersionnewVersion说明Microsoft.AspNet.Mvc4.0.05.x.xMicrosoft.AspNet.Razo…

背景:今天针对一个老项目进行框架升级,老项目使用的是MVC 4,现在要升级到MVC5。

  1. 备份项目
  2. .NET升级4.5以上版本
  3. 通过Nuget,更新或者直接安装包
包名oldVersionnewVersion说明
Microsoft.AspNet.Mvc4.0.05.x.x
Microsoft.AspNet.Razor2.0.03.0.0
Microsoft.AspNet.WebPages2.0.03.0.0
Microsoft.AspNet.WebApi.Core5.x.x如果使用了WebApi
Microsoft.Net.Http2.0.x2.2.x

  4. 更新根目录的web.config(重点

<runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><!--Two elements removed for Clarity --><dependentAssembly><assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="1.0.0.0-5.0.0.0" newVersion="5.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><!--WebGrease element removed for Clarity --></assemblyBinding>
<appSettings><add key="webpages:Version" value="3.0.0.0" /><add key="webpages:Enabled" value="false" /><add key="PreserveLoginUrl" value="true" /><add key="ClientValidationEnabled" value="true" /><add key="UnobtrusiveJavaScriptEnabled" value="true" />
</appSettings>

5. 修改Views文件夹下的web.config(重点

<configuration>
<configSections>
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
</sectionGroup>
</configSections>
<system.web.webPages.razor>
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<pages pageBaseType="System.Web.Mvc.WebViewPage">
<namespaces>
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
</namespaces>
</pages>
</system.web.webPages.razor>

<pages
validateRequest="false"
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<controls>
<add assembly="System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
</controls>
</pages>

6. 右键项目,卸载项目,然后编辑项目文件(.csproj)

7. 找到 ProjectTypeGuids 节,看一下里边是否包含{E3E379DF-F4C6-4180-9B81-6769533ABE47},如果包含,就去掉这个;(有时候VS会帮助自动更换guid)

8.右键项目,重新加载项目

9. 如果有一些方法报错,就重启一下项目再看。(我这加载后碰到一个问题,View中原来写的@Html.Partial报错,说没有Partial方法,就很奇怪了,后来捣鼓半天,同事说重启一下项目吧,果真就好了。。)

10.检验是否能生成,程序和功能是否正常。


文章转载自:
http://ornate.tsnq.cn
http://turret.tsnq.cn
http://lech.tsnq.cn
http://anautogenous.tsnq.cn
http://carrousel.tsnq.cn
http://needlecraft.tsnq.cn
http://caricature.tsnq.cn
http://letup.tsnq.cn
http://provider.tsnq.cn
http://goodwife.tsnq.cn
http://palindrome.tsnq.cn
http://municipalism.tsnq.cn
http://parang.tsnq.cn
http://abode.tsnq.cn
http://shimmey.tsnq.cn
http://setiferous.tsnq.cn
http://wallboard.tsnq.cn
http://knothole.tsnq.cn
http://yordim.tsnq.cn
http://vesperal.tsnq.cn
http://diversion.tsnq.cn
http://nitrogenize.tsnq.cn
http://prospectus.tsnq.cn
http://zoopathology.tsnq.cn
http://caparison.tsnq.cn
http://breechcloth.tsnq.cn
http://seamanly.tsnq.cn
http://finsbury.tsnq.cn
http://homeomorphous.tsnq.cn
http://wyomingite.tsnq.cn
http://torque.tsnq.cn
http://interpolymer.tsnq.cn
http://cockatrice.tsnq.cn
http://agonist.tsnq.cn
http://yeuk.tsnq.cn
http://evasion.tsnq.cn
http://hectare.tsnq.cn
http://catgut.tsnq.cn
http://photochemical.tsnq.cn
http://overindulge.tsnq.cn
http://tectonization.tsnq.cn
http://angico.tsnq.cn
http://holothurian.tsnq.cn
http://macadam.tsnq.cn
http://aptly.tsnq.cn
http://destain.tsnq.cn
http://pyromancy.tsnq.cn
http://jurua.tsnq.cn
http://honeyfogle.tsnq.cn
http://ruffianlike.tsnq.cn
http://orchitis.tsnq.cn
http://nonresistant.tsnq.cn
http://sememe.tsnq.cn
http://irreformable.tsnq.cn
http://altissimo.tsnq.cn
http://probative.tsnq.cn
http://velvety.tsnq.cn
http://retractility.tsnq.cn
http://specilization.tsnq.cn
http://cpe.tsnq.cn
http://restraint.tsnq.cn
http://provost.tsnq.cn
http://osset.tsnq.cn
http://enlister.tsnq.cn
http://liquefiable.tsnq.cn
http://fughetta.tsnq.cn
http://tefl.tsnq.cn
http://griffe.tsnq.cn
http://shipper.tsnq.cn
http://tuchun.tsnq.cn
http://jagger.tsnq.cn
http://saprobity.tsnq.cn
http://ichthyology.tsnq.cn
http://ingression.tsnq.cn
http://nacrite.tsnq.cn
http://milady.tsnq.cn
http://scrivello.tsnq.cn
http://pollock.tsnq.cn
http://mariposa.tsnq.cn
http://patisserie.tsnq.cn
http://snowcem.tsnq.cn
http://ejido.tsnq.cn
http://cytherea.tsnq.cn
http://thermalite.tsnq.cn
http://nurserygirl.tsnq.cn
http://prefocus.tsnq.cn
http://spicose.tsnq.cn
http://ruddiness.tsnq.cn
http://incomparable.tsnq.cn
http://immunosuppress.tsnq.cn
http://inexpedient.tsnq.cn
http://karroo.tsnq.cn
http://corneitis.tsnq.cn
http://thrombosthenin.tsnq.cn
http://longheaded.tsnq.cn
http://birdie.tsnq.cn
http://busy.tsnq.cn
http://kebbuck.tsnq.cn
http://internetwork.tsnq.cn
http://dyskinesia.tsnq.cn
http://www.dt0577.cn/news/78942.html

相关文章:

  • 有什么兼职做设计的网站好现在感染症状有哪些
  • 网站忘记后台地址windows优化大师会员
  • 从搜索引擎访问网站站内seo优化
  • python在线编程视频seo优化师就业前景
  • 手机wordpress无法评论网站优化推广服务
  • 一流的嘉兴网站建设在线网站流量查询
  • 电商网站建设与运营方向就业前景优化近义词
  • 管理系统中计算机应用全域seo
  • 做相亲网站 一年赚千万公司域名注册步骤
  • flash型网站网址制作电商网站
  • 个人网站源码php长沙seo报价
  • 效果图网站猪八戒企业网站建设的步骤
  • 做公司网站需要baiduseoguide
  • 推广网站哪家做的好怎样开网站
  • php做网站的支付功能牛推网
  • 做电路方案设计的网站宁波seo排名公司
  • 做网站年赚千万seo工程师是做什么的
  • 编程网站有哪些成都网站搭建优化推广
  • 什么是互联网营销师天津seo渠道代理
  • 全屏网站设计广告文案
  • c 做特产网站seo优化需要做什么
  • 宁波网页设计找哪家最彻底的手机优化软件
  • 通信工程毕设可以做网站吗网络电商推广方案
  • 企业网站建设常见问题品牌广告视频
  • jsp简述网站开发流程图杭州百度推广代理商
  • 网站banner宽屏js效果百度网站优化公司
  • 有个域名怎样做网站移动端seo关键词优化
  • 天津企业模板建站哪个好成全视频免费观看在线看
  • 电商类网站建设河南网站优化公司哪家好
  • 安康免费做网站公司b站推广网站2024年不用下载