Vs2010 Apiit Mix On Campus_Ngan Seok Chern

Post on 14-May-2015

365 views 2 download

Tags:

Transcript of Vs2010 Apiit Mix On Campus_Ngan Seok Chern

Ngan Seok ChernMCP | CEH | MVP – ASP / ASP.NET

seokchern85@hotmail.comhttp://blog.scnetstudio.com

The Four Pillars of VS2010 “Pro”

Understanding The Code

Building WebApplications

Creating OfficeBusiness

Applications

Using ThePower of

C++

New Look & Feel

Web Deploy

web.config Transformation

Call Hierarchy

Inline Call Tree

Highlight References

Document Map Margin

Extensible Test Runner

WPF-based Editor

Sharepoint Tooling

JQueryIntellisense

HTML Snippets

Historical Debugging

Concurrency Profiler

Parallel Tasks Window

Parallel Stacks Window

Quick Search

Generate From Usage

Improved Multi-Monitor

MVC Tooling

Dynamic Data Tooling

Click-Once Enhancements for Office

64-bit Mixed-Mode

Minidump Debugging

Breakpoint Grouping

Breakpoint Labeling

Breakpoint Import/Export

New Visual Studio 2010 Features…

Improved WPF Tooling

The Two Faces of Visual Studio 2010

Visual Studio As An Editor

Visual Studio As A Platform

… As An EditorAn improved focus on…

Writing code,

Understanding code,

Navigating code,

Publishing code

… As A PlatformNew Extensible Editor allows editor to

be easily extended to provide a rich

and robust editing experience

Online Visual Studio Gallery

integrated directly into Visual Studio

Welcome to Visual Studio 2010

The VS2010 Roadmap

Beta 1 - Q2 CY09

Beta 2 - H2 CY10

RTM, Before Visual Studio vNext vNext Ships!

What's New in ASP.NET 4 Extensible Output Caching

Auto-Start Web Applications

Permanently Redirecting a Page

Setting Client IDs

ASP.NET Chart Control

And more…

Extensible Output Caching Enables you to configure one or more custom output-

cache providers.

Include local or remote disks, cloud storage, and distributed cache engines.

Create custom output-cache provider as a class that derives from the new System.Web.Caching.OutputCacheProvider type in the Web.config

Auto-Start Web Applications Earlier versions of ASP.NET, for these situations you

had to devise custom approaches to "wake up“ your apps.

New scalability feature named auto-start ASP.NET 4 runs on IIS 7.5 on Windows Server 2008 R2.

IIS Administrator

applicationHost.config<applicationPools>

<add name="MyApplicationPool"

startMode="AlwaysRunning" />

</applicationPools>

Permanently Redirecting a Page Response.Redirect method to forward a request to the

URL.

Response.Redirect ("/foroldcontent.aspx");

Redirect method issues an HTTP 302 Found (temporary redirect) response.

Extra HTTP round trip when users attempt to access the old URLs.

Search engines and other user agents that recognize permanent redirects will store the new URL.

Response.RedirectPermanent("/foroldcontent.aspx");

Setting Client IDs

1) Master Page (No ID)

2) User Control (“HeaderForm”)

ControlHierarchy

3) Drop Down List (“States”)

Resulting Client IDs:1) ctl002) ctl00_HeaderForm3) ctl00_HeaderForm_States

ASP.NET Chart Control 35 distinct chart types.

An unlimited number of chart areas, titles, legends, and annotations.

A wide variety of appearance settings for all chart elements.

And etc.

Thank youQ&A

seokchern85@hotmail.com