Only json is returned in my Foody project
When I run my foody project and click on the categories on my web page, there is only json data on the displayed page. I want the recipe data to be in the cards. When I open the console, I get an error like this
Failed to load resource: the server responded with a status of 404 (Not Found)
:5229/api/dishes/GetDishesByCategory:1
how to create entity for specific product
I’m making an e-commerce website and i have product entity with basic propertys
ASP.NET MVC Double with Dot Decimal separator get comma separator once supplied in html form
i’m stuck and cannot find easy way to solve this issue, let’s suppose i have below model:
ASP.NET Core MVC: Comment Replies Not Working After Refactoring
I am working on an ASP.NET Core MVC project that involves posts and comments. Users can leave comments on posts, and they can also reply to other comments. The initial implementation was working (Check this commit), but after some refactoring, the reply functionality stopped working. Now, when I try to reply to a comment, the page just refreshes without hitting the controller action.
Can’t redirect error 500 to custom error page in ASP.NET MVC 5
I have been trying to learn how to create a custom error page for my ASP.NET MVC application. I have created a new controller with an action and a new view for this.
asp.net core with C sharp and mvc
any suggestions as to which web hosting I can deploy my asp.net core 8.0 to? Thanks.
Navigation to Index view using RedirectToAction does not work (C#)
While debugging the code, I see that the Edit action is performed, but the URL remains unchanged and there is no navigation to the new Index view. I also tried to handle the form submission via JavaScript, but after saving the Java Script code was not executed.
C# ASP.NET MVC – inputted data not passed to Controller Action
I’m completely new to ASP.NET MVC, I’m writing a blog application that consists of articles. As an admin you have a Dashboard where I can add articles:
MVC data annotations – Initial Data Is Null, but required input value on Submit form
I have the situation that is the Notes column inside of the table is NULL. This data is imported automatically.
in ModelBinder the System.Web.Http.Controllers.HttpActionContext.Request.Headers.Accept has value,but count is 0?
HttpActionContext.Request.Headers.Accept has value,but count is 0