| 
								 
									 
								
								Asynchronous Programming in remoting Application 
									 
								
								
								By Nishant Kumar 
								There are two ways that the remoting objects can be configured. They can be 
									configured by calling configuration methods inside the application. .Net 
									Framework allows configuring objects also by adding configuration section in 
									the application configuration file.
									 
									When you apply any change in the configuration section, you don’t need to 
									recompile the code. On the other hand, any change in the setting applied 
									programmatically would require recompiling the code.
								 
								Remoting system requires certain information about remote objects to be hosted 
									which are as follows 
								Activation type
									 
									Channels
									 
									URL of the remote object 
									Type metadata 
								.Net Framework provides RemotingConfiguration class in the 
									System.Runtime.Remoting namespace that allows configuring object 
									programmatically.
								 
								In .Net, you can have configuration setting in the application configuration 
									file or in the machine.config file. You can use RemotingConfiguration.Configure 
									method to load the setting in the code, e.g.
								 
								RemotingConfiguration.Configure("AppConfig.exe.config")
								 
								The configuration attributes in the XML configuration file of the application 
									are below. 
								<application> 
									This element contains the information about the remote objects. 
									<service> 
									This element contains the remote object. 
									<wellknown> 
									This element has three attribute such as mode, type, and objectUri. Mode can be 
									Singleton or SingleCall. Type is the name of the assembly that contains type 
									implementation. ObjectUri specifies the endpoint for the URI of an object.
									 
									<activated> 
									This element contains information about the client-activated objects that are 
									exposed by the application.
									  
								
								
								Also read 
								
								ASP.NET can also impersonate a specific account you specify in 
									web.config......... 
								
								In addition to the new controls, ASP.NET 2.0 also provides numerous enhancements 
									to existing controls that make these controls more versatile than ever before 
									in building component-based web pages. For example, the Panel control now has a 
									DefaultButton property that specifies which button should be clicked if the 
									user presses the Enter key while the panel has the focus......... 
								
								This articles describes the ways to preserve page data between the requests in 
									ASP.NET using Application and Session state variables. 
								
								This article has content about master page, its advantages and how to create 
									master page in ASP.NET. It also describes about multiple master page. 
								
								In pessimistic locking, when a user opens a data to update it, a lock is 
									granted.... 
								
								Here are the general steps that are followed during a transaction....
									 
								
								
							 |