S.NoInvoke()BeginInvoke()1Delegate.Invoke:Executes synchronously, on the same thread.Delegate.BeginInvoke:Executes asynchronously, on a threadpool thread. 2Control.Invoke:Executes on the UI thread, but calling thread waits for completion before continuing.Control.BeginInvoke:Executes on the UI thread, and calling thread doesn’t wait for completion.
S.NoBuildRelease1BUILD is still running in testing that is released to testers for testingRELEASE is no longer with testing and release to Customers/Clients. 2BUILD occur more frequentlyRELEASE occur less frequently. 3BUILD is process of converting source code in to executablecode (.exe)RELEASE is a process of delivering the project to client
S.NoWindows formsWeb forms1They do not need a web browser or web server to execute.They need a web browser as well as a web server(on the server machine only). 2They execute through their respective exe filesThey execute through the dll of the web application which is then processed by IIS and the .net framework. 3They run on the same machine they are displayed on.They run on a remote server and are displayed remotely on the clients 4Their single instance exists until we close them or dispose them through codingEvery time they are submitted, their new instance is created. 5Used for developing games, inventory management, system utiltites etc.Used in web site development. 6They run under Code Access Security.They use role based security
S.NoMaster PageContent Page1Files with .Master extension. Introduced in ASP.NET 2.0.Example:Files with .aspx extension.Example: 2These have a control known as the Content Placeholder which reserves a storage location in which we can place the contents of a .aspx page.These do not have any Content Placeholder control which makes it somewhat difficult in providing proper layout and alignment for large designs. 3MasterPageFile attribute is added in the Page directive of the .aspx page when a Master Page is referenced in .aspx page. The .aspx page that uses the Master page i known as Content Page.Register Tag is added when we drag and drop a user control onto the .aspx page. 4Can be referenced using Web.Config file also or dynamically by writing code in PreInit event.Can be attached dynamically using Load Control method. PreInit event is not mandatory in their case for dynamic attachment. 5More suitable for large designs(ex: defining the complete layout of .aspx page)Suitable for small designs(Ex:1) logout button on every .aspx page.
Sample Code For Master Page
Sample Code For Content Page