Questions tagged [azure]
Microsoft Azure (formerly Windows Azure) is a Platform as a Service (PaaS) and Infrastructure as a Service (IaaS) cloud computing platform by Microsoft. Users of the platform can deploy their applications onto cloud hosting benefiting from on-demand service, elastic scale, and a highly managed environment on a pay-as-you-go basis.
31 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
8
votes
2
answers
463
views
Disabling local accounts on Azure Linux virtual machines
We’re enforcing Azure Entra authentication across all Linux VMs, so we’ll disable all local accounts via a custom script. The script will also create a single "break-glass" user with a randomly ...
4
votes
1
answer
128
views
Create/Edit Commands for Finance Agreements that involve document upload
I'm working on commands for creating and updating FinanceAgreement records in a .NET application. The goal is to streamline and clean up the document-handling logic.
Problem Description:
In our ...
1
vote
0
answers
62
views
Making my code shine and pro: Python in Azure Function Retrieveing the Data From Rest API
The code retrieves the data from PBI API - it's my first one and I would like to learn how to make it pro.
Here is the list of my questions:
Can you please analyze 2 functions: GetReports and ...
1
vote
1
answer
544
views
Spring Boot Azure Service Bus Listener
I would greatly appreciate your feedback and review of our Spring Boot Azure Service Bus listener implementation. Your insights and suggestions will help us ensure its efficiency and reliability. ...
0
votes
0
answers
146
views
Upload large image files to Azure
I am currently writing a program that takes image files from my data base and uploads them to Azure storage here is what I have written:
...
2
votes
1
answer
177
views
Azure AD Role Based Authorization : Allow specific roles for all GET methods and another set of roles for POSTS
There is a need to authorize the Users based on their Roles, particularly a set of roles that should allow all GET operations and a second set that should allow all POST operations.
Eg:
All Get ...
0
votes
1
answer
103
views
PowerShell function for provisioning a new Active Directory user
I created a function for creating a new user in AD, assigning an o360 license and enabling mailbox, however, my code is very chaotic and I do not have a much experience with PowerShell. Could you ...
3
votes
1
answer
1k
views
C# duplicated attributes on Azure Functions with OpenAPI specifications
I'm developing a REST API using Azure Functions with .NET 5 (Isolated) and I want to add an OpenAPI spec for each route. But it looks like this:
...
1
vote
1
answer
1k
views
Add effective error handling to Python Notebook in Azure Synapse Analytics
I have some Python code that runs as part of an Azure Synapse Analytics Apache Spark Notebook (or Synapse Notebook) and would like to add effective error handling. The code simply executes a given ...
2
votes
1
answer
297
views
Simplify a complex KQL Query
The situation is, I have two fields in a database (or that can be derived) - when the message was received (Received, of type ...
2
votes
0
answers
34
views
Scalability of azure redis example
I built an auction site with a dynamic caching layer after I seeing how expensive a dbaas is. The site is now done, but like any site that grows, my caching solution grew too. The cache currently ...
2
votes
1
answer
370
views
How do I make multithreading in sending large file from FTP to Azure large files faster
Currently, I have a code which downloads a file from FTP to local hard disk. It then uploads a file in chunks to Azure. Finally, it deletes the file from local and ftp. This code is very slow though. ...
-4
votes
1
answer
264
views
Creating a Constructor used only for testing: anti-pattern? [closed]
I have a class which uses the Azure SDK. The class has two constructors, shown in pseudo code below:
...
2
votes
0
answers
652
views
Stream JSON from Azure Cosmos DB to browser in Web API
I have an HTTP endpoint for returning data directly from Azure Cosmos DB. The endpoint is basically a database access point (this seems like a common case). Since I'm returning the data unmodified, ...
1
vote
0
answers
875
views
Sending device data of 10k items with Parallel.ForEach
I have a deviceList of more than 10k items and want to send data by calling another method.
I tried to use Parallel.Foreach but I'm not sure is this the correct ...