发布的Web应用程序天青,我怎么浏览到它,监视它? [英] Published Web app to Azure, how do I browse to it, monitor it?

查看:119
本文介绍了发布的Web应用程序天青,我怎么浏览到它,监视它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了我的第一个蔚蓝色的应用。它有一些数据写入表存储一个MVC3 Web角色。

I have created my first app for azure. It's has an MVC3 web role which writes some data to table storage.

它也有做幕后的一些工作,以相同的数据辅助角色。

It also has a worker role that does some work behind the scenes to the same data.

这一切都在模拟器中工作正常。

我这一切上传到Azure中为分段部署,托管服务是报告所有角色为准备好了。所有角色的健康是健康,但工人作用似乎崩溃,变为降级,然后自行重置(我想这是正在发生的事情)。

I've uploaded it all to Azure as a staging deployment, the hosted service it is reports all roles as "ready". The health for all roles is "healthy", though the worker role appears to crash and goes to "degraded" and then resets itself (I assume this is what is happening).

所以,现在怎么办?我已经找到了DNS名称的形式我的Web角色的http:// {GUID} .cloudapp.net /

So what now? I have found a "DNS Name" on my Web Role in the form "http://{guid}.cloudapp.net/"

点击该链接,只是给了我一个网络访问错误, http://www.downforeveryoneorjustme.com/也不能找到它。

Clicking on that link just gives me a network access error, http://www.downforeveryoneorjustme.com/ can't find it either.

我在想什么?我在哪里可以看到类似模拟器诊断?我已经设置了启用诊断用我的Azure存储帐户中的每个角色。如何获取到存储,看它是否已追查什么?这可以通过管理门户来完成?

What am I missing? Where can I see diagnostics similar to the emulator? I've set "Enable Diagnostics" to use my Azure storage account in each role. How do I get into the storage to see if it has traced anything? Can this be done through the Management Portal?

我试图通过MSDN搜索,但我无法找到一个页面,上面写着然后单击DNS名称的链接,你的网站将推出。我敢肯定有这样的,但我可以一个可爱的页面找不到它。

I've tried searching through MSDN, but I can't find a page that says "and then you click the DNS name link and your website will launch. I'm sure there is a lovely page like that but I can't find it.

在此先感谢!

推荐答案

在2011年8月,在Windows Azure角色模板进行了更新与ASP.NET通用提供商合作。因此,当你创建一个新的项目,会话状态提供由SQL防爆preSS默认的支持。如果不更改为SQL Azure中或高速缓存(或禁用会话状态),你会碰到的问题。

In August 2011, the Windows Azure role templates were updated to work with the ASP.NET Universal Providers. As such, when you create a new project, the session state provider is backed by SQL Express by default. If you don't change this to SQL Azure or Cache (or disable session state), you'll run into issues.

我不知道这正是你正在运行到这个问题,但它是一个常见的​​一种。见内特托滕的博客文章了解详情这个(内特召唤出这个问题了几页下来,在重要提示)。

I'm not sure this is exactly the issue you're running into, but it's a common one. See Nate Totten's blog post for more information about this (Nate calls out this issue a few pages down, under IMPORTANT NOTE).

这篇关于发布的Web应用程序天青,我怎么浏览到它,监视它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