• Register

Recent questions tagged net-mvc-4

0 votes
1 answer 15 views
Problem : no type was found that matches the controller named
asked Feb 23 Shovo210 4.8k points
0 votes
1 answer 9 views
Problem: to allow get requests set jsonrequestbehavior to allowget.
asked Feb 23 Ethan ross 1.9k points
0 votes
1 answer 14 views
How can i apply any entity framework approach like code first and database first in the ASP.NET MVC application.
asked Sep 16, 2020 Daniel Anderson 4k points
0 votes
1 answer 14 views
I have a hash of words and respective frequencies, that I want to order by frequency. Sorted Dictionary orders by key, not value. Some resort to a custom class, but is there a cleaner way?
asked Aug 31, 2020 Sofi55 1.1k points
0 votes
1 answer 137 views
In previous versions of .Net, it was possible to override bool AuthorizeCore(HttpContextBase httpContext). But this no longer exists in AuthorizeAttribute. What is the current approach to making a custom AuthorizeAttribute?
asked Aug 29, 2020 Aliza313 720 points
0 votes
1 answer 31 views
Problem: Currently I have the table called Student in the database with some of the values and I am trying to display the values in the webgrid with the help of entityframework. I have done exactly the same kind of work before many times using the Ado.net, but ... I assign the VAR value to List also is this my correct approach? Kindly guide me in fixing my problem related to Entity Framework.
asked Jul 3, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 56 views
Problem : I am using the Membership.create user function, then a below error is occurring: “The required anti-forgery form field "__RequestVerificationToken" is not present” How can I resolve above error?
asked Jan 21, 2020 jwilliam 3.9k points
1 vote
1 answer 52 views
Problem : While binding the dropdown in MVC, I often face following error: There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key country. Please find below my View for your reference : @Html.DropDownList("country", (IEnumerable<SelectListItem>)ViewBag ... .countryid.ToString() }); } ViewBag.mycountrydrop = myitem8; return View(); I do not know how to resolve above error.
asked Dec 28, 2019 alecxe 7.5k points
0 votes
1 answer 678 views
Problem : Facing following ASP.Net error an asynchronous module or handler completed while an asynchronous operation was still pending.
asked Nov 14, 2019 peterlaw 6.9k points
To see more, click for the full list of questions or popular tags.