Skip to main content

Questions tagged [asp.net-mvc]

The ASP.NET MVC Framework is an open source web application framework and tooling that implements a version of the model-view-controller (MVC) pattern tailored towards web applications and built upon an ASP.NET technology foundation.

-1 votes
1 answer
25 views

How do I get Git to stop ignoring a real folder that's called Release?

I'm aware that this appears to be a duplication of the question at Git to ignore Release folders but include the specific Libraries\Release folder , but the solution there isn't working for me, and I'...
Lisa's user avatar
  • 73
0 votes
0 answers
14 views

Incremental migration from ASP.NET to ASP.NET Core and failed to proxy on deployment (using YARP)

I'm doing incremental migration by following - https://devblogs.microsoft.com/dotnet/incremental-asp-net-to-asp-net-core-migration/. I was able achieve that on local using VS, the yarp is proxying to ...
Nikhil Alex's user avatar
0 votes
0 answers
7 views

PayPal in MVC Sending Order Request In Live Mode

I was struggling to get an access token when I switched from sandbox to live but found the answer on How to get access token from PayPal in MVC. My issue now is with the next step, getting the order ...
RJPWilliams's user avatar
0 votes
1 answer
23 views

Pass id to @Html.ActionLink in view with nested model class in ASP.NET MVC

I want to create a call to controller action with just carrying id, that is received form model, instead of passing whole model to controller. My model is: public class SingleProduct { [...
Samie Ullah's user avatar
0 votes
0 answers
9 views

Kendo Field with 4 decimal places No decimal rounding

The problem occurs when the value is entered and it is automatically converted to decimals Rond! $("#grid").kendoGrid({ dataSource: dataSource, pageable: true,...
hitec's user avatar
  • 1
-1 votes
0 answers
12 views

ASP .NET MVC reporting error The document is not found. Please try opening the document once again

I am using Report in ASP.NET MVC, and it worked well without error on the development server, but on the real server, "The document is not found. Please try opening the document once again." ...
songju's user avatar
  • 1
-1 votes
0 answers
11 views

Images stored in wwwroot/images are not shown [closed]

I'm new to ASP.NET MVC and C#. I have a project that shows images in wwwroot/images. I was able to get the images into the folder and in my computer works fine the image are displayed perfectly, but ...
Julian Castrillon's user avatar
1 vote
1 answer
39 views

How to append List to FormData in JQuery?

I get model's values from view with this codeblock and this part is OK. var data = new FormData(); var datas = $(this).serializeArray(); for (var i = 0; i < datas.length; i++) { data.append(...
user26029025's user avatar
0 votes
0 answers
12 views

Why doesn't ASP.Net MVC client side validation trigger where input is outside form element, but linked via form="formid" attribute?

I am using ASP.Net 8.0 MVC... ScenarioName property has a Required attribute in the Model.. When I use the following, clicking submit button with all of these elements wrapped inside the form tag ...
RyanO's user avatar
  • 41
0 votes
0 answers
36 views

Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=*' or one of its dependencies

I have a C#(Business Logic) and .NET Core project. It was working fine on windows server 2012. I have updated the operating system to windows server 2022. Now I am facing this problem on all the ...
Mehdavi5's user avatar
  • 161
0 votes
1 answer
25 views

How to get value to text field after model validation message

The PurchaseOrderNumber is generated by another function and is automatically filled in the relevant field when creating a purchase order. However, if the form submission fails due to validation ...
Rashmika's user avatar
0 votes
3 answers
40 views

Ajax post call to Controller method keeps saying 400 Bad Request

I am trying to make an Ajax post call to a method in my HomeController but I keep getting 400 Bad Request error. This is the ajax call $.ajax({ url: '/home/findareacode', contentType: '...
Afz's user avatar
  • 77
0 votes
1 answer
43 views

In web applications how to hide the sensitive data from software developers [closed]

We are developing an ASP.NET Core application using the MVC framework and SQL Server database. The application is intended for board members, and it's crucial that sensitive data remains inaccessible ...
Muhammad Khubab's user avatar
0 votes
0 answers
28 views

Azure B2C Authentication Error IDX20803 and IDX20804 in Production Environment

I'm currently running an application in a production environment hosted on Azure (.net 8), which is set up with Azure B2C authentication. Recently, I've started to see a large number of failed ...
Lakmal's user avatar
  • 889
0 votes
0 answers
21 views

How to resolve 'Application error: An error occurred in the application and your page could not be served' on Heroku?

I created a web app using asp.net core 6 and deployed it using heroku. My MySQL DB is on aiven.io, and I can connect to it and ran all my migrations from my local to make sure everything is correct. I ...
Eduan Naude's user avatar

15 30 50 per page
1
2 3 4 5
13420