How to pass either a JavaScript array or JSON string to an Asp .NET Core 6 MVC controller using AJAX
I am working on an Asp.Net Core 6 MVC project. Initially, I tried to send a javascript array created by this line of code, var reportData = $('#reportForm').serializeArray(); to the controller. The controller signature was public async…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
Azure app service reverts to previous version
I have blazor web app I'm deploying to Azure App service using VS2022 Preview publish feature. I have upgrade my project target framework to .NET 8. And I have my publish setting target framework to .NET 8. However after publishing the app the…
Asp.Net and gridView: how to create a link that initiates a method
The asp.net GridView might not be able to do this, but I'm looking for a way to display a link in a grid column, where the the user can click on the link which sends the value (a string) to a method, and does work. If not GridView, is there another…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
Why do we get this error "Reading the request body timed out due to data arriving too slowly. See MinRequestBodyDataRate." if we have not configured MinRequestBodyDataRate??
Our system utilizes ASP.NET Core 6.0.10 and HTTP/2. There is no specific configuration for the MinRequestBodyDataRate in our program, indicating that it likely uses the default value of 240 bytes per second. During our investigation, we have confirmed…
Every definition causes ambiguation error with itself ASP.NET in Visual Studio 2022.
I am building a web project in ASP.NET using Visual Studio 2022. So far, there have been no similar issues, but after moving a .css file from one folder to another my project has now flagged every single class and function definition within every…
SSO in ASP.NET Webforms & .NET 8
Hi, I have an ASP.NET Webforms legacy web application using Asp Net Membership Login control and SQL Server as database to validate credentials and login. On other hand, I have .NET 8 Web app using Cookie based Authentication with same database. But for…
How to Freeze Header in ASP.NET Gridview using C#
I am developing ASP.NET application. I have been using gridview for adding/editing/deleting records for most of the forms. some of the gridview will have more than 1000 rows. for temporary, i have used CSS overflow to freeze the records. But, it will…
SSL Certificate Issues with ASP.NET MVC Application in Google Chrome
I’ve created an SSL certificate that works correctly on Microsoft Edge but has issues on Google Chrome. How can I resolve this?
Windows service HttpClient with HTTPS support
Hi.I have a **Windows service** that makes calls to an http web page via an **HttpClient **object. Now the website is HTTPS but when I call the https page it gives an "Unauthorized" error. I am using Visual Studio 2013 with .NET Framework 4.5.
How to display data on jQuery Datatables in Asp.Net Core MVC
I am new to jQuery Datatables using AJAX in Asp.Net MVC 6.I have enclosed my code in the view as well as in the controller. View: <div> <div style="padding-top: 20px; padding-bottom:20px"> <button class="btn btn-lg…
CS0103:The name 'ViewBag' does not exist in the current context
CS0103:The name 'ViewBag' does not exist in the current context same issue showing on every html control like @Html.DropDownListFor(), @Html.ValidationMessageFor etc. Please resolve the issue.
Add-Migration does not detect the change for Entity Framwork in MVC project with Entity Framework 5
I inherited this project which has been in Production for a long time and the original developer is no longer with the group. I needed to add a new column to one of the table in the database so I updated the object with a new column: public string status…
How to design patterns from scratch using C# asp.net MVC
I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…
![](https://techprofile.blob.core.windows.net/images/9ftwqyybD0CzNHy8ClJL9Q.png?8DC8CA)
Missing Satellite Assemblies for Norwegian Language
I have a service repository with resource files for different languages. When I build the repository locally, I see DLLs for all languages, including the Norwegian language. However, when I build the same repository in DevOps, I do not see DLLs for…
![](https://techprofile.blob.core.windows.net/images/J_TYKjg7AEiX7AvF9jc5sA.png?8D8651)
Could not load file or assembly Newtonsoft.Json
I have an ASP.NET Web App that I opened today in VS 2022 after some time, and I keep getting an error: [FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.3.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of…
![](https://techprofile.blob.core.windows.net/images/J_TYKjg7AEiX7AvF9jc5sA.png?8D8651)
VS2022 Chart Control not working in Web Forms framework 4.7.2
I'm trying to use the Chart control in the Toolbox in a web form vb.net framework project using framework 4.7.2 but the control will not display. There are zero errors and I'm using the most basic settings for the Chart control. I have an earlier 3.5…
.NET MAUI ios Application Crashes When Published. Can Someone Guide me?
I maintaining .NET MAUI application that are created using .NET MAUI Blazor hybrid application project. now wwe need to publish it on Apple Appstore and there also some platform specific codes for android as well. so what i did is create .NET MAUI multi…
How to create dynamic report depend on user input by ASP.NET Core?
I want to build a dynamic report by Asp.net core -EF-, I searched for many ways and ideas, but it doesn't support my idea, I am so disappointed, the core idea of my project is to get tables and columns names from the database and displays them for the…
ContosoPizza.http file not being created
When following the tutorial for creating a web API project, on page 3, part 4, i enter the following command: dotnet new webapi -controllers -f net8.0 however it does not create the ContosoPizza.http file as the guide states it should. Please advise…
![](https://techprofile.blob.core.windows.net/images/YykzxgI8WU-FS8_8mZ06MQ.png?8D9F28)
validate item in entire gridview to check excess Quantity
Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="yyy.aspx.cs" Inherits="yyy" %> <html> <head runat="server"> <title>Untitled…
![](https://techprofile.blob.core.windows.net/images/ZXe74VOTGUC0onT7eaZQmg.png?8D9259)