Tag Archives: Visual Studio 2012

Logoff / Change Account on TFS Service in Visual Studio 2012 – 在Visual Studio 2012 上使用火同的TFS 用戶戶口登入TFS Service

今天在Visual Studio 2012 嘗試Check-in 一個Project Source CodeTFS Service的時
出現了一些問題…我正在登入的 TFS/ Microsoft Account 沒有權限去Check-in 程式碼到TFS Service上.. 還記起之前因為嘗試 Windows Azure的關係..使用了另一個使用者登入 Visual Studio 上的TFS Service.

現在當我嘗試在”Connect To Team Foundation Server” 上登出現在使用 TFS ServiceAccount用戶.. 之後再次登入..
很可惜..可能之前選擇了記住密碼 和自動登入..
所以當我按下登入時…他便自己登入之前的 使用者Account..
TFS Auto Sign-in


由於Visual Studio 之前是以 IE Windows 來登入TFS Services
所以我便嘗試開啟 IE..
之後按下”Safety/安全” ->“Delete Browsing History…/ 刪除瀏覽歷史…”
Delete Browsing History
在”Delete Browsing History Dialogue…/ 刪除瀏覽歷史視窗…”
上記住選擇…刪除”Form Data / 表單數據” 和 “Password / 密碼
Delete Browsing History Settings
之後按下 “確定/OK

之後回到Visual Studio 的 “Connect To Team Foundation Server” 再之登出登入 Account
TFS Service Login Screen

Hope you find it useful

ASP.Net and Web Tool 2.2 Download

ASP.Net and Web Tool 2.2 終於Release 了




  • Page Inspector
  • Editor
    • Support syntax highlighting for CoffeeScript, Mustache, Handlebars, and JsRender.
    • The HTML editor provides Intellisense for Knockout bindings.
    • LESS editing and compiler support to enable building dynamic CSS using LESS.
    • Paste JSON as a .NET class. Using this Special Paste command to paste JSON into a C# or VB.NET code file, and Visual Studio will automatically generate .NET classes inferred from the JSON.
  • Mobile Emulator support adds extensibility hooks so that third-party emulators can be installed as a VSIX. The installed emulators will show up in the F5 dropdown, so that developers can preview their websites on a variety of mobile devices. Read more about this feature in Scott Hanselman’s blog entry on the new BrowserStack integration with Visual Studio.

Web Publishing

  • Web site projects now have the same publishing experience as Web Application projects including publishing to Windows Azure Web Sites.
  • Selective publish – for one or more files you can perform the following actions (after publishing to a Web Deploy endpoint):
    • Publish selected files.
    • See the difference between a local file and a remote file.
    • Update the local file with the remote file or update the remote file with the local file.

