Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
docu...
Week Target Achieved
1 30 27
2 30 29
3
Typing Speed
Jobs Applied
# Company Designation Applied Date Current Status
1
2
3
4
5
Nithil.pp
nithilp@gmail.com
facebook.com/ nithil
padinare peediyekal
twitter.com/nithilpp
in.linkedin.com/in/nithil.pp
999...
Overview - ASP.NET Folders
• ASP.NET 2.0 uses a file-based approach.
• we can add files and folders using the Add
Items op...
• Can add as many files and folders as we like.
• Dynamically compile them when required.
i.e, uses a predefined folder st...
Advantages of ASP.NET Application
Folders
• Maintain resources in an organized manner.
• All files and folders are accessi...
Different Types of Application Folder
• App_Code Folders
• Bin Folders
• App_Data Folders
• App_Theme Folders
• App_Browse...
App_Code Folder
• App_Code Folder stores classes, typed data
sets, etc.
• All items stored in App_Code are automatically
a...
• We can add an App_Code folder, by
Solution File → right click → Add ASP.NET
Folder → App_Code.
• ASP.NET allows you to add an App_Code folder
only once.
• Can add new items like classes, text and xml
files into the Ap...
• Items entered in App_Code folder is accessible
throughout the application.
• If we store different classes like .cs or ....
• We have to create separate folders for C# and
for VB or other classes.
Bin Folder
• Contains compiled assemblies (.dll files) for controls,
components, or other code
• Can access those as a ref...
App_Data Folder
• Used as a data storage for the web application.
• Can store files such as .mdf, .mdb, and XML.
• Manages...
App_Theme Folder
• to give your web sites a consistent look.
• When we add an App_Theme folder, a
subfolder with name Them...
• We could select the theme from aspx page.
App_Browser Folder
• App_Browser folder contains browser
information files (.browser files).
• used to identify the browse...
App_WebReference Folder
• Contain references to any web services.
• Contains reference contract files (.wsdl files),
schem...
Resources Folders
• The main purpose of resource files
is localization of the web application.
• There are two type of res...
App_LocalResource Folder
• Contains resources (.resx and .resources files)
that are associated with a specific page, user
...
App_GlobalResource Folder
• can be read from any page or code that is
anywhere in the web site.
• We should use theApp_Glo...
web.config
• ASP.NET Web.config allows you to define or revise
the configuration settings.
• Web.config files are stored i...
• IIS is configured in such a way that it prevents
the Web.config file access from the browser.
• The changes in Web.confi...
Hierarchy of the Web.config file.
system.web
•Compilation Settings
•Page Settings
Custom Error Settings
Example error status code:
•400 Bad Request
•401 Unauthorized
•404 Not Found
•408 Request Timeout
Lo...
HttpHandler Settings
HttpModule Settings
Authentication Settings
Authorization Settings
Membership Provider Settings
Role Provider Settings
connectionStrings
• allows you to store multiple connection strings
that are used in the application.
ConfigSections
• Used to create your own custom configuration
section that can be used with
the web.configfile.
If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.co...
Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, N...
Asp .net folders and web.config
Asp .net folders and web.config
Asp .net folders and web.config
Asp .net folders and web.config
Upcoming SlideShare
Loading in...5
×

Asp .net folders and web.config

2,950
-1

Published on

Asp .net folders and web.config

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

  • Be the first to like this

