All Questions
Tagged with asp.net-core-mvc asp.net-mvc
1,609 questions
0
votes
0
answers
84
views
Azure B2C Logout Implementation in ASP.NET Core MVC and ASP.NET MVC applications
I'm currently working on multiple applications using different frameworks: two ASP.NET MVC applications on legacy .NET, and one ASP.NET Core MVC application. All of these applications use Azure AD B2C ...
1
vote
1
answer
105
views
How to achieve the same effect of ASP.NET MVC Server.Transfer in ASP.NET Core MVC?
I'm new to this kind of migration. Kindly help me!
TransferResult: is this required in ASP.NET Core 8.0 MVC while migrating from ASP.NET MVC? (based on Markus Olsson answer)
If yes, how to alter the ...
1
vote
2
answers
213
views
Validating ASP.NET Core EF Identity users in .NET Core Identity
I have written an ASP.NET Core 8.0 Web API project, which is using a database from an older ASP.NET MVC project (on .NET 4.6).
I have successfully wired up the Identity framework, and I am pulling the ...
-2
votes
1
answer
82
views
How can I show fullcalendar in a modal dialog
I am trying to show FullCalendar inside a modal dialog. The full calendar can be viewed inside a div element. But I want to show it inside a modal dialog.
Here is the code:
<button type="...
0
votes
1
answer
71
views
how do i return the json object of my ajax GET request to an API in Asp.net MVC
Ok hi. I'm having a lot of problems with a project im building. I want to use Ajax to make a request to the Google.Books api so I can make book searches from my website. Its a Asp.net MVC project. I'm ...
0
votes
1
answer
175
views
ASP.NET Session Cookie not Being Set
Issue with ASP.NET Core Session Cookies Not Being Set (Intermittent)
I'm using ASP.NET Core sessions, and for some reason, the middleware is not consistently sending the Set-Cookie header for the ....
0
votes
1
answer
73
views
Didn't find Login page without declaration of _Layout in asp.net core mvc 6,7
I've a fully custom _Layout page in location "~/Views/Shared/".
@if(User.Identity.IsAuthenticated){
<!-- dashbaord layout -->
<!-- dashboard side bar -->
<!-- dashboard header ...
0
votes
1
answer
84
views
The id returns null each time
I am trying to change the information of the material and the way I've tried to do it is there is a list of all materials and within the div of the particular method I have put a change material ...
0
votes
2
answers
54
views
UnCheck radio buttens by JQuery
i have a Question application...each Questions have 4 options...
i need to Uncheck other options when select a option in each question...
please help me i have no time...
this script change all ...
1
vote
1
answer
1k
views
ASP.NET Core 8 MVC: Action can't have named route value other than id
Background
I'm fairly new, relatively speaking to .NET Core and ASP.NET Core MVC, having previously been used to .NET 4.x and ASP.NET MVC 5, so please bear with me if I'm asking something obvious; I ...
0
votes
3
answers
152
views
DropDownListFor selected value returns null in the Enum property Model on form POST in ASP.Net Core MVC
I have a form page with DropDownlistFor or select as below:
<select asp-for="LeaveType"
class="form-control" style="max-width:180px"
asp-items=&...
0
votes
1
answer
42
views
How to get model.isvalid true if an entity has a icollection field
I am new to ASP.Net MVC. When I was trying to add student record, I am getting error Model.isvalid is false. In student view, I am giving lastname, firstname and enrollmentdate only. I debugged the ...
1
vote
1
answer
772
views
Custom validation attribute not firing IsValid method
I'm currently implementing some custom attributes in ASP.NET Core MVC and I'm having a problem with ValidationAttribute. Validation should be triggered on form submit.
public class Company
{
[...
1
vote
1
answer
180
views
ASP.NET MVC Data Annotation validate a group checkboxes
I am new to ASP.NET MVC and working on the form validation. I am stuck with a group checkboxes validation. Basically, I am trying to make the user select at least one hobby in a group of checkboxes.
...
0
votes
0
answers
92
views
How to add data to Firebase Realtime Database using Asp.Net Mvc Core?
I am developing a task management application using Asp.net MVC Core, and I am utilizing Firebase Realtime Database as the database.
public async Task CreateJobList(JoblistModels joblistModels, ...