{"id":7892,"date":"2022-09-21T14:30:56","date_gmt":"2022-09-21T05:30:56","guid":{"rendered":"https:\/\/www.auctionpro.co.kr\/?p=7892"},"modified":"2022-09-21T14:31:58","modified_gmt":"2022-09-21T05:31:58","slug":"net-core","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=7892","title":{"rendered":"Net Core"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Remark : <strong>\uc11c\ubc84 \ud658\uacbd  ASPNETCORE_ENVIRONMENT<\/strong> \uc124\uc815\uc73c\ub85c \uc624\ub958 \ud655\uc778 <\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreProduction_environment.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"112\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreProduction_environment-1024x112.png\" alt=\"\" class=\"wp-image-7893\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreProduction_environment-1024x112.png 1024w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreProduction_environment-300x33.png 300w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreProduction_environment-768x84.png 768w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreProduction_environment-1536x169.png 1536w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreProduction_environment-660x72.png 660w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreProduction_environment.png 1776w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">Error.<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">An error occurred while processing your request.<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Request ID:<\/strong>&nbsp;<code>80000095-0002-f700-b63f-84710c7967bb<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Development Mode<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Swapping to&nbsp;<strong>Development<\/strong>&nbsp;environment will display more detailed information about the error that occurred.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The Development environment shouldn&#8217;t be enabled for deployed applications.<\/strong>&nbsp;It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the&nbsp;<strong>Development<\/strong>&nbsp;environment by setting the&nbsp;<strong>ASPNETCORE_ENVIRONMENT<\/strong>&nbsp;environment variable to&nbsp;<strong>Development<\/strong>&nbsp;and restarting the app.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1.Web.config<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><\/div>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n&lt;configuration&gt;\n  &lt;location path=\".\" inheritInChildApplications=\"false\"&gt;\n    &lt;system.webServer&gt;\n      &lt;handlers&gt;\n        &lt;add name=\"aspNetCore\" path=\"*\" verb=\"*\" modules=\"AspNetCoreModuleV2\" resourceType=\"Unspecified\" \/&gt;\n      &lt;\/handlers&gt;\n      &lt;aspNetCore processPath=\"dotnet\" arguments=\".\\REG.dll\" stdoutLogEnabled=\"false\" stdoutLogFile=\".\\logs\\stdout\" hostingModel=\"InProcess\"&gt;\n\t  \n\t  &lt;\/aspNetCore&gt;\n    &lt;\/system.webServer&gt;\n  &lt;\/location&gt;\n  \n&lt;\/configuration&gt;<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2.Web.config \uc218\uc815<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">ASPNETCORE_ENVIRONMENT \ucd94\uac00<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n&lt;configuration&gt;\n  &lt;location path=\".\" inheritInChildApplications=\"false\"&gt;\n    &lt;system.webServer&gt;\n      &lt;handlers&gt;\n        &lt;add name=\"aspNetCore\" path=\"*\" verb=\"*\" modules=\"AspNetCoreModuleV2\" resourceType=\"Unspecified\" \/&gt;\n      &lt;\/handlers&gt;\n      &lt;aspNetCore processPath=\"dotnet\" arguments=\".\\REG.dll\" stdoutLogEnabled=\"false\" stdoutLogFile=\".\\logs\\stdout\" hostingModel=\"InProcess\"&gt;\n\t  &lt;environmentVariables&gt;\n        &lt;!--environmentVariable name=\"ASPNETCORE_ENVIRONMENT\" value=\"Production\" \/--&gt;\n\t&lt;environmentVariable name=\"ASPNETCORE_ENVIRONMENT\" value=\"Development\" \/&gt;\n      &lt;\/environmentVariables&gt;\n\t  &lt;\/aspNetCore&gt;\n    &lt;\/system.webServer&gt;\n  &lt;\/location&gt;\n  \n&lt;\/configuration&gt;<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3.\uc6f9\uc11c\uc5d0\uc11c \uc5d0\ub7ec \ud655\uc778<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreDevelopment_Error.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"645\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreDevelopment_Error-1024x645.png\" alt=\"\" class=\"wp-image-7894\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreDevelopment_Error-1024x645.png 1024w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreDevelopment_Error-300x189.png 300w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreDevelopment_Error-768x483.png 768w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreDevelopment_Error-660x415.png 660w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/09\/NetcoreDevelopment_Error.png 1212w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Remark : \uc11c\ubc84 \ud658\uacbd ASPNETCORE_ENVIRONMENT \uc124\uc815\uc73c\ub85c \uc624\ub958 \ud655\uc778 Error. An error occurred while processing your request. Request ID:&nbsp;80000095-0002-f700-b63f-84710c7967bb Development Mode Swapping to&nbsp;Development&nbsp;environment will display more <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=7892\" title=\"Net Core\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[224],"tags":[],"class_list":["post-7892","post","type-post","status-publish","format-standard","hentry","category-netcore"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7892"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7892\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}