{"id":757,"date":"2006-01-10T02:01:11","date_gmt":"2006-01-09T17:01:11","guid":{"rendered":"http:\/\/a-tak.com\/xoops2\/modules\/wordpress\/2006\/01\/10\/757"},"modified":"2020-07-13T12:49:16","modified_gmt":"2020-07-13T03:49:16","slug":"%e3%83%a1%e3%83%b3%e3%83%90%e3%82%b7%e3%83%83%e3%83%97-%e3%83%97%e3%83%ad%e3%83%90%e3%82%a4%e3%83%80%e3%81%ae%e5%ae%9f%e8%a3%85%e3%81%ab%e6%8c%91%e6%88%a6","status":"publish","type":"post","link":"https:\/\/a-tak.com\/blog\/2006\/01\/%e3%83%a1%e3%83%b3%e3%83%90%e3%82%b7%e3%83%83%e3%83%97-%e3%83%97%e3%83%ad%e3%83%90%e3%82%a4%e3%83%80%e3%81%ae%e5%ae%9f%e8%a3%85%e3%81%ab%e6%8c%91%e6%88%a6\/","title":{"rendered":"\u30e1\u30f3\u30d0\u30b7\u30c3\u30d7 \u30d7\u30ed\u30d0\u30a4\u30c0\u306e\u5b9f\u88c5\u306b\u6311\u6226"},"content":{"rendered":"<div id=\"advads-1312063197\" class=\"advads-before-content-placement advads-entity-placement\" style=\"margin-left: auto;margin-right: auto;text-align: center;\"><div class=\"advads-adlabel\">\u5e83\u544a<\/div><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7585646298782746\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:300px;height:250px;\" \ndata-ad-client=\"ca-pub-7585646298782746\" \ndata-ad-slot=\"6112122906\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><p><a href=\"https:\/\/a-tak.com\/blog\/2006\/01\/study-asp-dot-net-20\/\">\u3053\u3053\u3067\u3061\u3087\u308d\u3063\u3068\u3075\u308c\u305f<\/a><span style=\"font-weight: bold;\">\u30e1\u30f3\u30d0\u30b7\u30c3\u30d7\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/span>\u3002<br \/>ASP.NET2.0\u304c\u7528\u610f\u3059\u308b<span style=\"font-weight: bold;\">\u30ed\u30b0\u30a4\u30f3\u7ba1\u7406\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/span>\u3067\u3059\u3002<br \/>\u3053\u3044\u3064\u306b\u4eca\u65e5\u306f\u6311\u6226\u3057\u3066\u307f\u305f\u3002<br \/>\n<!--more--><br \/>\n<br \/>\u3053\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u3001\u306a\u304b\u306a\u304b\u306e\u512a\u308c\u3082\u306e\u3067\u3001\u30ed\u30b0\u30a4\u30f3\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb(Login)\u3084\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb(ChangePassword)\u3084\u65b0\u898f\u30a2\u30ab\u30a6\u30f3\u30c8\u767b\u9332\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb(CreateUserWizard)\u3001\u30ed\u30b0\u30a4\u30f3\u30e6\u30fc\u30b6\u30fc\u540d\u8868\u793a\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb(LoginName)\u306a\u3069\u306e<span style=\"font-weight: bold;\">Web\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb<\/span>\u3001\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3059\u308b<span style=\"font-weight: bold;\">\u30d7\u30ed\u30d0\u30a4\u30c0<\/span>\u3001\u30ed\u30fc\u30eb\u30d9\u30fc\u30b9\u306e<span style=\"font-weight: bold;\">\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u7ba1\u7406<\/span>\u306a\u3069\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e0b\u624b\u3059\u308b\u3068\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u3001\u30e1\u30cb\u30e5\u30fc\u306e\u300cWeb\u30b5\u30a4\u30c8-<span style=\"font-weight: bold;\">ASP.NET\u69cb\u6210<\/span>\u300d\u3067\u8868\u793a\u3055\u308c\u308b\u8a2d\u5b9a\u753b\u9762(Web\u30da\u30fc\u30b8\u306e\u7ba1\u7406\u753b\u9762\u306b\u306a\u3063\u3066\u3044\u308b)\u304b\u3089\u3044\u304f\u3064\u304b\u8a2d\u5b9a\u3059\u308b\u3060\u3051\u3067\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306a\u3057\u306b\u30ed\u30b0\u30a4\u30f3\u3001\u30ed\u30b0\u30a2\u30a6\u30c8\u306a\u3069\u306e\u51e6\u7406\u306f\u5b9f\u88c5\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"font-weight: bold;\">\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u306e\u4fdd\u5b58\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fSQL Server\u306b\u884c\u3044\u307e\u3059\u3002<\/span>\u30e1\u30f3\u30d0\u30b7\u30c3\u30d7\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u3046\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306bApp_Data\u30d5\u30a9\u30eb\u30c0\u306b\u30ed\u30b0\u30a4\u30f3\u7ba1\u7406\u306eDB\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u30ed\u30b0\u30a4\u30f3\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306a\u3069\u306f\u3001\u3053\u306eDB\u306e\u60c5\u5831\u3092\u898b\u3066\u51e6\u7406\u3092\u884c\u3063\u3066\u304f\u308c\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30ed\u30b0\u30a4\u30f3\u7ba1\u7406\u306eDB\u3092\u305d\u306e\u307e\u307e\u4f7f\u3063\u3066\u3001\u30ed\u30b0\u30a4\u30f3\u30e6\u30fc\u30b6\u30fc\u306b\u95a2\u9023\u3059\u308b\u60c5\u5831\u306f\u5225\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u6301\u305f\u305b\u3066\u3082\u3044\u3044\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u30c6\u30fc\u30d6\u30eb\u8a2d\u8a08\u306f\u5225\u306e\u4eba\u304c\u62c5\u5f53\u3057\u305f\u308a\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3057\u3001\u65e2\u5b58\u306eDB\u306b\u30ed\u30b0\u30a4\u30f3\u7ba1\u7406\u306e\u30c6\u30fc\u30d6\u30eb\u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u3082\u3001\u30ab\u30b9\u30bf\u30e0\u306e\u30e1\u30f3\u30d0\u30b7\u30c3\u30d7 \u30d7\u30ed\u30d0\u30a4\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3001<span style=\"font-weight: bold;\">\u72ec\u81ea\u306e\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u3092\u6301\u3063\u3066\u304f\u308b\u3088\u3046\u306b\u3082\u51fa\u6765\u307e\u3059\u3002<\/span><br \/>\u307e\u305f\u3001SQL Server\u4ee5\u5916\u306eDB(\u305f\u3068\u3048\u3070Oracle)\u306b\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u6301\u305f\u305b\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30ab\u30b9\u30bf\u30e0\u30e1\u30f3\u30d0\u30b7\u30c3\u30d7\u30d7\u30ed\u30d0\u30a4\u30c0\u306f\u3001<span style=\"font-weight: bold;\">MembershipProvider\u3092\u7d99\u627f<\/span>\u3057\u3066\u3001\u8907\u6570\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u3066\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\u305d\u306e\u5f8c<span style=\"font-weight: bold;\">Web.config\u306b\u3053\u306e\u30af\u30e9\u30b9\u3092\u767b\u9332<\/span>\u3059\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<p>\u7d99\u627f\u3059\u308b\u30af\u30e9\u30b9\u306b\u306f\u3001\u5f15\u6570\u306bID\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u6e21\u3055\u308c\u308b\u306e\u3067\u3001\u305d\u308c\u304c\u6b63\u3057\u3044\u304bSELECT\u304b\u3051\u3066\u78ba\u8a8d\u3057\u7d50\u679c\u3092\u8fd4\u3059\u30e1\u30bd\u30c3\u30c9\u3068\u304b\u3001\u53e4\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u5f15\u6570\u3067\u308f\u305f\u3063\u3066\u304f\u308b\u306e\u3067\u3001\u554f\u984c\u306a\u3051\u308c\u3070DB\u3092\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u306bUPDATE\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3068\u304b\u3001\u30ed\u30b0\u30a4\u30f3ID\u304c\u5f15\u6570\u3067\u6e21\u3055\u308c\u308b\u306e\u3067\u3001\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u30ed\u30b0\u30a4\u30f3\u540d\u3092DB\u304b\u3089SELECT\u3057\u3066\u623b\u308a\u5024\u3067\u8fd4\u3059\u30e1\u30bd\u30c3\u30c9<br \/>\n\u3068\u304b\u3092\u81ea\u5206\u3067\u4f5c\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u305d\u3046\u3059\u308b\u3068\u3001\u30ed\u30b0\u30a4\u30f3\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u304c<span style=\"font-weight: bold;\">\u3053\u308c\u3089\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u3057\u304b\u308b\u3079\u304d\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u52dd\u624b\u306b\u547c\u3073\u51fa\u3057\u3066\u51e6\u7406<\/span>\u3057\u3066\u304f\u308c\u307e\u3059\u3002<br \/>\u81ea\u5206\u304c\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u306e\u3067\u306f\u306a\u304f\u3001<span style=\"font-weight: bold;\">\u81ea\u5206\u304c\u4f5c\u3063\u305f\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3073\u51fa\u3055\u308c\u308b<\/span>\u3001\u3068\u3044\u3046\u52d5\u304d\u304c\u3001\u307e\u3055\u306b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u7684!<\/p>\n<p>\u524d\u8ff0\u306e<span style=\"font-weight: bold;\">ASP.NET\u69cb\u6210\u306e\u30e1\u30cb\u30e5\u30fc<\/span>\u3067\u3082\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u8ffd\u52a0\u3084\u66f4\u65b0\u306a\u3069\u304c\u884c\u3048\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u3082\u81ea\u4f5c\u3057\u305f\u30d7\u30ed\u30d0\u30a4\u30c0\u7d4c\u7531\u3067\u884c\u308f\u308c\u307e\u3059\u3002<br \/>\u9006\u306b\u898b\u308c\u3070\u3001\u3053\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u7528\u306e\u30c4\u30fc\u30eb\u306e\u6a5f\u80fd\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u5316\u3057\u305f\u306e\u304c\u3001CreateUserWizard\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3084ChangePassword\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306a\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u5b9f\u88c5\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u306e\u6570\u304c\u7d50\u69cb\u591a\u3044\u3093\u3067\u3059\u306a\u3002\u5b9f\u306f\u81ea\u5206\u3082\u307e\u3060\u3061\u3083\u3093\u3068\u5b9f\u88c5\u3067\u304d\u3066\u306a\u3044\u3002<br \/>\u307e\u3041\u3001\u5168\u90e8\u4f5c\u3089\u306a\u304f\u3066\u3082\u3001\u4f7f\u308f\u306a\u3044\u6a5f\u80fd\u306f\u9069\u5f53\u306a\u7d50\u679c\u3092\u8fd4\u3059\u30e1\u30bd\u30c3\u30c9\u3084\u3001\u4f8b\u5916\u3092\u8d77\u3053\u3059\u3060\u3051\u306b\u3057\u3066\u3082\u3044\u3044\u306e\u3067\u3057\u3087\u3046\u3051\u3069\u306d\u3002<\/p>\n<p>\u3067\u3082\u3001\u3053\u308c\u5b9f\u88c5\u3059\u308b\u3060\u3051\u3067\u30ed\u30b0\u30a4\u30f3\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306a\u3069\u304c\u305d\u306e\u307e\u307e\u4f7f\u3048\u308b\u306e\u306f\u52a9\u304b\u308b\u3057\u3001SQL\u3067\u30c7\u30fc\u30bf\u554f\u3044\u5408\u308f\u305b\u3057\u3066\u3044\u3068\u3053\u308d\u3092\u5909\u3048\u308b\u3060\u3051\u3067\u4ed6\u3067\u3082\u4f7f\u3048\u305d\u3046\u306a\u306e\u3067\u3001\u4e00\u5ea6\u4f5c\u3063\u3066\u304a\u304d\u305f\u3044\u3068\u3053\u308d\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30d8\u30eb\u30d7\u306b\u3044\u308d\u3044\u308d\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u3001\u5b9f\u88c5\u3059\u308b\u4eba\u306f\u53c2\u8003\u306b\u3059\u308b\u3068\u3044\u3044\u304b\u3082\u3002\u4ffa\u3082\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u306eSQL Server\u7248\u3092\u4f5c\u6210\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u30e1\u30f3\u30d0\u30b7\u30c3\u30d7\u3000\u30d7\u30ed\u30d0\u30a4\u30c0\u306e\u5b9f\u88c5<br \/><a href=\"https:\/\/docs.microsoft.com\/en-us\/previous-versions\/aspnet\/44w5aswa(v=vs.100)?redirectedfrom=MSDN\">http:\/\/msdn2.microsoft.com\/ja-jp\/library\/44w5aswa.aspx<\/a><\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u2193<br \/><a href=\"https:\/\/docs.microsoft.com\/en-us\/previous-versions\/aspnet\/6tc47t75(v=vs.100)?redirectedfrom=MSDN\">http:\/\/msdn2.microsoft.com\/ja-jp\/library\/6tc47t75.aspx<\/a><\/p>\n<p>\u3042\u3068\u3001\u30ed\u30fc\u30eb\u30d9\u30fc\u30b9\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u8a2d\u5b9a\u306f\u30d5\u30a9\u30eb\u30c0\u6bce\u306eWeb.config\u306b\u304b\u304b\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<br \/><span style=\"font-weight: bold;\">ASP.NET\u69cb\u6210\u306e\u30e1\u30cb\u30e5\u30fc<\/span>\u3067\u8a2d\u5b9a\u3059\u308b\u3068<span style=\"font-weight: bold;\">Web.config\u304c\u66f8\u304d\u63db\u308f\u3063\u3066\u3044\u304d\u307e\u3059<\/span>\u3002<\/p>\n<p>\u4eca\u65e5\u306e\u8abf\u67fb\u3067\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3068DB\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u8a2d\u5b9a\u3068Web.config\u3068ASP.NET\u69cb\u6210\u3002\u3053\u308c\u3089\u306e\u95a2\u4fc2\u304c\u3060\u3044\u305f\u3044\u3064\u304b\u3081\u3066\u304d\u307e\u3057\u305f\u3002<br \/>\n<!--programing .net memo--><\/p><div id=\"advads-3054471979\" class=\"advads-content-placement-after-3rd-paragraph advads-entity-placement\" style=\"margin-left: auto;margin-right: auto;text-align: center;\"><div class=\"advads-adlabel\">\u5e83\u544a<\/div><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7585646298782746\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:300px;height:250px;\" \ndata-ad-client=\"ca-pub-7585646298782746\" \ndata-ad-slot=\"6112122906\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3053\u3067\u3061\u3087\u308d\u3063\u3068\u3075\u308c\u305f\u30e1\u30f3\u30d0\u30b7\u30c3\u30d7\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3002ASP.NET2.0\u304c\u7528\u610f\u3059\u308b\u30ed\u30b0\u30a4\u30f3\u7ba1\u7406\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\u3053\u3044\u3064\u306b\u4eca\u65e5\u306f\u6311\u6226\u3057\u3066\u307f\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-757","post","type-post","status-publish","format-standard","hentry","category-net"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/posts\/757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/comments?post=757"}],"version-history":[{"count":0,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/posts\/757\/revisions"}],"wp:attachment":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/media?parent=757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/categories?post=757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/tags?post=757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}