想在My Asp.net网站上使用WorldPress PlugIn [英] Want to use WorldPress PlugIn in My Asp.net Website

查看:59
本文介绍了想在My Asp.net网站上使用WorldPress PlugIn的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用显示访客历史记录的访客计数器,我发现许多插件的Html为Vistor计数器但是他们无法完全填满我的整个需求,



现在我找到了一个wordpress访客计数器插件

http://wordpress.org/plugins/ mechanic-visitor-counter / screenshots / [ ^ ]



现在我的问题是我使用Asp.net Pages和这个访客计数器插入WordPress所以我如何在我的页面中使用它,



我的想法是我放了一个< ifream>在我的asp.net页面上访问这个wordpress插件,



所以当我上传这个WordPress插件,进入服务器,然后运行WordPress插件的Php页面我发现错误:





I want To Use Visitor counter which Show Visitor history,I found many PlugIn of Html for Vistor countor But they Unable to full fill my whole Requriment,

Now i found A wordpress Visitor countor PlugIn
http://wordpress.org/plugins/mechanic-visitor-counter/screenshots/[^]

now My problem is i use Asp.net Pages And this Visitor Countor plugIn in WordPress so how i use this in my page,

My idea is I put one <ifream> on my asp.net page and access This wordpress plugIn,

so when i upload this WordPress PlugIn, into server, and then run Php pages of Wordpress PlugIn I found errors:


PHP Warning: require_once(ABSPATHwp-includes/pluggable.php) [function.require-once]: failed to open stream: No error in C:\HostingSpaces\arunvartman\vartmaninfotech.com\wwwroot\wp-statsmechanic.php on line 13 PHP Fatal error: require_once() [function.require]: Failed opening required 'ABSPATHwp-includes/pluggable.php' (include_path='.;C:\php5\pear') in C:\HostingSpaces\arunvartman\vartmaninfotech.com\wwwroot\wp-statsmechanic.php on line 13











那么我能做什么,并且我的网页配置需要更改为Asp.net Projects。






So what can i do, and there is any Need to change in my web config which is made for Asp.net Projects.

推荐答案

Wordpress是用PHP编写的继续前进Apache,所以你不能在ASP.Net中真正运行它。

由于WordPress是用PHP实现的,所有这些插件也是用PHP编写的。



Wordpress is written in PHP and runs on Apache, so you can't really run it in ASP.Net.
As WordPress is implemented in PHP, all of those plugins are also written in PHP.

引用:

由于.NET的PHP编译器名为Phalanger,因此可以在C#中扩展WordPress。它的3.0版本使用DLR来实现PHP和.NET代码之间的互操作。我们可以利用C#中的dynamic关键字,这样可以轻松地从C#调用PHP功能。

Extending WordPress in C# is possible thanks to a PHP compiler for .NET called Phalanger. Its 3.0 version uses DLR to allow interoperation between PHP and .NET code. We can take advantage of the dynamic keyword in C#, which makes calling PHP functionality from C# easily possible.





有关更多信息,请查看以下文章。



使用C#插件扩展WordPress



使用C#插件扩展WordPress [ ^ ]



我希望这会有所帮助给你。



For more information check below Article.

Extending WordPress with C# Plugins

Extending WordPress with C# Plugins[^]

I hope this will help to you.


这篇关于想在My Asp.net网站上使用WorldPress PlugIn的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