skip to Main Content

Docker, all API calls return 404

I'm trying to deploy my application which consists of Angular and ASP.NET. I've managed to successfully publish the app with docker. When I launch application with docker and call any method from swagger I get 404. How can I fix…

VIEW QUESTION

Can't get any response from ASP.NET Web API

My controller: public class CommentController : ApiController { private readonly ICommentRepository _commentRepository; public CommentController(ICommentRepository commentRepository) { _commentRepository = commentRepository; } public IHttpActionResult GetComments(int Id) { var comments = _commentRepository.GetComments(Id); return Ok(comments); } } WebApiConfig file: public static void Register(HttpConfiguration config)…

VIEW QUESTION

Create multiple select dropdown on server side – Asp.net

I want to create multiple select dropdown on the server side. Is that possible and if that possible how? How can I write this code on the server- side? <dx:ASPxDropDownEdit ClientInstanceName="checkComboBox" ID="ASPxDropDownEdit" runat="server" AnimationType="None" CssClass="otherItemTextBox" ItemStyle-CssClass="detailControl" Width="400px" Caption="<%$ Resources:tables, TabPageNameLabel…

VIEW QUESTION
Back To Top
Search