ASP_NET Features

711 views

Published on

Understand why you should choose ASP.NET platform for your websites. What are the features of the new ASP.NET.

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
711
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

ASP_NET Features

  1. 1. Asp .Net 2.0 New Features By Biswadip Goswami (c) Biswadip Goswami, [email_address]
  2. 2. What's New in 2.0 <ul><li>Dynamically Compiled Classes </li></ul><ul><li>Simplified Code Behind Pages </li></ul><ul><li>Several New Server Controls </li></ul><ul><li>New Declarative Expression Syntax </li></ul>(c) Biswadip Goswami, [email_address]
  3. 3. <ul><li>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). </li></ul>(c) Biswadip Goswami, [email_address]
  4. 4. The Html part of ASP. NET <ul><li><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> </li></ul>(c) Biswadip Goswami, [email_address]
  5. 5. Code behind <ul><li><%@ 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> </li></ul>(c) Biswadip Goswami, [email_address]
  6. 6. Print on button click <ul><li><%@ 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> </li></ul>(c) Biswadip Goswami, [email_address]
  7. 7. Namespace <ul><li>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). </li></ul><ul><li>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). </li></ul>(c) Biswadip Goswami, [email_address]
  8. 8. Thank You ! <ul><li>For assistance with your ASP.Net requirements contact: </li></ul><ul><li>Biswadip Goswami </li></ul><ul><li>Primary e-mail: [email_address] </li></ul><ul><li>Alt e-mail: [email_address] </li></ul><ul><li>Webpage: http://people.cognobytes.com/biswadip </li></ul>(c) Biswadip Goswami, [email_address]

×