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
Bhavesh Ghul
725
1k
54.5k
Why Can't read an image by URL path in the .Net Core 2.1 Application?
May 19 2021 3:16 PM
Hello everyone
I am facing one issue, can you please anyone help me.
I have hosted my application on the hosting server, the application is working fine but can not read an image by URL path, but I do delete or rename web.config file, then I can getting Image by URL path but the application does not work because web.config is not found in code.
so I request you, how to solve my problem, please tell me. without delete web.config file, how can get an Image by URL path.
My web.config file code :
<?xml version=
"1.0"
encoding=
"utf-8"
?>
<configuration>
<location path=
"."
inheritInChildApplications=
"false"
>
<system.webServer>
<handlers>
<add name=
"aspNetCore"
path=
"*"
verb=
"*"
modules=
"AspNetCoreModule"
resourceType=
"Unspecified"
/>
</handlers>
<aspNetCore processPath=
"dotnet"
arguments=
".\OldAutomotive.dll"
stdoutLogEnabled=
"false"
stdoutLogFile=
".\logs\stdout"
/>
</system.webServer>
</location>
</configuration>
<!--ProjectGuid: 915204f8-38ac-49d1-bb01-644141882ba5-->
Error Image :
Thanks
Bhavesh Ghul
Reply
Answers (
1
)
How to write a unittest for a controller methode in .NET core?
Manually committing offsets in Kafka