What are the differences between custom Web control and user control?
Ans- Custom Web control is a control that inherits from web server control available in ASP.Net.
A Custom Web Control could be compiled into separate .dll file. This custom Web control can be shared across all application by installing this dll in to Global Assembly Catch.
User Control is a file (.ascx file) that contains a set of ASP.Net controls and code grouped together to provide common functionality across the application. User control can be used on different web pages of
the application.
Explain ASP.Net Catching? What are different catching mechanisms available in ASP.Net?
Ans- ASP.Net catching one of the important performance factor for large web applications.
ASP.Net Catching stores frequently accessed data in to catch object.
There are two different types catching in ASP.Net
1.Application Catching
2.Page Output Catching
What is ASP.Net? What are the advantages ASP.Net Technologies?
Ans- ASP.Net is a server side Technology to develop a web based applications.ASP.Net will make use of .Net framework features.
Advantages of ASP.Net
What are the different validation controls available in ASP.Net?
Ans- RequiredFieldValidator: Verifies whether a control contains data
CompareValidator: Verifies whether an entered item matches an entry in another control
RangeValidator: Verifies whether an entered item is between two values
RegularExpressionValidator: Verifies whether an entered item matches a specified format
CustomValidator: Verifies the validity of an entered item using a client-side script or a server-side code, or both
ValidationSummary: Displays validation errors in a central location or display a general validation error description
Where do the ASP.NET validation controls validate data, on the Client or on the Web Server?
Ans- ASP.NET validation controls validate data on the client as well as web server. If we need to validate data on client side itself, we have to set a property to controls to execute at the client side.
Ans- Custom Web control is a control that inherits from web server control available in ASP.Net.
A Custom Web Control could be compiled into separate .dll file. This custom Web control can be shared across all application by installing this dll in to Global Assembly Catch.
User Control is a file (.ascx file) that contains a set of ASP.Net controls and code grouped together to provide common functionality across the application. User control can be used on different web pages of
the application.
Explain ASP.Net Catching? What are different catching mechanisms available in ASP.Net?
Ans- ASP.Net catching one of the important performance factor for large web applications.
ASP.Net Catching stores frequently accessed data in to catch object.
There are two different types catching in ASP.Net
1.Application Catching
2.Page Output Catching
What is ASP.Net? What are the advantages ASP.Net Technologies?
Ans- ASP.Net is a server side Technology to develop a web based applications.ASP.Net will make use of .Net framework features.
Advantages of ASP.Net
- ASP.NET makes development simpler and easier to maintain with an event-driven, server-side programming model
- ASP.NET offers built-in security features through windows authentication or other authentication methods.
- Content and program logic are separated which reduces the inconveniences of program maintenance.
- Built-in caching features.
What are the different validation controls available in ASP.Net?
Ans- RequiredFieldValidator: Verifies whether a control contains data
CompareValidator: Verifies whether an entered item matches an entry in another control
RangeValidator: Verifies whether an entered item is between two values
RegularExpressionValidator: Verifies whether an entered item matches a specified format
CustomValidator: Verifies the validity of an entered item using a client-side script or a server-side code, or both
ValidationSummary: Displays validation errors in a central location or display a general validation error description
Where do the ASP.NET validation controls validate data, on the Client or on the Web Server?
Ans- ASP.NET validation controls validate data on the client as well as web server. If we need to validate data on client side itself, we have to set a property to controls to execute at the client side.
0 comments:
Post a Comment