nopCommerce学习之程序包(四)

  Nop用了很多开源项目,打开Nop.Web项目中的package.config,这是VS中的一个Nuget添加程序包时生成的配置文件,该文件会记录所有使用的程序包。

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="51Degrees.mobi" version="2.1.12.2" targetFramework="net45" />
  <package id="Autofac" version="2.6.3.862" targetFramework="net45" />
  <package id="Autofac.Mvc3" version="2.6.3.862" targetFramework="net45" />
  <package id="EntityFramework" version="5.0.0" targetFramework="net45" />
  <package id="EntityFramework.SqlServerCompact" version="4.3.5" targetFramework="net45" />
  <package id="FluentValidation" version="3.4.6.0" targetFramework="net45" />
  <package id="FluentValidation.MVC4" version="3.4.6.0" targetFramework="net45" />
  <package id="Microsoft.AspNet.Mvc" version="4.0.20710.0" targetFramework="net45" />
  <package id="Microsoft.AspNet.Razor" version="2.0.20715.0" targetFramework="net45" />
  <package id="Microsoft.AspNet.Web.Optimization" version="1.0.0" targetFramework="net45" />
  <package id="Microsoft.AspNet.WebApi" version="4.0.20710.0" targetFramework="net45" />
  <package id="Microsoft.AspNet.WebApi.Client" version="4.0.20710.0" targetFramework="net45" />
  <package id="Microsoft.AspNet.WebApi.Core" version="4.0.20710.0" targetFramework="net45" />
  <package id="Microsoft.AspNet.WebApi.WebHost" version="4.0.20710.0" targetFramework="net45" />
  <package id="Microsoft.AspNet.WebPages" version="2.0.20710.0" targetFramework="net45" />
  <package id="Microsoft.Net.Http" version="2.0.20710.0" targetFramework="net45" />
  <package id="Microsoft.SqlServer.Compact" version="4.0.8876.1" targetFramework="net45" />
  <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
  <package id="MiniProfiler" version="2.0.2" targetFramework="net45" />
  <package id="Mvc2Futures" version="2.0.50217.0" targetFramework="net45" />
  <package id="Newtonsoft.Json" version="4.5.11" targetFramework="net45" />
  <package id="recaptcha" version="1.0.5.0" targetFramework="net45" />
  <package id="routedebugger" version="2.1.4.0" targetFramework="net45" />
  <package id="TelerikMvcExtensions" version="2012.2.607" targetFramework="net45" />
  <package id="WebGrease" version="1.3.0" targetFramework="net45" />
</packages>

  51Degrees.mobi提供了一个免费开源的Asp.Net移动应用程序编程接口,允许开发人员利用WURFL中各种广泛的移动设备信息。在Nop的Web项目中我们可以看到它的身影,所有的视图页基本上都有相应的.Mobile.cshtml,该页即为移动设备查看时展现的页。

  Autofac是一个很著名的开源Ioc框架,这个博客介绍的很清楚。http://www.cnblogs.com/liping13599168/archive/2011/07/16/2108209.html

  EntityFramework就是EF啦,这里用的是5.0.

  FluentValidation是流畅的验证组件,在项目中起到对模型的验证作用,具体介绍在这http://www.cnblogs.com/whitewolf/archive/2012/05/27/2520593.html

  MiniProfiler是对ASP.NET MVC、WebForm 以及WCF 的性能分析的小程序。具体介绍见这http://www.cnblogs.com/shanyou/archive/2011/10/18/2216933.html

  Newtonsoft.Json就不多说了,用来做序列化和反序列化的,具体见这http://www.cnblogs.com/sbxwylt/archive/2008/12/31/1366199.html

  Recaptcha应该是一个用来生成验证码的东东,没找到相关资料。

  RouteDebugger是一个好东西,用来调试mvc路由的,只要在配置文件里开启就能查看路由信息了,在MVC里路由调试还是很重要的。

  TelerikMvcExtensions是针对于MVC的Telerik的扩展,主要用来做前端界面展示,如Tab等。

  最后一个WebGrease就不知道干什么用的了。

原文地址:https://www.cnblogs.com/hackcat/p/2863421.html