VTALKS Thailand All Season Place. Agenda  Web Forms  Core Services  Web Designer Improvement  Web Application Deployment  Dynamic.

Slides:



Advertisements
Similar presentations
INTRODUCTION TO ASP.NET MVC AND EXAMPLE WALKTHROUGH RAJAT ARYA EFECS - OIM DAWG – 4/21/2009 ASP.NET MVC.
Advertisements

Introduction to MVC Adding a View Page NTPCUG Tom Perkins, Ph.D.
1.  Understanding about How to Working with Server Side Scripting using PHP Framework (CodeIgniter) 2.
11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
Languages for Dynamic Web Documents
1 Chapter 12 Working With Access 2000 on the Internet.
Web-Based Applications
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
ASP.NET 4.0 Web Developers User Group Israel June 2009.
WEB329 ASP.NET: A Lap Around the New Enhancements for Web Developers in Microsoft Visual Studio 2005 Omar Khan Lead Program Manager Web Platform and Tools.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
SQL Server Reporting Services London Database Developer Forum Anoop Patel.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
JavaScript & jQuery the missing manual Chapter 11
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
Real World Examples – Part II 7/26/2013Miro Remias, Sr. Solution Architect.
Building a UI with Zen Pat McGibbon –Sales Engineer.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
Creating Web Applications Using ASP.NET Chapter Microsoft Visual Basic.NET: Reloaded 1.
Introducing Reporting Services for SQL Server 2005.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
New team member / new project for the team Helps analyze relationships and structure Understanding code Locates code in unfamiliar code bases Understand.
Lap Around Visual Studio 2008 &.NET 3.5 Enhancements.
Sage ACT! 2013 SDK Update Brian P. Mowka March 23, 2012 Template date: October 2010.
Bradley Millington Senior Program Manager Microsoft Corporation SESSION CODE: WEB 306.
The.NET Runtime and IIS Presented by Chris Dickey – cdickey.net consulting
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
ASP.NET OPTIMIZATION. Why Optimize? $$$ Whether you build applications for customers or not, enhanced applications save money.
© Copyright SELA software & Education Labs Ltd Baruch Hirsch St.Bnei Brak Israel
What’s New for Web Developers in ASP.NET and Visual Studio 2008 Kate Gregory Microsoft Regional Director
Database Handling, Sessions, and AJAX. Post Back ASP.NET Functionality The IsPostBack method in ASP.NET is similar to the BlackBerry.refresh method –IsPostBack.
VITALE, CATURANO & COMPANY LTD Microsoft SharePoint Web Part Development Overview VITALE, CATURANO & COMPANY LTD SharePoint Developer Series – Web Part.
Jeff King Senior Program Manager Microsoft Session Code: WIA204.
J. Michael Palermo IV Director of Development Interface, USA WUX203.
Getting Started with ASP.NET MVC BRIJ BHUSHAN MISHRA.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
Virtual techdays INDIA │ 9-11 February 2011 Caching Enhancement in ASP.NET 4.0 Abhijit Jana │ Consultant, Microsoft
What’s new in ASP.NET 4.0 ?. Agenda Changes to Core Services  Extensible Output Caching  Shrinking Session State  Performance Monitoring  Permanently.
Understanding Web Applications Lesson 4. Objective Domain Matrix Skills/ConceptsMTA Exam Objectives Understanding Web Page Development Understand Web.
Delivering Excellence in Software Engineering ® EPAM Systems. All rights reserved. Configuration.
IIS Manager Details Delegated Administration Configuration System.
Introduction  “M” “V” “C” stands for “MODEL” “VIEW” “CONTROLLER”. ASP.NET MVC is an architecture to develop ASP.NET web applications in a different manner.
Virtual techdays INDIA │ 9-11 February 2011 SESSION TITLE Kamala Rajan S │ Technical Manager, Marlabs.
Sundararajan Subramanian Associate Technical Architect | Aditi Technologies Ltd., |
Internet Information Server 6.0 & new management features.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Alexey Polovinkin Post graduate student, CMC department.
Sergey Sidorov PhD student, computer software chair Computer Science department.
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
1 Introducing Web Developer Tools Rapid application development tools ASP.NET-compatible web editors –Visual Studio.NET Professional Edition –Visual Studio.
Web development with Visual Studio 2010 & ASP.net 4 Alex Mackey.
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
© Copyright SELA software & Education Labs Ltd Baruch Hirsch St.Bnei Brak Israel
1 Using MVC 6. MVC vs. ASP Web Forms Both run under ASP.NET Can coexist In Web Forms, browser requests page. xxx.aspx and xxx.aspx.cs on the server Page.
Introducing the Microsoft® .NET Framework
Developing GIS WebParts in SharePoint
Introduction and Principles
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
Chapter 23 – ASP.NET Outline 23.1 Introduction NET Overview
ASP.NET Roadmap Mike Ormond Developer & Platform Group Microsoft Ltd
ASP.NET Module Subtitle.
ASP.NET 4 Core Runtime for Web Developers
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
7/19/2019 2:53 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Introduction to ASP.NET Parts 1 & 2
Presentation transcript:

