Posts

Showing posts with the label azure

insert record on azure cloud in asp.net c#

insert record on azure cloud in asp.net c# I want to insert the record on azure cloud. really i don't know how to do it, i have no idea about it. i want to insert record on azure cloud in table using asp.net c#. i have a button , when i click the button i want that data should enter in table on azure cloud. please help me. i have some field like name, email,address. also a button. after click the button data should enter on azure table. <asp:text id="txtname" runat="server></asp:text> <asp:text id="txtemail" runat="server></asp:text> <asp:text id="txtaddress" runat="server></asp:text> <asp:button id="btnsubmit" runat="server" text="submit"/> Azure table is quite unclear. Are you talking about storage table, SQL server table, something else? – apomene Jun 29 at 10:58 ...

Azure key vault private.pem read using bouncy castle [on hold]

Azure key vault private.pem read using bouncy castle [on hold] I am using a nuget package: Org.BouncyCastle, in order to sign requests with SHA256withRSA . I have the "private.pem" file uploaded in azure key vault in secrets. I have created an Azure Key Vault and uploaded the private.pem file to the secrets. I also have an azure active directory. Here, I created a new application registration. The application type chosen is "Web app/API". I gave it a name and the url. I can not find any clientSecret. From their documentation, I understood that the applicationId of the key in key vault is the clientId. Where can I find ClientSecret and how can I read (using Org.BouncyCastle) the "private.pem" file from the secrets in key vault? Here is the program.cs config snippet. SHA256withRSA var host = WebHost.CreateDefaultBuilder(args).ConfigureAppConfiguration((ctx, config) => { var buildConfig = config.Build(); var keyVaultConfigBuilder = new ...

How is data in Reliable Dictionary in Azure Service Fabric persisted to disk

How is data in Reliable Dictionary in Azure Service Fabric persisted to disk How does Azure Reliable Dictionary actually handles data persistence. Is it like SQL which persists mostly all data excepts indexes(i.e. key in our case) on disk or is like hashmap which have everything in memory(i.e. both key and value) and just keeps a backup on disk Did you see this answer? stackoverflow.com/a/36752442/5946937 – LoekD Jun 29 at 8:47 1 Answer 1 The current implementation of Reliable Collections store the entire set of data in the memory, and a copy serialized in the disk. It is required to stay in memory because the data stored in the disks are serialized and a lookup on this data would take too long to deserialize to retrieve the data. From one of the Q&A...

Azure OpenID connect app prompts for offline access

Azure OpenID connect app prompts for offline access I've registered an application/client on https://apps.dev.microsoft.com/ requesting only the openid scope, when I try to access that application via a link like https://login.microsoftonline.com/common/oauth2/v2.0/authorize?response_type=id_token+token&client_id=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&response_mode=form_post&redirect_uri=http://localhost:8765/test/response&scope=openid&state=123abc One of the prompts on the authorization screen is "Access your data anytime" according to https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-scopes#offlineaccess that prompt should only be shown when requesting offline_access. What can I do to have it not prompt for "Access your data anytime"? It seems you are using implicit flow. And that must not get a refresh token so "access your data anytime" should not present in consent. Ca...