Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

I'm running into a specific issue with my web.config when trying to serve XML files. As soon as I add this rule: <add name="XmlFile" path="*.xml" verb="GET,HEAD" ...
Mohammad Taha Moghaddasi's user avatar
-2 votes
0 answers
49 views

I have a .NET website running on an internal IIS10/Windows Server 2022 machine. It has an internal SSL cert authorised by our domain. It works with HTTP/1.1 and HTTP/2. It's configured to pass an alt-...
Keith's user avatar
  • 157k
Best practices
0 votes
3 replies
62 views

Adding [ApiController] on a controller class has various benefits. Especially the automatic model validation and problem details parts. The problem with this attribute is that it's easy to forget to ...
LLL's user avatar
  • 3,781
0 votes
1 answer
76 views

I'm trying to download files through a popup window. Most of files download correctly, but some one through this error: Error in /Controladores/Descarga.ashx?guid=4b5050f6-2f69-41e1-8bd6-1113686e9575 ...
Pyrus's user avatar
  • 107
1 vote
0 answers
34 views

I'm running an ASP.NET Core application. Everything works correctly when using Docker Compose — all values from appsettings.json load normally, and my services connect to Postgres and RabbitMQ. But ...
Jorjinio's user avatar
0 votes
2 answers
63 views

I'm trying to call a simple static WebMethod in my ASP.NET Webforms page using jQuery Ajax, but it doesn't seem to be working. I've tried enabling anonymous authentication and other fixes suggested ...
Aswinth's user avatar
Advice
0 votes
2 replies
55 views

I am looking for a freeware grid control for ASP.NET C# Webforms. It would behave similar to Excel. The rows will be sequential dates, and the columns are my equipment numbers. I want to be able to to ...
Kim's user avatar
  • 191
0 votes
1 answer
53 views

I am using Bootstrap 3.5 with ASP.NET controls (Visual Studio 2022). I have an ASP.NET:TextBox in a Bootstrap column. While an HTML input tag spreads across the entire Bootstrap column, left to right, ...
StuKH's user avatar
  • 41
Best practices
3 votes
3 replies
87 views

I have the following application architecture: FrontEnd → ApiServer 1 → ApiServer 2 → Database So, the frontend calls a web server, which calls multiple API which make query on database. What is the ...
Massimo Lavermicocca's user avatar
0 votes
0 answers
47 views

Error message: Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). Other solutions tell one to modify the markup syntax in various ways, but I've ...
FloverOwe's user avatar
  • 373
Tooling
0 votes
0 replies
26 views

I was trying to generate a client from the OpenRouter API reference, that can be found in their typescript-sdk github, .speakeasy/in.openapi.yaml : https://github.com/OpenRouterTeam/typescript-sdk/...
k2042's user avatar
  • 1
0 votes
1 answer
210 views

I'm working on a high-performance ASP.NET Core Web API where each request can return hundreds of entity records. Each entity includes multiple navigation properties and nested objects. Currently, I’m ...
Mina Golzari Dalir's user avatar
1 vote
1 answer
69 views

I have a page Product.aspx that has a master page Main.master, both pages are in the root of the project (they don't belong to any folder). The problem is that the tilde path only works for the Main....
franko_camron's user avatar
0 votes
0 answers
50 views

Problem Summary We’re currently blocked in production on OCI VMs (Windows Server 2012 R2 and 2022) when using Oracle.Web.Security.OracleRoleProvider to authenticate against an Oracle Autonomous ...
Antoine's user avatar
  • 55
0 votes
1 answer
99 views

I have an ASP.NET application (on .NET 4.5.2) where I want to use combined Windows authentication and JWT token auth. When the app starts, it calls an endpoint like this: /api/auth/token This ...
neca's user avatar
  • 129
2167 votes
42 answers
816k views

I'm taking my first crack at Ajax with jQuery. I'm getting my data onto my page, but I'm having some trouble with the JSON data that is returned for Date data types. Basically, I'm getting a string ...
1 vote
0 answers
68 views

I am creating a lib to listen to server notifications (more than 100,000 requests per hour), when using WebSocketSharp it is receiving all 100,000 notifications but there is memory leak (server goes ...
MSD86911's user avatar
0 votes
0 answers
18 views

We have an asp.net website based on 4.5.2 framework. I am trying to integrate the Superset dashboard into one of the .aspx page, but getting following error: Error: {"errors": [{"...
Pankaj Upadhyay's user avatar
0 votes
0 answers
40 views

I'm currently working on migrating a project from .NET 4.5 to 8. One of the key functionalities of the old project is the ability to download a barcode of a given string: Old functionality public ...
DarkoPrime's user avatar
1472 votes
31 answers
813k views

I have a class that contains an enum property, and upon serializing the object using JavaScriptSerializer, my json result contains the integer value of the enumeration rather than its string "...
Omer Bokhari's user avatar
0 votes
0 answers
87 views

So long story short, in my ASP.NET application I am making a post call where I supply JSON content like this below. using (HttpClient Client = new HttpClient()) { var Request = new ...
Dinosbacsi's user avatar
743 votes
53 answers
1.7m views

We are unable to connect to an HTTPS server using WebRequest because of this error message: The request was aborted: Could not create SSL/TLS secure channel. We know that the server doesn't have a ...
Simon Dugré's user avatar
  • 19.1k
340 votes
27 answers
331k views

The project is an ASP.NET MVC Web App targeting the .NET Framework 4.6.1. All of a sudden (some NuGet packages were upgraded) I started to get the following error during runtime: CS0012: The type '...
empz's user avatar
  • 12k
1 vote
1 answer
95 views

I am working with ASP.NET/.NET 4.8 application. My action method is as follows: public class TestController: System.Web.Http.ApiController { // pseudo code public async Task<...
Nitin S's user avatar
  • 7,713
741 votes
36 answers
450k views

I'm trying to use the Html.DropDownList extension method but can't figure out how to use it with an enumeration. Let's say I have an enumeration like this: public enum ItemTypes { Movie = 1, ...

1
2 3 4 5
7469