What is Cross Page Posting?

When we click submit button on a web page, the page post the data to the same page. The technique in which we post the data to different pages is called Cross Page posting. This can be achieved by setting POSTBACKURL property of the button that causes the postback. Findcontrol method of PreviousPage can be … Read more

Explain role based security?

role Based Security used to implement security based on roles assigned to user groups in the organization. Then we can allow or deny users based on their role in the organization. Windows defines several built-in groups, including Administrators, Users, and Guests. In the context of ASP.NET, role-based security refers to a method of controlling access … Read more

What is the difference between web config and machine config?

Web config file is specific to a web application where as machine config is specific to a machine or server. There can be multiple web config files into an application where as we can have only one machine config file on a server. In an ASP.NET interview, if you’re asked about the difference between web.config … Read more

Can we have multiple web config files for an asp.net application?

Yes. In ASP.NET applications, typically, only one web.config file is used per application. However, you can have multiple web.config files in different directories within the application’s folder structure. These additional web.config files can be used to override or supplement settings specified in the root web.config. For example, if you have a subdirectory within your ASP.NET … Read more

Which protocol is used to call a Web service?

HTTP Protocol. The correct answer is: The protocol used to call a Web service is SOAP (Simple Object Access Protocol). SOAP is a protocol for exchanging structured information in the implementation of web services. It relies on XML as its message format and typically operates over HTTP, although other transport protocols such as SMTP can … Read more