Basic Concept of ASP.NET

394 views

Published on

basic of ASP.NET

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

  • Be the first to like this

No Downloads
Views
Total views
394
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Basic Concept of ASP.NET

  1. 1. INTRODUCTION OF ASP.NET Shyam N. Chawda 07874391191 www.shyamsir.com
  2. 2. CODING MODELS Shyam N. Chawda 9374928879 Inline code (single-file) Code behind file
  3. 3. INLINE  Need to write the Script code + HTML code in the same file. Shyam N. Chawda 9374928879
  4. 4. CODE BEHIND Shyam N. Chawda 9374928879 4
  5. 5. CODE BEHIND  Script code and the HTML code in separate files  These two files are then linked together to run the Web application. Shyam N. Chawda 9374928879 5
  6. 6. CODE BEHIND 2 separate files.  Designing in HTML (.aspx)  Coding in Vb.net (.aspx.vb) Shyam N. Chawda 9374928879 6
  7. 7. COMPARE  Easy  Designer working on the markup while a programmer  Code can be reused for multiple pages.  Single-file page is easier to rename.  send to another programmer because there is only one file. Shyam N. Chawda 9374928879 7
  8. 8. CODE RENDER BLOCKS  Code render blocks are used to write inline code or inline expressions inside the .aspx page. Shyam N. Chawda 9374928879 8
  9. 9. CODE RENDER BLOCKS <% inline code %> <%=inline expression %> Shyam N. Chawda 9374928879 9
  10. 10. CODE RENDER BLOCKS  <% Dim I as integer %>  <font size=<%=I%>> Shyam N. Chawda 9374928879 10
  11. 11. CODE RENDER BLOCKS  Exercise  <hr>  <font> Shyam N. Chawda 9374928879 11
  12. 12. TYPES OF CONTROL
  13. 13. Standard Controls Validation Controls Rich Controls Data Controls Navigation Controls Login Controls Webpart Controls HTML Controls
  14. 14. SERVER CONTROLS  They are programmable objects  Server side objects.  HTML conrtols <runat =server>  System.Web.UI.WebControls Shyam N. Chawda 9374928879 14
  15. 15. HTML CONTROLS  System.Web.UI.HTMLControls Shyam N. Chawda 9374928879 15
  16. 16. VALIDATION CONTROL  RequiredFieldValidator  CompareValidator  RangeValidator  RegularExpressionValidator  CustomValidator Shyam N. Chawda 9374928879 16
  17. 17. DIRECTORY STRUCUTRE  App_Browsers  App_Code  App_Data  App_GlobalResources  App_LocalResources
  18. 18. DIRECTORY STRUCUTRE  App_Themes  App_WebReferences  Bin
  19. 19. Shyam N. Chawda 9374928879 19 Any Questions Thanks

×