ããã€ãã®èå³æ·±ãäºå®
Platformusã¯ãç¡æã®ãªãŒãã³ãœãŒã¹ã³ã³ãã³ã管çã·ã¹ãã ã§ãã ã¯ãã¹ãã©ãããã©ãŒã ã§ãã¢ãžã¥ãŒã«åŒã§æ¡åŒµå¯èœã§ãã ãã®äžã®ããŒã¿ã¯ãã¯ã©ã¹ã«ãã£ãŠèšè¿°ããããªããžã§ã¯ãã®åœ¢åŒã§è¡šç€ºãããŸãã å€èšèªããµããŒããããŠããŸãã
CïŒã§CMSãäœæã ASP.NET Coreã®æ©èœã®ãããã§ãASP.NET Coreã¯WindowsãLinuxãMacã§ãåæ§ã«æ©èœããŸãã .NET Coreäžã®ã¢ããªã±ãŒã·ã§ã³ã®æäœã«å¿ èŠãªå®è¡å¯èœç°å¢èªäœã¯ãåå¥ã«ã€ã³ã¹ããŒã«ããããã¢ããªã±ãŒã·ã§ã³èªäœã«çŽæ¥çµ±åã§ããŸãã WebãµãŒããŒãšããŠãIISãŸãã¯Kestrelã䜿çšã§ããŸãïŒ2çªç®ã®å Žåãã¢ããªã±ãŒã·ã§ã³ã¯ããèªäœã®WebãµãŒããŒã«ãªããç¬ç«ããŠåäœããããIISãŸãã¯Nginxãªã©ã®ã³ã³ãããŒã«çµã¿èŸŒãŸããŸãïŒã çŸåšãããŒã¿ãŠã§ã¢ããŠã¹ãšããŠãMicrosoft SQL ServerãSQLiteãããã³PostgreSQLããµããŒããããŠããŸãã äžèšã®ãã¹ãŠãèãããšããµãŒãããŒãã£ããŸã£ããå¿ èŠãšããªãæ§æãååŸã§ããŸããã³ããŒãå®è¡ã䜿çšããŸãïŒããšãã°ããã¹ãã«äŸ¿å©ã§ãïŒã
ïŒèšäºã«ã¯æ°åã®ã¹ã¯ãªãŒã³ã·ã§ããããããŸããïŒ
éãã
ASP.NET Coreã䜿çšããããšããªãå Žåã¯ããã®ããã«å¿ èŠãªãã¹ãŠãžã®ãªã³ã¯ããããŸãã
ãã®ããã çŽæ¥ãªã³ã¯ ïŒã9 MBïŒãä»ããŠPlatformusã®10çªç®ã®ã¢ã«ãã¡ãå«ãã¢ãŒã«ã€ããããŠã³ããŒãããŸãã é梱ããŸãã ïŒãªãã·ã§ã³ãšããŠãèšäºã§èª¬æãããŠãããã¹ãŠã®ã¹ããããç¬ç«ããŠå®è¡ããªãããã«ãæ¢è£œã®ãã¢ãããŠã³ããŒãã§ããŸãããã¢ãžã®ãªã³ã¯ã¯èšäºã®æåŸã«ãããŸããïŒ
ã¢ããªã±ãŒã·ã§ã³ãèµ·åããã«ã¯ãã³ãã³ãã©ã€ã³ã§2ã€ã®ã³ãã³ããå®è¡ããå¿ èŠããããŸãïŒçŸåšWindowsç°å¢ã§äœæ¥ããŠãããšä»®å®ããŸãïŒã
cd dotnet webapplication.dll
çµæã¯æ¬¡ã®ããã«ãªããŸãã
ãã©ãŠã¶ãéãã httpïŒ// localhostïŒ5000 /ã«ç§»åããŸã ã
Platformusã¯åäœããŸãïŒ ã¹ã¿ãããŒãžäžã®å¯Ÿå¿ãããªã³ã¯ãã¯ãªãã¯ããŠãããã¯ãšã³ãïŒç®¡çè ïŒã«ã¢ã¯ã»ã¹ããWebãµã€ãã®å ¥åãå§ããŸãããã
ããŒã¿æ§é ã®èª¬æ
åè¿°ããããã«ãPlatformusã®ããŒã¿ã¯ãªããžã§ã¯ããšããŠè¡šãããŸãã ããšãã°ãããŒãžã¯ãªããžã§ã¯ãã§ãã ããŒãžã«ãã¥ãŒã¹ã®ãªã¹ãã衚瀺ããå Žåãåãã¥ãŒã¹ã¯ããªãã·ã§ã³ã§ãç¬èªã®åå¥ã®ããŒãžãæã€åå¥ã®ãªããžã§ã¯ãã«ããªããŸãïŒãªããžã§ã¯ãã¯èªåŸåã§åã蟌ã¿å¯èœã§ãïŒã
ãªããžã§ã¯ãã¯ã¯ã©ã¹ã«ãã£ãŠèšè¿°ãããŸãã åã¯ã©ã¹ã¯ãã¯ã©ã¹ã®ã¡ã³ããŒã«ãã£ãŠèšè¿°ããããã®ã¯ã©ã¹ã®ãªããžã§ã¯ãã®ããããã£ãŸãã¯é¢ä¿ãããã³ããŒã¿ãœãŒã¹ãè¡šããŸãã ããã©ã«ãã§ã¯ãããŒã¿ããŒã¹ã«ã¯ãã§ã«ããŒã¹ããŒãžãšããŒãžã®2ã€ã®ã¯ã©ã¹ããããŸãã 1ã€ç®ã¯æœè±¡çã§ãèŠåºããMETA-descriptionãMETA-keywordsãªã©ã®åºæ¬çãªããŒãžããããã£ãå«ãŸããŠãããSEOã¿ãã«ã°ã«ãŒãåãããŠããŸãã ã»ãšãã©ã®èªåŸåãªããžã§ã¯ãã«ã¯ãããã®ããããã£ãå¿ èŠã§ãããããã£ãŠãåã¯ã©ã¹ã§ããããã£ãè€è£œããªãããã«ããã«ã¯ã察å¿ããã¯ã©ã¹ãããŒã¹ããŒãžããç¶æ¿ããã ãã§ååã§ãã 2çªç®ã®ã¯ã©ã¹ã¯ãHTMLã³ã³ãã³ããå«ãéåžžã®ããŒãžãè¡šããŸãã åºæ¬ããŒãžããç¶æ¿ããã1ã€ã®è¿œå ããããã£-ã³ã³ãã³ãããããŸãã ããã©ã«ãã®ã¯ã©ã¹ãªã¹ãã¯æ¬¡ã®ããã«ãªããŸãã
ã¯ã©ã¹
CMSã®å€ãã®æ©èœã瀺ãããšãã§ããäŸãšããŠãWebãµã€ãã«ãã¥ãŒã¹ã»ã¯ã·ã§ã³ãè¿œå ããŸãããã åãã¥ãŒã¹ã«ã¯ã¿ã°ãä»ãããã詳现æ å ±ãå«ãç¬èªã®ããŒãžããããŸãã æåã«ãNews Pageã¯ã©ã¹ãäœæããŸãã
åãã¥ãŒã¹ããŒãžã«ã¯ã¿ã€ãã«ãMETA-descriptionãMETA-keywordsãå¿ èŠãªã®ã§ã芪ã¯ã©ã¹ããããããŠã³ãªã¹ãã§éžæããããšã«ãããããŒã¹ããŒãžããã¯ã©ã¹ãç¶æ¿ããŸãã 次ã«ãã¯ã©ã¹ã®ååãåæ°åœ¢ãšè€æ°åœ¢ã§ç€ºããŸãã ããŒãžãšããåèªãè¿œå ããå¿ èŠã¯ãããŸããããããããããæ確ã«ã Is standaloneãã©ã°ãèšå®ããŸããã€ãŸãããã®ã¯ã©ã¹ã®ãªããžã§ã¯ãã¯èªåŸçã§ãïŒã€ãŸããç¬èªã®URLãæã¡ãŸãïŒã ãããŠæåŸã«ãã¯ã©ã¹ã®å°æ¥ã®ãªããžã§ã¯ãã®ããã©ã«ããã¥ãŒã®ååã瀺ããŸãã ä¿åãã¯ãªãã¯ããŸãã ãã¥ãŒã¹ããŒãžã¯ã©ã¹ãäœæããããªã¹ãã«è¿œå ãããŸããã
次ã«ãå¥ã®ã¯ã©ã¹-ã¿ã°ãäœæããŸãã ä»åã¯ãªããžã§ã¯ããã€ã³ã©ã€ã³ã«ãªãããã芪ã¯ã©ã¹ãéžæããââãIs standaloneãã©ã°ãèšå®ããŸããã ãŸããããã©ã«ãã®ãã¥ãŒåãæå®ããå¿ èŠã¯ãããŸããã
ã¯ã©ã¹ã®ã¡ã³ããŒ
次ã«ãNews Pageã¯ã©ã¹ã®ã¡ã³ããŒãå®çŸ©ããŸãã 察å¿ããè¡ã®[ã¡ã³ããŒ]ãªã³ã¯ãã¯ãªãã¯ããŠã空ã®ãªã¹ãã«ç§»åããŸãïŒããŒã¹ããŒãžããç¶æ¿ãããã¯ã©ã¹ã¡ã³ããŒã¯ããã«ã¯è¡šç€ºãããŸããïŒã
ã¯ã©ã¹ã¡ã³ããŒã«ã¯ãããããã£ãšãªã¬ãŒã·ã§ã³ã·ããã®2çš®é¡ããããŸãã
ããããã£å€ã¯ãããããã£ã®ããŒã¿åã«å¿ããŠãããŸããŸãªãšãã£ã¿ãŒã«ãã£ãŠç·šéããããã¬ãŒã³ããã¹ãã§ãã ããšãã°ãåäžè¡ããã¹ããè€æ°è¡ããã¹ããHTMLããŸãã¯ç»åããããŸãïŒåŸè ã®å Žåãããããã£å€ã¯ç»åURLã§ãïŒã ããããã£ã¯ãªãã·ã§ã³ã§ããŒã«ã©ã€ãºã§ããŸãïŒã€ãŸãããã®å€ã¯ã«ã«ãã£ïŒèšèªïŒã«ãã£ãŠç°ãªããŸãïŒã ãã®å Žåãåã«ã«ãã£ã®ããããã£ãç·šéãããšãã«ãåå¥ã®ãšãã£ã¿ãŒã衚瀺ãããŸãã ãŸãã察å¿ããã¯ã©ã¹ã®ãªããžã§ã¯ãã®ãªã¹ãã«ããŒããããã£ã®å€ã衚瀺ããããšãã§ããŸãã
é¢ä¿å€ã¯ãæå®ãããã¯ã©ã¹ã®å¥ã®ãªããžã§ã¯ããŸãã¯ä»ã®ãªããžã§ã¯ãã§ãã ãŸããããã¯ã©ã¹ã®1ã€ã®ãªããžã§ã¯ããå¥ã®ã¯ã©ã¹ã®1ã€ã®ãªããžã§ã¯ãã«ã®ã¿é¢é£ä»ããããšãã§ããå ŽåïŒããšãã°ãèšäºã1ã€ã®ã«ããŽãªã«ã®ã¿å«ããããšãã§ããå ŽåïŒããããã®ãåããªããžã§ã¯ããã芪ãã«å¯ŸããŠã°ã«ãŒãåã§ããŸãã ããã¯å°ããããã«ãããããããŸããã èšäºã®æåŸã«ããã®ææ³ã䜿çšãããŠããGitHubã®äŸãžã®ãªã³ã¯ããããŸãã
æåã«ãNameããããã£ïŒãã¥ãŒã¹ã®ååïŒã«ã€ããŠèª¬æããŸãã
[å šè¬]ã¿ãã§ãã¯ã©ã¹ã¡ã³ããŒã®ã³ãŒããååãããã³äœçœ®ã瀺ããŸãã ã³ãŒãã«ãã£ãŠãããããã£ã®å€ïŒãªã³ã¯ã§ã¯ãªãïŒïŒãåãåããŸãããªããžã§ã¯ãã®ååã¯ãããããã£ãŸãã¯ãªã³ã¯ãšãã£ã¿ãŒã«è¡šç€ºãããäœçœ®ã«ãã£ãŠãããã®ãšãã£ã¿ãŒã®é åºã決ãŸããŸãã
[ããããã£]ã¿ãã§ãããããã£ã®ããŒã¿åãæå®ããŸãã ã¿ã€ãã«ã«ã¯ã[åäžè¡ã®ãã¬ãŒã³ããã¹ã-åäžè¡ã®ãã¬ãŒã³ããã¹ã]ãéžæããŸãã ãã¥ãŒã¹ã®ååã¯æåã«ãã£ãŠç°ãªãããããã©ã°Isããããã£ãããŒã«ã©ã€ãºå¯èœã«èšå®ããŸãã ãŸããååã¯ããŒããããã£ãªã®ã§ããã®ããããã£ã®å€ãNews Pageã¯ã©ã¹ã®ãªããžã§ã¯ãã®ãªã¹ãã«è¡šç€ºãããããã«ãIsããããã£ããªã¹ãã«è¡šç€ºãã©ã°ãèšå®ããŸãã
é¢ä¿ã§ã¯ãªãããããã£ã説æããŠããããã[é¢ä¿]ã¿ãã«ã¯ã¢ã¯ã»ã¹ããŸããã [ä¿å]ãã¯ãªãã¯ãããšãæ°ããã¯ã©ã¹ã¡ã³ããŒãè¿œå ãããŸããã
次ã«ããã¬ãã¥ãŒããããã£ïŒãã¥ãŒã¹ãªã¹ãã«è¡šç€ºãããçããã¥ãŒã¹ããã¹ãïŒã«ã€ããŠãåæ§ã«èª¬æããŸãã ãã¬ãã¥ãŒã«ã¯ã¿ã€ãã«ãããå€ãã®ããã¹ãããããããããããã£ããŒã¿ã¿ã€ããšããŠ[ãã«ãã©ã€ã³ãã¬ãŒã³ããã¹ã]ãéžæããä»åã¯[ãªã¹ãã«è¡šç€º]ããããã£ã¯èšå®ãããŸããã ããã«ãåãæ¹æ³ã§ããã¥ãŒã¹ã®ã¡ã€ã³ã³ã³ãã³ãã§ããã³ã³ãã³ããè¿œå ããŸãã ã³ã³ãã³ããç°¡åã«ãã©ãŒãããã§ããããã«ãHtmlããŒã¿ã¿ã€ããéžæããŸãã
æåŸã«è¿œå ãããããããã£ã¯ããã¥ãŒã¹ã®èª¬æã§ãã ãã¹ãŠã¯ä»ã®ããããã£ãšãŸã£ããåãã§ãããããŒã¿åãšããŠImageãéžæããIsããããã£ã®ããŒã«ã©ã€ãºå¯èœãã©ã°ãèšå®ããªãã§ãã ããããã®å³ã¯çŸåšã®ã«ã«ãã£ã«äŸåããªãããã§ãã
次ã«ããã¥ãŒã¹ã®ã¿ã°ãæå®ã§ããããã«ãã¯ã©ã¹ã®Tagã¯ã©ã¹ãžã®ãªã³ã¯ãè¿œå ããŸãããã
[å šè¬]ã¿ãã§ã¯ããã¹ãŠãããªãã¿ã§ãã ãã®æéã[é¢ä¿]ã¿ãã«æž¡ããŸãã
[ãªã¬ãŒã·ã§ã³ã¯ã©ã¹]ããããããŠã³ãªã¹ãã§ããã¥ãŒã¹ããŒãžã¯ã©ã¹ã®ãªããžã§ã¯ãã«ãªããžã§ã¯ããã¢ã¿ããããã¯ã©ã¹ãéžæããŸãã
ãã¹ãŠãä»ã§ã¯ãã¹ãŠãæºåãã§ããŠããŸãã 次ã®ããã«ãªããŸãã
åæ§ã«ãTagã¯ã©ã¹ã®å¯äžã®ããããã£ã§ããNameã«ã€ããŠèª¬æããŸãã ïŒãã©ã°Isããããã£ã¯ããŒã«ã©ã€ãºå¯èœã§ãããIsããããã£ã¯ãªã¹ãã§è¡šç€ºå¯èœã«èšå®ããå¿ èŠãããããšãæãåºããŠãã ãããïŒ
ããŒã¿ãœãŒã¹
ãã¥ãŒã¹ããŒãžãšã¿ã°ã®é¢ä¿ã«ã€ããŠèª¬æããŸããããã¿ã°ã¯ã©ã¹ã®ã¢ã³ã«ãŒãªããžã§ã¯ãã«ã¯ããã¥ãŒã¹ããŒãžã¯ã©ã¹ã®å¯Ÿå¿ãããªããžã§ã¯ããèªã¿èŸŒãŸããŸããã ãããè¡ãã«ã¯ãNews Pageã¯ã©ã¹ã«ããŒã¿ãœãŒã¹ãè¿œå ããå¿ èŠããããŸãã ããŒã¿ãœãŒã¹ã¯ãã©ã®ãªããžã§ã¯ããçŸåšã®ãªããžã§ã¯ããšã©ã®ããã«ããŒãããããã決å®ããŸãã ããšãã°ããã¥ãŒã¹ãªããžã§ã¯ããšè€æ°ã®ã¿ã°ãªããžã§ã¯ãã®éã«ãªã³ã¯ãããå Žåããªã³ã¯ã«äŸåããŠããŒã¿ãœãŒã¹ã䜿çšãããšããã¹ãŠã®ãã¥ãŒã¹ã¿ã°ãšãã¹ãŠã®ã¿ã°ãã¥ãŒã¹ãèªã¿èŸŒãããšãã§ããŸãã ãŸããçŸåšã®ãªããžã§ã¯ããšã®æ¥ç¶ããªãå Žåã§ããªããžã§ã¯ããããŒãã§ããŸãã ããšãã°ãã¡ã€ã³ããŒãžã«ãã¥ãŒã¹ã衚瀺ããŸãã ãã¹ãŠã®ããŒã¿ãœãŒã¹ã¯ãIDataSourceã€ã³ã¿ãŒãã§ã€ã¹ãå®è£ ããCïŒã¯ã©ã¹ã«ãã£ãŠèšè¿°ãããæ°ããã¯ã©ã¹ãè¿œå ã§ããŸãã ããšãã°ãããŒãžããšã«10ã®å èš³ãæã€100ã®ææ°ãã¥ãŒã¹ã衚瀺ããããŒã¿ãœãŒã¹ãè¿œå ã§ããŸãã ãŸãã¯ããªã³ã©ã€ã³ã¹ãã¢ã®æã人æ°ã®ãã補åã衚瀺ããããŒã¿ãœãŒã¹ã 䟿å©ãªããšã«ãçµæãšããŠããã¹ãŠã®ããŒã¿ã¯åäžã®ãªããžã§ã¯ãã«ã°ã«ãŒãåãããŸããããã¯ããã¬ãŒã³ããŒã·ã§ã³ã®ã¢ãã«ã§ãã ããã¯ãMVCã®ç²Ÿç¥ã«å®å šã«æºæ ããŠããŸãã
ãããã£ãŠãã¯ã©ã¹ã®ãªã¹ãã«æ»ããã¯ã©ã¹è¡ã®ãã¥ãŒã¹ããŒãžã®ããŒã¿ãœãŒã¹ã®ãªã³ã¯ãã¯ãªãã¯ããŸãã æ°ããããŒã¿ãœãŒã¹ãè¿œå ããŸãã
次ã®ãªã¹ããä¿åããŠååŸããŸãã
ã³ã³ãã³ãå å¡«
ããŠãããªãã¯ç§ãã¡ã®ãŠã§ããµã€ããã³ã³ãã³ãã§åããããšã«çŽæ¥é²ãããšãã§ããŸãã [ãªããžã§ã¯ã]ã»ã¯ã·ã§ã³ã«ç§»åããŸãã
ãã¹ãŠã®ãªããžã§ã¯ãã¯ãã¹ã¿ã³ãã¢ãã³ãšåã蟌ã¿ã®2ã€ã®ã°ã«ãŒãã«åããããŸãã ãããã®ã°ã«ãŒãå ã§ã¯ãã¯ã©ã¹ããšã«è¡šç€ºãããŸãã News Pageã¯ã©ã¹ã®ãªããžã§ã¯ãã«ã¯Tagã¯ã©ã¹ã®ãªããžã§ã¯ããå¿ èŠã§ãããããTagã¯ã©ã¹ã®ãªããžã§ã¯ããå ¥åãå§ããŸãã
æåã®ãªããžã§ã¯ããäœæããŸãã
ã芧ã®ãšããããªããžã§ã¯ããç·šéããããã®ããŒãžã¯éåžžã«ã·ã³ãã«ã§ããã¥ãŒåïŒåã蟌ã¿ãªããžã§ã¯ãã®å Žåã¯ã空çœã®ãŸãŸã«ããŠãåŸããããã¯ãšã³ããããã¥ãŒãå€æŽããå¿ èŠããªãå Žåã¯èŠªãã¥ãŒã§ããŒãã³ãŒãããããšãã§ããŸãïŒãšååã®2ã€ã®ãã£ãŒã«ãã®ã¿ãå«ãŸããŠããŸãã Tagã¯ã©ã¹ã§èª¬æããNameããããã£ã ã¿ã°ãäœæããŠã¿ãŸãããã次ã®ããã«ãªããŸããã
æåŸã«ããã¥ãŒã¹ã«ç§»ããŸãããã News Pageã¯ã©ã¹ã®ãªããžã§ã¯ããäœæããŸãã ãã§ã«ä»ã®ãã£ãŒã«ãããããŸãïŒ
ImageããŒã¿åã®ããããã£ã®å Žåããã®ããŒãããŒããŒããªããŒã䜿çšããŠç»åãããŠã³ããŒããããŸãïŒçŸåšãASP.NET Coreã§ã®ç»åã®æäœã¯ãŸã ãµããŒããããŠããªãããããµãŒããŒã§ã®å®éã®ããªãã³ã°ã¯çºçãããç»åã¯ãã®ãŸãŸå€éšã«ä¿åãããŸãéžæãããšãªã¢ã«å¿ããŠïŒïŒ
ãããŠãããã«ãªã³ã¯ãšãã£ã¿ãŒããã®å Žåã®ã¿ã°ã®éžæããããŸãïŒ
ãããããæ確ã«ããããã«ãããã«ããã€ãã®ãã¥ãŒã¹ãäœæããæçµçã«äœããã¹ããããè©ŠããŠã¿ãŸãããã ãã®åã«ã«ã«ãã£ã®èå¥åãè¿œå ããåŸããã¥ãŒã¹ã®URLã®1ã€ã«ç§»åããŸãïŒ httpïŒ// localhostïŒ5000 / ja / news / 2016-olympic-games ã ãããŠ... 500çªç®ã®ãšã©ãŒãçºçããŸãã ã³ã³ãœãŒã«ãèŠããšããªããžã§ã¯ãã®NewsPageãã¥ãŒãäœæããŠããªãããšãæããã«ãªããŸãã
ãã¥ãŒãšæçµçãªã«ã¹ã¿ãã€ãº
ãã¥ãŒã¹ããŒãžã®ãã¬ãŒã³ããŒã·ã§ã³ãäœæããŠã¿ãŸãããã ã¢ããªã±ãŒã·ã§ã³ã®\ Views \ Defaultãã©ã«ãã«è¡ããŸãããã ããã§ã¯ãPage.cshtmlïŒã¡ã€ã³ããŒãžïŒã®å¯äžã®ãã¥ãŒã衚瀺ãããŸãã ãããã³ããŒããNewsPage.cshtmlã®ã³ããŒãåŒã³åºããŠãããã¹ããšãã£ã¿ãŒã§ç·šéããããã«éããŸãã
ãã€ãããã¯ã¯ãã¬ãŒã³ããŒã·ã§ã³ã¢ãã«ã®ããŒã¿åãšããŠæå®ãããŸãããå®éã«ã¯ãNews Pageã¯ã©ã¹ã®ãªããžã§ã¯ãã®ããŒã¿ãå«ãCïŒã¯ã©ã¹ObjectViewModelã®ãªããžã§ã¯ãã«ãªãããšã¯èª°ããç¥ã£ãŠããŸãã
ãªããžã§ã¯ãã®ããããã£å€ãžã®ã¢ã¯ã»ã¹ã¯æ¬¡ã®ãšããã§ãã
Model.Properties["MemberCode"].Html
ããŒã¿ãœãŒã¹å ã®ãªããžã§ã¯ããžã®ã¢ã¯ã»ã¹ã¯æ¬¡ã®ãšããã§ãã
Model.DataSources["DataSourceCode"].Objects
ããšãã°ããã®æ¹æ³ã§è¡šçŸãå€æŽããŸãïŒãã¡ãããããã§ã¿ã°ã衚瀺ããããã«å¿ èŠãªããŒã¯ã¢ãããèšè¿°ããã®ã§ã¯ãªãããã®ããã«å¥ã®éšåçãª_Tagè¡šçŸãäœæããæ¹ãããã§ããããåçŽåããã³èŠèŠåã®ããã«ãããè¡ããŸããïŒïŒ
ãã©ãŠã¶ã§ããŒãžãæŽæ°ãããšã次ã®çµæã衚瀺ãããŸãã
ããã¯çŽ æŽãããããã¹ãŠãæ©èœããŸãïŒ ãã¥ãŒã¹ã®ãªã¹ããã¡ã€ã³ã«æã£ãŠããã ãã§ãã ãããè¡ãã«ã¯ã次ã®ããŒã¿ãœãŒã¹ãPageã¯ã©ã¹ã«è¿œå ããŸãã
ã芧ã®ãšãããããŒã¿ãœãŒã¹ã®CïŒã¯ã©ã¹ã¯ä»¥å䜿çšãããã®ãšã¯ç°ãªããŸãã ããã¯ããªããžã§ã¯ãéã®é¢ä¿ãèæ ®ããªããããäžè¬åãããããŒã¿ãœãŒã¹ã§ãã ãŸãã[ãã©ã¡ãŒã¿]ãã£ãŒã«ãã«ã泚æããŠãã ããã ããã¯ããªããžã§ã¯ããããŒãããã¯ã©ã¹ã®èå¥åã§ãã ãã©ãããã©ãŒã ã®çŸåšã®ããŒãžã§ã³ã§ã¯ãããã¯å®å šã«ãšã¬ã¬ã³ãã§ã¯ãªããèŠèŠçãªã»ã¬ã¯ã¿ããããŸããã
次ã«ãã¡ã€ã³ããŒãžã®ãªããžã§ã¯ãã®ç·šéã«é²ã¿ãäžèŠãªã³ã³ãã³ãããã¹ãŠåé€ããŸãã ïŒã³ã³ãã³ãã¯å€æŽãããªãå¯èœæ§ããããŸãããç·šéã®ããã«éããŠãããããŒã¿ãœãŒã¹ãã¯ã©ã¹ã«è¿œå ããåŸã«ãªããžã§ã¯ããä¿åããå¿ èŠããããŸããããããªããšããã®æ å ±ã¯ãã£ãã·ã¥ãªããžã§ã¯ãã«åã蟌ãŸããããã¥ãŒããã¢ã¯ã»ã¹ã§ããŸãããïŒ
ç·šéçšã«Page.cshtmlãã¥ãŒãéãã次ã®ããã«å€æŽããŸãã
ãã©ãŠã¶ã§Webãµã€ãã®ã¡ã€ã³ããŒãžã«ç§»åãããšã次ã®ããã«ãªããŸãã
ãã¹ãŠæºåå®äºã§ãïŒ ãã¡ãããå°ãªããšãã¡ãã¥ãŒãŸãã¯ãã£ãŒãããã¯ãã©ãŒã ãããã«è¿œå ããã®ã¯æ£ããããšã§ããããããè¡ãã®ã¯éåžžã«ç°¡åã§ãïŒä»¥äžã®ãªã³ã¯ãåç §ïŒããããã£ãŠãããã«çŠç¹ãåãããŸããã
ãããã«
次ã®CMSã®éçºãéå§ããåã«èªåã§çããå¿ èŠãããæåã®è³ªåã¯ãããªãïŒãã ãšæããŸãã 詳现ã«è§Šããªãå Žåã¯ãå°ãªããšãASP.NET Coreã«ã¯ãŸã å€ãã®CMSã¯ãããŸããããç§ã¯ãã®ãã©ãããã©ãŒã ãæ¬åœã«å¥œãã§ããã®å°æ¥ãä¿¡ããŠããŸãã
ããªããèå³ãæã£ãŠããããšããããŠè£œåãããã«æ¹åããããã®æ¹å€ãã¢ã€ãã¢ãæèã®ç³§ãåãåãããšãå¿ããé¡ã£ãŠããŸã-ç§ãã¡ã¯ãŸã å§ãŸã£ãã°ããã§ãã ãããããé¡ãããŸãïŒ
ãã®ç¹å®ã®ãããžã§ã¯ãã®ã³ãŒããGitHubã«ã¢ããããŒãããŸããã§ãããããã¯ããã¹ãŠãæåã§å®è¡ããªãããã«ããŠã³ããŒãããŠç¢ºèªã§ããå¥ã®äŸã«éåžžã«äŒŒãŠããããã§ãã