{"id":1841,"date":"2021-11-05T13:28:17","date_gmt":"2021-11-05T05:28:17","guid":{"rendered":"http:\/\/cn.hostease.com\/blog\/?p=1841"},"modified":"2021-11-05T13:28:17","modified_gmt":"2021-11-05T05:28:17","slug":"%e4%bb%80%e4%b9%88%e6%98%af-asp-net","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/blog\/news\/%e4%bb%80%e4%b9%88%e6%98%af-asp-net\/","title":{"rendered":"\u4ec0\u4e48\u662f ASP.NET?"},"content":{"rendered":"<p><a href=\"https:\/\/cn.hostease.com\/\" target=\"_blank\" rel=\"noopener\"><strong>ASP.Net<\/strong><\/a> \u662f\u5fae\u8f6f\u63d0\u4f9b\u7684 Web \u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u7528\u4e8e\u521b\u5efa\u57fa\u4e8e Web \u7684\u5e94\u7528\u7a0b\u5e8f\u3002ASP.Net \u4e8e 2002 \u5e74\u9996\u6b21\u53d1\u5e03\u3002<\/p>\n<p>\u90e8\u7f72\u7684\u7b2c\u4e00\u4e2a ASP.Net \u7248\u672c\u662f 1.0\u3002ASP.Net \u7684\u6700\u65b0\u7248\u672c\u662f 4.6 \u7248\u3002ASP.Net \u65e8\u5728\u4e0e HTTP \u534f\u8bae\u4e00\u8d77\u4f7f\u7528\u3002\u8fd9\u662f\u6240\u6709 Web \u5e94\u7528\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u7684\u6807\u51c6\u534f\u8bae\u3002<\/p>\n<p>ASP.Net \u5e94\u7528\u7a0b\u5e8f\u4e5f\u53ef\u4ee5\u7528\u591a\u79cd .Net \u8bed\u8a00\u7f16\u5199\u3002\u5176\u4e2d\u5305\u62ec C#\u3001VB.Net \u548c J#\u3002\u5728\u672c\u7ae0\u4e2d\uff0c\u60a8\u5c06\u770b\u5230 .Net \u6846\u67b6\u7684\u4e00\u4e9b\u57fa\u672c\u539f\u7406\u3002<\/p>\n<p>ASP \u7684\u5b8c\u6574\u5f62\u5f0f\u662f Active Server Pages\uff0c\u800c .NET \u662f Network Enabled Technologies\u3002\u63a8\u8350\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.hostease.com\/blog\/shared-hosting\/395.html\" target=\"_blank\" rel=\"noopener\">\u300aASP\u865a\u62df\u4e3b\u673a\u6709\u54ea\u4e9b\u7279\u70b9\u53ca\u4f18\u52bf\u300b<\/a><\/p>\n<p>ASP.NET \u4f53\u7cfb\u7ed3\u6784\u53ca\u5176\u7ec4\u4ef6<\/p>\n<p>.Net\u6846\u67b6\u7684\u67b6\u6784\u57fa\u4e8e\u4ee5\u4e0b\u5173\u952e\u7ec4\u4ef6<\/p>\n<p>\u8bed\u8a00- .net \u6846\u67b6\u5b58\u5728\u591a\u79cd\u8bed\u8a00\u3002\u5b83\u4eec\u662f VB.net \u548c C#\u3002\u8fd9\u4e9b\u53ef\u7528\u4e8e\u5f00\u53d1 Web \u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>\u5e93\u2013 .NET Framework \u5305\u62ec\u4e00\u7ec4\u6807\u51c6\u7c7b\u5e93\u3002.net \u4e2d\u7528\u4e8e Web \u5e94\u7528\u7a0b\u5e8f\u7684\u6700\u5e38\u7528\u5e93\u662f Web \u5e93\u3002Web \u5e93\u5177\u6709\u7528\u4e8e\u5f00\u53d1\u57fa\u4e8e .Net \u7684 Web \u5e94\u7528\u7a0b\u5e8f\u7684\u6240\u6709\u5fc5\u8981\u7ec4\u4ef6\u3002<\/p>\n<p>\u516c\u5171\u8bed\u8a00\u8fd0\u884c\u65f6\u2014\u2014\u516c\u5171\u8bed\u8a00\u57fa\u7840\u8bbe\u65bd\u6216 CLI \u662f\u4e00\u4e2a\u5e73\u53f0\u3002.Net \u7a0b\u5e8f\u5728\u6b64\u5e73\u53f0\u4e0a\u6267\u884c\u3002CLR \u7528\u4e8e\u6267\u884c\u5173\u952e\u6d3b\u52a8\u3002\u6d3b\u52a8\u5305\u62ec\u5f02\u5e38\u5904\u7406\u548c\u5783\u573e\u6536\u96c6\u3002<\/p>\n<p>\u4e0b\u9762\u662f ASP.Net \u6846\u67b6\u7684\u4e00\u4e9b\u5173\u952e\u7279\u6027<\/p>\n<p>1.\u4ee3\u7801\u9690\u85cf\u6a21\u5f0f\u2014\u2014\u8fd9\u662f\u8bbe\u8ba1\u548c\u4ee3\u7801\u5206\u79bb\u7684\u6982\u5ff5\u3002\u901a\u8fc7\u8fdb\u884c\u8fd9\u79cd\u5206\u79bb\uff0c\u7ef4\u62a4 ASP.Net \u5e94\u7528\u7a0b\u5e8f\u53d8\u5f97\u66f4\u52a0\u5bb9\u6613\u3002ASP.Net \u6587\u4ef6\u7684\u4e00\u822c\u6587\u4ef6\u7c7b\u578b\u662f aspx\u3002\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u540d\u4e3a MyPage.aspx \u7684\u7f51\u9875\u3002\u5c06\u6709\u53e6\u4e00\u4e2a\u540d\u4e3a MyPage.aspx.cs \u7684\u6587\u4ef6\uff0c\u5b83\u8868\u793a\u9875\u9762\u7684\u4ee3\u7801\u90e8\u5206\u3002\u56e0\u6b64\uff0cVisual Studio \u4e3a\u6bcf\u4e2a\u7f51\u9875\u521b\u5efa\u5355\u72ec\u7684\u6587\u4ef6\uff0c\u4e00\u4e2a\u7528\u4e8e\u8bbe\u8ba1\u90e8\u5206\uff0c\u53e6\u4e00\u4e2a\u7528\u4e8e\u4ee3\u7801\u3002<\/p>\n<p>2.\u72b6\u6001\u7ba1\u7406- ASP.Net \u5177\u6709\u63a7\u5236\u72b6\u6001\u7ba1\u7406\u7684\u529f\u80fd\u3002HTTP \u88ab\u79f0\u4e3a\u65e0\u72b6\u6001\u534f\u8bae\u3002\u8ba9\u6211\u4eec\u4ee5\u8d2d\u7269\u8f66\u5e94\u7528\u7a0b\u5e8f\u4e3a\u4f8b\u3002\u73b0\u5728\uff0c\u5f53\u7528\u6237\u51b3\u5b9a\u8981\u4ece\u7ad9\u70b9\u8d2d\u4e70\u4ec0\u4e48\u65f6\uff0c\u4ed6\u5c06\u6309\u4e0b\u63d0\u4ea4\u6309\u94ae\u3002<\/p>\n<p>\u5e94\u7528\u7a0b\u5e8f\u9700\u8981\u8bb0\u4f4f\u7528\u6237\u9009\u62e9\u8d2d\u4e70\u7684\u5546\u54c1\u3002\u8fd9\u79f0\u4e3a\u8bb0\u4f4f\u5e94\u7528\u7a0b\u5e8f\u5728\u5f53\u524d\u65f6\u95f4\u70b9\u7684\u72b6\u6001\u3002HTTP \u662f\u4e00\u79cd\u65e0\u72b6\u6001\u534f\u8bae\u3002\u5f53\u7528\u6237\u8fdb\u5165\u8d2d\u4e70\u9875\u9762\u65f6\uff0cHTTP \u4e0d\u4f1a\u5b58\u50a8\u8d2d\u7269\u8f66\u9879\u76ee\u7684\u4fe1\u606f\u3002\u9700\u8981\u8fdb\u884c\u989d\u5916\u7684\u7f16\u7801\u4ee5\u786e\u4fdd\u8d2d\u7269\u8f66\u9879\u76ee\u53ef\u4ee5\u8f6c\u5230\u8d2d\u4e70\u9875\u9762\u3002\u8fd9\u79cd\u5b9e\u73b0\u6709\u65f6\u4f1a\u53d8\u5f97\u590d\u6742\u3002\u4f46\u662f ASP.Net \u53ef\u4ee5\u4ee3\u8868\u60a8\u8fdb\u884c\u72b6\u6001\u7ba1\u7406\u3002\u56e0\u6b64 ASP.Net \u53ef\u4ee5\u8bb0\u4f4f\u8d2d\u7269\u8f66\u9879\u76ee\u5e76\u5c06\u5176\u4f20\u9012\u5230\u8d2d\u4e70\u9875\u9762\u3002<\/p>\n<p>3.\u7f13\u5b58\u2014\u2014ASP.Net \u53ef\u4ee5\u5b9e\u73b0\u7f13\u5b58\u7684\u6982\u5ff5\u3002\u8fd9\u63d0\u9ad8\u4e86\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u901a\u8fc7\u7f13\u5b58\u7528\u6237\u7ecf\u5e38\u8bf7\u6c42\u7684\u90a3\u4e9b\u9875\u9762\u53ef\u4ee5\u5b58\u50a8\u5728\u4e00\u4e2a\u4e34\u65f6\u4f4d\u7f6e\u3002\u53ef\u4ee5\u66f4\u5feb\u5730\u68c0\u7d22\u8fd9\u4e9b\u9875\u9762\uff0c\u5e76\u4e14\u53ef\u4ee5\u5411\u7528\u6237\u53d1\u9001\u66f4\u597d\u7684\u54cd\u5e94\u3002\u56e0\u6b64\u7f13\u5b58\u53ef\u4ee5\u663e\u7740\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002<\/p>\n<p>ASP.Net \u662f\u4e00\u79cd\u7528\u4e8e\u6784\u5efa\u57fa\u4e8e Web \u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u53d1\u8bed\u8a00\u3002ASP.Net \u65e8\u5728\u4e0e\u6807\u51c6 HTTP \u534f\u8bae\u4e00\u8d77\u4f7f\u7528\u3002\u63a8\u8350\u76f8\u5173\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.hostease.com\/blog\/shared-hosting\/196.html\">\u300a\u600e\u6837\u9009\u62e9\u5408\u9002\u7684ASP\u865a\u62df\u4e3b\u673a\u7a7a\u95f4\u300b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ASP.Net \u662f\u5fae\u8f6f\u63d0\u4f9b\u7684 Web \u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u7528\u4e8e\u521b\u5efa\u57fa\u4e8e Web \u7684\u5e94\u7528\u7a0b\u5e8f\u3002ASP.Net \u4e8e 200 &#8230; <a title=\"\u4ec0\u4e48\u662f ASP.NET?\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/blog\/news\/%e4%bb%80%e4%b9%88%e6%98%af-asp-net\/\" aria-label=\"\u9605\u8bfb \u4ec0\u4e48\u662f ASP.NET?\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8],"tags":[296],"class_list":["post-1841","post","type-post","status-publish","format-standard","hentry","category-news","tag-asp-net"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/1841","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/comments?post=1841"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/1841\/revisions"}],"predecessor-version":[{"id":1842,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/1841\/revisions\/1842"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/media?parent=1841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/categories?post=1841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/tags?post=1841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}