Prepared By, B.Maaithili Assistant Professor, Department of Information Technology, Saiva Bhanu Kshatriya College, Aruppukottai
Prepared By, B.Maaithili Assistant Professor, Department of Information Technology, Saiva Bhanu Kshatriya College, Aruppukottai
NET
Prepared by,
B.Maaithili
Assistant Professor,
Department of Information Technology,
Saiva Bhanu Kshatriya college, Aruppukottai
ASP.NET – VISUAL STUDIO
application.
• Document window: Displays the documents we are working on in
document.
• ToolBox: Provides controls. Toolbox elements are grouped by
common function.
• Server Explorer: Displays database connections.
ASP.NET File Types
• .ascx -These are ASP.NET user controls. User controls are similar to web pages, except that the user can’t access these
files directly. Instead, they must be hosted inside an ASP.NET web page.
• .asmx -These are ASP.NET web services—collections of methods that can be called over the Internet. Web services work
differently than web pages, but they still share the same application resources, configuration settings, and memory.
• web.config - This is the XML-based configuration file for your ASP.NET application. It includes settings for
customizing security, state management, memory management, and much more.
• Global.asax -This is the global application file. We can use this file to define global variables (variables that can be
accessed from any web page in the web application) and react to global events (such as when a web application first starts).
• .cs -These are code-behind files that contain C# code. They allow you to separate the application logic from the user
interface of a web page.
ASP.NET Directories
Directory Description
ASP.NET directives are instructions to specify optional settings, such as registering a custom control and page
language.
These settings describe how the web forms (.aspx) or user controls (.ascx) pages are processed by the .Net
framework.
10. Register is used for registering the custom server <%@ Register Src="~/footer.ascx"
controls and user controls. TagName="footer"
TagPrefix="Tfooter" %>
ASP.NET - Directives
Directive Descriptions Attributes List Attribute Descriptions
Name
11. Page It defines the attributes The Boolean value that enables or disables page
specific to the page file AutoEventWireup events that are being automatically bound to
for the page parser and methods; for example, Page_Load.
the compiler.
It enables, disables, or makes session state read-
EnableSessionState
only.
controls.
• Web Forms are made up of two components: the visual portion
(the ASPX file), and the code behind the form, which resides in a
ASP.NET provides various controls like: server controls and HTML controls for the Web Forms.
• These are server-based equivalents for • These are similar to the HTML server controls, but
standard HTML elements. they provide a richer object model with a variety