김영욱 차장 Microsoft.NET Evangelist [email protected] Blog: Facebook: Twitter: @winkey7.

33
Social Web Development Platform ASP.NET Razor 김김김 김김 Microsoft .NET Evangelist [email protected] Blog: http://YoungWook.com Facebook: http://www.facebook.com/winkey7 Twitter: @winkey7

Transcript of 김영욱 차장 Microsoft.NET Evangelist [email protected] Blog: Facebook: Twitter: @winkey7.

Social Web Development Platform ASP.NET Razor

김영욱 차장

Microsoft .NET [email protected]: http://YoungWook.comFacebook: http://www.facebook.com/winkey7Twitter: @winkey7

WebPages, Razor, WebMatrix

Razor

Razor 의 구성요소Razor: ASP.NET Razor 를 위한 실행환경

WebPages: 실행에 필요한 웹페이지

WebMatrix: 개발 환경

Razor Structure

SQL Server Compact EditionDatabase ClassWebGrid Helper

DB Programming

Database다양한 버전의 Database 를 지원하게 되어 있다 .

Microsoft SQL ServerMicrosoft SQL Server Compact EditionMySQL….

Sample008.cshtml

DatabaseWebMatrix 를 설치하게 되면 별다른 작업이 없어도 Microsoft SQL Server Compact 버전을 사용할 수 있다 .

Sample008.cshtml

SQL Server Compact

*.SDF

*.SDF

*.SDF

Table

Table

Table

Database

Database Object 를 활용한다 .

1. Database.Open( );2. Database.Query( );3. Row Object 로 결과물을 받음 .

File ObjectFileUpload HelperPath Object

Working with Files

File Object

WriteAllText( path , data)AppendAllText( path, data)ReadAllLines( path )Delete( path )Exists( path )

File Upload

FileUpload.GetHtml( )Path.GetFileName( path )UploadedFile.SaveAs( )

WebImage Helper

Images

WebImage

GetImageFromRequest( )Save( )Resize( )FlipVertical( )AddTextWatermark( )

Video Helper

Video

VideoHelper

Flash( )MediaPlayer( )Silverlight( )

Mail Helper

Email

Mail Helper

Mail.SmtpServerMail.SmtpPortMail.EnableSslMail.UserNameMail.FromMail.PasswordMail.Send( )

LinkShare HelperTwitter HelperGravatar HelperGamerCard Helper

Social Networking

SNS Helper

LinkShare.GetHtml( )Twitter.Profile( )Twitter.Search( )Gravatar.GetHtml( )GamerCard.GetHtml( )

Analytics Helper

Analyzing Traffic

Analytics Helper

Analytics.GetGoogleHtml( myaccout )Analytics.GetYahooHtml( myaccout )Analytics.GetStatCounterHtml( key1, key2 , key3)

WebCache Helper

Web Cache

WebCache Helper

WebCache.Get( key )WebCache.Set( key, value….)

WebSecurity HelperSimpleMembership HelperReCaptcha Helper

Security & Membership

WebSecurity

WebSecurity.IsAuthenticatedWebSecurity.CurrentUserNameWebSecurity.Resetpassword( )

Recaptcha

ReCaptcha.Validate( key )

WebSecurity HelperSimpleMembership HelperReCaptcha Helper

Debugging

Info

ServerInfo.GetHtml( )ObjectInfo.Print( )

Tool

Firebug (http://getfirebug.com)Internet Explorer Developer ToolsWebMatrix Beta Requests ToolWebMatrix Analyzing SEO Reports

이제부터 필요한 건 뭐 ?

더 많은 내용은 ?영욱닷컴 http://YoungWook.com

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.