TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
siva nathan
948
828
232.9k
IIS server post method not working for xml files asp.net core
Feb 3 2021 5:58 PM
Hi all,
am uploading XML file in IIS server i cant upload the XML file in my server using ASP.NET Core
am adding below config in web.config file but Upload not happen suggest me on this
<?xml version=
"1.0"
encoding=
"utf-8"
?>
<configuration>
<location path=
"."
inheritInChildApplications=
"false"
>
<system.webServer>
<handlers>
<add name=
"aspNetCore"
path=
"*"
verb=
"*"
modules=
"AspNetCoreModuleV2"
resourceType=
"Unspecified"
/>
<add name=
"XML"
path=
"*.xml"
verb=
"GET,POST"
modules=
"IsapiModule"
scriptProcessor=
"C:\Windows\System32\inetsrv\asp.dll"
resourceType=
"File"
requireAccess=
"None"
/>
</handlers>
<modules>
<remove name=
"WebDAVModule"
/>
</modules>
<aspNetCore processPath=
"dotnet"
arguments=
".\abcService.dll"
stdoutLogEnabled=
"true"
stdoutLogFile=
".\logs\stdout"
hostingModel=
"InProcess"
/>
<security>
<requestFiltering>
<fileExtensions>
<add fileExtension=
".xml"
allowed=
"true"
/>
</fileExtensions>
<verbs>
<add verb=
"PUT"
allowed=
"true"
/>
<add verb=
"POST"
allowed=
"true"
/>
</verbs>
</requestFiltering>
</security>
</system.webServer>
</location>
</configuration>
<!--ProjectGuid: 77262E66-E7C0-487F-995C-19AAD3FF1B50-->
Reply
Answers (
1
)
How to pass one form's data table rows in another form label???
Access asp net website Locally from another device