Cancellation Token signal not being received by the application code
looks like there is a limitation as it can be read here https://github.com/dotnet/aspnetcore/issues/20229#issuecomment-623289191 https://learn.microsoft.com/en-us/answers/questions/391343/cancellationtoken-in-controller-endpoint-hosted-in but is there…
Concern to API tool
Hi, Is there any existing API tool, to be embedded on an ASP page, to receive/send mails on the designated domain, with Email service?
DriveItem AdditionalData Patch method with error in Graph Api
I'm creating an API with ASP.NET Core that accesses a list/drive with the graph api and at some point I need to update an item that was created in the drive library to add an ID (which is a custom column), but I'm getting an invalid request error, can…
REST interface, server for GET,PUT,POST,DELETE
Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…
Connecting to windows ftp server
I've been working on a project using a cognex camera and need to use FTP to transfer files. I've struggling with getting my FTP servers working and connecting to them the last couple days. I created an ftp server on windows using the steps highlighted in…
![](https://techprofile.blob.core.windows.net/images/MxBLrky2rESG0hes4GqOKQ.png?8D92C1)
"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel" and "The remote certificate is invalid according to the validation procedure" on just 1 server?
There is an API and this API in .NET C# gives this error: "System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Unable to establish trust for…
![](https://techprofile.blob.core.windows.net/images/DuKClSlqEE6CiHDMPLxk9A.png?8DC129)
How can C# be utilized to seamlessly integrate artificial intelligence algorithms into a web-based platform, optimizing user experience and enhancing system performance?
In the realm of software development, particularly in web-based applications, there's a growing demand for intelligent systems that adapt to user behavior and optimize performance. Considering the versatility of C# in various domains, how can developers…
ResetPassword in .net core web api
Hi, I'm currently working on a .NET core web API project and writing ResetPassword. The user wrote the email and front-end sent it to my ForgotPassword Endpoint, I checked the database and send the url with email and token in it to the user's email. This…
How can I send a request contains Json and pdf file using httpWebRequest ?
I have a service that I'm trying to consume on my code. The service in Postman is working fine, the request is Form-Data containing JSON and PDF file selected from the workspace, my issue here is how can I handle the request in my code, I had tried to…
Call On Prem Web Application(ASP.Net Web APIs) from Azure environment(.Net Core Web APIs, Azure Function Apps)
Hi All, We are creating REST endpoint with help of ASP.Net core Web API, while working on some feature we have to consume endpoint(APIs) which already hosted and running on prem windows server, so we plan to reuse with all security concerns. New…
two decimal for label
Hello This is my sample code Label LRO = e.Item.FindControl("LRO") as Label; LRO.Text = roff; its should return value in something example two digit decimal 12.45 14.00 15.12 how to do so thanks
![](https://techprofile.blob.core.windows.net/images/ZXe74VOTGUC0onT7eaZQmg.png?8D9259)
framework realated question
what is frame in framework for .net applicatons like .net framework 3.5 and what it indicates for frames
ASP.NET Core APIプロジェクトでIISのApplication Initialization処理を使う方法
Visual Statio 2022でASP.NET Core APIテンプレートを使って.NET 6のアプリケーションを作成しています。 このアプリケーションをIISの運用環境に配置し、Application Initializaion機能を有効化していますが、アプリケーションプールのリサイクル後に期待通りに動きません。 調べた結果、ASP.NET Core…
This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.
Server Error in '/' Application. Configuration Error __Description:__An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file…
Unable to bypass the certificate validation when trying to access APIs from a web application which has its own certification
Unable to bypass the certificate validation when trying to access APIs from a web application which has its own certification Hi All, I m facing issue when I m trying to access a Service management API to create/ fetch a ticket through my web application…
IMAGE UPLOAD USING PHOTO PICKER DIALOG
RegistrationForm.cshtml <div class="mt-2"> <div class="row"> <div class="col-7 col-sm-6"> <div class="d-flex…
Cancel Request after press button
Hello, We are using MVC .NET Core framework 6 and we need to cancel or kill request after send. For example after press a button that execute some actions in oracle Database. We need to Cancel this request from another button. Is this possible? and if…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
How can I access SharePoint files via a C# web api that uses no user authentication?
I have followed numerous guides on how to access SharePoint via C# and no matter what I do I end up with a "401 Unauthorized response:" I am out o fideas. Anybody able to help? Would prefer working code examples. using…
Customize the EmailConfirmation and 2FA token expiration in .NET 8.0
Is there a way to extend the 2FA and Email confirmation token expiration timespan with email in .NET 8.0? I am using the Microsoft.AspNetCore.Identity and Microsoft.AspNetCore.Authentication classes to use the 2FA with…
Blazor Culture in the Route
Is it recommended to add the language (culture) in the route e.g. site.com/en/page-name or only page name is sufficient e.g. site.com/page-name? How to I change the culture to de-DE if you paste the URL like the following? mysite.com/de/home Thank…