ASP.NET MVC Templates

  • The new Facebook Application template makes writing Facebook Canvas applications easy. In a few simple steps, you can create a Facebook application that gets data from a logged in user and integrates with their friends. The template includes a new library to take care of all the plumbing involved in building a Facebook app, including authentication, permissions, accessing Facebook data and more. For more information on using the Facebook Application template see http://go.microsoft.com/fwlink/?LinkID=269921.
  • A new Single Page Application MVC template allows developers to build interactive client-side web apps using HTML 5, CSS 3, and the popular Knockout and jQuery JavaScript libraries, on top of ASP.NET Web API. The template includes a “todo” list application that demonstrates common practices for building a JavaScript HTML5 application that uses a RESTful server API. You can read more at http://www.asp.net/single-page-application.
  • You can now create a VSIX that adds new templates to the ASP.NET MVC New Project dialog. Learn how here:http://go.microsoft.com/fwlink/?LinkId=275019
  • FixedDisplayModes package – MVC project templates have been updated to include the new ‘FixedDisplayModes’ NuGet package, which contains a workaround for a bug in MVC 4. For more information on the fix contained in the package, refer to this blog post (http://blogs.msdn.com/b/rickandy/archive/2012/09/17/asp-net-mvc-4-mobile-caching-bug-fixed.aspx) from the MVC team.


ASP.NET Web API has been enhanced with several new features:

  • ASP.NET Web API OData
  • ASP.NET Web API Tracing
  • ASP.NET Web API Help Page


ASP.NET Web API OData gives you the flexibility you need to build OData endpoints with rich business logic over any data source. With ASP.NET Web API OData you control the amount of OData semantics that you want to expose. ASP.NET Web API OData is included with the ASP.NET MVC 4 project templates and is also available from NuGet (http://www.nuget.org/packages/microsoft.aspnet.webapi.odata).

ASP.NET Web API OData currently supports the following features:

  • Enable OData query semantics by applying the [Queryable] attribute.
  • Easily validate OData queries and restrict the set of supported query options, operators and functions.
  • Parameter bind to ODataQueryOptions directly to get an abstract syntax tree representation of the query that can then be validated and applied to an IQueryable or IEnumerable.
  • Enable service-driven paging and next page link generation by specifying result limits on [Queryable] attribute.
  • Request an inlined count of the total number of matching resources using $inlinecount.
  • Control null propagation.
  • Any/All operators in $filter.
  • Infer an entity data model by convention or explicitly customize a model in a manner similar to Entity Framework Code-First.
  • Expose entity sets by deriving from EntitySetController.
  • Simple, customizable conventions for exposing navigation properties, manipulating links and implementing OData actions.
  • Simplified routing using the MapODataRoute extension method.
  • Support for versioning by exposing multiple EDM models.
  • Expose service document and $metadata so you can generate clients (.NET, Windows Phone, Windows Store, etc.) for your Web API.
  • Support for the OData Atom, JSON, and JSON verbose formats.
  • Create, update, partially update (PATCH) and delete entities.
  • Query and manipulate relationships between entities.
  • Create relationship links that wire up to your routes.
  • Complex types.
  • Entity Type Inheritance.
  • Collection properties.
  • Enums.
  • OData actions.
  • Built upon the same foundation as WCF Data Services, namely ODataLib (http://www.nuget.org/packages/microsoft.data.odata).

For more information on ASP.NET Web API OData see http://go.microsoft.com/fwlink/?LinkId=271141.

ASP.NET Web API Tracing

ASP.NET Web API Tracing integrates tracing data from your web APIs with .NET Tracing. It is now enabled by default in the Web API project template. Tracing data for your web APIs is sent to the Output window and is made available through IntelliTrace. ASP.NET Web API Tracing enables you to trace information about your Web API when hosted on Windows Azure through integration with Windows Azure Diagnostics. You can also install and enable ASP.NET Web API Tracing in any application using the ASP.NET Web API Tracing NuGet package (http://www.nuget.org/packages/microsoft.aspnet.webapi.tracing).

For more information on configuring and using ASP.NET Web API Tracing see http://go.microsoft.com/fwlink/?LinkID=269874.

ASP.NET Web API Help Page

The ASP.NET Web API Help Page is now included by default in the Web API project template. The ASP.NET Web API Help Page automatically generates documentation for web APIs including the HTTP endpoints, the supported HTTP methods, parameters and example request and response message payloads. Documentation is automatically pulled from comments in your code. You can also add the ASP.NET Web API Help Page to any application using the ASP.NET Web API Help Page NuGet package (http://www.nuget.org/packages/microsoft.aspnet.webapi.helppage).

For more information on setting up and customizing the ASP.NET Web API Help Page seehttp://go.microsoft.com/fwlink/?LinkId=271140.


ASP.NET SignalR makes it simple to add real-time web capabilities to your ASP.NET application, using WebSockets if available and automatically falling back to other techniques when it isn’t.

For more information on using ASP.NET SignalR see http://go.microsoft.com/fwlink/?LinkId=271271.

ASP.NET Friendly URLs

ASP.NET FriendlyURLs makes it very easy for web forms developers to generate cleaner looking URLs(without the .aspx extension). It requires little to no configuration and can be used with existing ASP.NET v4.0 applications. The FriendlyURLs feature also makes it easier for developers to add mobile support to their applications, by supporting switching between desktop and mobile views.

For more information on installing and using ASP.NET Friendly URLs seehttp://www.hanselman.com/blog/IntroducingASPNETFriendlyUrlsCleanerURLsEasierRoutingAndMobileViewsForASPNET

有關新功能可以到以下URL 參考


Hope you find it useful

Visual Studio 2012 RC ISO Download and Windows 8 Release Preview ISO Download

在2012年6月1日 Microsoft 發布了
Windows 8 Release Preview  Visual Studio 2012 RC [前身是VS11]

有很多朋友都問.. 那裡可以Download ISO版本
Windows 8 Release Preview本身的Download Version 已經是ISO 版本的
Win8 RP / Windows 8 Release Preview 

大家如果有興趣安裝Windows 8到VHD 的話可以參考以下URL

How to install Win8 on VHD with Dual Boot – 如何把Windows 8 安裝在VHD 上 之後使用Dual Boot

Visual Studio 2012 RC
本身的版本是Web Installer版本..
如果會嘗嘗重裝或裝到不同的VM上時ISO 會比較方便

VS2012 RC / Visual Studio 2012 RC ISO
以下有不同版本的Visual Studio 2012 RC 的 Download Link
大家可以進入這些連結下載ISO 版本的 Visual Studio 2012 RC

Visual Studio 2012 RC ISO Download
Microsoft Visual Studio Ultimate 2012 RC

Microsoft Visual Studio Professional 2012 RC

Microsoft Visual Studio Premium 2012 RC

Microsoft Visual Studio Test Professional 2012 RC

Microsoft Visual Studio Express 2012 RC for Windows 8

Hope you find it useful