The question of the week is. When do you use Windows Azure Websites as your web platform and when do you use Cloud Services. These two platforms provide similar functionality in that you can deploy your ASP.NET or other IIS based web application projects to either of these platforms. There are some general cases of when to use one over the other and some specific differences that may help in making that decision. In this post I am going to go through these differences and attempt to give some guidance on what to use when.
When to use Websites
You Are Just Starting – Compared to Cloud Services, Websites may not be as flexible but it is definitely easier. You can build your website using Visual Studio, WebMatrix, or any other IDE of your choice without the need for an SDK or any other additional software.
You can deploy to Windows Azure Websites using WebDeploy, FTP, or even DropBox. You can sync your site code straight from GitHub, BitBucket, Codeplex, or TFS Online. It is incredibly easy and require little to know buy-in to Windows Azure if you want to create an IIS website.
Continue reading “Continuous Learning on Azure(5): Azure Web App vs Cloud Services”
Cloud Service(云服务)是Microsoft azure上最基本的service之一，了解详情请访问Get Started 页面。该文详细介绍了什么是云服务, 并且提供了DotNET版示例代码，以及如何运行(本地)和发布到azure。详细步骤本文不再重复。
那么问题是什么呢？这篇文章的部署部分针对的是微软全球azure，也成为WW Azure。而在中国，azure有一份独立的部署，专门针对中国市场，我们叫Azure in China，也叫Mooncake。WW azure和Mooncake是两个独立的平台。两个平台是基于同一份源代码（当然Mooncake的版本通常要落后于WW azure很多），但却是完全不相干的两个平台，数据、运营、支持都是分开的。 Continue reading “Continuous Learning on Azure(4): How to deploy Cloud Service to Azure in China”
Copy from http://benjii.me/2014/11/run-iis-express-on-port-443-using-ssl-and-wildcard-subdomains/
In this post I tackle running a website using wildcard subdomains over HTTPS and SSL all using just IISExpress.
If you have a multi-tenancy app, or rather an application that uses a wildcard subdomain to identify a user or dynamic subsite, then you may have run into trouble trying to test the subdomain functionality locally. The problem is compounded when you also want to ensure your site is served using HTTPS and SSL.
We’ll start basic and then move on to the more complex scenarios.
Important. Open Visual Studio in Adminstrator Mode.
Continue reading “Run IIS Express on Port 443 Using SSL and Wildcard Subdomains”
The Azure classic portal provides two ways for you to create and deploy a cloud service: Quick Create and Custom Create.
This topic explains how to use the Quick Create method to create a new cloud service and then use Upload to upload and deploy a cloud service package in Azure. When you use this method, the Azure classic portal makes available convenient links for completing all requirements as you go. If you’re ready to deploy your cloud service when you create it, you can do both at the same time using Custom Create.
Continue reading “Continuous Learning on Azure(2): How to Create and Deploy a Cloud Service?”
Is Azure Cloud Services the choice for you? Azure provides different hosting models for running applications. Each one provides a different set of services, so which one you choose depends on exactly what you’re trying to do.
||Scalable Web Apps, Mobile Apps, API Apps, and Logic Apps for any device
||Highly available, scalable n-tier cloud apps with more control of the OS
||Customized Windows and Linux VMs with complete control of the OS
Continue reading “Continuous Learning on Azure(1): What’s azure cloud service?”
不同的程语言有不同的作用域, Python作用域分4级，Built-in, Global, Enclosing和Local，如下图所示。
Continue reading “Continuous Learning on Python (4): Global 详解”
error: object file .git/objects/31/65329bb680e30595f242b7c4d8406ca63eeab0 is empty
fatal: loose object 3165329bb680e30595f242b7c4d8406ca63eeab0 (stored in .git/objects/31/65329bb680e30595f242b7c4d8406ca63eeab0) is corrupt
git commit -a "Some messeage",
git commit "Some message"等),导致出现空的commit。再执行
Continue reading “Git loose object(stored in .git/objects/xxxx) is corrupt 异常”
__all__ = ["foo","bar"] # foo, bar are public
Continue reading “Continuous Learning on Python (3): __all__的用法”
Continue reading ““人工智能之父”马文・明斯基”