資源簡介
用到的知識點如下:
Json
Json的序列化以及反序列化,主要是文章分類信息部分。
Xml
xml的序列化以及反序列化,配置信息general.config 部分。
Ajax異步:Jquery方式以及MVC方式
評論提交,評論顯示,文章推薦等
Jquery
程序中的js基于jquery編寫
用到的一些jquery插件:
jquery.lazyload.js:圖片預加載
jquery.pager.js:分頁
jquery.dragsort.js:拖曳排序
jquery.ui.datepicker.js:日期控件
jquery.ad-gallery.js:相冊
jquery.uploadify-3.1.js:多文件(圖片)上傳
kindeditor編輯器
kindeditor編輯器在mvc3中的應用,主要是文件(圖片)上傳部分的改造
SyndicationFeed
文章以及評論rss
Ninject
實現Models層與Controllers之間的依賴注入
HtmlAgilityPack
HTML解析,url投稿功能處有用到
代碼片段和文件信息
using?System;
using?System.Web;
namespace?Common
{
????public?class?DataCache
????{
????????public?static?object?GetCache(string?cacheKey)
????????{
????????????return?HttpRuntime.Cache[cacheKey];
????????}
????????public?static?void?SetCache(string?cacheKey?object?objobject)
????????{
????????????HttpRuntime.Cache.Insert(cacheKey?objobject);
????????}
????????public?static?void?SetCache(string?cacheKey?object?objobject?DateTime?absoluteExpiration?TimeSpan?slidingExpiration)
????????{
????????????HttpRuntime.Cache.Insert(cacheKey?objobject?null?absoluteExpiration?slidingExpiration);
????????}
????????public?static?void?RemoveCache(string?cacheKey)
????????{
????????????HttpRuntime.Cache.Remove(cacheKey);
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-02-24?04:30??yqblog\
?????目錄???????????0??2014-02-24?04:30??yqblog\Common\
?????文件????????2770??2014-02-24?04:30??yqblog\Common\Common.csproj
?????文件?????????222??2014-02-24?04:30??yqblog\Common\Common.csproj.user
?????文件?????????748??2014-02-24?04:30??yqblog\Common\DataCache.cs
?????目錄???????????0??2014-02-24?04:30??yqblog\Common\Properties\
?????文件????????1324??2014-02-24?04:30??yqblog\Common\Properties\AssemblyInfo.cs
?????文件????????2768??2014-02-24?04:30??yqblog\Common\Serialization
?????文件????????7766??2014-02-24?04:30??yqblog\Common\Thumbnail.cs
?????文件???????21677??2014-02-24?04:30??yqblog\Common\Utils.cs
?????目錄???????????0??2014-02-24?04:30??yqblog\Common\bin\
?????目錄???????????0??2014-02-24?04:30??yqblog\Common\bin\Debug\
?????文件???????22016??2014-02-24?04:30??yqblog\Common\bin\Debug\Common.dll
?????文件???????50688??2014-02-24?04:30??yqblog\Common\bin\Debug\Common.pdb
?????文件??????106496??2014-02-24?04:30??yqblog\Common\bin\Debug\HtmlAgilityPack.dll
?????目錄???????????0??2014-02-24?04:30??yqblog\Common\bin\Release\
?????文件???????20992??2014-02-24?04:30??yqblog\Common\bin\Release\Common.dll
?????文件???????44544??2014-02-24?04:30??yqblog\Common\bin\Release\Common.pdb
?????文件??????106496??2014-02-24?04:30??yqblog\Common\bin\Release\HtmlAgilityPack.dll
?????目錄???????????0??2014-02-24?04:30??yqblog\Common\obj\
?????目錄???????????0??2014-02-24?04:30??yqblog\Common\obj\Debug\
?????文件?????????204??2014-02-24?04:30??yqblog\Common\obj\Debug\Common.csproj.FileListAbsolute.txt
?????文件???????22016??2014-02-24?04:30??yqblog\Common\obj\Debug\Common.dll
?????文件???????50688??2014-02-24?04:30??yqblog\Common\obj\Debug\Common.pdb
?????文件????????6748??2014-02-24?04:30??yqblog\Common\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????目錄???????????0??2014-02-24?04:30??yqblog\Common\obj\Release\
?????文件?????????360??2014-02-24?04:30??yqblog\Common\obj\Release\Common.csproj.FileListAbsolute.txt
?????文件????????6644??2014-02-24?04:30??yqblog\Common\obj\Release\Common.csprojResolveAssemblyReference.cache
?????文件???????20992??2014-02-24?04:30??yqblog\Common\obj\Release\Common.dll
?????文件???????44544??2014-02-24?04:30??yqblog\Common\obj\Release\Common.pdb
?????文件????????6782??2014-02-24?04:30??yqblog\Common\obj\Release\DesignTimeResolveAssemblyReferencesInput.cache
............此處省略996個文件信息
- 上一篇:ace后臺管理系統模版
- 下一篇:C# 監視文件和文件夾系統變化情況
評論
共有 條評論