VTALKS Thailand All Season Place

Agenda  Web Forms  Core Services  Web Designer Improvement  Web Application Deployment  Dynamic Data  AJAX Functionality in ASP.NET 4.0

ASP.NET 4.0 Web Forms Feature

Set meta tags on Web Forms  Feature for Search Engine Optimize (SEO)  Allow set page meta tags  keywords  description  With Coding  Demo this.MetaKeywords = "Greatfriends.biz, Visual Studio 2010,.NET, ASP.NET 4.0, SilverLight, Team System 2010"; this.MetaDescription = "VTALKS #12“;

View State for Individual Controls  ViewStateMode tag  Enabled (default value)  Disabled  Inherit  Able to specify for each control  Able to force all control at Page Directive  Demo

Browser Capabilities  Using determines browser that user is using browse to you site.  To get user browser information  HTML, XHTML support version  JavaScript version  Mobile Browser  HttpBrowserCapabilities object after using this feature.

Browser Capabilities  blackberry.browser  chrome.browser  Default.browser  firefox.browser  gateway.browser  generic.browser  ie.browser  iemobile.browser  iphone.browser  opera.browser  safari.browser New Browser Definition Files:

Using Browser Capabilities Providers  Using ASP.NET Standard Browser Capabilities  Use aspnet_regbrowsers.exe –i, It’s will create ASP.BrowserCapsFactory.dll and install to GAC  Restart IIS iisreset  Custom your Browser Capabilities  Derived HttpCapabilitiesProvider Class  Override GetBrowserCapabilities Method to return your BC.  Register to web.config <browserCaps …  Use in Global.asax Application_Start() Event

Browser Capabilities Providers  HttpBrowserCapabilities object caching  Extending ASP.NET Browser Capabilities Functionality  Extending Browser Capabilities Functionality by Adding New Capabilities to Existing Capabilities Definitions

ASP.NET Web Forms Routing  Let you configure new simple URL  SEO Optimize  It Likes ASP.NET MVC Routing  Such as from   To new URL 

ASP.NET Web Forms Routing  Map routing in Global.asax file on Application_Start() Event, Add RouteTable.Routes.MapPageRoute() method  checkPhysicalUrlAccess for restrict URL access permission  Reading Routing Information in a Web Forms Page  Page.RouteData.Values["searchterm"] as string;  value “

ASP.NET Web Forms Routing  Accessing Routing Information in Markup  ">Search for Scott  value “  Using Route Data for Data Source Control Parameters  RouteParameter class lets you specify route data as a parameter value for queries in a data source control. It works much like FormParameter  ” selectcommand="SELECT CompanyName,ShipperID FROM Shippers where

ASP.NET 4.0 Client ID  Control ID Feature  ClientIDMode  AutoID – Auto Generate by ASP.NET.  Static – Fix ID  Predictable – For repeating template control, in ClientIDRowSuffix should be PrimaryKey or Object ID  Inherit –default behavior, same as its parent.

Persisting Row Selection in Data Controls  Persist Selected Row  Enabled for GridView and ListView controls  Use EnablePersistedSelection 

ASP.NET 4.0 Core Services Feature

Web.config File Minification  Move major configuration to machine.config, and leave your new configuration only  Able to override value on web.config

