asp.net ¸öÈËÕ¾µãÓëDiscuz NTÕûºÏ
¾¹ýÒ»Íí°ë¿àÕ½£¬ÖÕÓÚ½«Discuz NTÓëij¹«Ë¾ÍøÕ¾ÕûºÏÆðÀ´ÁË£¬Æð³õ»¹Óöµ½²»Ð¡ÎÊÌ⣬ºÜ¶à¶¼²»Ã÷°×¡£
½«ÔÚ¸ùij¹«Ë¾ÍøÕ¾¸ùĿ¼ÉϽ¨Ò»¸öBBSÎļþ¼Ð£¬°ÑDiscuz NTµÄÎļþ¶¼·Å½øÀïÃæ¡£
ÔÙ½«DNT.configÎļþ£¬configÎļþ¼Ð£¬aspnet_clientÎļþ¼Ð£¬BinÎļþ¼ÐµÄÄÚÈÝCopyµ½¸ùĿ¼ÖУ¬½«DiscuzNTµÄWeb.ConfigÎļþÓëij¹«Ë¾ÍøÕ¾µÄWeb.ConfigÎļþ½áºÏ³ÉÒ»¸öÎļþ£¬°ÑDiscuzNTµÄWeb.ConfigÎļþÄÚÈݸ´ÖƵ½Ä³¹«Ë¾ÍøÕ¾µÄWeb.ConfigÎļþÖУ¬ÐÎʽÈçÏÂ:
ͬһ¸öWeb.Config¿ÉÒÔͬʱ´æÔÚÁ½ÉÏ <System.web>,ËùÒÔ°ÑDiscuzÖеÄSystem.web·ÅÔÚ
<location path="bbs" allowOverride="false">
<system.web>
<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="utf-8"
/>
<compilation defaultLanguage="c#" debug="true" />
<httpModules>
<add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" />
<remove name="ModuleRewriter" />
</httpModules>
</system.web>
</location>
ÖУ¬location¶¨Òå·¾¶ÎªÎļþ¼Ð·¾¶BBS
ÔÚ<compilation defaultLanguage="c#" debug="true">ÖÐÒ»¶¨Òª¶¨ÒådefaultLanguageΪc#,·ñÔò±àÒë³ö´í£¬boolûÓж¨Òå¡£
ÔÚVS2008ÖбàÒë°²×°DiscuzNTÊÇ»á³ö´íµÄ£¬(string result = SetupPage.InitialSystemValidCheck(ref err);)˵ûÓÐÖ¸¶¨/DNT.config,¸ÃÎÊÌâÊÇÔÚlocation:¶Ë¿ÚÎÊÌâÖУ¬ÔÚiisÖбàÒë°²×°ÔòûÓÐÎÊÌ⣬Ëù·¢²»ÄÜÔÚVs2008ÖбàÒë°²×°¡£
ºÃÁË¡£Ò»Çж¼¿ÉÒÔÕý³£°²×°ºÍÓ¦ÓÃDiscuz NTÁË¡£
ÔÚÕûºÏÖÐÒªÓ¦Óõ½DiscuzToolkitµÄAPI,ÔÚDiscuz¹ÙÍøÉÏ¿ÉÒÔDownload¡£
ÒªssoºÍͬ²½×¢²á£¬±ØÐèÏÈÔÚ"http://localhost/Discuz/BBS/admin/index.aspx"ÖеÄÀ©Õ¹->ͨÐÐÖ¤ÉèÖÃ->Ìí¼ÓÕûºÏ³ÌÐòÉèÖ㬰ѵóöµÄAPI KeyºÍÃÜÔ¿Ó¦ÓÃÔÚ¸÷×ÔµÄÓ¦ÓÃÉÏ£¬¶ø¸÷×ÔµÄURl¶¨ÒåÔòΪ"http://localhost/Discuz/BBS/"ÆäBBS¸ùĿ¼¡£OK,ËùÓÐÒ»ÇÐÍê±Ï¡£
»¨ÁËÎÒÒ»¸öÍíÉÏ¡£·³¡£
Ïà¹ØÎĵµ£º
MultiView ºÍ View Web ·þÎñÆ÷¿Ø¼þÓÃ×÷ÆäËû¿Ø¼þºÍ±ê¼ÇµÄÈÝÆ÷£¬²¢ÌṩÁËÒ»ÖÖ¿É·½±ãµØÏÔʾÐÅÏ¢µÄÌæ»»ÊÓͼµÄ·½Ê½¡£
Ò»¡¢·½°¸
¿ÉÒÔʹÓà MultiView ºÍ View ¿Ø¼þÖ´ÐÐÈçÏÂÈÎÎñ£º
·¸ù¾ÝÓû§Ñ¡Ôñ»òÆäËûÌõ¼þÌṩ±¸Ñ¡¿Ø¼þ¼¯¡£ÀýÈ磬Äú¿ÉÄÜÔÊÐíÓû§´ÓÒ»¸öÔ´ (feed) ÁбíÖÐÑ¡Ôñ£¬ÆäÖ ......
µ±ÄãÊǴӰٶȻògoogleËÑË÷ ¹Ø¼ü´Ê"ASP.NETºËÐļ¼Êõ","£®NETºËÐļ¼Êõ"¹ýÀ´µÄ»°,ÎÒºÜÏë±ÉÊÓÄãÒ»ÏÂ,ÕæµÄ,ÒòΪÎÒÓöµ½Ì«¶àµÄÕâÑùµÄÈËÁË,"ASP.NETºËÐļ¼Êõ","£®NETºËÐļ¼Êõ"ÕâÑùµÄÎÊÌâÕæµÄû±ØÒªÎÊ,ÓÐÒâ˼Âð,»ù´¡Åª¶®ÁËÂð,¾«Í¨ÁËasp.netÂð,»¹²»ÈçÎÊÎÊ"ASP.NET»ù´¡ÊÇʲô",»ù´¡¶¼Ã»ÓÐŪ¶®,¾ÍÒ»Ììµ½ÍíÔÚÄÇ×·ÇóºËÐÄÊÇʲô,ÕâЩ ......
protected override void Render(HtmlTextWriter writer)
{
StringWriter sw = new StringWriter();
HtmlTextWriter htm ......
±êÇ©£ºxml .net¡¡¡¡¡¡[ÍÆË͵½¼¼ÊõȦ]
loveqq2004
<?xml version="1.0" encoding="utf-8" ?>
<files>
<file>
<name>4.dll</name>
&nb ......
Ê×ÏÈ¿´ÏÂXML½á¹¹
<?xml version="1.0" encoding="utf-8"?>
<corplist>
<corp>
<linkname>³ÂÏÈÉú</linkname>
<corpname>XXXXXXXXX¹«Ë¾</corpname>
<email>xxxxx@126.com</email>
</corp>
<corp>
<linknam ......