No Downloads
Views
Total Views
2,950
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
20
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Asp .net folders and web.config

  1. 1. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  2. 2. Week Target Achieved 1 30 27 2 30 29 3 Typing Speed
  3. 3. Jobs Applied # Company Designation Applied Date Current Status 1 2 3 4 5
  4. 4. Nithil.pp nithilp@gmail.com facebook.com/ nithil padinare peediyekal twitter.com/nithilpp in.linkedin.com/in/nithil.pp 9995223505 ASP .NET folders and web.config
  5. 5. Overview - ASP.NET Folders • ASP.NET 2.0 uses a file-based approach. • we can add files and folders using the Add Items option.
  6. 6. • Can add as many files and folders as we like. • Dynamically compile them when required. i.e, uses a predefined folder structure containing the files, to compile them dynamically.
  7. 7. Advantages of ASP.NET Application Folders • Maintain resources in an organized manner. • All files and folders are accessible through the application. • We can add as many files as required • Files are compiled dynamically when required
  8. 8. Different Types of Application Folder • App_Code Folders • Bin Folders • App_Data Folders • App_Theme Folders • App_Browser Folders • App_WebReference Folders • Resources Folders – App_LocalResource Folders – App_GlobalResource Folders
  9. 9. App_Code Folder • App_Code Folder stores classes, typed data sets, etc. • All items stored in App_Code are automatically accessible throughout the application. • If we store any class files (like .cs or .vb) it compiles them automatically.
  10. 10. • We can add an App_Code folder, by Solution File → right click → Add ASP.NET Folder → App_Code.
  11. 11. • ASP.NET allows you to add an App_Code folder only once. • Can add new items like classes, text and xml files into the App_Code folder.
  12. 12. • Items entered in App_Code folder is accessible throughout the application. • If we store different classes like .cs or .vb in the same folder. it will give following compilation error:
  13. 13. • We have to create separate folders for C# and for VB or other classes.
  14. 14. Bin Folder • Contains compiled assemblies (.dll files) for controls, components, or other code • Can access those as a reference from anywhere of our web application. • ASP.NET recognizes the presence of DLLs inside the Bin Folder. • Keeping .pdb files inside Bin folder helps us in debugging. • Main limitation-scope is limited to the current application. • They cannot access any code outside of current web application.
  15. 15. App_Data Folder • Used as a data storage for the web application. • Can store files such as .mdf, .mdb, and XML. • Manages all of your application's data. • Any file you place in it won't be downloadable.
  16. 16. App_Theme Folder • to give your web sites a consistent look. • When we add an App_Theme folder, a subfolder with name Theme1 will be automatically created. • An App_Theme folder can contain two subfolders; – one for CSS files. – other for skin files.
  17. 17. • We could select the theme from aspx page.
  18. 18. App_Browser Folder • App_Browser folder contains browser information files (.browser files). • used to identify the browser and browser capabilities.
  19. 19. App_WebReference Folder • Contain references to any web services. • Contains reference contract files (.wsdl files), schemas (.xsd files), and discovery document files (.disco and .discomap files) that let you create a Web reference
  20. 20. Resources Folders • The main purpose of resource files is localization of the web application. • There are two type of resources: – Local resources – Global resources
  21. 21. App_LocalResource Folder • Contains resources (.resx and .resources files) that are associated with a specific page, user control, or master page in an application.
  22. 22. App_GlobalResource Folder • can be read from any page or code that is anywhere in the web site. • We should use theApp_GlobalResource folder when we need a single resource for multiple web pages.
  23. 23. web.config • ASP.NET Web.config allows you to define or revise the configuration settings. • Web.config files are stored in XML format. • Can have any number of Web.config files for an application. • All the Web.config files inherit the root Web.config file available at the following location. i.e, systemrootMicrosoft.NETFrameworkversionNu mberCONFIGWeb.config location
  24. 24. • IIS is configured in such a way that it prevents the Web.config file access from the browser. • The changes in Web.config don’t require the reboot of the web server.
  25. 25. Hierarchy of the Web.config file.
  26. 26. system.web •Compilation Settings •Page Settings
  27. 27. Custom Error Settings Example error status code: •400 Bad Request •401 Unauthorized •404 Not Found •408 Request Timeout Location Settings
  28. 28. HttpHandler Settings HttpModule Settings Authentication Settings
  29. 29. Authorization Settings Membership Provider Settings
  30. 30. Role Provider Settings
  31. 31. connectionStrings • allows you to store multiple connection strings that are used in the application.
  32. 32. ConfigSections • Used to create your own custom configuration section that can be used with the web.configfile.
  33. 33. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  34. 34. Contact Us Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×