ASP.NET API + Swagger + Azure B2C
This is my 3. try to get help for a ASP.NET Core + Swagger + Azure B2C demo project. I am not sending code because this results into…
CRITICAL ERROR | Ask a question -> Page not found!
I worked OVER 1 HOUR on a question and when I submitted it I got redirected to PAGE NOT FOUND! My draft I had IS GONE! I am very unhappy with this.
Azure Service Bus Queue - High number of incomming requests even though the client is turned off.
I'm facing a challenge with an Azure Service Bus Queue. I have an ASP.NET Core API that forwards incoming requests to a queue. Additionally, I have a background service that checks for new messgaes every 10 minutes. The service is supposed to shut down…
ActionResult<IEnumerable<Model>> vs IActionResult in ASP.NET Core WebAPI
Hello, What is the difference between ActionResult<IEnumerable<SpeakerModel>> vs IActionResult ? I ran both of them and got the same result. public IActionResult GetAll() { return Ok(SpeakersList); } …
Request for Research Guidance and References
Dear Microsoft Team, I have recently completed an e-commerce project using ASP.NET Core API and Blazor. I am now looking to write a research paper on this topic. Could you please provide me with reference papers or resources that discuss the integration…
Error message while generating a controller in Dotnet ASP.NET Core
I'm trying to generate a controller in Dotnet ASP.NET Core by following the tutorial on https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/adding-model?view=aspnetcore-8.0&tabs=visual-studio-code, but when I use the command dotnet…
System.Runtime.CompilerServices.AsyncTaskMethodBuilder
Hi, I am getting the below mentioned error. Don't know why it was showing. I guess this comes due to I migrate the dotnet version from 6 to 8. can you resolve my issue? { "error": "Error getting value from 'Context' on…
Windows service HttpClient with HTTPS support
Hi.I have a **Windows service** that makes calls to an http web page via an **HttpClient **object. Now the website is HTTPS but when I call the https page it gives an "Unauthorized" error. I am using Visual Studio 2013 with .NET Framework 4.5.
Authenticate my own Blazor App with against my SSO-REST Backend
Hi, regarding to this blog https://devblogs.microsoft.com/dotnet/whats-new-with-identity-in-dotnet-8/ I've successfully created a REST-API with Identity and SSO. But now I need my Blazor frontend to authenticate against this rest service. The blog…
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…
How to hash a password in asp.net core and use it in a stored procedure
Hi there; There are a lot of examples of SQL stored procedures for User Validations (credential checks) but all of them the password is in text format which is bad security practice. The idea is to hash the password in the client side ( in this case is…
How to check asp.net core hash password in stored procedure
Hi there; There are countless of SQL stored procedures examples that check plain text passwords which is a bad security practice. I initially used ASP.NET Core Identity so the password were hashed and saved in the datatabase, but not I want to use…
How to put an Asp.net Core Web API response in a Bootstrap message on the client side
Good day all: I'm struggling the following I have a ASP.NET Core web API that provides User registration as follows public async Task<IActionResult> RegisterUser([FromBody] NewUser user) { User appuser = new User() …
I am trying to integrate .NET WEB API in .NET 4.7 Framework (acts as backend server) & WEB APP(act as frontend). But not able to connect WEB API to Azure SignalR
SignalR Connection Error: Error: Server returned handshake error: SignalR Service is now in 'Default' service mode. Current mode works as a proxy that routes client traffic to the connected app servers. However app servers are not connected. this…
How can i generate a personal unique number for user?
Hello. i am creating a website for a courier in my local area and i want to be able to implement a feature. Once the users' registers, they will be given a personal unique id which can be used for one user only to keep track of their data from the…
Intermittenty w3wp.exe terminating and recorver by itself. This interupte user connection to applicaiton.
I have a web application hosted in IIS. Intermittently my logon connect would fault causing user to re-logon again. Sometime user has to re-logon a few times a day. Investigating the issue, it's cause with w3wp.exe terminating. This happen…
How to troubleshoot the exception, Could not create TLS secure channel?
Hello there, I have this C# code that consumes a SOAP WS and it was working properly for years. However, since recently it started to throw the following exception: The request was aborted: Could not create SSL/TLS secure channel. Basically it imports…
Error calling a Web API with self-signed ClientCertificate using HttpClient in .NET Core (IIS and Winforms using C#)
We are currently migrating our code from .NET 4.7.2 to NET 7 (.Net Core). Everything has been moved forward except one project that has to consume another company’s WebApi rest web service. When we were forced to interact with this company they were…
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…
ASP.Net Com-InterOp WORD issue after hosting in windows server
I have created an API in C#(.Net framework) to convert Word to PDf using interop.word.dll. I have installed MS Office 2013 on the server. But no one is logged on the server I am getting the below exception "Retrieving the COM class factory for…