2,182 questions
Advice
0 votes
0 replies
23 views
Best practice for maintaining chat history/context in a .NET application and deciding where to call the Web API (Application vs Azure ML Studio)
I am developing a .NET application that uses Machine Learning (Azure ML / AI model) to generate responses. I want the system to maintain chat history or context similar to how conversational AI ...
0 votes
0 answers
42 views
How to set 4k resolution for tizen syncplay api?
I am developing a Tizen Web Application and using the SyncPlay API via webapi to manage media playback. The Issue: I have a media file in my playlist with a resolution of 3840x1080. However, when ...
Advice
0 votes
0 replies
32 views
Is there a way for Pointer Lock API to restore the cursor to its natural position after unlock?
I’m implementing drag interactions that need to continue when the pointer leaves the browser window, so I use Pointer Events with `setPointerCapture()` and, in some cases, the Pointer Lock API. During ...
0 votes
1 answer
114 views
ClientId Not Updating On Spotify's Web API Authorization Example
I wanted to get my hands dirty with Spotify's Web API, and it seems that the first thing I need to get a hang of is Authorization. So, I cloned Spotify's Web API Examples repository from github and ...
0 votes
0 answers
70 views
How to override the request host name in integration tests
I have a system that supports multiple simultaneous customer accounts for which I am trying to write integration tests. At present it extracts part of the request hostname in order to determine the ...
1 vote
0 answers
126 views
System.PlatformNotSupportedException: System.DirectoryServices.AccountManagement is not supported on this platform after updating .net 6 to .net 8
Getting error as below in windows server after updating .net 6 to .net 8: System.PlatformNotSupportedException: System.DirectoryServices.AccountManagement is not supported on this platform Did lots ...
0 votes
1 answer
72 views
Deployment troubles - Blazor WASM Client/Server/Shared setup
I have a problem with deployment of a Blazor WASM solution created in C#. It works perfectly when running in development, but I cannot get it to run after deployment to the web test server My question ...
1 vote
0 answers
296 views
Scalar documentation - multiple response types for one endpoint
I'm learning Scalar instead of Swagger now, and i can not find out how to configure more than 1 common response types over all endpoints in project. I mean that, that i want to have endpoints which ...
2 votes
0 answers
69 views
Is it possible for pipeThrough and TransformStream to produce a byte stream?
The following code does not work. It produces the error Failed to execute 'getReader' on 'ReadableStream': Cannot use a BYOB reader with a non-byte stream Even though byteStream started out life as a ...
1 vote
0 answers
44 views
Is TypeScript incorrectly narrowing the type of the return value from ReadableStreamDefaultReader.read()?
Take the following TypeScript: async function test(stream: ReadableStream<Uint8Array>) { const reader = stream.getReader() const { value, done } = await reader.read() //typeof value =...
2 votes
1 answer
161 views
Angular | Why catchError does't catch 401 error?
Listen, I'll explain how it all happens. I'm making a refresh system for a jwt token. It's a standard thing. I configured exactly two systems: guards and interceptors. That's why I'm sure people will ...
0 votes
1 answer
194 views
Not able to upload file on Autodesk forge server
I want to convert rvt file into ifc file. For that I am using autodesk forge API. Firstly I have created app on autodesk and after that creating token with below code:- const response = await ...
0 votes
1 answer
2k views
How to preserve input data in n8n?
When calling some nodes in n8n, specifically this time, an HTTP node, input data is lost. The most important lost property is the ID of the input, which is later needed to do merge. How to keep input ...
0 votes
0 answers
264 views
Unable to create subdomain in cPanel – Error: (XID) The system failed to create the directory “” because of an error
I'm trying to create a new subdomain (e.g., api-test.domain.com) using cPanel, but I keep getting this error: Error: (XID 6k7jjw) The system failed to create the directory “” because of an error: Here'...
0 votes
0 answers
39 views
ASP.NET Razor Send HTTP Request via HttpClient and include JWT Auth Browser cookies
I have a WebApi and Razor frontend project (both using .Net 8.0). I'm trying to learn to implement authentication using JWT and cookies. As of now it is working well: Login on my razor website, which ...