All Questions
Tagged with .net typescript
184
questions
2
votes
1
answer
61
views
How to run typescript code in dotnet backend
The UI is built on typescript and the business wants to run a particular logic (legacy code) in the backend when a trigger occurs. As the UI code is tightly coupled, replicating it in the backend or ...
0
votes
1
answer
824
views
Angular 17: How to resolve dependency when Conflicting peer dependency?
I upgraded angular to version 17 by using npm --force, the application is working well in local but when I try to deploy it (octopus deploy), the npm install is automatically executed by .Net and the ...
0
votes
1
answer
48
views
React with .NET 8.0 + Minimal api, frontend sends http requests to its own port instead of backend port
Previously I was working with react projects on .NET 3.1, and I just tried to create a fresh project on .NET 8.0 and encountered a lot of troubles and misunderstandings. I created a new controller and ...
0
votes
1
answer
27
views
Is there any way to debug Angular library from ASP.NET pplication
Angular library which is being consumed as a package and used as a component or sub-feature in Asp.net web application.
The selectors of Angular library component is used as an element in .aspx ...
0
votes
0
answers
20
views
Dynamically populate categories based on selected product type
Unable to access productTypeId inside foreach loop. In if (productType.Id == productTypeId)
<select name="productType" id="productType" class="form-select">
&...
0
votes
0
answers
41
views
Decrypt .Net cookie using Typescript or Nodejs
Im trying to decrypt a .Net cookie using Typescript but the retrieved cookie is serialised binary data and there are many bytes that cannot be read. Im trying to figure out which format it is in and ...
0
votes
1
answer
29
views
.net core CORS response headers missing
I'm trying to get 'set-cookie' header that comes back from my server after login request.
I set everything on server side to allow and expose all:
program.cs cors
I get all i need in network section ...
0
votes
1
answer
114
views
Windows 11 AWS CDK: Cannot find module '@aws-cdk/core'
I have a C# .NET 6.0 AWS Serverless (SAM) Lambda application built with Visual Studio 2022. I want to utilize the AWS CDK within it to build/deploy the infrastructure.
Our DevOps department insists ...
0
votes
3
answers
117
views
Prevent modal from closing when there is error
I have made use of a generic approach where on adding a food item, a modal with a form will open to let the user add his details. However, for the check on backend for duplicate items, i can only ...
0
votes
0
answers
49
views
Having trouble with signalR react typescript redux persist (backend dotnet 8) cannot get last message
I am trying to implement a signalR communication service to my project. I have successfully made it subscribe to a conversation, but when going to the client component the last message is not updated ...
0
votes
1
answer
139
views
How can I use a Progressbar with Angular and .NET?
I am developing a system in Angular and .NET where I upload files and want to add a progress bar.
I have managed to display it with a dialog:
<p-dialog [(visible)]="dProgressBar" [style]=&...
0
votes
1
answer
69
views
ASP.NET/React.JS - API/CORS NOT fetching when using react-email
I have a React App running at port 44411 and react-email at port 3000.
I have watched a youtube vid on how to set up react-email and resend but it inmediately didn't work. So after fiddling with it ...
0
votes
0
answers
30
views
Angular frontend is not able the fetch the API(.Net)
I have created an admin panel on Angular (frontend), .Net Core (backend) and SQL. I am facing an issue calling the API on my hosting server, while on local device its working fine. In my server I have ...
0
votes
1
answer
64
views
JS files compiled by TypeScript not included when publishing though they are included when building in Debug and Release mode
I have a .NET MAUI project with TypeScript in Scripts\scriptfiles.ts folder that is compiled into wwwroot\js\scriptfiles.js. Everything works well until my client tries to publish it and everything ...
0
votes
1
answer
226
views
CORS Issue with Angular and C# - POST, PUT, DELETE Not Working Despite CORS Configuration
I'm facing a CORS issue in my web application, which is built with Angular (TypeScript) and uses a C# (.NET 8) API server. While the GET method works fine, it seems that the POST, PUT, and DELETE ...