SlideShare a Scribd company logo
Asp .net folders and web.config
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
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
9995223505
ASP .NET folders and
web.config
Overview - ASP.NET Folders
• ASP.NET 2.0 uses a file-based approach.
• we can add files and folders using the Add
Items option.
• 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.
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
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
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.
• 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 App_Code folder.
• 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:
• 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 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.
Asp .net folders and web.config
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.
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.
Asp .net folders and web.config
• We could select the theme from aspx page.
App_Browser Folder
• App_Browser folder contains browser
information files (.browser files).
• used to identify the browser and browser
capabilities.
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
Resources Folders
• The main purpose of resource files
is localization of the web application.
• There are two type of resources:
– Local resources
– Global resources
App_LocalResource Folder
• Contains resources (.resx and .resources files)
that are associated with a specific page, user
control, or master page in an application.
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.
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
• 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.
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
Location Settings
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.
Asp .net folders and web.config
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
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

More Related Content

What's hot (20)

PPTX
Rails Concerns and Turbolinks
Nascenia IT
 
PPTX
Leveraging Open Source Library Guides: Integrating Koha and SubjectsPlus
Myka Kennedy Stephens
 
PPTX
Discovery Layers: An Overview and Case Study
Myka Kennedy Stephens
 
PDF
Asp.Net 3 5 Part 1
asim78
 
PPTX
Backing Library Operations with Open Source Applications
Myka Kennedy Stephens
 
PPTX
Chapter 26
application developer
 
PPTX
Doing Authentication
Myka Kennedy Stephens
 
PPTX
C++ shared libraries and loading
Rahul Jamwal
 
PDF
Asp 1-mvc introduction
Fajar Baskoro
 
PDF
Php training in bhubaneswar
litbbsr
 
PDF
Implementing SharePoint: Site Customization and Branding
drudolph11
 
PPTX
Implementing OpenAthens Single Sign-On Authentication
Myka Kennedy Stephens
 
PPTX
Securing Your WordPress Website
RightMix Technologies LLP
 
PDF
Induction training-cache
faliamm
 
PPTX
FHIR Server Design Review
Brian Postlethwaite
 
PPTX
Implementing Engineering Standards through Autodesk Vault
Synergis Engineering Design Solutions
 
PPTX
Inventor Content Center: Adding Information
Synergis Engineering Design Solutions
 
PPT
Sql implementations
Mallikarjuna G D
 
PPT
Web server
Priyanka Kundu
 
ODP
FED presentation
ClausDue
 
Rails Concerns and Turbolinks
Nascenia IT
 
Leveraging Open Source Library Guides: Integrating Koha and SubjectsPlus
Myka Kennedy Stephens
 
Discovery Layers: An Overview and Case Study
Myka Kennedy Stephens
 
Asp.Net 3 5 Part 1
asim78
 
Backing Library Operations with Open Source Applications
Myka Kennedy Stephens
 
Doing Authentication
Myka Kennedy Stephens
 
C++ shared libraries and loading
Rahul Jamwal
 
Asp 1-mvc introduction
Fajar Baskoro
 
Php training in bhubaneswar
litbbsr
 
Implementing SharePoint: Site Customization and Branding
drudolph11
 
Implementing OpenAthens Single Sign-On Authentication
Myka Kennedy Stephens
 
Securing Your WordPress Website
RightMix Technologies LLP
 
Induction training-cache
faliamm
 
FHIR Server Design Review
Brian Postlethwaite
 
Implementing Engineering Standards through Autodesk Vault
Synergis Engineering Design Solutions
 
Inventor Content Center: Adding Information
Synergis Engineering Design Solutions
 
Sql implementations
Mallikarjuna G D
 
Web server
Priyanka Kundu
 
FED presentation
ClausDue
 

Similar to Asp .net folders and web.config (20)

PPTX
Asp .net folders and web.config
baabtra.com - No. 1 supplier of quality freshers
 
PPT
GTU Asp.net Project Training Guidelines
TOPS Technologies
 
PPS
01 asp.net session01
Mani Chaubey
 
PPT
Asp.net architecture
Iblesoft
 
PDF
ASP.NET Unit-2.pdf
abiraman7
 
PPSX
01 asp.net session01
Vivek Singh Chandel
 
PPSX
A comprehensive software infrastructure of .Net
Prognoz Technologies Pvt. Ltd.
 
PDF
ASP.NET Interview Questions PDF By ScholarHat
Scholarhat
 
PPTX
Chapter 5
application developer
 
PPTX
asp.net Webconfiguration
Ma Kik
 
PPTX
Ch 04 asp.net application
Madhuri Kavade
 
PDF
Asp .net web form fundamentals
Gopal Ji Singh
 
PPSX
11 asp.net session16
Vivek Singh Chandel
 
