ï¼ï¼ï¼ããã¼ã¸ã®é·ç§»æ¹æ³ï¼NavigateUrlï¼ Menu ããã²ã¼ã·ã§ã³ã§ã¯ãè¤æ°ã®ã¡ãã¥ã¼é ç®ãæã¤ãã¨ãã§ãã¾ãã[Menu ã¿ã¹ã¯] ããã[ã¡ãã¥ã¼é ç®ã®ç·¨é]ãé¸æããã¨ã次㮠[ã¡ãã¥ã¼é ç®ã¨ãã£ã¿] ãã NavigateUrl ãæå®ãããã¨ãã§ãã¾ããããã«ããããã®ã¢ã¤ãã ãã¯ãªãã¯ããã¨ãã«ããã¼ã¸ãé·ç§»ãã¦ããã¾ãã çæãããã³ã¼ãã¯æ¬¡ã®ããã«ãªãã¾ãã <asp:Menu ID="Menu1" runat="server"> <Items> <asp:MenuItem NavigateUrl="~/Default.aspx" Text="æ°ããé ç®" Value="æ°ããé ç®"></asp:MenuItem> </Items> </asp:Menu> åæ§ã«ãTreeViewã§ã¯ã[TreeView ã¿ã¹ã¯]â[ãã¼ãã®ç·¨é]âãé¸æããã¨ã[TreeVie
/etc/apache2/conf.d/mod_mono.conf # mod_mono.conf # Achtung! This file may be overwritten # Use 'include mod_mono.conf' from other configuration file # to load mod_mono module. <IfModule !mod_mono.c> LoadModule mono_module /usr/lib/apache2/modules/mod_mono.so </IfModule> (ä¸è¨2è¡ã追å ) MonoServerPath /usr/bin/mod-mono-server2 MonoSetEnv LANG=ja_JP.UTF-8 AddType application/x-asp-net .aspx ï¼ä»¥ä¸çç¥ï¼ /etc/a
2007å¹´09æ25æ¥ mod_monoã試ãã¦ã¿ã ä»ã¾ã§ã¯xspã使ã£ã¦ãã¾ããããmonoã§æ¬æ ¼çãªWebã¢ããªãéç¨ãããã¨æã£ããããã¯ãApacheã使ãã»ãããä¿¡é ¼æ§ãããã©ã¼ãã³ã¹ã®é¢ã§æå©ãªãã§ããããï¼ï¼ãã®è¾ºã¯ãã¡ãã¨æ§è½æ¸¬å®ããã£ã¦ã¿ãªãã¨ä½ã¨ãè¨ãã¾ãããï¼ã ã¨ããããã§ãApacheã¨xspã®æ©æ¸¡ãçãªå½¹å²ãæ ããmod_monoãã試ãã¦ã¿ã¾ããã â ã¾ãã¯ã¤ã³ã¹ãã¼ã« yumã³ãã³ãã使ã£ã¦ã以ä¸ã®ããã«ã¤ã³ã¹ãã¼ã«ãã¾ãã yum install mod_mono xspã¨ã®ä¾åé¢ä¿ãããããã§ããç§ã¯å ã«xspãã¤ã³ã¹ãã¼ã«ãã¦ããã®ã§ãmod_monoã®ã¿ãã¤ã³ã¹ãã¼ã«ããã¾ããããããxspãã¤ã³ã¹ãã¼ã«ããã¦ããªãç¶æ ã§ããããxspãä¸ç·ã«ã¤ã³ã¹ãã¼ã«ãããããããã¾ããã â Apacheã®è¨å® Apacheã¯Fedora7ã«æ¨æºã§å ¥ã£ã¦ã
ååã®è¨äºã«ç¶ããLinux 㧠C# ã¢ããªã±ã¼ã·ã§ã³ãå®è¡ããããã¨ãã§ãããªã¼ãã³ã½ã¼ã¹ã® .NET Framework ã§ãã "Mono" ãã¤ã³ã¹ãã¼ã«ããæ¹æ³ãç´¹ä»ããã ååã¯ãLinux 㧠C# ãå®è¡ããæ¹æ³ã説æããã ä»åã¯ãLinux 㧠ASP.NET ãå®è¡ããæ¹æ³ã説æããã ããã§ã¯ãCentOS 5.5 x64 ãä¾ã«ã¨ãã説æãé²ããã [http://mono-project.com/] ã¸ã¢ã¯ã»ã¹ã[download] ãé¸æããã [1. Select Platform] ããã[RHEL/CentOS] (ä»»æ) ãé¸æããã 表示ãããMono 2.8.1 Downloads (stable) ãã¦ã³ãã¼ããµã¤ãã¸ç§»åãã以ä¸ã®ãã¡ã¤ã«ããã¦ã³ãã¼ããã¦ããã mono-addon-data-2.6.7-6.1.x86_64.rpm mon
å åã®è¨äºã§ã¯ã"Mono" ã使ããLinux 㧠ASP.NET ãå®è¡ããæ¹æ³ãç´¹ä»ããã å åã®è¨äºã§ã¯ãxsp Web ãµã¼ãã¼ã使ãããã¢ããã°ã©ã ãå®è¡ããã ä»åã®è¨äºã§ã¯ãWeb ãµã¼ãã¼ã®å¤§æ¬å½ã§ãã "Apache HTTP Server" ä¸ã§ãASP.NET ãåä½ãããæ¹æ³ãç´¹ä»ããã ãã¡ãããOS ã¯ãåååæ§ã« Linux ãç¨ããã ããã§ã¯ãCentOS 5.5 x64 ãä¾ã«ã¨ãã説æãé²ããã 以éã®æé ã¯ãå åã®è¨äºãLinux 㧠ASP.NET ãå®è¡ããæ¹æ³ã®æé ãçµãã¦ãããã¨ãåæã¨ããã [http://mono-project.com/] ã¸ã¢ã¯ã»ã¹ã[download] ãé¸æããã [1. Select Platform] ããã[RHEL/CentOS] (ä»»æ) ãé¸æããã 表示ãããMono 2.8.1 Download
å åã¯ãLinux ã® Apache 㧠ASP.NET ãå®è¡ããæ¹æ³ãç´¹ä»ããã ä»åã¯ãLinux ã® Apahce ã§Â ASP.NET ã«ã¹ã¿ã ã¢ããªã±ã¼ã·ã§ã³ãåä½ãããæ¹æ³ã«ã¤ãã¦ç´¹ä»ããã ããã§ã¯ãCentOS 5.5 x64 ãä¾ã«ã¨ãã説æãé²ããã ã¾ããç°å¢ã¯ããLinux ã® Apache 㧠ASP.NET ãå®è¡ãããã®æé ã«æ²¿ã£ã¦ã»ããã¢ããæ¸ã¨ããã AutoHosting ã®è¨å®ãè¡ããMono 1.1.10 ãã以åã®ãã¼ã¸ã§ã³ã§ã¯ãASP.NET ã¢ããªã±ã¼ã·ã§ã³ããã¹ãããæ¯ã« Apache ã®æ§æãã¡ã¤ã«ãæåã§å¤æ´ããå¿ è¦ããã£ãããMono 1.1.10 以éã®ãã¼ã¸ã§ã³ã§ã¯ããã® AutoHosting ã使ããã¨ã«ãããASP.NET ã¢ããªã±ã¼ã·ã§ã³ãç°¡åã«ãã¹ãã§ããã [root@centkun ~]# vi /etc/httpd
以åã« Linux ç°å¢ã§ ASP.NET ãå®è¡ããã«ã¯ã¨ããè¨äºãæ¸ããã®ã§ããããã®è¨äºã§ã¯ RPM ããã±ã¼ã¸ããã¤ã³ã¹ãã¼ã«ããæé ã«ãªã£ã¦ããçºãyum ããã¤ã³ã¹ãã¼ã«ããæé ãã¡ã¢ãã¦ããã¾ãããã ãåºæ¬çã«ã¯ Usa*Usaæ¥è¨ããã® CentOS ä¸ ã§ Mono ã使ã£ã¦ Razor ãåããããã¬ã¼ã¹ãã¦ããã ãã§ãã®ã§ããã¡ããã覧ã«ãªã£ãæ¹ãè¯ãã§ãã ä½æ¥ç°å¢ã¯ CentOS 5 ç³»ï¼64bitï¼ãå©ç¨ãã¦ãã¾ãã ã¤ã³ã¹ãã¼ã« Novell ã®ãµã¼ãã yum ã¬ãã¸ããªã«è¿½å ããçºãæ°è¦ã« /etc/yum.repos.d/mono.repo ã¨ãããã¡ã¤ã«ã以ä¸ã®å 容ã§ä½æãã¾ãã [mono] name = novell-mono baseurl=http://ftp.novell.com/pub/mono/download-stable/RHEL_5
Linux ç°å¢ã§ã mono ãã¤ã³ã¹ãã¼ã«ãããã¨ã§ .NET ãå©ç¨åºæ¥ãããã«ãªãã¾ãããæ´ã« xsp ã mod_mono ãã¤ã³ã¹ãã¼ã«ãããã¨ã§ ASP.NET ãå©ç¨åºæ¥ãããã«ãªãã¾ããmono 㯠WindowsãMac OS XãopenSUSEãSolarisãRedhat ãªã©ãå種ãã©ãããã©ã¼ã ã«æä¾ããã¦ãã¾ããããã§ã¯ CentOS 5.5 (64bitï¼ã¸ã®ã¤ã³ã¹ãã¼ã«ãåæã«ãã¾ããã¾ããå¿ è¦ã«å¿ã㦠iptables ã SELinux ã®è¨å®ã調æ´ãã¦ãããApache ãã¤ã³ã¹ãã¼ã«æ¸ã¿ã¨ãã¾ãã ã¤ã³ã¹ãã¼ã« CentOS åãã® mono ããã±ã¼ã¸ã¯ Novell ã®ãµã¤ãã§æä¾ããã¦ãã¾ããNovell ã®ãµã¤ããã wget ããrpm ã§ã¤ã³ã¹ãã¼ã«ãã¾ããwget ã®ãªãã·ã§ã³ã®æå³ã§ããã"-A rpm" ã¯ãæ¡å¼µåã rpm ã«
åç·¨ã§ã¯ãMonoãçã¾ããèæ¯ããMonoã®ã¤ã³ã¹ãã¼ã«æ¹æ³ãMonoã§ç¨æããã¦ããC#ã³ã³ãã¤ã©ã¨VB.NETã³ã³ãã¤ã©ãªã©ã«ã¤ãã¦è§£èª¬ãããå¾ç·¨ã¨ãªãä»åã§ã¯ãLinuxã¨Windowsã®ç°ãªã2ã¤ã®ç°å¢ã§ã³ã³ãã¤ã«ããå®è¡ãã¡ã¤ã«ã®äºææ§ãå®è¡é度ã®æ¤è¨¼ãããã¦Monoä¸ã§ã®ASP.NET Webã¢ããªã±ã¼ã·ã§ã³ã®åä½ã«ã¤ãã¦ã¬ãã¥ã¼ããã ãã¤ããªã®äºææ§ãæ¤è¨¼ãã C#ãVisual Basic .NETäºæã®MonoBASICã³ã³ãã¤ã©ã«ããçæãããå®è¡ãã¡ã¤ã«ï¼.exeãã¡ã¤ã«ï¼ããLinuxä¸ã§ç´æ¥å®è¡ã§ããªããã¨ã¯åç·¨ã§èª¬æãããå®è¡ã«ã¯ãmonoã³ãã³ããçµç±ãã¦èµ·åããå¿ è¦ãããããªããã³ã³ãã¤ã©ã¯ç´æ¥èµ·åã§ããå®è¡ãã¡ã¤ã«ãçæããªãã®ã ãããããã®æ¹ããã£ã¨ä½¿ãåæãè¯ãããã«æãããããããè¡ããªããã¨ã«ãã©ã®ãããªçç±ãããã®ã ãããã ãã®çç±ã¯ãMo
Apache ã¸ã® mod_mono ã®å°å ¥ã«ã¤ãã¦ã apache2 ããã±ã¼ã¸ï¼2.2.11-2ubuntu2.2ï¼ Mono 2.4.2.3 + xsp 2.4.2 + mod_mono 2.4.2 ã¨ããç°å¢ã§ãmod_mono ãã½ã¼ã¹ãããã«ããã¤ã³ã¹ãã¼ã«ãè¡ã£ãå ´åãã/etc/apache2ããã£ã¬ã¯ããªã«ãmod_mono.confããã³ãã¼ãããããããããã®ã¾ã¾ä½¿ãããUbuntu ã§ã® Apache è¨å®ã«ãªãããåå²ãã¾ããç°å¢å¤æ°ã®è¿½å ãè¡ãã以ä¸ã«åè¨å®ãåæã ã/etc/apache2/envvarsãï¼ç°å¢å¤æ°ã®è¨å® # envvars - default environment variables for apache2ctl # Since there is no sane way to get the parsed apache2 config
ããã« ASP.NET ã®è§£èª¬ãè¼ãã¦ããã¾ããASP.NET ã®è§£èª¬ãæ¢ãã¦ããããæ¤ç´¢ããã¨ãIT æè¡è åãã®è©³ãããã®ã°ãããç®ç«ã¤ã®ã§ã軽ãæµ ã説æãç¨æãã¾ãã 対象èªè éè·æ¥ããã°ã©ãã®æ¹ã§ãã¢ã³ã±ã¼ãã注æåä»ã®ãã©ã¼ã ãããç¨åº¦èªåã®èªç±ã«ä½ãããã¨ãèãã®æ¹ã åææ¡ä»¶ (ç¥èã»ã¹ãã«ã»ç©) ã¤ã³ã¿ã¼ãããæ¥ç¶å¯è½ãªãã½ã³ã³ãèªç±ã«ä½¿ãããã¨ã Internet Explorer ã Firefox çããã©ã¦ã¶ã®ä½¿ãæ¹ãããããã¨ã ã¡ã¢å¸³çãããã¹ã ã¨ãã£ã¿ã使ã£ã¦ HTML ææ¸ãä½æã§ãããã¨ã ä½æãã HTML ææ¸ã FTP ã½ããã使ã£ã¦ãµã¼ãã¼ã«ã¢ãããã¼ãããçµé¨ããããã¨ã ç®æ¬¡ é çªéãã«ãèªã¿ãã ããã (1) ASP.NET ã¨ã¯ (2) æåã® ASP.NET ãã¼ã¸ãä½ã (3) ã©ãã« ã³ã³ããã¼ã«ã使ã (4) ã¨ã©ã¼ã®è©³ç´°ããã©
ASP.NET å ¥éãµã¤ã ãã®ãµã¤ãã§ã¯ãã¤ã¯ãã½ããã® Web ã¢ããªã±ã¼ã·ã§ã³éçºãã¬ã¼ã ã¯ã¼ã¯ã§ãã ASP.NET 㧠Web ãµã¤ããéçºããæ¹æ³ã«ã¤ãã¦è§£èª¬ãã¾ãã ãã¤ã¯ãã½ããã®ãã¬ã¼ã ã¯ã¼ã¯ã¯ãHTMLãJavaScriptãHTTP ãªã©ã®å種ãã¯ããã¸ã¼ã«ç²¾éãã¦ããªãã¦ããé常ã®ãã¹ã¯ãããã®ããã°ã©ã ãéçºããã®ã¨åããããªæè¦ã§éçºã§ããããã«è¨è¨ããã¦ãã¾ãã ãã®ãããåå¿è ã§ãç´ æ©ã使ããããã°ã©ã ãéçºããããã¨å¤§å¤è©å¤ãè¯ãã§ããã¾ãããã¤ã¯ãã½ããã®ãã¯ããã¸ã¨ãããã¨ã§ã å½ç¶ãªãã Windows ã Windows ã®æ¨æº Web ãµã¼ãã¼ã§ãã IIS (Internet Information Services) ä¸ã§å¿«é©ã«åä½ãã¾ãã çè 㯠ASP.NET ãç»å ´ããå½æãã¤ã¯ãã½ããã«å¨ç±ãã¦ããã IIS ã ASP.NET ãç´
Mono has an implementation of ASP.NET, ASP.NET MVC and ASP.NET AJAX. Quick Resources: ASP.NET FAQ for common questions on ASP.NET. Hosting on Apache servers. Hosting with FastCGI-based servers. Hosting with CGI-based servers. Hosting with Nginx. Porting ASP.NET applications. Monoâs ASP.NET implementations supports two kinds of applications: Web Forms (Web Applications infrastructure). Web Services
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}