w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
  Home » AZURE » Page 1
Azure Cloud : Mount a Blob Storage as Drive on VM (See Blob Storage as Local Drive )
You can't mount blob storage as a drive. If you have a VHD in blob storage you can mount that and attach it to a VM, but as far as I know you can't mount blob storage. (The one potential exception is with Azure's HDFS implementation which runs on a Linux machine and uses blob storage as the backing store for HDFS.) If you've uploaded a file to blob storage, you can simply use the Azure APIs to d

Categories : Azure

Azure DocumentDB - Query returning no results
Turns out the "m.White.Name == null || m.White.Name != name" check is problematic because the Name field does not exist on the document in the DB. When the document is edited to the following, the query returns it. Notice the explicit null value for Name field. { "id": "1992db52-c9c6-4496-aaaa-f8cb83a8c6b0", "status": "Foo", "size": 19, "black": { "name": "charlie" }, "white": {

Categories : Azure

Stopping SQL Azure DB when not in use
This is not an option today - the only choice you have is to reduce the size of the Azure SQL Database which will reduce the cost from the next hour of service. If you really don't want to pay for the DB you could backup the DB to blob storage, delete the database and then restore when required. You could orchestrate this using PowerShell or similar.

Categories : Azure

How to setup environment for windows azure programming
Take a look at Visual Studio Community 2013, it's got everything you need to get a development environment set up quickly to build apps with the latest .NET Azure SDK v2.5.

Categories : Azure

Neo4j: Ubuntu hosted endpoint protection on Microsoft Azure
If you use ubuntu you can set up nginx as reverse proxy: http://joewhite86.wordpress.com/2013/05/29/secure-neo4j-webadmin-using-http-auth-and-ssl/

Categories : Azure

Path to use in web.config when deploying Meteorjs
Builded Meteor Application on output has main.js in root folder of your application, you should point your web server onto this file. In rewrite rule use regular expression: <match url="^(.*)$" ignoreCase="false" /> So your config file will be: <?xml version="1.0"?> <configuration> <system.web> <compilation batch="false" /> </system.web> <syste

Categories : Azure

Sitecore Azure publish between CA and CD
In your Azure.ServiceRuntime.config file (on the instance with Azure module on), look for the following line; <agent type="Sitecore.Azure.Managers.PublishTargetRemoteManager, Sitecore.Azure" method="Synchronize" interval="00:05:00" /> and replace it with this one; <agent type="Sitecore.Azure.Managers.Publishing.PublishTargetRemoteManager, Sitecore.Azure" method="Synchronize" interval=

Categories : Azure

Azure: More DTUs or more shards?
If you are expecting your workload to grow over time, it makes sense to start with a sharded design so you'll have plenty of headroom for increased traffic without having to re-architect later. But be sure that you don't need to perform queries that join data in different shards. Overall the performance will be similar to scaling up. I recommend testing the application to make sure that the bur

Categories : Azure

Issue with zookeeper and public/vritual IP in azure cloud
You can look at using public Reserved IP addresses which may help (https://azure.microsoft.com/en-us/documentation/articles/virtual-networks-reserved-public-ip/). You can also assign static private IP addresses - see this script for an example: http://social.technet.microsoft.com/wiki/contents/articles/23447.how-to-assign-a-private-static-ip-to-an-azure-vm.aspx. Note that you'll need a setup a p

Categories : Azure

Streaming with Azure media services
Take a look at JW Player and the Microsoft Media Platform Player Framework. Both offer plenty of playback options for progressive and adaptive streaming to a wide range of browsers and devices.

Categories : Azure

Mobile Services Offline PullAsync only retrieves data where updatedAt date > the latest record
PullAsync() is supposed to use an incremental sync (getting only records what have a newer date than the last record it retrieved) when you pass in a query key. If not, it should execute your query and pull down all matching records. It sounds like a bug is occurring if you are getting that behavior without passing in a query key. Also, in the incremental sync case, it is not the latest updated

Categories : Azure

OAuth 2.0 client for ACS
ADAL 1.0 is still supported and can interact with ACS, does have a cache and does use refresh tokens automatically... however it does not support all the flows you list, mostly because ACS does not support those either. In general, ACS has been in feature freeze for quite some time and the AD team has been explicit about Azure AD being the direction moving forward. If you are starting a new projec

Categories : Azure

Build in Visual Studio Online fails since Azure SDK 2.5
We are deploying 2.5 on the build machines now. We have it on all of the scale units but one, where we hit an issue. That's under investigation now, and we'll get the roll out finished asap. Update: We've just finished deploying the new image with 2.5 to all build machines. Note: You can see a full list of exact versions installed: http://listofsoftwareontfshostedbuildserver.azurewebsites.net/

Categories : Azure

How to create a Windows Azure tenant and user programmatically
I don't believe you can programmatically create a new AD tenant. One is tied to the subscription when its created, and assigning it to a domain requires several manual steps. However, with regards to creating/managing users in that tenant, I'd suggest you start looking here: http://msdn.microsoft.com/library/azure/dn646737.aspx#BKMK_Graph and here: http://msdn.microsoft.com/en-us/library/azure/hh

Categories : Azure

Azure webjobs not reading the site appsettings
So it looks like I've found a bug! It's because my AppSettings were referenced from another file, like this (in app.config): <AppSettings file="appsettings.config"/> This basically breaks azure's config management.

Categories : Azure

How come azure website requires Owin?
OWIN is the standard interface between .NET web servers and web applications used by Microsoft since they went "fully" open-source with the ASP.NET Web Stack. I think that the OWIN Package became mandatory for ASP.NET WEB.API projects since Visual Studio 2013 Update 4. You can find more info on OWIN here: http://coding.abel.nu/2014/05/whats-this-owin-stuff-about/

Categories : Azure

How do you install custom software on worker nodes in Azure HDInsight?
The short answer is that you don't. It's not ideal from a caching perspective, but you ought to be able to bundle all your job dependencies into the map reduce jar which is distributed across the cluster for you by YARN (part of Hadoop). This is broadly speaking transparent to the end user, as it's all handled through the job submission process. If you need something large which is a shared depe

Categories : Azure

Is it possible to alter /Update Expiration time in Azure Queue?
Yes, when you put a message on the queue you can specify a messagettl value for the number of seconds before the message expires and is automatically removed. The maximum allowed value is 7 days, which is also the default. If you're using the .NET SDK then you can pass this as a TimeSpan timeToLive argument into the CloudQueue.AddMessage method. The PopReceipt is an identifier that's used when

Categories : Azure

Stream mp3's (audio only) from Azure Cloud Storage Blobs via Azure Media Services
It seems by changing my blob storage account to the latest version (via code) has seemingly fixed the streaming problem i was seeing in jplayer and may not need media services at all var credentials = new StorageCredentials("accountname", "accountkey"); var account = new CloudStorageAccount(credentials, true); var client = account.CreateCloudBlobClient(); var properties = client.GetServicePropert

Categories : Azure

Return more than 1000 entities of a Windows Azure Table query
Your code looks correct, and basically looks the same as http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-tables/#retrieve-all-entities - "How to: Retrieve all entities in a partition" Are you sure there are more than 1000 entities in that partition? You can check this a couple different ways: Use Visual Studio or some other storage explorer to run the same que

Categories : Azure

StackExchange Redis Client StringSet return false?
http://redis.io/commands/set Simple string reply: OK if SET was executed correctly. Null reply: a Null Bulk Reply is returned if the SET operation was not performed becase the user specified the NX or XX option but the condition was not met. Though it looks like you are using SETEX (http://redis.io/commands/setex) are you setting a valid timespan as the third argument? SETEX is ato

Categories : Azure

Office 365 API, error: The token has invalid value 'roles' for the claim type ''
Thanks for the detailed info! Your issue may be the same as the one discussed in this StackOverflow question and unchecking "Have full access to a user's mailbox" may fix the issue you are seeing. Please let me know if you have any questions or if you are getting access denied even after unchecking this permission. [UPDATE]: Jason is right - we don't yet support client-credential flow. However

Categories : Azure

JobHost.RunAndBlock not blocking
By default, queue messages are processed in parallel. The default degree of parallelism is 16. If you don't want parallel execution, you can set the JobHostConfiguration.Queues.BatchSize to 1, as described here.

Categories : Azure

windows azure table storage, how do I enable keep alive
Short: Add this to the start-up code of your application: ServicePointManager.DefaultConnectionLimit = 100; // Default 2 ServicePointManager.UseNagleAlgorithm = false; // Default true Explanation You don't have to add any Keep-Alive headers, they are already there. Have a look at HttpWebRequestFactory (line 86): #if WINDOWS_DESKTOP && !WINDOWS_PHONE request

Categories : Azure

Does TableBatchOperation guarantee that all entities will have same Timestamp field value?
Short answer is: entities inserted in the same batch can have different timestamps. It depends on the batch size and I guess current load of Table Service. I wrote a simple unit test to check that, you can find it here and in one batch of 100 items (every with 30KB string property) I can see few different timestamps(ticks): 635516539271235769 635516539271245771 635516539271225762 but for smal

Categories : Azure

When does Azure's EventProcessorHost call IEventProcessor.ProcessEventsAsync?
Although following information is not validated but logically it should be working like this - 1) There should not be any concurrent call to ProcessEventAsync inside one partition. Otherwise how would azure give guarantee on ordering of messages inside one partition. 2) We might have to process each message asynchronously. Otherwise system cannot handle more than 32 message concurrently. (assumin

Categories : Azure

How I deploy my Meteor app to the internet from my Ubuntu Azure VM?
I deploy it using the readme on a linux box, it's pretty straight forward once you completed the meteor build. it requires nodejs and mongo installed on the server that will old you meteor app. You can also simply use 'meteor deploy yourapp' and redirect your domain to yourapp.meteor.com Or you can try tu use MUP (my next challenge). My very favorite source for this is a French guy who blogs abo

Categories : Azure

Azure custom domain not being accepted (awverify cname)
I paid for developer support in order to get Microsoft on the case, as in my mind I was doing everything correctly. £20 and a phone call later, the issue is a problem with the Azure management portal. Using the new portal, https://portal.azure.com/ works without issue whereas using https://manage.windowsazure.com does not work. I've now got my custom domains set up. :)

Categories : Azure

Redeploy failed git deployment
Goto Azure Portal, Select the DEPLOYMENTS tab of your site. Select the failed deployment item and you should see the retry button on the bottom command bar. Try click it. You can also force deploy any successful items by selecting it and click redeploy button.

Categories : Azure

QueueTrigger Attribute Visibility Timeout
I have the same question and haven't found answer yet. But, to answer a part of your question, the default lease is 10 minutes. Quoting the Azure Website: "When the method completes, the queue message is deleted. If the method fails before completing, the queue message is not deleted; after a 10-minute lease expires, the message is released to be picked up again and processed. This sequence won't

Categories : Azure

Unable to perform Azure BizTalk Hybrid Connection - on-premisis part
Looks like you can download the Hybrid Connection Manager from here as an .msi from here: http://www.microsoft.com/en-us/download/confirmation.aspx?id=42962 Follow the install instructions and you'll be set.

Categories : Azure

RabbitMQ on Azure connection timeout
I was deploying a configuration with one VPS running the RabbitMQ broker on Windows Server. On the server we have two .Net services communicating over RabbitMQ/Masstransit and a website doing request/response to the services over RabbitMQ/Masstransit as well. We would get spurious timeouts and RabbitMQ would fail on the respond most of the time. I have just finished moving the VPS and the websit

Categories : Azure

Windows Azure sending email via SMTP relay
Well, Azure as such does not apply any restriction on the outgoing traffic (beside some bandwidth throttling based on the Size of the VM you are running on, but this quite generous). So in practice you can use any SMTP relay service. Whether you can use Mimecast specifically, you shall turn to Mimecast support or products page. But there is nothing in Azure that would stop you from using this

Categories : Azure

Azure Mobile Services with Javascript Library
Undelete is a POST to /table/tablename/recordId. It looks like we didn't add that method in the JS SDK yet. So it may be quickest to do an ajax request directly to do that. You could also look at updating your table's insert script to capture the conflict, and just resolve it during the insert process and leave the client out of the picture. This is the path I would recommend. (Let me know th

Categories : Azure

Azure VPN connection and public IP
I don't see to be limiting at all. And yes, this is the case. It is on the official documentation before all. When talk about Point-to-Site, I believe you missunderstand the service a bit. Azure Point-to-Site connectivity allows a single computer or laptop (named Point) to connect to Azure VPN Gateway (Site). In that case, the client only has to be connected to the internet. When you connect to

Categories : Azure

azure compute emulator not starting since addition of https endpoint
Ok, Solution found. I was running IISExpress, I installed IIS 7 (control panel - programs - turn on/off window features) and now it works just fine. It definitely appears to be an issue with IIS express not running properly with the SSL certificates. More info here: https://social.msdn.microsoft.com/forums/azure/en-US/ad362016-16f6-459a-8022-9307aa5f910e/visual-studio-hangs-at-starting-the-rol

Categories : Azure

umbraco site as a subfolder of azure website
You need to set up your Umbraco site as a virtual directory within Azure. I haven't done this myself but I know it should be possible. You will have to ensure that the virtual directory web.config overrides/resets everything that may conflict from your parent application. The best way to achieve this is create exactly the same set up locally. So within your local IIS (not IIS Express) create your

Categories : Azure

Creating a Hive schema on the raw data not working as expected
I think the location you are specifying may be incorrect. You have a default container, which is the container you specify or create when creating an HDInsight container. For example, 'mycontainer'. If I put all the csv files in that container as nyse_prices/filename.csv, then my location would be just '/nyse_prices'. Just the directory that contains the files. The 'container' is treated as the r

Categories : Azure

Azure Mobile Services Soft Delete Issue / Practices
This behavior is by design--we require that you do an explicit undelete before doing the update. The solution you've presented is fine. You can also move the code to your table controller, assuming you only need this behavior in one table. If you need it in multiple tables, then the custom domain manager is the best approach.

Categories : Azure




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.