azure-web-roles

Integrating YAF 1.9.5.5 with Azure

旧城冷巷雨未停 提交于 2019-12-25 00:21:56
问题 I have a problem with integrating YAF 1.9.5.5 to azure 'web role'. I successfully added forum to my page and configured config as recommended. <%@ Page MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" ValidateRequest="false" Inherits="System.Web.Mvc.ViewPage<dynamic>"%> <%@ Register TagPrefix="YAF" Assembly="YAF" Namespace="YAF" %> <asp:Content ID="SupportTitle" ContentPlaceHolderID="TitleContent" runat="server"> Support </asp:Content> <asp:Content ID="SupportContent"

Does azure prevent that role instances are recycled at the same time?

纵饮孤独 提交于 2019-12-24 16:32:03
问题 I have a web role deployed to two instances with the app pool recycle time-out set to the default of 29 hours, and the app pool idle timeout set to zero. I want to keep this app pool recycle time out to make sure that my application remains healthy over time. However I do not want that my two instances (accidentally) recycle at the same time to make sure that my application remains responsive to users. Does azure take care that the application pools of multiple instances are not recycled at

Use Subpath for two web applications hosted in one Web Role?

你说的曾经没有我的故事 提交于 2019-12-24 12:37:12
问题 We have two web applications in one Cloud Service, since we want to use the same endpoint for both, we prefer to host these two web applications in one Web Role. This blog figured out it's possible, as long as we add a new site node under Sites. Our requirement is that we host Web2 in such url: http://appname.cloudapp.net/web2, so if customer click http://appname.cloudapp.net, it will show Web1, and for http://appname.cloudapp.net/web2 it will show web2, use something like subpath to

Azure cloud service network bandwith

天涯浪子 提交于 2019-12-24 07:37:09
问题 I have an Azure web role on 3 Standard_A3s. The web api has a heavy load and it transfers lot of large objects. I am trying to find out at what RPS we might hit network bandwith limit. Is there a way to find this out. 回答1: Maximum network bandwidth is the maximum aggregated bandwidth allocated and assigned per VM type. The maximum bandwidth provides guidance for selecting the right VM type to ensure adequate network capacity is available. When moving between Low, Moderate, High and Very High,

Web role / worker role / VM role?

北战南征 提交于 2019-12-24 06:48:20
问题 Sorry for ambiguous question title! I have an asp.net app which works with an additional third party software(burning glass- connects to web app via tcp/ip, requires - properly configured dns entry, fixed ip and minimum of 8gb ram and it is completely managed via command prompt) in a single dedicated server. I want to convert my web form app to MVC and deploy it in azure and also move the third party software I use( with above requirements). Is it possible to achieve the above requirements in

Deploy to an Azure WebRole without Visual Studio

不打扰是莪最后的温柔 提交于 2019-12-24 04:30:50
问题 Is there a way I can deploy my entire website/webapp to an Azure WebRole without the need of Visual Studio? Context : We have a test environment where there's an IIS hosted web app where our testers test (of course). The thing is, we want to grab that exact tested web app folder and deploy it "as is" to a WebRole. Please avoid commenting on our procedure, we have been looking at it and we will eventually change it if we have to, I just need a 'simple' yes(how)/no answer. 回答1: IIS Web Deploy

How to evict from output cache when using varybycustom for multitenant app?

旧时模样 提交于 2019-12-24 03:06:06
问题 I have an app that runs on Azure Web Worker Roles and is using the Co-Located Role Cache as the default output cache. I also use a varybycustom so that I can partial cache a page with cachable areas. So in my home page I have this: <div id="collectionsheader"> @Html.Action("Header", new{ controller = "Collections", area="Dam" }) </div> which refers to this action: [OutputCache(Duration = 3600, VaryByCustom = "host")] public ActionResult Header() { ... } the varybycustom is so that in this

how to write azure web role - worker role schedule task?

耗尽温柔 提交于 2019-12-24 02:55:13
问题 I am reaching a conflict in my azure project, I'm trying to seclude task : on every 16th of the month of .xml file form individual web site. In my project I have one web role and one worker role, I trying to seclude on every 16th of the month that the web role will create a message(connect to the site and download the .xml file), insert it to the queue storage, the worker role gets the message process it and delete the message. Suggestion anyone?? 回答1: Have you taken a look at this post -

Avoid storing connection string in session for different sql schema

回眸只為那壹抹淺笑 提交于 2019-12-23 20:29:13
问题 I am planning to have a multi tenant application in Azure where data isolation is achieved via schema separation. I am planning to use subdomain to identify the tenant. Idea is to get the tenant name from the sub-domain, get the user-id and password from the login page and validate the uid, pwd & tenant id for the authentication. If authenticated, all the calls to SPROCS from the application needs to be directed to the schema (same name as the tenant). However, i dont want to store tenant

Azure webrole cycling and “Could not load file or assembly System.Web.Http 5.2.0.0”

北城余情 提交于 2019-12-23 18:14:42
问题 I can't deploy my azure webrole anymore, it's cycling indefinitly. So I put on Intellitrace and I found this exception : Exception:Thrown: "Unable to load the role entry point due to the following exceptions: -- System.IO.FileLoadException: Could not load file or assembly 'System.Web.Http, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: