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

All Questions

Tagged with
0 votes
0 answers
3 views

Reference to IExceptionHandler interface not being resolved from Microsoft.AspNetCore.Diagnostics

I am adding a global exception handling project to my solution and have installed the Microsoft.AspNetCore.Diagnostics NuGet package. Although the package is recognized and listed in the project's ...
aim's user avatar
  • 1
0 votes
0 answers
5 views

The top XML element 'ReservationControlInformationDetailsTypeI' from namespace '' references distinct types

I used svcutil to generate proxy class. I used this proxy class to communicate with Amadeus web services, But when compiling the web service, the error is generated and it is given below. The top XML ...
wiki's user avatar
  • 185
0 votes
1 answer
11 views

.ASPXAUTH cookie not being read by sub application

I have an asp.net v4.7.2 web app setup at, my.example.com in IIS. It uses asp.net Forms Authentication. It's Web.Config: <httpCookies requireSSL="true" /> <authentication mode=&...
Vaibhav Garg's user avatar
  • 3,689
-1 votes
0 answers
41 views

In C# which library is faster to use read and write Excel or CSV? [closed]

I'm an intern, and right now I have an Excel sheet assignment. I therefore need the data to be retrieved from an Excel sheet or CSV file. I now use the Microsoft.Office.Interop.Excel library, however ...
Sri's user avatar
  • 11
0 votes
2 answers
42 views

Deserialize JSON objects do different class names

I am using System.Text.Json to deserialize objects from an external API call in C#. I have created the classes for the data and is very straight-forward. public class DocumentListRoot { ...
JimboJones's user avatar
0 votes
2 answers
21 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
20 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
  • 305
0 votes
2 answers
42 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
40 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
20 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
33 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
25 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
35 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
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

15 30 50 per page
1
2 3 4 5
1823