azure

Windows Azure WebRole stuck in a deployment loop

I've been struggling with this one for a couple of days now. My current Windows Azure WebRole is stuck in a loop where the status keeps changing between Initializing, Busy, Stopping and Stopped. It never goes live, and I can can never see the website as a result. The WebRole is an "out of the box" MVC 2 application with Copy Local set t...

Windows Azure WorkerRole response

I am working on an Azure demo to run Powershell in a worker role. In my web role I add the name of the Powershell script which is to be run to a CloudQueue object. I can print the script output to the debug console but need to be able to get this output back into my web role and display it on the ASP.NET page. Any suggestions on how th...

ASP.NET Web Forms Applications on Azure (or any cloud hosting)

This is a pretty vague question but I'm struggling a bit to get my head around what is involved in cloud hosting. Say for instance if I had an asp.net web app using: - Webforms - linq to sql - an sql server database - Calling some external restful webservices What would need to be done to host it on a cloud service? Are there spe...

Multiple webRole instances at Azure and session state

I have webRole with some data stored in Session. The data is some tens of small variables (strings), and one-two big objects (some megabytes). I need to run this webRole in multiple instances. Since two requests from the single user can go to different instances, Session became useless. So, i am looking for most efficient and simplest me...

Choosing between .NET Service Bus Queues vs Azure Queue Service

Hi Everyone. Just a quick question regarding an Azure application. If I have a number of Web and Worker roles that need to communicate, documentation says to use the Azure Queue Service. However, I've just read that the new .NET Service Bus now also offers queues. These look to be more powerful as they appear to offer a much more detai...

What books on Windows Azure and development for cloud architectures would you recommend?

I'm looking for some literature on how to approach architecting and developing solutions for the cloud, especially on MS Azure. Can you recommend any books on these topics? ...

Live, shared hosted, ASP.NET MVC site migration to Windows Azure

I have an existing ASP.NET MVC based website. Very typical: XHTML, CSS, jQuery, C#, LINQ2Sql. Web.config tells app where to connect for SQL database. Are typical websites like this easy to port to Windows Azure? What sort of headaches should I be ready for if I decided to do this? It's not necessary at this time, but I'm planning for w...

Visual studio project/solution compilation with only .net SDK (without installed VS)

Is it possible? And if possible, is it possible to compile created in VS azure cloud project, having only .net35 and azure SDKs installed, also without VS? ...

Visual Studio 2008 hangs when running Azure projects

My ASP MVC Web project runs and debugs without any issues in VS2008SP1 (.NET 3.5 SP1). However when I run the Azure project that refers to the same Web project as a Web Role, although it runs without issues, I can't go back to Visual Studio when I'm done. It seems as if VS is waiting for a modal form to close (I get the "bing" sound in...

Migrate SQL Server database to SQL Azure

What's the best way to move a normal SQL server database to SQL Azure? Is it right that you can't restore from a backup file? The only way I've found so far is to script the database (and it's data) and run those scripts on the SQL Azure database but this is slow when you have lots of data. ...

Azure MVC Web Role does not use CSS when run under development fabric

When I run either application itself or Azure deployment from Web, my pages are rendered using CSS, but when running the Web role under local fabric, I get plain "no-CSS" style pages. I have two questions: Anybody knows why does it happen? What is a good way to debug similar issues? ...

Handling conflict with entity group transactions in Azure

I'm currently writing a method which, in order to reduce transaction costs, inserts entities into Azure Table Services in batches of 100. The entities inserted are immutable. I.e. if the PartitionKey and the RowKey are identical between two entitiy-object it means that all other properties are identical as well. Therefore I will never n...

Connecting to remote SQL Server 2008 from Windows Azure

I am trying to connect to a SQL Server 2008 instance from a Windows Azure worker role (it's not SQL Azure, but a remotely hosted SQL Server 2008 Standard Edition), but I get the following error message System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server....

Allowing access to Azure Storage nodes to select users?

Hi all, Given a stored file on Azure Storage (blobs, tables or queues -- doesn't matter), is it possible to allow access to it for all, but only based on permissions? For example, I have a big storage of images, and a DB containing users and authorizations. I want user X to only be able to access images Y and Z. So, the URL will be gen...

Azure AccountName and AccountSharedKey problem.

I'm obviously not smart enough to figure it out on my own. Even after reading the very similar question, I'm still far from solving this problem. I'm sure that once again stackoverflow community will save me. I'm trying to update ServiceConfiguration.cscfg file and I'm having problem to get the right account name. It's also possible ...

where is the Live Services TAB gone on Windows Azure site?

I am trying to generate LiveID acess keys on the Azure Services Developer Portal but I cant find where the Live Services Tab is gone so I can retrieve the application id and secret key. Anyone have a similar experience and know where to get them now? thanks guys Edit: I am using Exercise 2 - Using Live ID Authentication in the Azure P...

Global Resources and Windows Azure

My ASP.Net 3.5 SP 1 MVC 1.0 web application uses Resources (resx) in several languages. The default language is English. My resources pick up the right language from the current thread, which I set before trying to display any resource. System.Threading.Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.GetCulture...

Windows Azure - Framework Specs?

I'm playing around with a test project in Visual Studio 2010 and tried to publish it to Azure, but it was rejected as, out-of-the-box, VS2010 defaults to using .Net Framework 4.0 and Azure currently only runs 3.5 SP1 stuff. Any other restrictions on the level of software you can use in there? ...

Issue Logging in to Azure deployed web app using while using CNAME redirect.

Hello, I am running into an issue with logging into an ASP.NET MVC web site using Forms Authentication while running on Azure using a CNAME to redirect my domain to the url of the Azure application. For clarity on how I am setup the following blog post explains how I am setup. http://blog.smarx.com/posts/custom-domain-names-in-windows-...

Construct a datatable from the REST response received from quering table entities in azure

I query the Azure tables using REST API and the response is transformed to xmldocument. Is there an easy way to convert this xmldocument to datatable without manually parsing the xml in code? I would know the schema for the table/entity only at runtime. Alternatively, what would be the best way to display the azure table data in a grid ...