<< < 23 24 25 26 27 28 29 30 31 32 33 > >>   Sort: Date

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, 2561👍, 0💬

Describe the advantages of writing a managed code application instead of unmanaged one. What’s involved in certain piece of co
Describe the advantages of writing a managed code application instead of unmanaged one. What’s involved in certain piece of code being managed? The advantages include automatic garbage collection, memory management, support for versioning and security. These advantages are provided through .NET F...
2014-11-19, 2557👍, 0💬

I want to expose my .NET objects to COM objects. Is that possible?
I want to expose my .NET objects to COM objects. Is that possible? Yes, but few things should be considered first. Classes should implement interfaces explicitly. Managed types must be public. Methods, properties, fields, and events that are exposed to COM must be public. Types must have a public de...
2014-12-10, 2538👍, 0💬

What is .NET?
What is .NET? .NET is essentially a framework for software development.It is similar in nature to any other software development framework (J2EE etc) in that it provides a set of runtime containers/capabilities, and a rich set of pre-built functionality in the form of class libraries and APIs The .N...
2013-09-26, 2529👍, 0💬

What are the XML files that are important in developing an ASP.NET application?
What are the XML files that are important in developing an ASP.NET application? The XML file necessary for the for developing an asp.net application is Web.config
2014-09-22, 2527👍, 0💬

Can you inherit a COM class in a .NET application?
Can you inherit a COM class in a .NET application? The .NET Framework extends the COM model for reusability by adding implementation inheritance. Managed types can derive directly or indirectly from a COM coclass; more specifically, they can derive from the runtime callable wrapper generated by the ...
2014-12-10, 2517👍, 0💬

The property that indicates whether existing database constraints should be observed when performing updates
The property that indicates whether existing database constraints should be observed when performing updates The property that indicates whether existing database constraints should be observed when performing updates * EnforceConstraints * Constraints * GetConstraints * ConstraintsEnforce EnforceCo...
2014-07-30, 2511👍, 0💬

How do you create thread in.NET?
How do you create thread in.NET? 1) Import System.Threading 2) Create a new thread using new Thread() and assign the address of the method 3) Use Thread.Start method to start the execution using System; using System.Threading; public class Test { static void Main() { ThreadStart job = new ThreadStar...
2014-11-19, 2506👍, 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, 2453👍, 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, 2434👍, 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, 2425👍, 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, 2422👍, 0💬

What is a Manifest?
What is a Manifest? An assembly manifest contains all the metadata needed to specify the assembly's version requirements and security identity, and all metadata needed to define the scope of the assembly and resolve references to resources and classes. The assembly manifest can be stored in either a...
2013-10-08, 2418👍, 0💬

What is the difference between "using System.Data;" and directly adding the reference from "Add References Dialog Box"?
What is the difference between "using System.Data;" and directly adding the reference from "Add References Dialog Box"? When u compile a program using command line, u add the references using /r switch. When you compile a program using Visual Studio, it adds those references to our assembly, which a...
2013-10-24, 2407👍, 0💬

The method that transfers ASP.NET execution to another page, but returns to the original page when it is done is ...
The method that transfers ASP.NET execution to another page, but returns to the original page when it is done is ... The method that transfers ASP.NET execution to another page, but returns to the original page when it is done is * Server.Transfer() * Server.Redirect() * Server.Execute() * Server.Re...
2014-06-18, 2404👍, 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, 2380👍, 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, 2375👍, 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, 2374👍, 0💬

Which one of the following objects is used to create a foreign key between two DataTables?
Which one of the following objects is used to create a foreign key between two DataTables? Which one of the following objects is used to create a foreign key between two DataTables? * DataRelation * DataRelationship * DataConstraint * DataKey DataRelation
2014-07-21, 2373👍, 0💬

Which DLL translate XML to SQL in IIS?
Which DLL translate XML to SQL in IIS? Sqlisapi.dll
2013-12-23, 2342👍, 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, 2336👍, 0💬

You need to generate a public/private key pair for using in creating a shared assembly. Given the above scenario, which .NET SDK
You need to generate a public/private key pair for using in creating a shared assembly. Given the above scenario, which .NET SDK utility should be used? You need to generate a public/private key pair for using in creating a shared assembly. Given the above scenario, which .NET SDK utility should be ...
2014-03-17, 2329👍, 0💬

Which operator is used for connecting a event with a procedure in C#?
Which operator is used for connecting a event with a procedure in C#? Which operator is used for connecting a event with a procedure in C#? * += * = * both * none +=
2014-06-23, 2326👍, 0💬

What’s the .NET datatype that allows the retrieval of data by a unique key?
What’s the .NET datatype that allows the retrieval of data by a unique key? What’s the .NET datatype that allows the retrieval of data by a unique key? * Primary * Integer * Unique Identifier * HashTable HashTable
2014-03-24, 2316👍, 0💬

<< < 23 24 25 26 27 28 29 30 31 32 33 > >>   Sort: Date