{"id":1656,"date":"2026-06-17T07:02:07","date_gmt":"2026-06-17T07:02:07","guid":{"rendered":"https:\/\/www.hostx.ro\/kb\/ce-contine-un-fisier-web-config-pentru-net-core\/"},"modified":"2026-07-25T14:50:34","modified_gmt":"2026-07-25T12:50:34","password":"","slug":"ce-contine-un-fisier-web-config-pentru-net-core","status":"publish","type":"docs","link":"https:\/\/www.hostx.ro\/kb\/ce-contine-un-fisier-web-config-pentru-net-core\/","title":{"rendered":"Ce con\u021bine un fi\u0219ier web.config pentru .NET Core?"},"content":{"rendered":"<p>Fi\u0219ierul <code>web.config<\/code> pentru o aplica\u021bie .NET Core g\u0103zduit\u0103 pe IIS are, \u00een mod uzual, urm\u0103torul con\u021binut:<\/p>\n<pre>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n&lt;configuration&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=\".aplicatia.dll\"\n      stdoutLogEnabled=\"false\" stdoutLogFile=\".logsstdout\" hostingModel=\"inprocess\" \/&gt;\n  &lt;\/system.webServer&gt;\n&lt;\/configuration&gt;<\/pre>\n<p>\u00cenlocuie\u0219te <code>aplicatia.dll<\/code> cu numele real al aplica\u021biei. Pe versiunile recente se folose\u0219te <code>AspNetCoreModuleV2<\/code> (modelul <em>in-process<\/em>).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fi\u0219ierul web.config pentru o aplica\u021bie .NET Core g\u0103zduit\u0103 pe IIS are, \u00een mod uzual, urm\u0103torul con\u021binut: &lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt; &lt;configuration&gt; &lt;system.webServer&gt; &lt;handlers&gt; &lt;add name=&#8221;aspNetCore&#8221; path=&#8221;*&#8221; verb=&#8221;*&#8221; modules=&#8221;AspNetCoreModuleV2&#8243; resourceType=&#8221;Unspecified&#8221; \/&gt; &lt;\/handlers&gt; &lt;aspNetCore processPath=&#8221;dotnet&#8221; arguments=&#8221;.aplicatia.dll&#8221; stdoutLogEnabled=&#8221;false&#8221; stdoutLogFile=&#8221;.logsstdout&#8221; hostingModel=&#8221;inprocess&#8221; \/&gt; &lt;\/system.webServer&gt; &lt;\/configuration&gt; \u00cenlocuie\u0219te aplicatia.dll cu numele real al aplica\u021biei. Pe versiunile recente se folose\u0219te AspNetCoreModuleV2 (modelul in-process).<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"whmcs_kb_id":2008,"footnotes":""},"doc_category":[165],"doc_tag":[377,227,326,330,250],"class_list":["post-1656","docs","type-docs","status-publish","hentry","doc_category-net-core","doc_tag-asp-net","doc_tag-configurare","doc_tag-iis","doc_tag-web-config","doc_tag-windows-server"],"year_month":"2026-08","word_count":92,"total_views":"21","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Adrian Firican","author_nicename":"techeditor1","author_url":"https:\/\/www.hostx.ro\/kb\/author\/techeditor1\/"},"doc_category_info":[{"term_name":".Net Core","term_url":"https:\/\/www.hostx.ro\/kb\/docs-category\/net-core\/"}],"doc_tag_info":[{"term_name":"ASP.NET","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/asp-net\/"},{"term_name":"configurare","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/configurare\/"},{"term_name":"IIS","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/iis\/"},{"term_name":"web.config","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/web-config\/"},{"term_name":"Windows Server","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/windows-server\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fi\u0219ier web.config pentru .NET Core - Structur\u0103 \u0219i set\u0103ri - Centrul de suport HostX<\/title>\n<meta name=\"description\" content=\"Descoper\u0103 structura unui fi\u0219ier web.config pentru .NET Core pe IIS. Configuration handlers, AspNetCoreModuleV2 \u0219i set\u0103ri esen\u021biale.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostx.ro\/kb\/ce-contine-un-fisier-web-config-pentru-net-core\/\" \/>\n<meta property=\"og:locale\" content=\"ro_RO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fi\u0219ier web.config pentru .NET Core - Structur\u0103 \u0219i set\u0103ri - Centrul de suport HostX\" \/>\n<meta property=\"og:description\" content=\"Descoper\u0103 structura unui fi\u0219ier web.config pentru .NET Core pe IIS. Configuration handlers, AspNetCoreModuleV2 \u0219i set\u0103ri esen\u021biale.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostx.ro\/kb\/ce-contine-un-fisier-web-config-pentru-net-core\/\" \/>\n<meta property=\"og:site_name\" content=\"Centrul de suport HostX\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-25T12:50:34+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/ce-contine-un-fisier-web-config-pentru-net-core\\\/\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/ce-contine-un-fisier-web-config-pentru-net-core\\\/\",\"name\":\"Fi\u0219ier web.config pentru .NET Core - Structur\u0103 \u0219i set\u0103ri - Centrul de suport HostX\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\"},\"datePublished\":\"2026-06-17T07:02:07+00:00\",\"dateModified\":\"2026-07-25T12:50:34+00:00\",\"description\":\"Descoper\u0103 structura unui fi\u0219ier web.config pentru .NET Core pe IIS. Configuration handlers, AspNetCoreModuleV2 \u0219i set\u0103ri esen\u021biale.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/ce-contine-un-fisier-web-config-pentru-net-core\\\/#breadcrumb\"},\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/ce-contine-un-fisier-web-config-pentru-net-core\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/ce-contine-un-fisier-web-config-pentru-net-core\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prima pagin\u0103\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"InfoCentru\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ce con\u021bine un fi\u0219ier web.config pentru .NET Core?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\",\"name\":\"Centrul de suport HostX\",\"description\":\"tutoriale gazduire web, domenii web \u0219i servere\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ro-RO\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fi\u0219ier web.config pentru .NET Core - Structur\u0103 \u0219i set\u0103ri - Centrul de suport HostX","description":"Descoper\u0103 structura unui fi\u0219ier web.config pentru .NET Core pe IIS. Configuration handlers, AspNetCoreModuleV2 \u0219i set\u0103ri esen\u021biale.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hostx.ro\/kb\/ce-contine-un-fisier-web-config-pentru-net-core\/","og_locale":"ro_RO","og_type":"article","og_title":"Fi\u0219ier web.config pentru .NET Core - Structur\u0103 \u0219i set\u0103ri - Centrul de suport HostX","og_description":"Descoper\u0103 structura unui fi\u0219ier web.config pentru .NET Core pe IIS. Configuration handlers, AspNetCoreModuleV2 \u0219i set\u0103ri esen\u021biale.","og_url":"https:\/\/www.hostx.ro\/kb\/ce-contine-un-fisier-web-config-pentru-net-core\/","og_site_name":"Centrul de suport HostX","article_modified_time":"2026-07-25T12:50:34+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostx.ro\/kb\/ce-contine-un-fisier-web-config-pentru-net-core\/","url":"https:\/\/www.hostx.ro\/kb\/ce-contine-un-fisier-web-config-pentru-net-core\/","name":"Fi\u0219ier web.config pentru .NET Core - Structur\u0103 \u0219i set\u0103ri - Centrul de suport HostX","isPartOf":{"@id":"https:\/\/www.hostx.ro\/kb\/#website"},"datePublished":"2026-06-17T07:02:07+00:00","dateModified":"2026-07-25T12:50:34+00:00","description":"Descoper\u0103 structura unui fi\u0219ier web.config pentru .NET Core pe IIS. Configuration handlers, AspNetCoreModuleV2 \u0219i set\u0103ri esen\u021biale.","breadcrumb":{"@id":"https:\/\/www.hostx.ro\/kb\/ce-contine-un-fisier-web-config-pentru-net-core\/#breadcrumb"},"inLanguage":"ro-RO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostx.ro\/kb\/ce-contine-un-fisier-web-config-pentru-net-core\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostx.ro\/kb\/ce-contine-un-fisier-web-config-pentru-net-core\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Prima pagin\u0103","item":"https:\/\/www.hostx.ro\/kb\/"},{"@type":"ListItem","position":2,"name":"InfoCentru","item":"https:\/\/www.hostx.ro\/kb\/docs\/"},{"@type":"ListItem","position":3,"name":"Ce con\u021bine un fi\u0219ier web.config pentru .NET Core?"}]},{"@type":"WebSite","@id":"https:\/\/www.hostx.ro\/kb\/#website","url":"https:\/\/www.hostx.ro\/kb\/","name":"Centrul de suport HostX","description":"tutoriale gazduire web, domenii web \u0219i servere","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostx.ro\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ro-RO"}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/1656","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/comments?post=1656"}],"version-history":[{"count":2,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/1656\/revisions"}],"predecessor-version":[{"id":5025,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/1656\/revisions\/5025"}],"wp:attachment":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/media?parent=1656"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_category?post=1656"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_tag?post=1656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}