简体   繁体   English

虚拟主机中的城堡单轨电车

[英]Castle Monorail in Webhosting

Is there any body can help me.有没有机构可以帮助我。

how to run my web running well in web hosting, i'm developed using Castle Monorail MVC, i tested in free web hosting (www.somee.com), but why.castle extension cannot read, even i configure manually in web config, and so my friend told me to change to.ashx extension because web hosting doesn't support other extension and ashx it's default extension in .net. how to run my web running well in web hosting, i'm developed using Castle Monorail MVC, i tested in free web hosting (www.somee.com), but why.castle extension cannot read, even i configure manually in web config,所以我的朋友告诉我更改为 .ashx 扩展名,因为 web 托管不支持其他扩展名,而 ashx 它是 .net 中的默认扩展名。

i try adding like this in web config:我尝试在 web 配置中添加这样的内容:

<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory"/> <add verb="*" path="*.aspx" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" />

but it's still not work, so i changed to this:但它仍然不起作用,所以我改为:

<add verb="*" path="*.ashx" type="System.Web.UI.PageHandlerFactory"/> <add verb="*" path="*.ashx" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" />

but it's still cannot run, please any body help me how to configure that, or do i must try in another web hosting??但它仍然无法运行,请任何人帮助我如何配置它,或者我必须尝试在另一个 web 托管?

Try just adding this:尝试添加以下内容:

<add verb="*" path="*.aspx" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM