dasharatham


{ City } hyderabad
< Country > india
* Profession * software engineer
User No # 8625
Total Questions Posted # 0
Total Answers Posted # 8

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 42
Users Marked my Answers as Wrong # 17
Questions / { dasharatham }
Questions Answers Category Views Company eMail




Answers / { dasharatham }

Question { Microsoft, 4885 }

What are session variables?


Answer

In future developer changes seetings like
sessiontimeout,sessionmode,culture for webapplication by
providing configuration file is called webconfig.
asp.net supports inheritance based configuration seeting.

Is This Answer Correct ?    3 Yes 1 No

Question { Accenture, 9083 }

About duration in caching technique ?


Answer

Duration will specify life time of caching content.

Is This Answer Correct ?    5 Yes 2 No


Question { Microsoft, 11934 }

what are partial classes and their use?


Answer

This is a feature of 2005,when we have large and unwildly
classes instead of writing all the methods in same program
we will divide the class into number of programs with the
same class name,these classes are preceeded with partial
keyword,when we compile all this partial classes only one
dll with the same class name will be created.


class with some 20 methods:
Example.cs
class classA{
m1( );
m2( );
.
.
.
m20( );
}

Apply partial concept:

Example1.cs
partial class classA
{
m1( );
m2( );
.
.
m8( );
}
example2.cs
partial class classA
{
m9( );
m10( );
.
.
m15( );
}
Example3.cs
partial class classA
{
m16( );
.
.
m20( );
}

if we compile Examle1.cs,Example2.cs,Example3.cs it will
create only one dll

Is This Answer Correct ?    3 Yes 2 No

Question { Microsoft, 5294 }

what is generics?


Answer

Generics are the most powerful feature of C# 2.0. Generics
allow you to define type-safe data structures, without
committing to actual data types

Is This Answer Correct ?    2 Yes 0 No

Question { Microsystems, 26892 }

What is the Difference between Web.config and global.asax?
Can we write connection String code in global.asax?


Answer

sorry to the above answer which is applicable to ASP.NET
application folders..


web.config is which is used for settings to an application
in future requirement.

Global.asax which is handling application level events and
session level events..

I expected we can place the connection string like this
void Session_Start(object sender, EventArgs e)
{
Application["sqldb"] = ConfigurationManager.AppSettings
["constr"].ToString();
}

Is This Answer Correct ?    7 Yes 7 No

Question { Emphasis, 7042 }

Can we Run the Application without Build


Answer

we can't run the Application without Build

Is This Answer Correct ?    8 Yes 0 No

Question { TCS, 13354 }

can we place the same DLL in debug folder two times?
(without using strong name )


Answer

we can place the same DLL in debug folder two times..

Is This Answer Correct ?    1 Yes 4 No

Question { FactorH, 9191 }

which event in global.asx that fires for every request of
same user?


Answer

session events are on start,on end in global.asax that
fires every request of same user.

Is This Answer Correct ?    13 Yes 1 No