DOCX
Walkthrough asp.net
Aravindharamanan S
 
PPS
01 asp.net session01
Niit Care
 
DOC
Create Applicationwith IIS 7
Sandeep Verma
 
PPS
14 asp.net session20
Niit Care
 
PPT
Chapter 09
Terry Yoast
 
PPT
security configuration
teach4uin
 
Asp .net folders and web.config
baabtra.com - No. 1 supplier of quality freshers
 
GTU Asp.net Project Training Guidelines
TOPS Technologies
 
01 asp.net session01
Mani Chaubey
 
Asp.net architecture
Iblesoft
 
ASP.NET Unit-2.pdf
abiraman7
 
01 asp.net session01
Vivek Singh Chandel
 
A comprehensive software infrastructure of .Net
Prognoz Technologies Pvt. Ltd.
 
ASP.NET Interview Questions PDF By ScholarHat
Scholarhat
 
asp.net Webconfiguration
Ma Kik
 
Ch 04 asp.net application
Madhuri Kavade
 
Asp .net web form fundamentals
Gopal Ji Singh
 
11 asp.net session16
Vivek Singh Chandel
 
Walkthrough asp.net
Aravindharamanan S
 
01 asp.net session01
Niit Care
 
Create Applicationwith IIS 7
Sandeep Verma
 
14 asp.net session20
Niit Care
 
Chapter 09
Terry Yoast
 
security configuration
teach4uin
 
Ad

More from baabtra.com - No. 1 supplier of quality freshers (20)

PPTX
Agile methodology and scrum development
baabtra.com - No. 1 supplier of quality freshers
 
PDF
Acquiring new skills what you should know
baabtra.com - No. 1 supplier of quality freshers
 
PDF
Baabtra.com programming at school
baabtra.com - No. 1 supplier of quality freshers
 
PDF
99LMS for Enterprises - LMS that you will love
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 6 database normalisation
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 5 transactions and dcl statements
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 4 functions, views, indexing
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 3 stored procedures
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 1 introduction to sql server
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 1 introduction to sql server
baabtra.com - No. 1 supplier of quality freshers
 
Agile methodology and scrum development
baabtra.com - No. 1 supplier of quality freshers
 
Acquiring new skills what you should know
baabtra.com - No. 1 supplier of quality freshers
 
Baabtra.com programming at school
baabtra.com - No. 1 supplier of quality freshers
 
99LMS for Enterprises - LMS that you will love
baabtra.com - No. 1 supplier of quality freshers
 
Chapter 6 database normalisation
baabtra.com - No. 1 supplier of quality freshers
 
Chapter 5 transactions and dcl statements
baabtra.com - No. 1 supplier of quality freshers
 
Chapter 4 functions, views, indexing
baabtra.com - No. 1 supplier of quality freshers
 
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
baabtra.com - No. 1 supplier of quality freshers
 
Chapter 1 introduction to sql server
baabtra.com - No. 1 supplier of quality freshers
 
Chapter 1 introduction to sql server
baabtra.com - No. 1 supplier of quality freshers
 
Ad

Recently uploaded (20)

PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 

Asp .net folders and web.config

  • 2. 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
  • 3. Week Target Achieved 1 30 27 2 30 29 3 Typing Speed
  • 4. Jobs Applied # Company Designation Applied Date Current Status 1 2 3 4 5
  • 6. Overview - ASP.NET Folders • ASP.NET 2.0 uses a file-based approach. • we can add files and folders using the Add Items option.
  • 7. • 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.
  • 8. 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
  • 9. 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
  • 10. 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.
  • 11. • We can add an App_Code folder, by Solution File → right click → Add ASP.NET Folder → App_Code.
  • 12. • 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.
  • 13. • 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:
  • 14. • We have to create separate folders for C# and for VB or other classes.
  • 15. 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.
  • 17. 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.
  • 18. 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.
  • 20. • We could select the theme from aspx page.
  • 21. App_Browser Folder • App_Browser folder contains browser information files (.browser files). • used to identify the browser and browser capabilities.
  • 22. 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
  • 23. Resources Folders • The main purpose of resource files is localization of the web application. • There are two type of resources: – Local resources – Global resources
  • 24. App_LocalResource Folder • Contains resources (.resx and .resources files) that are associated with a specific page, user control, or master page in an application.
  • 25. 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.
  • 26. 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
  • 27. • 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.
  • 28. Hierarchy of the Web.config file.
  • 30. Custom Error Settings Example error status code: •400 Bad Request •401 Unauthorized •404 Not Found •408 Request Timeout Location Settings
  • 34. connectionStrings • allows you to store multiple connection strings that are used in the application.
  • 35. ConfigSections • Used to create your own custom configuration section that can be used with the web.configfile.
  • 37. 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
  • 38. 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: [email protected]