TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Internet Explorer
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Lync
See all products »
Resources
Curah! curation service
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Subscriptions
TechNet Video
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Microsoft Update
Trials
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Related Sites
Microsoft Download Center
TechNet Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
e-Learning overview
Certifications
Certification overview
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Other resources
TechNet Events
Second shot for certification
Born To Learn blog
Find technical communities in your area
Support options
For small and midsize businesses
For enterprises
For developers
For IT professionals
From partners
For technical support
Support offerings
For home users
More support
Microsoft Premier Online
Microsoft Fix It Center
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
Nevin Dong's Blog
Options
RSS for posts
Atom
RSS for comments
OK
Search Blogs
Tags
Architecture
AutoScale
Azure
High Availability
IaaS
iOS
Management Portal
Microsoft Azure
Mobile Services
Mooncake
Notification Hub
Notification Service
Powershell
Private Cloud
scalability
Service Bus
SQL Server
Virtual Machines
Visual Studio
VM
Web Sites
Windows 8
Windows Azure
Windows Azure Mobile Service
Windows Phone 8
Archive
Archives
December 2014
(5)
November 2014
(1)
October 2014
(2)
September 2014
(2)
August 2014
(1)
July 2014
(1)
June 2014
(2)
May 2014
(4)
April 2014
(3)
March 2014
(6)
February 2014
(3)
January 2014
(3)
December 2013
(3)
November 2013
(3)
October 2013
(4)
September 2013
(3)
August 2013
(4)
June 2013
(2)
May 2013
(4)
April 2013
(3)
March 2013
(2)
February 2013
(3)
January 2013
(3)
December 2012
(4)
November 2012
(3)
October 2012
(4)
September 2012
(4)
August 2012
(3)
July 2012
(1)
July, 2014
TechNet Blogs
»
Nevin Dong's Blog
»
July, 2014
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
在WebSites中使用EntityFramework访问SQL Database时可能遇到的一个连接问题
Posted
5 months ago
by
Nevin (Naiwen) Dong
最近碰到一个奇怪的问题,发生在一个典型的Microsoft Azure云应用开发场景:利用Azure WebSites快速开发云Web应用,同时利用SQL Database来存储数据并提供数据服务;使用Entity Framework,可以快捷、高效地在客户端建立数据模型,便于访问SQL Database中的数据并进行交互。 问题是:为了开发方便,在本地Visual Studio开发环境中开发WebSites应用,连接到Azure上的SQL Database的时候,一切正常;但将本地代码部署到Azure上的WebSites的时候...