➨ 1 ❶㻌 ASP.NET 䛾ᴫせ 䕔 㼃㼑㼎䜰䝥䝸䜿䞊䝅䝵䞁䛾㛤Ⓨ䡡ᐇ⾜⎔ቃ䜢ᥦ౪㻌 ASP.NET 䛿䚸Web 䜰䝥䝸䜿䞊䝅䝵䞁䜢㛤Ⓨ䛧䛯䜚䚸Web 䝃䞊䝞䞊ୖ䛷ᐇ⾜䛧䛯䜚䛩䜛䛯䜑䛾⎔ቃ 䜢ᥦ౪䛧䜎䛩䚹䛭䛾䛯䜑䚸㛤Ⓨ⪅䛿䚸ADO.NET 䛺䛹.NET Framework 䛜ᥦ౪䛩䜛ᶵ⬟䜢⏝䛧䛶䚸 Web 䜰䝥䝸䜿䞊䝅䝵䞁䜢సᡂ䛩䜛䛣䛸䛜䛷䛝䜎䛩䚹 䕔 㻭㻿㻼㻚㻺㻱㼀䛾ᶵ⬟㻌 䖃 Web 䝣䜷䞊䝮 Web 䝣䜷䞊䝮䜢⏝䛩䜛䛸䚸Windows 䜰䝥䝸䜿䞊䝅䝵䞁䜢సᡂ䛩䜛䛸䛝䛸ྠ䛨䜘䛖䛻䚸䝁䞁䝖䝻䞊䝹 䜢㈞䜚䛡䛶 Web 䜰䝥䝸䜿䞊䝅䝵䞁䜢సᡂ䛩䜛䛣䛸䛜䛷䛝䜎䛩䚹 ᥦ౪䛥䜜䛶䛔䜛䛥䜎䛦䜎䛺䝁䞁䝖䝻䞊䝹䜢⏝䛩䜜䜀䚸䝣䜷䞊䝮䝧䞊䝇䛷 Web 䝨䞊䝆䜢సᡂ䛷䛝䜛 䛯䜑䚸䛣䜜䜎䛷䛾㛤Ⓨᡭἲ䛻ẚ䜉⏕⏘ᛶ䛜ྥୖ䛧䜎䛩䚹 䖃 XML Web 䝃䞊䝡䝇 XML Web 䝃䞊䝡䝇䜢⏝䛩䜛䛸䚸䝛䝑䝖䝽䞊䜽ୖ䛾䝃䞊䝞䞊䛻䝯䝋䝑䝗䜢せồ䛩䜛䛣䛸䛜䛷䛝䜎䛩䚹 DCOM 䛻ఝ䛶䛔䜎䛩䛜䚸HTTP 䜔 SOAP䚸XML 䛺䛹䚸䜲䞁䝍䞊䝛䝑䝖ᶆ‽䛾ᢏ⾡䜢⏝䛧䛶䛔䜛䛸䛣 䜝䛜␗䛺䜚䜎䛩䚹 䛣䛾䛯䜑䚸䝣䜯䜲䜰䜴䜷䞊䝹䜢㉸䛘䛯䚸䜲䞁䝍䞊䝛䝑䝖ୖ䛾䝃䞊䝞䞊䛾䝁䞁䝫䞊䝛䞁䝖䜢⏝䛩䜛䛣 䛸䛜ྍ⬟䛸䛺䜚䜎䛩䚹ᴗ㛫䛷 Web 䝃䞊䝡䝇䜢⏝䛧䛒䛘䜀䚸」ᩘ䛾ᴗ䛾䝅䝇䝔䝮䜢⤫ྜ䛧䛯䜚䚸 䛭䜜䛮䜜ᙉ䜏䜢ᣢ䛴ᴗ䛾䝅䝇䝔䝮䜢㐃ᦠ䛥䛫䛯䜚䛧䛶䚸䜘䜚㧗ᗘ䛺䝅䝇䝔䝮䜢ᵓ⠏䛩䜛䛣䛸䛜䛷䛝 䜎䛩䚹 㻌 㻠㻌 ➨ 1 ❶㻌 ASP.NET 䛾ᴫせ 䕔 㛤Ⓨ⪅䛾⏕⏘ᛶྥୖ㻌 䖃 .NET Framework 䛻䜘䜚ᥦ౪ ASP.NET 䛿.NET Framework 䛜ᥦ౪䛩䜛䜽䝷䝇䝷䜲䝤䝷䝸䛾 1 䛴䛷䛩䚹 䖃 .NET ゝㄒ䝃䝫䞊䝖 .NET Framework 䛿䚸≉ᐃ䛾䝥䝻䜾䝷䝭䞁䜾ゝㄒ䛻౫Ꮡ䛧䜎䛫䜣䚹䝬䜲䜽䝻䝋䝣䝖䛷䛿䚸VB䚸C#䚸 F#䚸C++䚸JScript 䛺䛹䜢䝃䝫䞊䝖䛧䛶䛔䜎䛩䛧䚸䝃䞊䝗䝟䞊䝔䜱䛛䜙䜒䛥䜎䛦䜎䛺ゝㄒ䛜ᥦ౪䛥䜜䛶 䛔䜎䛩䚹 䖃 䝁䞊䝗㔞䛾๐ῶ ASP.NET 䛷䛿䚸ከ䛟䛾䝁䞁䝖䝻䞊䝹䛜ᥦ౪䛥䜜䛶䛔䜎䛩䚹 ㄆド⏝䝁䞁䝖䝻䞊䝹䜔䝘䝡䝀䞊䝅䝵䞁⏝䝁䞁䝖䝻䞊䝹䛺䛹䚸㧗ᗘ䛺䝁䞁䝖䝻䞊䝹䜒㏣ຍ䛥䜜䛶䛔䜛䛯 䜑䚸ᚑ᮶䛻䛟䜙䜉ᖜ䛻ᑡ䛺䛔䝁䞊䝗䛷㛤Ⓨ䛷䛝䜛䜘䛖䛻䛺䛳䛶䛔䜎䛩䚹 䖃 ୍㈏ᛶ䛾䛒䜛䝕䝄䜲䞁䜢ᣢ䛳䛯 Web 䝃䜲䝖䛾ᐜ᫆䛺ᵓ⠏ ASP.NET 䛻䛿䚸䝬䝇䝍䞊䝨䞊䝆䛸䛔䛖䝔䞁䝥䝺䞊䝖ᶵ⬟䜢䜒䛳䛯䝨䞊䝆䛜ᥦ౪䛥䜜䛶䛔䜎䛩䚹䝬䝇 䝍䞊䝨䞊䝆䜢⏝䛩䜛䛣䛸䛷䚸䝃䜲䝖䛻ඹ㏻䛾䝦䝑䝎䞊䜔䝣䝑䝎䞊䚸䝃䜲䝗䝞䞊䛺䛹䛾䝺䜲䜰䜴䝖䜢ᐃ ⩏䛧䚸୍ඖ⟶⌮䛩䜛䛣䛸䛜䛷䛝䜛䛾䛷䚸䝕䝄䜲䞁䛾ᒎ㛤䜔ኚ᭦䛜ᐜ᫆䛻䛺䜚䜎䛩䚹 䜎䛯䚸䜰䝥䝸䜿䞊䝅䝵䞁䝔䞊䝬ᶵ⬟䜢⏝䛩䜛䛣䛸䛷䚸䝃䜲䝖ෆ䛾䝁䞁䝖䝻䞊䝹䛾䝕䝄䜲䞁䜢䜎䛸䜑䛶 タᐃ䛩䜛䛣䛸䛜䛷䛝䜎䛩䚹 䕔 ⟶⌮ᶵ⬟䛾ྥୖ㻌 䖃 ᐜ᫆䛺䜲䞁䝇䝖䞊䝹 Visual Studio 䛻䛿䚸᪂䛧䛔䜰䝥䝸䜿䞊䝅䝵䞁㓄⨨䝴䞊䝔䜱䝸䝔䜱䛜ᥦ౪䛥䜜䛶䛔䜎䛩䚹䛣䛾ᶵ⬟䜢 ⏝䛩䜛䛸䚸๓ᅇ㓄⨨䛧䛯䛸䛝䛛䜙ኚ᭦䛥䜜䛯䝣䜯䜲䝹䛾䜏䜢䝁䝢䞊䛷䛝䜛䛾䛷䚸䝞䞊䝆䝵䞁䜰䝑䝥䛾 㝿䛾⟶⌮䛜ᐜ᫆䛻䛺䜚䜎䛩䚹 㻡㻌 ➨ 1 ❶㻌 ASP.NET 䛾ᴫせ 䖃 䝒䞊䝹䛻䜘䜛 Web.Config 䛾సᡂ Web 䜰䝥䝸䜿䞊䝅䝵䞁䛾⎔ቃタᐃ䛾㝿䛻䜟䜜䜛䚸Web.Config 䝣䜯䜲䝹䜢䚸䝒䞊䝹䜢䛳䛶సᡂ 䛩䜛䛣䛸䛜䛷䛝䜎䛩䚹䛣䜜䛻䜘䜚䚸Web.Config 䝣䜯䜲䝹䛾タᐃ䝭䝇䛻䜘䜛䜶䝷䞊䜢ᅇ㑊䛩䜛䛣䛸䛜䛷 䛝䜎䛩䚹 䕔 䝟䝣䜷䞊䝬䞁䝇䛸䝇䜿䞊䝷䝡䝸䝔䜱䛾ྥୖ㻌 䖃 䜻䝱䝑䝅䝳ᶵ⬟䛾ᥦ౪ ASP.NET 䛻䛿䚸䛥䜎䛦䜎䛺䜻䝱䝑䝅䝳ᶵ⬟䛜ᥦ౪䛥䜜䛶䛔䜎䛩䚹 ฟຊ䜻䝱䝑䝅䝳䛿䚸䝨䞊䝆䛾ฟຊ⤖ᯝ䜢䜻䝱䝑䝅䝳䛩䜛ᶵ⬟䛷䛩䚹䛣䜜䛻䜘䜚䚸ྠ䛨䝨䞊䝆䛜䜃 ฟ䛥䜜䛯ሙྜ䛾䝺䝇䝫䞁䝇䛜ྥୖ䛧䜎䛩䚹 䜎䛯䚸Cache 䜸䝤䝆䜵䜽䝖䛻䛿䚸䜰䝥䝸䜿䞊䝅䝵䞁䛻Ⓩሙ䛩䜛䛥䜎䛦䜎䛺䝕䞊䝍䜢䜻䝱䝑䝅䝳䛩䜛䛣䛸 䛜䛷䛝䜎䛩䚹ఱᗘ䜒⏝䛩䜛䝕䞊䝍䛷䛒䜜䜀䚸䜻䝱䝑䝅䝳ෆ䛻᱁⣡䛧䛶䛚䛟䛣䛸䛷䚸䜰䜽䝉䝇䝇䝢䞊䝗 䛜ྥୖ䛧䜎䛩䚹 䖃 SQL 䜻䝱䝑䝅䝳↓ຠ Cache 䜸䝤䝆䜵䜽䝖䛻䛿䚸䝕䞊䝍䝧䞊䝇䛛䜙ྲྀᚓ䛧䛯䝕䞊䝍䜢᱁⣡䛩䜛䛣䛸䛜䛷䛝䜎䛩䚹䛣䜜䛻䜘䜚䚸 䝕䞊䝍䜢⏝䛩䜛䛯䜃䛻䝕䞊䝍䝧䞊䝇䛻䜰䜽䝉䝇䛩䜛ᚲせ䛜䛺䛟䛺䜛䛾䛷䚸䝺䝇䝫䞁䝇䛜ᖜ䛻ྥ ୖ䛧䜎䛩䚹䛯䛰䛧䚸䜰䝥䝸䜿䞊䝅䝵䞁䛿䜻䝱䝑䝅䝳ෆ䛾䝕䞊䝍䜢ཧ↷䛩䜛䛯䜑䚸᭱᪂䝕䞊䝍䜢ྲྀᚓ䛷䛝 䛺䛔䛸䛔䛖ၥ㢟Ⅼ䜒䛒䜚䜎䛩䚹䛭䛣䛷䚸ASP.NET 䛷䛿䚸SQL 䜻䝱䝑䝅䝳↓ຠ䛸䛔䛖ᶵ⬟䜢䝃䝫䞊䝖 䛧䛶䛔䜎䛩䚹䛣䜜䛿䚸ᇶ䛻䛺䛳䛶䛔䜛䝕䞊䝍䝧䞊䝇䛷䝕䞊䝍䛜ኚ᭦䛥䜜䜛䛸䚸䜻䝱䝑䝅䝳ෆ䛾䝕䞊䝍䜢 ⮬ືⓗ䛻↓ຠ䛻䛩䜛ᶵ⬟䛷䛩䚹 䖃 䜰䝥䝸䜿䞊䝅䝵䞁䛾䝥䝸䝁䞁䝟䜲䝹 䜰䝥䝸䜿䞊䝅䝵䞁䜢䝁䞁䝟䜲䝹䛧䛶䛛䜙㓄⨨䛩䜛䛣䛸䛜䛷䛝䜎䛩䚹䛣䛾㝿䚸VB 䜔 C#䛺䛹䛾䝁䞊䝗䛰 䛡䛷䛺䛟䚸䝕䝄䜲䞁䜢ᐃ⩏䛩䜛 HTML 䜒䝁䞁䝟䜲䝹䛧䛶.dll 䝣䜯䜲䝹䛻ྵ䜑䜛䛣䛸䛜䛷䛝䜎䛩䚹䛣䜜䛻 䜘䜚䚸䝁䞊䝗䜔 HTML 䛜ᨵኚ䛥䜜䛶䛧䜎䛖䛣䛸䛜䛒䜚䜎䛫䜣䚹 㻢㻌 ➨ 1 ❶㻌 ASP.NET 䛾ᴫせ 1. Web 䝤䝷䜴䝄䞊䛜䚸Web 䝃䞊䝞䞊䛻 ASP.NET 䝨䞊䝆(.aspx 䝣䜯䜲䝹)䜢せồ䛧䜎䛩䚹 2. ASP.NET 䛿䚸䝨䞊䝆䛾ෆᐜ䜢ゎ㔘䛧䚸ゝㄒ䝁䞁䝟䜲䝷䛻Ώ䛧䜎䛩䚹 3. ゝㄒ䝁䞁䝟䜲䝷䛿䚸䝨䞊䝆䜢୰㛫ゝㄒ䛻䝁䞁䝟䜲䝹䛧䚸䜰䝉䞁䝤䝸䜢⏕ᡂ䛧䜎䛩䚹 4. .NET Framework 䛻䜘䜚䚸䜰䝉䞁䝤䝸䛻ྵ䜎䜜䜛䜽䝷䝇䜢䜒䛸䛻䚸䝯䝰䝸ෆ䛻䜲䞁䝇䝍䞁䝇䛜స䜙 䜜䚸ฎ⌮䛜䛚䛣䛺䜟䜜䜎䛩䚹 5. ฎ⌮䛾⤖ᯝ䛜䜽䝷䜲䜰䞁䝖䛻㏦ಙ䛥䜜䜎䛩䚹 6. Web 䝃䞊䝞䞊䛜 ASP.NET 䝨䞊䝆䛾䜲䞁䝇䝍䞁䝇䜢◚Რ䛧䜎䛩䚹 䝫䜲䞁䝖䠖䝁䝇䝖䛜䛛䛛䜛䝁䞁䝟䜲䝹䛿䚸䝨䞊䝆䛜ึ䜑䛶せồ䛥䜜䛯䛸䛝䛻䛧䛛䛚䛣䛺䛔䜎䛫䜣䚹ḟᅇ 䛛䜙䛿䜰䝉䞁䝤䝸䜢┤᥋䜃ฟ䛩䛯䜑䚸㧗䛔䝟䝣䜷䞊䝬䞁䝇䜢ᚓ䜛䛣䛸䛜䛷䛝䜎䛩䚹䜎䛯䚸䝥䝸 䝁䞁䝟䜲䝹䜢䛧䛯ሙྜ䛿䚸䛒䜙䛛䛨䜑୰㛫䝁䞊䝗䛜సᡂ䛥䜜䛶䛔䜛䛯䜑䚸ゝㄒ䝁䞁䝟䜲䝹䛾䝥 䝻䝉䝇䛿䝇䜻䝑䝥䛥䜜䜎䛩䚹 㻣㻌 ➨ 1 ❶㻌 ASP.NET 䛾ᴫせ 䕔 㼃㼑㼎䝃䜲䝖䛾సᡂ㻌 Visual Studio 䛷 Web 䜰䝥䝸䜿䞊䝅䝵䞁䜢సᡂ䛩䜛㝿䛿䚸[䝣䜯䜲䝹]䝯䝙䝳䞊䛛䜙[᪂つసᡂ]-[Web 䝃䜲䝖]䜢㑅ᢥ䛧䜎䛩䚹 䛣䛾㝿䚸䝣䜯䜲䝹䛾సᡂሙᡤ䛸䛧䛶䚸HTTP䚸䝣䜯䜲䝹䝅䝇䝔䝮䚸FTP 䛾䛔䛪䜜䛛䜢㑅ᢥ䛷䛝䜎䛩䚹 䖃 HTTP Web 䝃䞊䝞䞊䛾௬䝕䜱䝺䜽䝖䝸䛻䚸䝣䜯䜲䝹䛜సᡂ䛥䜜䜎䛩䚹HTTP 䜢⏝䛩䜛䛯䜑䚸సᡂሙᡤ 䛿䚸URL 䛷ᣦᐃ䛧䜎䛩䚹䛣䛾䜸䝥䝅䝵䞁䜢㑅ᢥ䛧䛯ሙྜ䛿䚸䛒䜙䛛䛨䜑ಖᏑඛ䛾䝁䞁䝢䝳䞊䝍䞊䛻 IIS 䛜ᚲせ䛸䛺䜚䚸⟶⌮⪅ᶒ㝈䜒ᚲせ䛸䛺䜚䜎䛩䚹 㻌 㻌 㻤㻌 ➨ 1 ❶㻌 ASP.NET 䛾ᴫせ 䖃 䝣䜯䜲䝹䝅䝇䝔䝮 䝻䞊䜹䝹䝁䞁䝢䝳䞊䝍䞊ୖ䛻䝣䜯䜲䝹䛜సᡂ䛥䜜䜎䛩䚹䝣䜯䜲䝹䜢సᡂ䛧䛯䛔䝕䜱䝇䜽䛾䝕䜱䝺䜽䝖䝸 䜢ᣦᐃ䛧䜎䛩䚹䛣䛾䜸䝥䝅䝵䞁䜢㑅ᢥ䛧䛯ሙྜ䛿 IIS Express 䛜⏝䛥䜜䜎䛩䚹IIS Express 䛿 Web 䜰䝥䝸䜿䞊䝅䝵䞁䛾䝔䝇䝖䜔䝕䝞䝑䜾⏝䛻ᥦ౪䛥䜜䜛 Web 䝃䞊䝞䞊䛷䛒䜚䚸᪤ᐃ䛷䛿䝸䝰䞊䝖䝩䝇䝖 䛛䜙䛾䝸䜽䜶䝇䝖䜢ཷ䛡䛡䜎䛫䜣䚹䜎䛯䚸䜰䝥䝸䜿䞊䝅䝵䞁䛾㓄⨨䛻⟶⌮⪅ᶒ㝈䜢ᚲせ䛸䛧䜎䛫䜣䚹 㻌 䝣䜯䜲䝹䝅䝇䝔䝮䜢ᣦᐃ䛧䛯ሙྜ䚸Web 䜰䝥䝸䜿䞊䝅䝵䞁ẖ䛻 Web 䝃䜲䝖䛜సᡂ䛥䜜䜎䛩䚹 䛣䛾㝿䚸ᣦᐃ䛥䜜䜛䝫䞊䝖␒ྕ䛿 IIS Express 䛻䜘䜚䚸⏝䛥䜜䛶䛔䛺䛔䝫䞊䝖䛜䜚ᙜ䛶䜙䜜䜎 䛩䚹 㻥㻌 ➨ 1 ❶㻌 ASP.NET 䛾ᴫせ Visual Studio 䛷䛾㛤Ⓨ䚸Web 䜰䝥䝸䜿䞊䝅䝵䞁䛻㛵䛩䜛䝣䜯䜲䝹䛿᪤ᐃ䛷䛿 2 ⟠ᡤ䛻ศ䛛䜜䛶 సᡂ䛥䜜䜎䛩䚹 䕔 䜰䝥䝸䜿䞊䝅䝵䞁ᐇ⾜⏝䝣䜯䜲䝹㻌 Web 䜰䝥䝸䜿䞊䝅䝵䞁⏝䛾䝣䜯䜲䝹䛿䚸Web 䝃䜲䝖䛾సᡂ䛻㑅ᢥ䛧䛯䝕䜱䝺䜽䝖䝸䛻స䜙䜜䜎䛩䚹 䖃 HTTP Web 䝃䞊䝞䞊䛾௬䝕䜱䝺䜽䝖䝸䛻సᡂ䛥䜜䜎䛩䚹 䖃 䝣䜯䜲䝹䝅䝇䝔䝮 䝻䞊䜹䝹䝕䜱䝇䜽䛻ಖᏑ䛥䜜䜎䛩䚹 䕔 䝋䝸䝳䞊䝅䝵䞁䝣䜯䜲䝹㻌 Visual Studio 䛷 Web 䝃䜲䝖䜢㛤䛟䛯䜑䛾䝣䜯䜲䝹䛷䚸ᣑᙇᏊ䛿䛂.sln䛃䛷䛩䚹ᗘ䚸Web 䜰䝥䝸䜿䞊 䝅䝵䞁䜢⦅㞟䛧䛯䛔䛸䛝䛿䚸䛣䛾䝣䜯䜲䝹䜢㑅ᢥ䛧䜎䛩䚹䝋䝸䝳䞊䝅䝵䞁䝣䜯䜲䝹䛿䚸㛤Ⓨ⏝䝁䞁䝢䝳䞊 䝍䞊䛾䛂¥Users¥䝴䞊䝄䞊ྡ¥Documents¥Visual Studio 2012¥Projects䛃䝣䜷䝹䝎䞊䛻సᡂ䛥䜜䜎 䛩䚹ู䛾ሙᡤ䛻సᡂ䛧䛯䛔䛸䛝䛿䚸[䝒䞊䝹]-[䜸䝥䝅䝵䞁]䛷タᐃ䛧䜎䛩䚹 㻝㻜㻌 ➨ 1 ❶㻌 ASP.NET 䛾ᴫせ 㻌 㻝㻝㻌
© Copyright 2024 ExpyDoc