While using themes, What are the security concerns to be remembered ?

When Themes are used on your Web site,they may cause security issues. Malicious themes can be used to:

1. You have to alter a control’s behavior. So, it does not behave as expected.

2. For posing a cross-site scripting risk, you have to Inject client-side script.

3. Sensitive information hs to be exposed.

4. The mitigations for these common threats are:

5. Protect the global and application theme directories with proper access control settings. Only trusted users should be allowed to write files to the theme directories.

6. Do not use themes from an untrusted source. Always examine any themes from outside your organization for malicious code before using them on you Web site.

7. Do not expose the theme name in query data. Malicious users could use this information to use themes that are unknown to the developer and thereby expose sensitive information.

How can you share data across multiple sessions in a web farm or a web garden ?

Firt of all you must save and restore the information using a resource that is available to all the processes inorder to share data across multiple sessions in a web farm or a web garden.
This process can be achieved through an XML file, a database, or some other resource using the standard file or database access methods.

Can you repair a deployed web application without restarting the server or IIS ?

Yes, you can repair a deployed web application without restarting the server or IIS.
This can be done by copying the new assembly (.dll) and/or content files (.aspx, .ascx, and so on) to the application folder on the server.
When you replace the assembly, ASP.NET automatically restarts the application.There is no need of installing or registereing the assembly on the server.

Explain about Register directive’s attributes ?

There are 3 Register directive’s attributes.They are:
1) TagPreFix
2) Namespace
3) Assembly

TagPreFix:
This TagPreFix name will identify the group to which the user control is belonged to.
Example:
The tag prefix for ASP.NET server controls is

What is meant by Scalability ?

Scalability is the ability to add capacity to maintain the web applications which serves large number of users or large amounts of data. This is nothing but to add the capacity to an application to maintain large data.

What is ELMAH ?

ELMAH stand for Error Logging Modules and Handlers is an application-wide error logging facility. It can be dynamically added to a running .NET web application, or even all .NET web applications without any need for re-compilation or re-deployment.

Is used to log unhandled exceptions to the file system, event log, databases or even have it email you the errors.

What is the difference between properties and methods?

Properties are used to represent data, whereas methods are used to performs actions.

Properties are created by using getter and setter. get{} and set{} but methods create like public void method1(parameter list here)

What is meant by MIME ?

The definition of MIME is Multipurpose Internet Mail Extensions.
This is used to include various types of contents in a single message.It is a standard form.To include multiple content, this MIME extends the Simple Mail Transfer Protocol (SMTP) format of mail messages.They can be of textual or non-textual.These messages can also include images, audio, or text in different character sets.