0

I'm developing a WCF clous service in windows Azure, and i use lucene indexing. I would like to implement new feutures in my service, and it will use a different different blob file, becouse the new feuture requires a different index structure. Is there any way to do it easyly?

For example: the production will use blob called: "index", and the staging will use a blob called "index_staging". I cant modify the current blob, because the current service will not able to work on the new index.

Thank for help.

T

4

1 回答 1

1

我建议您使用不同的存储帐户。将存储帐户用于生产,将一个存储帐户用于测试环境。例子:

  • myapp.blob.core.windows.net
  • myapp-test.blob.core.windows.net

当您部署到生产环境时,您将转到第一个,当您在本地开发或部署到测试环境时,您将转到第二个存储帐户。

于 2013-01-21T12:09:28.657 回答