Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
1 answer
79 views

Everything works as expected until the json string is deserialized after the post back. Class: public class RegretLetterDetail { public int PositionID { get; set; } [Display(Name = "...
Danie Schoeman's user avatar
0 votes
0 answers
63 views

The calling application calls the auth endpoint of an API to receive a token. The API will, on successful authentication, return a JWT bearer token for the calling application to then use in ...
David Hirst's user avatar
  • 2,032
0 votes
0 answers
32 views

//1st way public string GetSomeData() { List<SomeObject> largeCollection = GetLargeDataCollection(); JavaScriptSerializer serializer = new JavaScriptSerializer(); json = ...
Shad's user avatar
  • 1,237
0 votes
0 answers
66 views

I am attempting to create a very flexible routing system that allows users to configure their own publishable url paths to their own content pages, sort of like a CMS. To achieve this, I created a ...
Matt Spinks's user avatar
  • 6,740
0 votes
0 answers
36 views

On localhost I have set custom error mode off in web.config. There is no Application_Error method in global.asax. I have also commented HandleErrorAttribute in filter.config, but still I am not ...
Heemanshu Bhalla's user avatar
0 votes
0 answers
41 views

I’m looking to implement something similar to the Html.Action helper, but instead of using the controller and action names, I want to provide the RouteName and route parameters. In our project, the ...
El MoZo's user avatar
  • 159
0 votes
0 answers
110 views

I´m having problems with the next error Stack Trace: Exception type: InvalidCastException Exception message: The specified conversion is not valid. on System.Data.SqlClient.SqlBuffer....
11itachikun's user avatar
0 votes
0 answers
64 views

I'm using HiQ PDF to convert my HTML content to a PDF document. Occasionally, I'm encountering an issue where the body text overlaps with the header and footer. This problem doesn't occur every time ...
Muhammad Ali's user avatar
0 votes
0 answers
328 views

I am working on a .NET Framework 4.8 application and want to store configuration values in a .env file instead of using web.config, app.config, or appsettings.json. Does .NET Framework 4.8 support ....
Srijan's user avatar
  • 57
0 votes
1 answer
42 views

I am writing a CMS project with .NET Framework 4.6 but I ran into a problem at the beginning. The project has 3 layers, the data, domain and MVC layers are separate. I created the tables with fluent. ...
hrmsystem's user avatar
1 vote
1 answer
199 views

For a Blazor Server project, I am trying to enable browsing to a localized page with URL like: https://example.com/en/counter (for English) https://example.com/fr/counter (for French) https://example....
Tom's user avatar
  • 192
0 votes
1 answer
40 views

We have an API with a controller-level route defined like this: [Route("api/[controller]")] We also have method level routes defined like this: [Route("/method_name/{version}")] ...
MB34's user avatar
  • 4,498
0 votes
1 answer
941 views

I have an older MVC (I think v4, it is written in .Net 4.8) web application that we moved behind AFD and enabled all of the default WAF rules in Blocking mode. Sometimes users cannot upload images ...
Josh's user avatar
  • 16.6k
-1 votes
1 answer
73 views

i'm a beginner in react. i have a simple time tracking app. it has a simple interface. the problem is i have list of all employees which i am getting from the backend api in asp.net core. when i click ...
Hamd Mahmood's user avatar
1 vote
0 answers
50 views

I’m working with an ASP.NET MVC project where I've used Entity Framework to generate CRUD actions for a Student controller. The HomeController handles the main view (Index), which displays a paginated ...
Ammar's user avatar
  • 9
0 votes
0 answers
58 views

I'm trying to get the current page from view in controller, but the code throws the error shown below. Home controller: public ActionResult Index() { // throws Null Page = System.Web....
Time  Attendance System's user avatar
0 votes
2 answers
352 views

I have an ASP.NET MVC app running on .NET 4.8.2. I can't update to .NET Core yet. So I am stuck on ASP.NET MVC and .NET 4.8.2. My app has a continuous web job and I build the entire solution on Azure ...
Greg Veres's user avatar
  • 1,970
1 vote
0 answers
65 views

I am using Agora for Video Chat in my ASP.NET MVC web app and Android. This is how it is working. There is a separate view in ASP.NET MVC web app for VideoCall, in which there is a button on click of ...
Sarmad Ali's user avatar
0 votes
1 answer
78 views

I'am using Generic Collection List but not working public class Product { [Key] public int p_id { get; set; } public string p_name { get; set; } public double p_price { get; set; } public List<...
Sarfaraz Qadir's user avatar
0 votes
0 answers
43 views

I want to be able to implement drag and drop on this page meaning I should be able to rearrange the rows as I want. This is not working for me. I am not able to drag the rows around. This is an ASP....
Baba's user avatar
  • 2,247
0 votes
1 answer
63 views

When I'm debugging the app, it will start correctly looking for /Home/Index, however, when I publish to the server, I get HTTP Error 403.14 - Forbidden I'm not entirely sure what I have to do so I'm ...
user1257758's user avatar
0 votes
2 answers
76 views

[Route("Admin/Image/AddImage")] [HttpPost] public async Task<IActionResult> AddImage([FromForm] IFormFile file, [FromForm] Image image) { if (file != null) { var ...
Ghayoor Balti's user avatar
0 votes
1 answer
67 views

I have an ASP.NET MVC application and it fails to start. The incident started to happen after the update of the Visual Studio. .NET version of the application is 4.6.2. Here is the content of the web....
tahasozgen's user avatar
0 votes
1 answer
81 views

My problem on this the contact fields is not appending on the modal. Based on the console.log I have 2 values of contacts. What's wrong in the javascript why the fields is not showing up? I want to ...
Erck's user avatar
  • 35
0 votes
1 answer
46 views

I try to implement a simple calendar in ASP.NET MVC 4. Its aim is to view a day and schedule meetings among different units of an organization. I am getting "Uncaught ReferenceError: GetDayViewJS ...
tahasozgen's user avatar
0 votes
1 answer
75 views

How can I manage two tasks that each take more than two hours to execute in .net MVC? I've been fetching a huge amount of data from a third-party website, and although I've tried using async/await, ...
ajay grandhi's user avatar
0 votes
1 answer
31 views

I am using ASP.NET MVC and in my class I have member whose description has double quotes in it like below: [Display(Name = "Biological "Parent"?")] public bool? IsParent { get; set;...
Jay's user avatar
  • 1,039
0 votes
1 answer
330 views

I have two servers running the same MVC web application behind an F5 load balancer. Despite correctly configuring session timeouts in IIS, sessions are expiring after only a few minutes of user ...
chandru arya's user avatar
0 votes
0 answers
25 views

I am supporting an ASP.Net MVC 4 application. It makes use of TinyMCE (v6.4.1) rich text editor in a number of views. There is one view in which the component fails to initialize, with the following ...
Shawn de Wet's user avatar
  • 6,066
0 votes
1 answer
226 views

I can generate and download a PDF file successfully if there's only one. However, when I attempt to generate and download multiple PDFs, I encounter an issue. I'm using the same code that works for ...
Jen143's user avatar
  • 835
0 votes
0 answers
32 views

This .cshtml page display the main menu: MyMVCProject\Location\Subjects\Views\@_MyMainMenu.cshtml And, this .cshtml displays all classrooms data: MyMVCProject\Views\Classrooms\@_Index.cshtml I have ...
khurj's user avatar
  • 19
0 votes
0 answers
70 views

I'm experiencing an issue with sending emails using System.Net.Mail.SmtpClient in an ASP.NET Web API project. The emails are supposed to be sent automatically using Hangfire, but I'm encountering an ...
Daniel Zain's user avatar
2 votes
0 answers
183 views

I am a beginner in Blazor Im not getting any error and why two way data binding not working, I'm experiencing a two-way data binding issue in my Blazor WebAssembly app. I have a checkbox bound to a ...
Faizan Khatri's user avatar
-1 votes
1 answer
64 views

Using ASP.NET, is there anyway to design a notification panel similar to the Azure notifications, that pops up on the right side of the browser window on click? Please see the attached screenshot. I ...
Steve Ed's user avatar
  • 545
-1 votes
2 answers
441 views

I am trying to format my HTML5 input date type date format to "01-Jan-2024". I have tried placeholder="dd-mm-yyyy" value="" and required pattern="[0-9]{2}-[0-9]{3}-[...
James123's user avatar
  • 11.7k
0 votes
0 answers
31 views

Hello community I have a question regarding how to make the form push to the database and insert the data provided in the table what happens is that according to me I already have the correct insert ...
jared alcala's user avatar
0 votes
0 answers
20 views

I have another question regarding ASP.NET MVC when you want to display information from a controller in a view but it's not a table, how could you do it? I've tried with ViewData() and ViewBag, but ...
jared alcala's user avatar
0 votes
1 answer
61 views

I want send qusetion to server and the then the server answer my quserion , and Iwant show the previous question s and answers , basd on the search.htmlcs @* @page @model SearchModel @{ ViewData[&...
Waseem Omar's user avatar
1 vote
1 answer
195 views

Model.Attchment contains the byte[] of the document. It comes to the client side with my script, but not displayed in the Document Editor. This is the script I'm using : <script> var ...
RooPro's user avatar
  • 11
0 votes
0 answers
86 views

I have an ASP.NET MVC 4.6 web application running on a 64-bit Windows Server 2016. The application utilizes Rotativa 1.7.3 to generate and export PDF documents. Previously, the PDF export process was ...
Shuvo's user avatar
  • 1
0 votes
0 answers
50 views

This is the payload format of a property showing in the network tab. but in the controller, the below property gets 0, I have provided the razor code as well. PatientPrescriptionOTCModelList: [ { &...
ravi's user avatar
  • 17
0 votes
1 answer
245 views

i am trying to generate a 3 level nested menus for creating a navigation bar for my application. I am written below code. But the code only returns top menu and middle menu. Third menu named bottom is ...
beard_less_coder's user avatar
0 votes
2 answers
68 views

I have the following in my web.config file <configuration> <connectionStrings> <add name="DefaultConnection" connectionString="Data Source=...
Miranda's user avatar
  • 137
0 votes
1 answer
62 views

i want get total employees number by signalR but i can't doit i add signalR on my project asp core create Hub > dashboardHub ////////////////////////////// Create dasjboard.js /////////////// ...
ATA's user avatar
  • 13
1 vote
2 answers
68 views

Hello Stack Overflow community, I'm facing an issue with Application Insights telemetry in my MVC 4 application when it's deployed behind a private load balancer. Locally, the CPU and Memory telemetry ...
Mayank's user avatar
  • 1,392
0 votes
0 answers
49 views

I work on asp.net mvc. I face the issue that I can't pass user role and User code from IndexResignation action to PendingManagersRequests action using Hidden Fields. so: How to use Hidden fields. ...
ahmed abdelaziz's user avatar
0 votes
1 answer
59 views

I have this Error use casting ('t => ((Derived)t).MyProperty') or the 'as' operator ('t => (t as Derived).MyProperty'). Collection navigation access can be filtered by composing Where, OrderBy(...
ATA's user avatar
  • 13
1 vote
0 answers
38 views

Following is the similar question as below but it was asked 9 years ago so wanted to know if there is any solution yet which supports all browser. In my case everything works fine on Chrome and Edge ...
Ris's user avatar
  • 1,184
0 votes
1 answer
67 views

I work on asp.net mvc i face issue label text display on two lines but expected is display on one line . I need label text display without go new line as Last working day it must display also on one ...
ahmed abdelaziz's user avatar
0 votes
1 answer
805 views

I have an email template which is in Azure, in asp.net core api iam generating QR in base64 string and i use that as that as img src (like this : <img src="{{QRstring}}") the value of {{...
Prithvi Kp's user avatar

1
2 3 4 5
844