Issue with Azure AD B2C Custom Policy: "Basic credentials specified for 'REST-fetchUserProfile-APAC' are invalid
Description I am working on an Azure AD B2C custom policy for the Global Identity Framework, designed to support traveling user sign-ins across multiple regions. This setup involves two major components Right now im only working on region tenant…
How to get Json Data from an external WEB API to an JQUery autosearch text box end point
Hi everybody: I have an external minimal Web API that produces a JSON object ( array) as per below. app.MapGet("/AsyncAutocompleteErf/{search}", async (IErvenRepository request, string search) => { var data = await…
Implementing mTLS Between Two Apps Using ASP.NET
Guidance is requested on implementing mTLS between two applications using ASP.NET MVC in C#. or any .net code. The setup will involve a handshake between the server app and client app, developed in a localhost environment, utilizing OpenSSL or another…
I am migrating application from dot net 4.8 to dot net core 8. facing error Project ..\folder\folder.csproj targets net8.0. It cannot be referenced by a project that targets .NETFramework,Version=v4.8.
I am migrating application from dot net 4.8 to dot net core 8. facing error Project ..\folder\folder.csproj targets net8.0. It cannot be referenced by a project that targets .NETFramework,Version=v4.8. Project ..\folder1\folder1.csproj targets…
Authenticating a service so it can request data from another service behind Azure Easy Auth
Hello. I want to authenticate a service so it can call another service using easy auth WITHOUT any user input, while still using Easy Auth on the service that is being called. I have 2 services 1 which is basicly a frontend with a controller. Let's…
how to create Print Job using Graph API with Application Permissions through .Net Core Web API?
Hi I am trying to integrate Universal Print with the Microsoft Graph API in a .NET Core Web API application. I have Azure Subscription and enable Universal Print on my Azure tenant and registered printer in Universal Print. Registered application in the…
Portal returns updated results while the API returns outdated ones
I have created a GPT4 model in Azure OpenAI Service, and I want to add data source which is Azure AI Search (Cognitive Search Service). The problem is at the time of deployment i cannot see any data source adding option, it is deployed first and then…
Response status code does not indicate success: 404 (Not Found)
I get the following error while calling an api in my Blazor application: Following is the code where the error is pointing: And following is the calling api where request is made: What went wrong here? Any suggestions? Thanks, Puneet Chandiok
Maui project - Microsoft.AspNetCore.Aoo didnt work with the APP
1-There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'iossimulator-x64'. 2-There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'maccatalyst-x64'.
Issue with 405 Method Not Allowed instead of 401 Unauthorized in ASP.NET Core with JWT Authentication
Hi everyone, I'm encountering an issue with my ASP.NET Core application where I'm getting a 405 Method Not Allowed error instead of the expected 401 Unauthorized error when accessing an endpoint that requires authentication. Here's a detailed description…
issue with api, unauthorised
I have this simple Webapi, which is published as APP service [Route("api/[controller]")] [ApiController] public class DateTimeController : Controller { [Authorize] [HttpGet] public IActionResult GetCurrentDateTime() { …
Http client error when connecting to VM via Azure Private Link Service
Hello, I have a client that is using Azure Private link service behind an Azure load balance for their application. One of their vendors stated they are experiencing intermittent drops and they dont received any traffic on their VM. Below is the error…
When connecting to remote debugger, breakpoints won't be hit and dlls not showing in module window
I have a multi project solution that I have deployed to a local server that has both a MVC site and an API service to populate it. When I try to attach to the w3wp process with the remote debugger, while the Microsoft dlls show up in the module window,…
Why Are My Microsoft Graph Calls to SharePoint Unreliable in ASP.NET Core API?
I'm currently developing an ASP.NET Core API that interacts with SharePoint via Microsoft Graph. While the setup works occasionally, I'm experiencing significant reliability issues. The API calls to Graph work about 50% of the time and fail the rest of…
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…
Error in our ASP.NET Web Host app after updating to the latest version of Visual Studio 2022
Hi there, We have an ASP.NET solution running on our dev machines, which are Windows Server 2022 Datacenter. Previously, the app was working fine. However, after updating Visual Studio to the latest version (Microsoft Visual Studio Enterprise 2022…
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); } …
context deadline while posting notification through API https://dm3p.notify.windows.com?token=xxx
got many timeout when using wns for push since about 28.11 9:00(utc+8) api: https://dm3p.notify.windows.com?token=xxx I have been using this function for a year without any problems. This timeout problem has occurred since around 9:00(utc+8) this…
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…