digg來源程式推薦KiGG,ASP.NET MVC入亹源碼

來源:互聯網
上載者:User

KiGG的功能類似digg這個網站,和部落格園目前使用新聞模組相似,是個不錯的ASP.NET MVC入亹源碼.

KiGG程式介紹原文章

  • Regular Web Forms for View.
  • LINQ to SQL for developing the Model.
  • ASP.NET Ajax for Ajax operation.
  • Both VSTest and NUnit for Unit Test.
  • Rhino Mock.

KiGG Version 2.1
============

Clean Install
-------------
1. Extract the Zip in a Directory (e.g. C:"Projects"KiGG)
2. Create Web Folder named KiGG (e.g. C:"Projects"KiGG"Web) as Application in IIS7 manager. Ensure that application pool is set to Default. (Skip this step, in case you are using Integrated Web Server of Visual Studio)
3. Now Open and execute the Create.sql script from Database Folder (e.g. C:"Projects"KiGG"Database"Create.sql) and run in SQL Management Studio.
4. Next Open and execute the Data.sql from the Database folder (e.g. C:"Projects"KiGG"Database"data.sql) to populate some tag/category.
5. Now Open the Kigg.sln in Visual Studio.
6. Change the Database Connection String.
7. Now Create an Account in http://www.pageglimpse.com/ (Currently free service) and put it in web.config line 567.
8. Now Create an Account in http://recaptcha.net (free service) to get your API Keys. Once you got those put in your web.config line 1190 and 1193.
9. Right Click the Web Project and click Properties, then select the Web Tab. Now Check the Use Local IIS Web Server checkbox and set http://localhost/KiGG as Project Url. (Skip this step, in case you are using Integrated Web Server of Visual Studio)
10. Now Run, you will be able to see the Home page with "No published story exists." message.

Additional Notes
-----------------
1. To show the Vote Counter it is required to know the vistual path. Open the web.config and put your virtual path in line 301 (e.g. http://localhost/KiGG). In case of Intgrated Visual Studio Web Server specify it with the port number.
2. Open the Web.config and try find with "YOUR-" and replace with your value.
3. For external spam checking service create account and replace the api key in web.config with your value (Check the Web.full.config)
    -http://akismet.com/
    -http://defensio.com/
    -http://antispam.typepad.com/
4. You can also use websnapr.com for the Thumbnail instead of PageGlimpse. Just create an account in http://www.websnapr.com/ and repalce with your value.

Upgrading from 2.0
------------------
1. Backup  your exisiting code base.
2. Run the Upgrade-From-2.0.sql from Database folder (e.g. C:"Projects"KiGG"Database"Upgrade-From-2.0.sql) it will drop the version column which is no longer required.

下載網址:http://kigg.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=22690#ReleaseFiles

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.