Saturday, May 10, 2008

Important Points to Note 2

1. inetinfo.exe is the microsoft IIS server running, handling ASP.NET requests. When an ASP.NET request is received, the ISAPI filter aspnet_isapi.dll takes care of it by passing the request o the actual worker process aspnet_wp.exe
2. Page Load events
a. Init()
b. Load()
c. PreRender()
d. UnLoad()
3. ViewState is available after Init() and before Page_Load().
4. A Web Page is an instance of System.Web.UI.Page
5. Information about users locale is stored in System.Web.UI.Page.Culture
6. Codebehind="MyCode.aspx.cs" and Src="MyCode.aspx.cs", Codebehind is used only in Visual Studio .NET
7. range Validator supports Integer, String, Date datatypes
8. All User input data should be validated at server side. additionally client side code can be provided for richer and more responsive experience for the user
9. Server. Transfer transfers page processing from one page to another without making round trip back to the client browser. This provides faster response and little less overhead on the server. It does not update history list.
10. Response.redirect performs a round trip back to the clients browser where client browser is redirected to new page . Users history list is updated
11. ADO.NET
a. can represent an entire relational database, tables, relations, views
b. can work without continuing connection with the datasource
c. data in dataset is bulk loaded, ather than loading on demand
d. No concepts of cursors in dataset
e. No current record pointer, can use for each to loop through records
f. Can store many edits in dataset and write them to original datastore in single operation

12. Global.asax is used to implement application and session level events.
13. Diffgram is one of the 2 XML formats that can be used to render dataset object contents to XML file. Useful when reading database data and sending it to WebService through XML.
14. MSIL allows the .NET Framework to JIT compile the assembly on the installed computer.
15. data cannot be edited in Repeater control
16. ControlToValidate and Text property are the 2 common properties found in all Validation controls
17. A single .NET DLL can contain many classes
18. SOAP - Simple Object Access Protocol is the protocol used to call a Web Service.
19. Web Service can be written in any language
20. WSDL stands for - Web Services Description Language
21. ViewState allows the state of serializable objects to be stored in a hidden field on a page.
It is transported to the client and back to the server.
It is not stored in server or any other external Source
It is used to retain the state of server side objects between postbacks
22. ASP.NET provides In-Process and Out-of-Process state management.
In-Process stores the session in memory in Web Server. It requires "sticky-server" (no load balancing) so that the user is always reconnected to the same web server.
Out-of-Process sesion state management stores data in an external data source. Exernal device may be SQl Server or State Server service.
Out-of-Process state management requires all objects stored on session are serializable

No comments: