<< < 144 145 146 147 148 149 150 151 152 153 154 > >>   Sort: Date

What are different methods of session maintenance in ASP.NET?
What are different methods of session maintenance in ASP.NET? 3 types: In-process storage. Session State Service. Microsoft SQL Server. In-Process Storage The default location for session state storage is in the ASP.NET process itself. Session State Service As an alternative to using in-process stor...
2014-01-01, 1886👍, 0💬

How does a try statement determine which catch clause should be used to handle an exception?
How does a try statement determine which catch clause should be used to handle an exception? When an exception is thrown within the body of a try statement, the catch clauses of the try statement are examined in the order in which they appear. The first catch clause that is capable of handling the e...
2013-06-15, 1885👍, 0💬

What is an execution plan? When would you use it? How would you view the execution plan?
What is an execution plan? When would you use it? How would you view the execution plan? The Query Analyzer has a feature called Show Execution Plan. This option allows you to view the execution plan used by SQL Server’s Query Optimizer to actually execute the query. This option is available from...
2014-10-13, 1882👍, 0💬

what is Application testing
Why is it important to test applications before the product reaches the end user? The software can hold deviations, which can lead to a loss in trust from supplier From contract and leagal point of view, it is important that the product has been tested properly To assure that manuals are correct
2014-11-24, 1880👍, 0💬

Assuming $_ contains HTML, which of the following substitutions will remove all tags in it?
Assuming $_ contains HTML, which of the following substitutions will remove all tags in it? 1.s/&lt;.*&gt;//g; 2.s/&lt;.*?&gt;//gs; 3.s/&lt;\/?[A-Z]\w*(?:\s+[ A-Z]\w*(?:\s*=\s*(?:(["']).*?\ 1|[\w-.]+))?)*\s*&gt;//gsi x;You can't do that. If it weren't for HTML comments, imprope...
2013-08-29, 1880👍, 0💬

What are tag interfaces?
What are tag interfaces? Tag interface is an alternate name for marker interface.
2013-03-12, 1879👍, 0💬

Can we force Garbage collection?
Can we force Garbage collection? java follows a philosophy of automatic garbage collection, you can suggest or encourage the JVM to perform garbage collection but you can not force it. Once a variable is no longer referenced by anything it is available for garbage collection. You can suggest garbage...
2013-03-22, 1878👍, 0💬

Can you retrieve complex data types like structs from the PInvoke calls?
Can you retrieve complex data types like structs from the PInvoke calls? Yes, just make sure you re-declare that struct, so that managed code knows what to do with it.
2014-12-08, 1871👍, 0💬

What is strong-typing versus weak-typing? Which is preferred? Why?
What is strong-typing versus weak-typing? Which is preferred? Why? Strong type is checking the types of variables as soon as possible, usually at compile time. While weak typing is delaying checking the types of the system as late as possible, usually to run-time. Which is preferred depends on what ...
2014-02-17, 1871👍, 0💬

malloc is returning crazy pointer values ...
malloc is returning crazy pointer values, I have included the line extern void *malloc(); before I call it. malloc accepts an argument of type size_t, and size_t may be defined as unsigned long. If you are passing ints (or even unsigned ints), malloc may be receiving garbage (or similarly if you are...
2016-04-15, 1870👍, 0💬

How can I print numbers with commas separating the thousands? What about currency formatted numbers?
How can I print numbers with commas separating the thousands? What about currency formatted numbers? The functions in &lt;locale.h> begin to provide some support for these operations, but there is no standard C function for doing either task. (In Standard C, the only thing printf does in respons...
2015-11-02, 1870👍, 0💬

Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRL
Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs)? Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs)? * sn.exe * certnet.exe * certmgr.exe...
2014-03-17, 1870👍, 0💬

Suppose I call a COM object from a .NET applicaiton, but COM object throws an error. What happens on the .NET end?
Suppose I call a COM object from a .NET applicaiton, but COM object throws an error. What happens on the .NET end? COM methods report errors by returning HRESULTs; .NET methods report them by throwing exceptions. The runtime handles the transition between the two. Each exception class in the .NET Fr...
2014-12-15, 1868👍, 0💬

Why aren't Perl's patterns regular expressions?
Why aren't Perl's patterns regular expressions? Because Perl patterns have backreferences. A regular expression by definition must be able to determine the next state in the finite automaton without requiring any extra memory to keep around previous state. A pattern /([ab]+)c\1/ requires the state m...
2013-09-02, 1864👍, 0💬

How can I declare methods within my JSP page?
How can I declare methods within my JSP page? You can declare methods for use within your JSP page as declarations. The methods can then be invoked within any other methods you declare, or within JSP scriptlets and expressions. Do note that you do not have direct access to any of the JSP implicit ob...
2013-07-29, 1864👍, 0💬

ASP.NET interview questions only (2)
ASP.NET interview questions only (2) 1. What is a static class? 2. What is static member? 3. What is static function? 4. What is static constructor? 5. How can we inherit a static variable? 6. How can we inherit a static member? 7. Can we use a static function with a non-static variable? 8. How can ...
2014-01-08, 1860👍, 0💬

What is GAC?
What is GAC? The global assembly cache stores assemblies specifically designated to be shared by several applications on the computer. You should share assemblies by installing them into the global assembly cache only when you need to. Assemblies deployed in the global assembly cache must have a str...
2013-10-25, 1855👍, 0💬

So can a COM object talk to a .NET object?
So can a COM object talk to a .NET object? Yes, through Runtime Callable Wrapper (RCW) or PInvoke.
2014-12-02, 1852👍, 0💬

What type of code (server or client) is found in a Code-Behind class?
What type of code (server or client) is found in a Code-Behind class? C#
2014-01-16, 1850👍, 0💬

Advantages of VB.NET
Advantages of VB.NET First of all, VB.NET provides managed code execution that runs under the Common Language Runtime (CLR), resulting in robust, stable and secure applications. All features of the .NET framework are readily available in VB.NET. VB.NET is totally object oriented. This is a major add...
2013-10-04, 1849👍, 0💬

What’s wrong with a line like this? DateTime.Parse(myString)
What’s wrong with a line like this? DateTime.Parse(myString) the result returned by this function is not assigned to anything, should be something like varx = DateTime.Parse(myString)
2014-02-28, 1846👍, 0💬

How will you register COM+ services?
How will you register COM+ services? Through X-Copy Deployment.
2014-11-14, 1845👍, 0💬

What is the difference between a.Equals(b) and a == b?
What is the difference between a.Equals(b) and a == b? Answer1: a=b is used for assigning the values (rather then comparison) and a==b is for comparison. Answer2: a == b is used to compare the references of two objects a.Equals(b) is used to compare two objects Answer3: A equals b -&gt; copies c...
2014-02-26, 1840👍, 0💬

If we develop an application that must accommodate multiple security levels through secure login and ASP.NET web application is
If we develop an application that must accommodate multiple security levels through secure login and ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users? If we develop an application t...
2014-08-27, 1839👍, 0💬

<< < 144 145 146 147 148 149 150 151 152 153 154 > >>   Sort: Date