vs2010 apiit mix on campus_ngan seok chern

18
Ngan Seok Chern MCP | CEH | MVP ASP / ASP.NET [email protected] http://blog.scnetstudio.com

Upload: quek-lilian

Post on 14-May-2015

365 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

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

[email protected]://blog.scnetstudio.com

Page 2: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

The Four Pillars of VS2010 “Pro”

Understanding The Code

Building WebApplications

Creating OfficeBusiness

Applications

Using ThePower of

C++

Page 3: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

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

Page 4: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

The Two Faces of Visual Studio 2010

Visual Studio As An Editor

Visual Studio As A Platform

Page 5: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

… As An EditorAn improved focus on…

Writing code,

Understanding code,

Navigating code,

Publishing code

Page 6: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

… 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

Page 7: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

Welcome to Visual Studio 2010

Page 10: Vs2010 Apiit Mix On Campus_Ngan Seok Chern
Page 11: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

The VS2010 Roadmap

Beta 1 - Q2 CY09

Beta 2 - H2 CY10

RTM, Before Visual Studio vNext vNext Ships!

Page 12: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

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…

Page 13: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

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

Page 14: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

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>

Page 15: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

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");

Page 16: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

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

Page 17: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

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.

Page 18: Vs2010 Apiit Mix On Campus_Ngan Seok Chern

Thank youQ&A

[email protected]