Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
11 views

How to pass a parameter from one partial view to another

I have a partial view of users with a shop details page. I have added a partial modal to mark users as sickness. This is my partial view of the users: @model Shop <div class="mb-3 d-flex ...
molly1312's user avatar
0 votes
0 answers
11 views

IIS 10 Configuration .Net Core/Angular and .Net Framework ASPX.Net issue

I am setting up a new Windows 2019 server with IIS 10. I am trying to configure two web applications within the server. One is a .Net Core/Angular 16 application, the other is a .Net Framework ASP.Net ...
awdorrin's user avatar
  • 295
0 votes
2 answers
38 views

Id not binding in controller

Im doing a dontnet website and am having issues with a method in my controller. This is the method in my user controller to allow users to view all their timecards. I tried logging to the terminal and ...
molly1312's user avatar
-1 votes
1 answer
39 views

Calling javascript function in .cshtml file

I am calling a Javascript function which is in a .js file from a .cshtml file as in .js file code: var LoginForm = document.getElementById("LoginForm"); var RegForm = document.getElementById(...
Baibhav Hota's user avatar
1 vote
1 answer
17 views

How to use IRouteConstraint in FastEndpoints

Anyone know how to use IRouteConstraint in FastEndpoints? I have a existing class implemented IRouteConstraint and want to reuse it when I migrate to FastEndpoints? (I use it to parse hashids)
Phat Huynh's user avatar
0 votes
1 answer
31 views

Why my ASP.NET razor page app cannot access a specific endpoint?

I have an issue with my ASP.NET app where it cannot access a specific endpoint. It throws a 502 error in Azure and a request timed out on my local machine. The endpoint I want to access is the ...
alex corsega's user avatar
-3 votes
0 answers
24 views

Authentication and Authorization issue [closed]

How can I configure authentication and authorization for an ASP.NET Web API (running on "legacy" .NET framework)c#? Just a simple and an efficient way to do it, I keep find configurations ...
Denny Quizanga's user avatar
1 vote
1 answer
34 views

.NET Firebird client connection error, System.BadImageFormatException

I keep catching the following exception when trying to open a Firebird SQL connection. I suspect there may be an issue with the connection string I have supplied. System.BadImageFormatException: 'An ...
James Clarke's user avatar
0 votes
0 answers
21 views

How to get the Authorization key value from the response headers

The Network tab shows the header but unable to get the header in frontend(Next js) enter image description here But when I am console the response headers then this thing is showing. enter image ...
Rohan Sharma's user avatar
0 votes
0 answers
20 views

Can't read template path after deploying

This is my source code structure: src ├── Application │ ├── Adapters │ │ ├── MailSender │ │ │ ├── MailTemplates │ │ │ │ ├── file1.xml │ │ │ │ ├── file2.xml │ │ │ │ └── file3.xml │ │ │ ├── Interfaces │ ...
Nguyen Quoc Bao's user avatar
1 vote
1 answer
44 views

What is the default ASP.NET http/https launch profiles (launchSettings.json) server and how do I configure it?

For the last few years, the default launch profile for ASP.NET Core projects are http or https (beside IIS Express). I can't find any info on what exactly is launched (is it Kestrel?) or how do I ...
Luke Vo's user avatar
  • 19.8k
1 vote
0 answers
24 views

Does `ReadAsMultipartAsync` use preloaded buffer data?

If I use Request.Content.LoadIntoBufferAsync() to limit the buffer size, does Request.Content.ReadAsMultipartAsync() read the content from this preloaded buffer, or does it read the content fresh? ...
YMK's user avatar
  • 41
0 votes
0 answers
15 views

.NET framework IIS Irregular Session Expiry

I have a website hosted on IIS and an SQL Server on a separate server. However, we're encountering sporadic session expiry issues when users navigate the website, leading to frequent logouts. <...
Cj Cabug-os's user avatar
0 votes
1 answer
29 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
0 answers
21 views

How to hide a specific column in AG-Grid on a condition

I'm Using Ag-Grid Enterprise in a .NET Project. I want to hide a column if user changes the visibility filter of that column. Its hide/show. Currently I'm Doing this : kpiData.forEach(function (kpi) {...
M Usman Sharjeel's user avatar

15 30 50 per page
1
2 3 4 5
1822