Automating Teams Meeting Creation and Recording Upload to SharePoint: Issue with Recording Upload
Requirement: I am developing functionality to create Teams meetings as an organizer via an API with the following requirements: Create a Teams meeting as the organizer. Add two external users to the meeting. The organizer will not join the meeting. …
How to access at run-time the value of an IEnumerable<T>
Good day all: I'm developing a WEB API that returns a paged response to a jQuerydatatable end point. Because the code repeats itself, I encapsulated all the logic in the generic procedure below. The code works perfectly when I pass the class (entity) I…
How to Decouple Front-End from Back-End with Secure APIs for User Management in Blazor Web App (.NET 8)
Hello, I'm used to creating Blazor Web App projects in .NET 8 with "individual accounts" and interactive render mode set to Auto, with per-page interactivity. The advantage of this setup is that all the account management mechanics are…
403 Forbidden Error while trying to access authorized routes in a .NetCore 8 WebAPI -
Hi All, Let me discuss my problem in clear detail. I am trying to build a backend webAPI for an app using .NetCore 8. I created the database for my webapi by using code-first migrations on AspNet Identity. The respective tables have been created. In…
How to update User Roles along with other data through .NetCore 8 WebAPI –
Hi forum members, As the question suggests, I am facing some difficulty in updating user roles with other data through my code. I am unable to visualize how to do it. Let me explain the scenario in detail. I have used .netcore Identity and…
IIS Express is running, but I get "Connection Refused" Error
I'm developing an ASP.Net Web Form application and an ASP.Net Api. /Edit: They are two different projects, have nothing to do with each other, but both have problems with IIS Express. /Edit VS Studio 2022 is updated, no firewall or virus scanner is…
ASP.NET Core Web API + Swagger + Azure B2C
Hello experts, since weeks (with on and off phases) I try to protect my ASP.Net project with the Azure B2C. For testing if that works I want to use Swagger. But I am too stupid to make it a success. I got all kinds of error messages but I am unable to…
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…
Why does my .NET Framework 4.8 web app on Azure lose DLLs intermittently after deployment?
My application is crashing out of nowhere. I deploy the same release, it stays up for a while, and then the error below occurs. I went into the Console, accessed the directory where the published project with the dlls is located, and the file mentioned…
Unable to obtain configuration from: 'https://login.microsoftonline.com/tenantId/.well-known/openid-configuration'
An unhandled exception has occurred while executing the request. System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://login.microsoftonline.com/<tenanatid>/.well-known/openid-configuration'. Will retry at…
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); } …
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…
How can I optimize this SQL query to avoid stored procedures timeout on the production server
Hi all, I have a stored procedure query that is going to timeout on the production server for some time. However, I am not sure how to fix this query issue. I have 12 years old data in sql database those data fetching from this query, day by day my data…
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…
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…
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…