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.

Filter by
Sorted by
Tagged with
2
votes
0answers
18 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
1answer
48 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
1answer
49 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: ...
1
vote
0answers
28 views

Securing React SPA with Azure AD B2C Tenant using MSAL

I am securing my React Apps and I want to use the wrapper function below to insure that the app only gets rendered when there is a successful login. I am separating the Login from future MSAL token ...
0
votes
0answers
43 views

Azure's service bus queue handler

I'm using azure's service bus in order to make orders using a IOrderLogicService interface. The Logger.InsertLog is irrelevant ...
2
votes
0answers
226 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
0answers
580 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 ...
4
votes
0answers
288 views

Python UDP server to relay CSV or JSON data to cloud for analysis

What am I doing? UDP/TCP server in Python (2.7 / 3.7) How am I doing? Using threads Where am I going to execute it? In a virtual machine running linux in AWS or Google Cloud or Azure () ...
0
votes
1answer
1k views

Azure Storage Table using Repository Pattern

I converted my .net MVC, Entity Framework and SQL server website into .Net with Storage Table as the cheapest database option in Azure. I followed a repository pattern same as Entity Framework, ...
1
vote
1answer
2k views

ServiceBus QueueClient and TopicClient object resue

I'm writing an Azure function using Visual Studio (multi-layers project), where I'm managing all Azure ServiceBus related code in one class. (follow-up) ...
1
vote
1answer
61 views

Text extraction of document files

I have this script that pulls text out of .docx, .doc and .pdf files and uploads that text to an Azure SQL Server. This is so users can search on the contents of those documents without using Windows ...
1
vote
0answers
1k views

Handling Tasks to read HttpRequestMessage in an Azure Function App

I am writing an Azure function app to receive a file uploaded through a multipart/form-data HTML form. I think the only way to get my uploaded data is by probing ...
1
vote
0answers
356 views

Twitter clone in NodeJS

I have written a small Twitter clone using NodeJs, MongoDB and RabbitMQ, which you can find here. I started this project because I wanted to get a better understanding of both NodeJs and Rabbit. I'm ...
1
vote
0answers
105 views

ChatApp (Web API, Windows Forms and Azure SQL Database)

I have been working on chatApp (my first app in c#). I used Azure SQL Database, ASP.NET Web API and WinFroms. The app works very well with no errors Please give me your professional opinion and ...
2
votes
2answers
561 views

Web-App for to determine gender, age, emotions of a person (shown on an image)

I have made an app using Microsoft's Face API: Face API JavaScript Quick Start It shall analyze an image, showing a person's portrait, concerning the gender of the person, her/his age and emotions. ...
2
votes
1answer
520 views

Replacing DataContract serialization with Binary one in Azure Service Fabric

Azure Service Fabric uses DataContract serialization, which is a total disaster – it violates LSP (wiki) - see all those ...
6
votes
3answers
3k views

Downloading blobs asynchronously

We have a working implementation that is doing I/O operations, returning data from blobs in an async/await manner from Azure Blob Storage. ...
2
votes
1answer
660 views

Depersonalisation via redis cache

In an Azure Function, I have a c# program that processes tab delimited data into JSON entries. I'd like to improve it in terms of performance and the connection management. I want to remove personal ...
1
vote
1answer
917 views

Multi-threading upload tool

We have about 14G files and each is about 150k. I'm writing a script to upload them to Azure Blob storage and would like to run an upload() function (each with own ...
2
votes
1answer
179 views

Simple and reusable system for user registration and tracking and auto-updates

I created a bunch of small and mostly internal WPF applications for my company - usually for some file manipulation etc. For these programs, I would like to start collecting user info - who uses them, ...
3
votes
1answer
933 views

Web job logger implementation

Interface for logger: ...
3
votes
1answer
581 views

Safely storing Azure Topic clients in concurreny dictionary

I am trying to optimize the usage of TopicClients in my app. The instance is originally covered by interface and passed by IoC, so the IoC will dispose it at the end of the program life cycle. This ...
1
vote
0answers
1k views

Azure Active Directory controller

I have a class called AzureActiveDirectoryController. This class has some methods: one to create users, one to get the app name, one to register schema extensions (...
5
votes
2answers
8k views

Check if an entity exists in a Azure Table Storage

I want to check as fast as possible if an entity, based on PartitionKey and RowKey, exists in an Azure Table Storage. I can do a standard TableOperation.Retrieve and check the result, like: ...
2
votes
2answers
418 views

Users and friends query with retry, returning JSON

I am new to Azure and SQL. I have the following function that is part of a larger Web-API which is hosted on Azure and is querying an SQL Server database that is also hosted on the Azure platform: <...
3
votes
2answers
176 views

Azure cache getoradd (without locking)

Inspired by the non-locking implementation proposed in this post, the following code is an attempt to (about) do the same using the azure cache. As I'm totally green on the Azure cache I'd appreciate ...
3
votes
1answer
4k views

Using dapper.net and repository pattern in Azure websites

I'm currently on Azure Websites & Azure SQL, some documentation recommends using Async as much as possible as cloud services higher latency and have chances of dropping traffic, but it's also ...