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
Aakash N
NA
166
19.6k
404 error - interacting controllers in RCL
Dec 5 2018 11:10 AM
404 errors on IIS 10 servers when interacting with Razor Class Library controllers from home Controllers asp.net core
Does anyone encounter this kind of problem? Is it something to do with the IIS or startup.cs. I am using IIS 10 also using VS2017 and ASP.NET Core. When I navigate between _layout.cshtml and class library view(.cshtml) files I see this error.
Code for routing on stratup.cs
app.UseMvc(routes =>
{
routes.MapRoute(
"areas"
, "
{area}/{controller=Home}/{action=Index}/{id?}"
);
routes.MapRoute(name:
"default"
,
template:
"{controller=Home}/{action=Index}/{id?}"
);
});
On local development, it is working fine. I can load all controllers with no issue
Reply
Answers (
2
)
Difference between POST, PUT and DELETE method in controller
Navigation of web page