ASP_NET Features

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    ASP_NET Features - Presentation Transcript

    1. Asp .Net 2.0 New Features By Biswadip Goswami (c) Biswadip Goswami, [email_address]
    2. What's New in 2.0
      • Dynamically Compiled Classes
      • Simplified Code Behind Pages
      • Several New Server Controls
      • New Declarative Expression Syntax
      (c) Biswadip Goswami, [email_address]
      • ASP.NET pages are text files with an .aspx file name extension. Pages consist of code and markup and are dynamically compiled and executed on the server to produce a rendering to the requesting client browser (or device).
      (c) Biswadip Goswami, [email_address]
    3. The Html part of ASP. NET
      • <html> <head> <link rel=&quot;stylesheet&quot; href=&quot;intro.css&quot;> </head> <body> <center> <form action=&quot;intro1_cs.aspx&quot; method=&quot;post&quot;> <h3> Name: <input id=&quot;Name&quot; type=text> Category: <select id=&quot;Category&quot; size=1> <option>psychology</option> <option>business</option> <option>popular_comp</option> </select> <input type=submit value=&quot;Lookup&quot;> </h3> </form> </center> </body> </html>
      (c) Biswadip Goswami, [email_address]
    4. Code behind
      • <%@ Page Language=&quot;C#&quot;%> <html> <head> <link rel=&quot;stylesheet&quot;href=&quot;intro.css&quot;> </head> <body> <center> <form action=&quot;intro2_cs.aspx&quot; method=&quot;post&quot;> <h3> Name: <input id=&quot;Name&quot; type=text> Category: <select id=&quot;Category&quot; size=1> <option>psychology</option> <option>business</option> <option>popular_comp</option> </select> </h3> <input type=submit value=&quot;Lookup&quot;> <p> <% for (int i=0; i <8; i++) { %> <font size=&quot;<%=i%>&quot;> Welcome to ASP.NET </font> <br> <% }%> </form> </center> </body> </html>
      (c) Biswadip Goswami, [email_address]
    5. Print on button click
      • <%@ Page Language=&quot;C#&quot; %> <html> <head> <link rel=&quot;stylesheet&quot;href=&quot;intro.css&quot;> </head> <body> <center> <form action=&quot;intro3_cs.aspx&quot;> <h3> Name: <input name=&quot;Name&quot; type=text value=&quot;<%=HttpUtility.HtmlEncode(Request.QueryString[&quot;Name&quot;])%>&quot;> Category: <select name=&quot;Category&quot; size=1> <% String [] values = { &quot;psychology&quot;, &quot;business&quot;, &quot;popular_comp&quot; }; for (int i=0; i<values.Length; i++) { %> <option <% if (Request.QueryString[&quot;Category&quot;] == values[i]) { Response.Write(&quot;selected&quot;); } %>> <%=values[i]%> </option> <% } %> </select> </h3> <input type=submit name=&quot;Lookup&quot; value=&quot;Lookup&quot;> <p> <% if (Request.QueryString[&quot;Lookup&quot;] != null) { %> Hi <%=HttpUtility.HtmlEncode(Request.QueryString[&quot;Name&quot;]) %>, you selected: <%=HttpUtility.HtmlEncode(Request.QueryString[&quot;Category&quot;]) %> <% } %> </form> </center> </body>
      (c) Biswadip Goswami, [email_address]
    6. Namespace
      • In general, a namespace is an abstract container providing context for the items (names, or technical terms, or words) it holds and allowing disambiguation of items having the same name (residing in different namespaces).
      • As a rule, names in a namespace cannot have more than one meaning, that is, two or more things cannot share the same name. A namespace is also called a context, as the valid meaning of a name can change depending on what namespace applies. Names in it can represent objects as well as concept, whether it is a natural or ethnic language, a constructed language, the technical terminology of a profession, a dialect, a sociolect, or an artificial language (e.g., a programming language).
      (c) Biswadip Goswami, [email_address]
    7. Thank You !
      • For assistance with your ASP.Net requirements contact:
      • Biswadip Goswami
      • Primary e-mail: [email_address]
      • Alt e-mail: [email_address]
      • Webpage: http://people.cognobytes.com/biswadip
      (c) Biswadip Goswami, [email_address]
    SlideShare Zeitgeist 2009

    + Biswadip GoswamiBiswadip Goswami Nominate

    custom

    371 views, 0 favs, 0 embeds more stats

    Understand why you should choose ASP.NET platform f more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 371
      • 371 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 1
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories