<< < 3 4 5 6 7 8 9 10 11 12 13 > >>   Sort: Rank

Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process. inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When an ASP.NET request is received (usually a file with .aspx extension),the ISAPI filter aspnet_isapi.dll ...
2014-03-03, 1620👍, 0💬

NET is Compile Time OR RunTime Environment?
NET is Compile Time OR RunTime Environment? .Net’s framework has CLS,CTS and CLR.CTS checks declartion of types at the time when u write code and CLS defines some rules and restrictions.and CLR comile everything at runtime with following benefits: Vastly simplified development Seamless integratio...
2014-03-03, 1571👍, 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, 1787👍, 0💬

How does the lifecycle of Windows services differ from Standard EXE?
How does the lifecycle of Windows services differ from Standard EXE? Windows services lifecycle is managed by “Service Control Manager” which is responsible for starting and stopping the service and the applications do not have a user interface or produce any visual output, but “Standard e...
2014-02-28, 1525👍, 0💬

Is string a value type or a reference type?
Is string a value type or a reference type? Answer1: String is Reference Type. Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short,strut, uint, ulong, ushort Value types are stored in the Stack Reference type - class, delegate, interface, object, string Reference ty...
2014-02-27, 1670👍, 0💬

What is boxing?
What is boxing? Boxing is an implicit conversion of a value type to the type object int i = 123; // A value type Object box = i // Boxing Unboxing is an explicit conversion from the type object to a value type int i = 123; // A value type object box = i; // Boxing int j = (int)box; // Unboxing
2014-02-27, 1614👍, 0💬

How would one do a deep copy in .NET?
How would one do a deep copy in .NET? Answer1: System.Array.CopyTo() - Deep copies an Array Answer2: How would one do a deep copy in .NET? The First Approach. 1.Create a new instance. 2.Copy the properties from source instance to newly created instance. [Use reflection if you want to write a common ...
2014-02-26, 1945👍, 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, 1780👍, 0💬

Contrast the use of an abstract base class against an interface?
Contrast the use of an abstract base class against an interface? Answer1: In the interface all methods must be abstract, in the abstract class some methods can be concrete. In the interface no accessibility modifiers are allowed, which is ok in abstract classes Answer2: Wether to Choose VB.NET/C#. B...
2014-02-25, 1648👍, 0💬

What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not? Debug build contain debug symbols and can be debugged while release build doesn’t contain debug symbols, doesn’t have [Contional(”DEBUG”)] methods calls compiled, can’t...
2014-02-25, 1653👍, 0💬

What is the difference between Debug.Write and Trace.Write? When should each be used?
What is the difference between Debug.Write and Trace.Write? When should each be used? Answer1: The Debug.Write call won’t be compiled when the DEBUG symbol is not defined (when doing a release build). Trace.Write calls will be compiled. Debug.Write is for information you want only in debug builds...
2014-02-24, 1836👍, 0💬

Why is catch(Exception) almost always a bad idea?
Why is catch(Exception) almost always a bad idea? Well, if at that point you know that an error has occurred, then why not write the proper code to handle that error instead of passing a new Exception object to the catch block? Throwing your own exceptions signifies some design flaws in the project.
2014-02-24, 2026👍, 0💬

How does the XmlSerializer work? What ACL permissions does a process using it require?
How does the XmlSerializer work? What ACL permissions does a process using it require? XmlSerializer requires write permission to the system’s TEMP directory.
2014-02-21, 2404👍, 0💬

Contrast OOP and SOA. What are tenets of each
Contrast OOP and SOA. What are tenets of each Service Oriented Architecture. In SOA you create an abstract layer that your applications use to access various “services” and can aggregate the services. These services could be databases, web services, message queues or other sources. The Service...
2014-02-21, 1926👍, 0💬

What does this do? gacutil /l | find /i “about”
What does this do? gacutil /l | find /i “about” Answer1: This command is used to install strong typed assembly in GAC Answer2: gacutil.exe is used to install strong typed assembly in GAC. gacutil.exe /l is used to lists the contents of the global assembly cache. |(pipe) symbol is used to filte...
2014-02-19, 2176👍, 0💬

What is FullTrust? Do GAC’ed assemblies have FullTrust?
What is FullTrust? Do GAC’ed assemblies have FullTrust? Your code is allowed to do anything in the framework, meaning that all (.Net) permissions are granted. The GAC has FullTrust because it’s on the local HD, and that has FullTrust by default, you can change that using caspol
2014-02-19, 3207👍, 0💬

What is cyclomatic complexity and why is it important?
What is cyclomatic complexity and why is it important? Cyclomatic complexity is a computer science metric (measurement) developed by Thomas McCabe used to generally measure the complexity of a program. It directly measures the number of linearly independent paths through a program’s source code. ...
2014-02-18, 1961👍, 0💬

What are PDBs? Where must they be located for debugging to work?
What are PDBs? Where must they be located for debugging to work? Answer1: To debug precompiled components such as business objects and code-behind modules, you need to generate debug symbols. To do this, compile the components with the debug flags by using either Visual Studio .NET or a command line...
2014-02-18, 2179👍, 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, 1821👍, 0💬

What is the difference between an EXE and a DLL?
What is the difference between an EXE and a DLL? An EXE can run independently, whereas DLL will run within an EXE. DLL is an in-process file and EXE is an out-process file
2014-02-17, 1738👍, 0💬

What is a Windows Service and how does its lifecycle differ from a “standard” EXE?
What is a Windows Service and how does its lifecycle differ from a “standard” EXE? Windows Service applications are long-running applications that are ideal for use in server environments. The applications do not have a user interface or produce any visual output; it is instead used by other p...
2014-02-14, 1592👍, 0💬

Describe the difference between a Thread and a Process?
Describe the difference between a Thread and a Process? Answer1: Thread - is used to execute more than one program at a time. process - executes single program Answer2: A thread is a path of execution that run on CPU, a proccess is a collection of threads that share the same virtual memory. A proces...
2014-02-14, 1520👍, 0💬

What is the difference between boxing and unboxing?
What is the difference between boxing and unboxing? Boxing allows us to convert value types to reference types. Basically, the runtime creates a temporary reference-type box for the object on heap. Eg: int i=20; object o=i;
2014-02-13, 1572👍, 0💬

What is the standard you use to wrap up a call to a Web service?
What is the standard you use to wrap up a call to a Web service? Several possible answers depending on your interpretation of the quesiton, but I think you were aiming for SOAP (with the caveat that this is MS’s version of SOAP)
2014-02-13, 1563👍, 0💬

<< < 3 4 5 6 7 8 9 10 11 12 13 > >>   Sort: Rank