Questions tagged [azure]
For questions relating to Windows Azure cloud hosting technologies
155
questions
0
votes
0
answers
79
views
C# Azure Function Durable Function Vs Batch Timer Trigger Function
I have a question related to the best approach when resources are limited, such as on the Azure Function consumption plan.
I have an IoT device, and the number of IoT devices is likely to increase to ...
1
vote
3
answers
203
views
Improving performance of C# Azure function
I am currently working on a C# Azure Function that is triggered by an HTTP request. The function's purpose is to extract raw data from Azure Table Storage and output it to the user in the form of a ...
0
votes
1
answer
78
views
Using Azure AD as an identity provider in Keycloak-based applications: how can I add missing user data to my client applications?
I'm currently using Azure AD as my identity provider and Keycloak as my intermediary/broker for my client applications. However, I need some user attributes (such as phone, email, picture, and ...
0
votes
0
answers
48
views
How do I re-use code in an Azure release pipeline?
We are using Azure pipelines to deploy releases to our Azure VMs.
We have one pipeline per repo. The pipeline contains one stage per target environment. For example, there is a stage for our ...
1
vote
1
answer
124
views
Best way to manage notifications via Azure Event Grid Topics and Azure Event Grid Subscriptions
I have a Azure Web App that generate different types of notifications. At the moment, every notification is written in a queue. A queue function I call scheduler read the notification and redirect it ...
0
votes
1
answer
388
views
Azure Function App and multiple Functions within it, performance
I am new to Azure Function App. I am using a consumption plan.
Does it make a difference how many functions are in a Function App?
What about if there are functions, such as the service bus triggered ...
0
votes
2
answers
207
views
Azure Function SQL polling Vs Service Bus. How reliable is Service bus? Does it ever fail?
I have scheduling requirements where I place all my schedules in SQL db and then use the azure function every minute to read that database. When the schedule is met, I then perform a durable function ...
1
vote
0
answers
414
views
Authorization using Azure AD B2C access tokens in Python / Flask
TLDR:
I am trying to
validate a Azure AD B2C access token in my Flask web API
use scopes from that access token to authorize calling protected resources
use timely and secure solutions such as PKCE ...
0
votes
0
answers
142
views
Implementing the Repository/UnitOfWork pattern using Azure.Data.Tables "TableClient"
I currently have a generic Azure repository AzureRepository<TEntity> store internally a list of table transaction actions like so.
private readonly IList<TableTransactionAction> ...
0
votes
1
answer
486
views
Azure Pipeline variable groups vs. YAML templates
I am writing an Azure Pipeline framework in YAML which will be used on multiple projects, each with its own environment variables. I am now wondering whether the best option is to define these ...
0
votes
0
answers
59
views
Best way to align multiple RESTful API's through an API gateway
We currently have a monolith public api which serves most of our api endpoints. This has introduced a bottleneck as the owning team needs to make changes to publicise anything new and other teams don'...
0
votes
1
answer
120
views
Azure DevOps Change nuget.config in CI/CD process
I'm currently working on a project which uses azure function apps, we also create a data access layers for each function app which are built as nuget packages and are then published to a private nuget ...
-1
votes
1
answer
41
views
Scalable Web Data Service Approach
I'm looking to build a service that interacts with an existing web application's database. The service would retrieve data from an api for which the web application users own an account and warehouse/...
0
votes
1
answer
70
views
What is the best approach when working in a communication between Microservices using Azure Functions?
I'm working in a situation where I have 2 different projects (kind of microservices, but they are still messed up in terms of the tables that each project can access - same domain). But so far, they ...
0
votes
1
answer
232
views
How to do "initial sync" of data for new microservice that depends on data from another microservice?
Hypothetical scenario:
Let's say I have a Customer service. It has 1 million customers in its database. I then create a new service that depends on a specific projection of the customer entity.
I want ...
-2
votes
1
answer
55
views
Should I wrap Azure AD B2C for authentication?
I want to implement an authentication system. The purpose of the system is to centralize account management and handle the complexity of account security. Internally, I don't want to implement the ...
-1
votes
1
answer
43
views
Looking for way to store, get, partially update few relatively small JSON documents which has different unique types
I have an app with many individualistic features which behavior is controlled by settings.
Let's say these are a few utility services with the following settings that are historically stored in ...
1
vote
0
answers
108
views
Retry long-running message processing in case of processing node failure
I have two types of microservices: Data Collector and Data Processor. They communicate with each other via Azure Service Bus Queue. Data Collector collects data from different sources and, once done, ...
-1
votes
1
answer
129
views
Question about calculating an SLA for a REST-API
I am somehow stuck with my thoughts about an SLA definition, which I plan to determine for a REST-API running on a public cloud.
Imagine having a REST-API service running on Azure which has a database ...
1
vote
3
answers
2k
views
Should my API return the image or path to an image?
I'm building an API in C# .NET that needs to supply the client with some data and an image. The image is stored in Azure Blob storage. Which is more efficient:
Retrieving the image on the server side ...
0
votes
1
answer
450
views
Git structure for Azure Function Apps that accounts for shuffling functions
I have a suite of python Azure Function Apps that all together make up an integration, each containing multiple functions:
FunApp1
func1
func2
SharedCode
FunApp2
func3
func4
SharedCode
FunApp3
...
0
votes
1
answer
109
views
Azure Event Grid API layer beneath a HTTP API layer
I am part of a project/team that is building a new web app in Azure for the first time, having previously built and developed a traditional three tier ASP.NET web app over a number of years.
We have ...
0
votes
1
answer
718
views
Replacing in-memory queue with messaging queue service
In our application (ASP.NET core) we have events that require computations and which results need to be persisted in a database (the objects are projects that need recalculations when a property ...
-3
votes
1
answer
428
views
Why running migration turns into timeout in a production environment?
I know this is a theorical question since i don't have code to or any logs to show, but i hope that someone can give me some idea on this question.
The problem in question was the following:
On my ...
0
votes
1
answer
42
views
How do i structure a serverless application using Azure Durable Functions?
I am trying to work out the best practice for structuring a series of Azure durable functions for reuse across future development work within my organisation.
From the doc's it seems like the desired ...
-3
votes
1
answer
128
views
Serving large file (dozens of GB) to client from a server-side query to the Azure SQL database?
I have an SQL database in Azure that is ~4.5 TB / 150 million rows worth of data. Users will need to query this database for large sets of data. Right now, I am having users submit their requests ...
0
votes
0
answers
168
views
How do you do you implement roles on your API's using Azure AD Security groups?
I'm trying to figure out the best way to accomplish using Azure Active Directory Security groups to manage role assignments for an API. I'm trying to evaluate a few different options as well as poll ...
3
votes
1
answer
643
views
Routing Kubernetes to Different Versions of an API
At a previous job, we had a lot of excessive issues with versioning of our APIs, to the point where we had whole server farms for our services that were running specific versions for specific ...
2
votes
2
answers
574
views
Service bus and strict message order - how can I handle failed messages?
I am considering using Azure Service Bus, however my question applies to queues in general.
I have a requirement to send messages in a certain order. Say that the publisher sends a message to the ...
-2
votes
1
answer
460
views
Product subscription checks in a Microservice API's
We're in the middle of architecture a SaaS web app which will operate on a subscription basis. Each user is associated with a merchant by means of a claim on their identity and the subscription exists ...
0
votes
1
answer
549
views
Caching or in-memory table in Azure for performance
I am building an Angular web application that retrieves part of its data from a Azure SQL Database table via APIs developed in Azure Functions (with Azure API Management at the API Gateway). The data ...
0
votes
1
answer
53
views
Autoscaling containers on Azure
I have a web application that depends upon a set of R analytics. These R analytics read data from a database and perform machine learning, so have high CPU use.
The R analytics are accessed through ...
1
vote
1
answer
87
views
Storing, indexing and searching data using Azure with frequently updated fields. Multiple Sources
We have a multi-vendor marketplace (e-Commerce) system and plan to move our data structures into a polyglot architecture to improve the performance of reads (critical) and writes (not as critical).
...
-4
votes
1
answer
85
views
If my development machine is slow and has low end specifications, why can't I just rent a VM on Azure? [closed]
I need 16GB RAM on my development machine to do some Android programming but I can't really afford to buy a new one. So, what's there to stop me from just creating a VM on Azure, use it for just a few ...
2
votes
0
answers
139
views
Using Azure AD MSAL as only authentication solution for SPA
I have an Angular SPA and I spun up my own basic form-based authentication using a .net core web API and SQL server to store user accounts / hashed and salted credentials. This is obviously not an ...
-2
votes
1
answer
27
views
Azure web service api usage per user insights
We have a API (written in .NET Core 3.1), published to Azure Web Services. This API talks to a database for authentication. After a succesfull authentication, the API connects to other databases, ...
1
vote
1
answer
44
views
Storage and partitioning in Cosmos DB
I'm working on designing a system for reporting/storing information on hardware devices (IoT-like), and trying to figure out how that would best be structured in Azure's Cosmos DB.
Every device will ...
1
vote
2
answers
340
views
Logic App next number
I have a need to generate a next number for each file type my Logic Apps is generating. My Logic App is doing some translations between an WMS and a customer's ERP. The issue is the customer is ...
1
vote
3
answers
607
views
Why should I use containers instead of deploying build artifacts directly to Azure App Services or AWS Elastic Beanstalk?
Recently, I have been told by others to look into containerization of my stateless web applications (in this case .NET Core 2.x and 3.1). All of my dependencies are retrieved from public and private ...
-3
votes
1
answer
101
views
How to store a limited set of custom properties without using an EAV Schema
I'm designing a solution in .Net which will be hosted on Azure. I have a system which will allow users to specify custom characteristics for their objects which they will track over time. I am certain ...
1
vote
2
answers
228
views
What's more expensive on my server-side processing?
So I want to be processing my security protocols server-side, mainly token checks and then role authorisations for certain actions.
I'm using c# .net core connecting to an MS SQL database and ...
-1
votes
2
answers
71
views
Sensitive data and cloud storage
I've been reading about machine learning models deployment and pipelines and so far most of the sources suggest that the data should be ingested from some sort of cloud based storage or source, be it ...
1
vote
0
answers
111
views
Kafka Consumer in Azure
I'm working on a Kafka consumer in C# (using the Confluent C# lib).. and practically all of the documentation/examples online leverage console apps to do the consuming.
So, this is fine for logic ...
2
votes
1
answer
707
views
Azure Key Vault vs Automation Account Variables for password storage
In Microsoft Azure one can store secret values like passwords in Azure Key Vault, but also as encrypted variables in Azure Automation (these ones are stored in an Azure-managed Key Vault behind the ...
0
votes
0
answers
37
views
Manipulating a large dataset before inserting in Azure Search
I have an Azure SQL database with 20 million + records that i need to manipulate (including joining other tables, etc) before inserting into Azure Search.
The procedure needs to be reproducible in ...
0
votes
0
answers
116
views
Setup tests that use the Azure storage emulator in Azure DevOps
I have a project with the code hosted in Azure DevOps and I'd like to start using the Pipelines feature to handle the builds.
My first problem is that I have a set of tests that use Azure storage ...
0
votes
1
answer
239
views
Image upload workflow azure
I'm working on a new project. It is a smartphone application made with react-native. In the app, you can create "cards" which are having a title, a description and a photo, taken by the user's phone.
...
1
vote
1
answer
113
views
How to properly handle deployment configuration for Xamarin Forms app
We are currently working on a Xamarin Forms (.NET Core) application. We use Microsofts DevOps for the code repo, building and deployment.
Since we want to test newly developed features in a safe ...
0
votes
0
answers
31
views
Recommendation for user synchronization between organization and external website
We are building a small social media platform for collaboration among a group of similar (but disparate) organizations. Each organization will have a small group of users who will be able to post ...
-4
votes
1
answer
126
views
Is it bad to leave Azure secrets keys as plaintext in my source code if I don't release the code, only the exe? [closed]
Specifically worried that someone might be able to extract the API key in a way I am unaware of and make calls to my own Cognitive Services subscription outside of the context of my program.