Extensible Output Caching  Session State  SQL Server State  Output Cache Providers (New)  Allow your set default cache provider  Able to customize your output cache provider  Able to configure one or more

New 4.0 Cache Functionality Cache Namespace System.Caching { } CacheProvider Disk based Windows Azure Distributed In- memory

New 4.0 Output Cache Functionality Namespace System.Web.Caching { } Disk based Windows Azure Distributed In- memory OutputCacheProvider Default.aspx Foo.ascx

Extensible Output Caching  Add Output Cache Provider in web.config  Can specify page to use output cache provider with Page and Control Directive   Configure all in Global.asax  public override string GetOutputCacheProviderName(HttpContext context)

Auto-Start Web Applications  Many web app need to load initialize data. This expensive to do  Solve the first requests Timeout problem  Wake up asp.net app with your custom code on Application_Load Event in Global.asax file  For ASP.NET IIS Win2K8 R2 Only  Config in %Windows%\System32\inetsrv\config applicationHost.config

 specify individual applications pool to be automatically started Auto-Start Web Applications <!-- Additional content  <add name="PrewarmMyCache" type="MyNamespace.CustomInitialization, MyLibrary" />

Auto-Start Web Applications  For implement PreloadProvider using System.Web.Hosting.IProcessHostPreloadClie nt public class CustomInitialization : System.Web.Hosting.IProcessHostPreloadClient { public void Preload(string[] parameters) { // Perform initialization. }

Permanently Redirecting a Page  Feature for Search Engine Optimize (SEO)  Generate Http 301 on response header and attached new URL of request page  Just call this method  Response. RedirectPermanent("/newpath/foroldcontent.aspx");

The Incredible Shrinking Session State  Support both out-of-process and session- state providers  Just configure in web.config <sessionState mode="SqlServer" sqlConnectionString="data source=dbserver;Initial Catalog=aspnetstate" allowCustomSqlDatabase="true" compressionEnabled="true" />

Expanding the Range of Allowable URLs  Expand URL range from 260 characters (old asp.net) to customize value  Customize request path validator,*,%,&,:,\" />

Extensible Request Validation  Prevent Cross-site scripting (XSS) attacks  Validate Process on HttpRuntime, add tag in web.config  Customizable with your code public class CustomRequestValidation : RequestValidator { protected override bool IsValidRequestString( HttpContext context, string value, RequestValidationSource requestValidationSource, string collectionKey, out int validationFailureIndex) {... } }

Object Caching and Object Caching Extensibility  New MemoryCache class in System.Runtime.Caching.dll  Allow call from any Application Type without System.Web.dll dependency  For do this required documentation for implement, Please wait!

Extensible HTML, URL, and HTTP Header Encoding  System.Web.Util.HttpEncoder Extensible to create Custom Encoding on HttpRuntime  Add custom encoding in web.config file

Performance Monitoring for Individual Applications in a Single Worker Process  Diagnostic worker process feature by CRL  Admin can configure in aspnet.config file

Multi-Targeting  Allow to specify version of.NET framework …..

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.  3-D support for most chart types.  Smart data labels that can automatically fit around data points.  Strip lines, scale breaks, and logarithmic scaling.  More than 50 financial and statistical formulas for data analysis and transformation.  Simple binding and manipulation of chart data.  Support for common data formats, such as dates, times, and currency.  Support for interactivity and event-driven customization, including client click events using AJAX.  State management.  Binary streaming.

ASP.NET Chart Control

Visual Studio 2010 Web Designer Improvements  Improved CSS Compatibility using CSS 2.1  HTML and JScript Snippets  JScript IntelliSense Enhancements

Web Application Deployment with Visual Studio 2010  Web packaging  reasons why you should create a Web Package reasons why you should create a Web Package  Web.config Transformation  Web Deployment: Web.Config Transformation Web Deployment: Web.Config Transformation  Database deployment  Database Deployment with VS 2010 Database Deployment with VS 2010  One-Click Publish for Web applications  Web 1-Click Publish with VS 2010 Web 1-Click Publish with VS 2010

Resource  Visual Studio 2010 Beta 1   ASP.NET 4.0 Beta 2 Documentation  