skip to Main Content

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