All Questions
171
questions
0
votes
1
answer
75
views
403 from Azure only in a specific endpoint with specific version of the API
We developed a middleware service Web API app in .NET 6 with several endpoints and deployed it to Azure. We get a strange error with an endpoint that implements a POST method.
If we change the version ...
0
votes
1
answer
52
views
WebOptimizer cache busting not working on Azure
I am using ASP.NET Core Web Optimizer. It has cache busting feature that will append a unique string to the end of script or CSS links.
A sample of the appended string is like this: ....script.js?v=...
0
votes
0
answers
61
views
Found multiple publish output files with the same relative path. while publising ASP.NET Core 6 project
In .NET Core 6 where when publishing with Web Deploy via Visual Studio 2022, I get the following error:
Error: found multiple publish output files with the same relative path:
There is no issues ...
0
votes
1
answer
93
views
How to get application settings from Azure portal in Azure WebApplication
I have an Azure API that I host on Azure and publish through Visual Studio. I am trying to set values in the Azure portal application settings with the intent to have different values for the same key ...
0
votes
1
answer
107
views
Azure Functions - Kudu - deployed from Visual Studio - Failed to Initialize Run from package.txt
When I deployed the Azure Function (.NET 6) from Visual Studio 2022 Community Version to the Azure Portal Function App, it shown me this error in the Kudu Site:
I published in this way: Visual Studio ...
1
vote
1
answer
206
views
Access to XMLHttpRequest at ' from origin ' has been blocked by CORS policy only on Azure published .net core application
I know there are many similar questions on this exact same issue but why I am posting it again is because I have tried all the solutions already and also I am facing this problem in a particular ...
1
vote
1
answer
148
views
Azure Blazor WASM Post Login Redirect
I have a Net6 Blazor WASM project where all pages / routes of the project require "Authorization" through the Azure Entra identity platform. I would like to share links to the pages that ...
0
votes
1
answer
89
views
Unhandled host error occurs after function execution
I've written an Azure function that downloads a blob on an HTTP trigger. When I debug this function locally, code execution makes it through the entire function, past the return, and then throws a ...
0
votes
1
answer
60
views
Turn .Net 6 Background Service app as IoT Edge Module
I have an Background Service app which is created using .Net 6 and I want this service to run in edge client machines (Windows and Linux), the solution what I'm thinking of is to create an IoT Edge ...
0
votes
1
answer
256
views
Implementing Delegated Permissions with Managed Identities in Azure: Retrieving Tokens for User Impersonation
I'm in a situation where I'm not sure how to proceed. In our application landscape, we're implementing Managed Identities for our microservices. Currently, I'm working on an API (API-1) where I grant ...
0
votes
1
answer
120
views
Override context and client classes in Azure Functions application
I'm working on an Azure functions application, using runtime version 4.28.4.4 and targeting .NET 6.0. There is an orchestrator which starts chains of sub-orchestrations and activities. My goal is to ...
0
votes
0
answers
61
views
Designing reliable agent based push module to push data from one boundary to other
Problem statement: Design a module that can be consumed by the customers to push data (metadata of varying entity. e.g. Product, Car and similar POJO) from their boundary to our boundary. The data is ...
1
vote
1
answer
427
views
Getting exception while getting token with ConfidentialClientApplicationBuilder.Create(clientID) using MSAL
I'm trying to get the access token by following code but getting exception at AcquireTokenForClient.
Here is the code:
var clientID = "XXXXXXXXXXXXXXXXXXXXXXXXXXXX";
var ...
0
votes
0
answers
218
views
Azure App Service: SNAT Port Exhaustion Issue
We have a app service A with 3 instances. This service is hosted in app service plan shared by other app B with 0 traffic. App Service Plan is Premium v3 P1V3.
The app service A receives around 2 ...
0
votes
0
answers
171
views
Status is 200 OK but the response is empty in Azure Functions (.NET 6) with Python Executable Application
Python File:
num1 = 1.5
num2 = 6.3
sum = num1 + num2
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
Azure Functions - .NET 6:
using System;
using System.IO;
using System.Threading....