azure-web-roles

Seeking version of blob storage

大兔子大兔子 提交于 2019-12-13 05:49:45
问题 Team, I am a beginner in Azure and have some queries regarding the blob storage logs I am referring to this link http://blogs.msdn.com/b/windowsazurestorage/archive/2014/08/05/microsoft-azure-storage-service-version-removal.aspx Now in my test environment I have enabled logging and I have got access to the log folders via Azure Management Studio. When I look in the folders there are several mini folders I guess differentiated hr by hr. In that there are small txt files which get generated

DataServiceRequestException with TableStorageSessionStateProvider

耗尽温柔 提交于 2019-12-13 05:47:19
问题 I'm trying to use the TableStorageSessionStateProvider from the Azure training kit. I can use the example without problems but when I use it in my web app, I get this exception: System.Data.Services.Client.DataServiceRequestException occurred Message=An error occurred while processing this request. Source=Microsoft.WindowsAzure.StorageClient StackTrace: at Microsoft.WindowsAzure.StorageClient.Tasks.Task`1.get_Result() at Microsoft.WindowsAzure.StorageClient.Tasks.Task`1.ExecuteAndWait() at

Staging with a multi-tenant app in Azure Cloud Services

旧时模样 提交于 2019-12-13 02:29:06
问题 I'm reviewing the following article on staging Cloud Services: http://www.windowsazure.com/en-us/develop/net/common-tasks/staging-deployment/ I'm trying to define a deployment strategy for application updates and it seems like the above works wonderfully for non-multi-tenant apps. In my case, I have a dependency on the VIP staying static, as it is used in my A records because I need wildcard support - *.xyz.com > VIP. What other alternatives are there to achieve seamless app updates? Or -

Dynamically update sitemap.xml in Azure webrole

↘锁芯ラ 提交于 2019-12-13 02:25:28
问题 I am moving my existing website to Azure. In azure webrole I have 1. Website at default port and 2. Service at another port lets say :8000 Now my website creates some dynamic pages and the requirement is to update the sitemap.xml with the new URLs. At development stage I am able to create and update the sitemap.xml file from service. But this is not possible on staging server. I am unable to understand why is it happening.Can any one tell me about a solution where I can create a sitemap.xml

WebApp in AppServices vs CloudService

旧街凉风 提交于 2019-12-12 21:25:34
问题 Is WebApp (formerly Azure Website) in the newly announced "Azure AppService" the preferred approach to building highly scalable web applications as opposed to using "Azure CloudServices"? My original understanding was that web applications hosted as "Azure CloudServices" would scale better and "Azure Websites" were for simpler web sites/applications. I'm building a web application and scalability is a big concern. Which is the "better" approach? 回答1: Your exact answer might depend on what you

How to host both asp.net (for SignalR) and WCF (for netTcpBinding) in single web-role and wire them up to the hosting IIS?

不想你离开。 提交于 2019-12-12 04:45:40
问题 How do I host both asp.net (to use SignalR w/ Azure's backplane) and WCF service (for fast binary netTcpBinding ) in web-role (extreme budget issues...)? I suppose both must be self-hosted, but how to wire up each of them to the hosting IIS in the VM (I believe they both reside in the same app-domain)? (It's a continuation of "Is it possible to host both web/SignalR and WCF w/ netTcpBinding in a single web-role?") 回答1: If you're self hosting your apps, you do not use IIS and could go with a

Missing cache role behavior of Windows Azure Caching 2.1 in compute emulator

匆匆过客 提交于 2019-12-12 03:42:59
问题 I work on a hosted service which has Windows Azure Cache deployed on instances of the web role. The cache is enabled on production but in the compute emulator we disable it since we often experience slowdowns and exceptions with the cache emulator. In particular, in the compute emulator we do not load the caching module in the csdef and at runtime we detect if cache is enabled by creating the DataCacheFactory and catching the specific exception thrown when the role indicated in the client

How to change the view of an MVC in the web role

邮差的信 提交于 2019-12-12 03:37:41
问题 I am currently working on building a web role in a Azure cloud services. What I want to do is to call the one ActionResult method in HomeController in the run() method in webrole.cs class. What I did is that I create a new instance of HomeController and call the action directly like this: HomeController homeController = new HomeController(); homeController.changeView(); The changeView method is like this which basically redirect me to another view in another controller. public ActionResult

How to pass object from webrole.cs to the controller of MVC?

混江龙づ霸主 提交于 2019-12-12 01:57:48
问题 I am working on web role in the Azure cloud service. Basically my web role is an MVC application and how can I make the controller in MVC communicate with the webrole.cs class. For example, in the run() method in webrole.cs I have received a message and I want to pass it to the MVC controller, how can I do that? Any help is appreciated! 回答1: You'd better use a azure service bus queue to do that. Send a message on Run, and take the message from queue in your mvc app. 来源: https://stackoverflow

Is it possible to host both web/SignalR and WCF w/ netTcpBinding in a single web-role?

老子叫甜甜 提交于 2019-12-12 01:38:53
问题 We have binary WCF service ( netTcpBinding ) in a web-role and an asp.net website (to take advantage of SignalR over azure's backplane). Due to the extremely low budget, we want to host them both in a web-role (as website doesn't allow non-standard-HTTP(S) ports). So is it feasible to host them both in a web-role, to keep the SignalR/web-interface capabilities but also use the binary WCF/ netTcpBinding pattern? Edit: Maybe I should've asked in the first place "How to host both asp.net (for