Skip to main content
0votes
0answers
27views

DataTable is always empty in ASP.NET MVC

I am working with jQuery datatables, but the datatable is always empty when the page loads. On inspecting the network tab, the request returns an empty response but when debugging the controller ...
Adam Lukman's user avatar
0votes
0answers
20views

ASP.NET MVC project : views included into dll file in development

I change some setting and now my project is including the views into a dll file. I have looked over the web.config and debugging setting but I am not sure what happen but now I am seeing this roslyn ...
Jefferson's user avatar
-1votes
0answers
22views

How to properly handle and display ASP.NET MVC API validation errors in AJAX responses? [closed]

I’m implementing AJAX-based teacher updates in an ASP.NET MVC 5 application with server-side validation. While my API correctly returns validation errors (e.g., 400 Bad Request with ModelState), I can’...
Oyemahak's user avatar
0votes
1answer
62views

How to implement client-side and server-side validation for teacher updates in ASP.NET MVC?

I’m working on a school management system (ASP.NET MVC + MySQL) and need to implement update functionality for teacher records with robust validation. Here’s where I’m stuck: Current implementation: ...
Priyank Shah's user avatar
-3votes
0answers
45views

Inconsistent Date Format Between Identical Web Applications on Same Server [closed]

I have two identical web applications published on the same server — one for testing and one for live. Recently, the live version started having issues, even though there were no problems before. ...
hud. 's user avatar
0votes
1answer
51views

HTTP Error 403.14 - Forbidden IIS 10 .net framework 4.5

I have a website not working on IIS 10 with an ASP.NET MVC project with few issues listed below. This site is working fine on IIS 8. My project is using .NET 4.5. When I navigate to example.com/...
Heemanshu Bhalla's user avatar
0votes
2answers
39views

Umbraco - BeginUmbracoForm posting to the wrong controller

I cannot work out why BeginUmbracoForm is generating a form that posts back to the wrong controller. I figure this is due to data within the hidden upfrt field but I cannot find a solution or really ...
monkeySeeMonkeyDo's user avatar
0votes
1answer
14views

Override Serilog log level ifor Microsoft namespace in Azure App Service

I have a .NET 8 app deployed in Azure App service and it uses Serilog and ApplicationInsights. I get hundreds of thousands of events from Microsoft.AspNetCore namespace. I tried overriding this with ...
iBobb's user avatar
  • 1,160
0votes
0answers
18views

Integrate arcgis as a service in Visual Studio 2022 in ASP.NET MVC project, to convert address value into longitude and latitude

I want integrate arcgis as a service in Visual Studio 2022 in an ASP.NET MVC project, to convert address value into longitude and latitude. I tried too many thing that available online.but i didn't ...
SachinD's user avatar
-1votes
1answer
95views

ASP.NET MVC app request.form returns null

public ActionResult AddFood() { if (Session["uid"] != null) { string email = Session["uid"].ToString(); var user = HomeController.Users.FirstOrDefault(x =&...
StraleS02's user avatar
2votes
0answers
27views

How do you get the connection id from the hub to the serverside controller in .net core

i have this hub in signalr: using Microsoft.AspNetCore.SignalR; using System.Collections; using System.Diagnostics; namespace BulletControls.Hub { public class ForumHub : ...
redoc01's user avatar
  • 2,353
0votes
0answers
54views

Resource-based authorization in ASP.NET or handler?

My main issue is with the resource-based authorization handler (documentation): public class ExampleAuthorizationHandler : AuthorizationHandler<ExampleRequirement, ExampleEntity> The ...
0votes
0answers
44views

Dependent SignalR scripts not being created with package VS2022 package install

I am supporting an ASP.NET MVC 5-based web project in Visual Studio 2022. I am attempting to add SignalR support, following the instructions at https://enlightsolution.com/asp-net-mvc-5/signalr-with-...
David W's user avatar
  • 10.2k
0votes
1answer
80views

Compare Dates of different Timezones in ASP.NET from database

This is my code: DateTime test = new DateTime(2025, 4, 9, 4, 0, 0); //instead of the it would be DateTime.UtcNow TimeZoneInfo timeZoneInfo = getUserTimeZoneInfo(); //Converting to toronto time EDT ...
Preet Patel's user avatar
0votes
0answers
26views

Can't open Nuget package manager in Visual Studio 2022

I am using Visual Studio 2022 v17.13.5. I have many desktop (Winforms) and ASP.NET MVC web application projects. For some time now, I have a problem with Visual Studio and it is affecting all the ...
Archana's user avatar

153050per page
close