What are the types of authentication in .net?
We have three types of authentication: . Form authenticatio . Windows authentication . Passport This has to be declared in web.config file. Read more »
We have three types of authentication: . Form authenticatio . Windows authentication . Passport This has to be declared in web.config file. Read more »
The struct type is suitable for representing lightweight objects such as Point, Rectangle, and Color. Although it is possible to represent a point as a class, a... Read more »
Sun left the implementation of a specific garbage collector up to the JRE developer, so their performance varies widely, depending on whose JRE you’re using. Microsoft... Read more »
You can initialize readonly variables to some runtime values. Let’s say your program uses current date and time as one of the values that won’t change. This... Read more »
It’s a delegate that points to and eventually fires off several methods. Read more »
Assembly versioning allows the application to specify not only the library it needs to run (which was available under Win32), but also the version of the assembly. Read more »
Documentation looks the same. Use Debug class for debug builds, use Trace class for both debug and release builds. Read more »
Positive test cases (correct data, correct output), negative test cases (broken or missing data, proper handling), exception test cases (exceptions are thrown... Read more »
It’s up to you to implement the method inside your own class, so implementation is left entirely up to you. This might cause a problem on a higher-level scale... Read more »
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... Read more »
System.String is immutable, System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed. Read more »
Yes, but they are not accessible. Although they are not visible or accessible via the class interface, they are inherited. Read more »
A formatter is an object that is responsible for encoding and serializing data into messages on one end, and deserializing and decoding messages into data on the... Read more »
Differences between J2EE and the .NET Platform Vendor Neutrality The .NET platform is not vendor neutral, it is tied to the Microsoft operating systems. But neither... Read more »
A delegate defines a reference type that can be used to encapsulate a method with a specific signature. A delegate instance encapsulates a static or an instance... Read more »
Namespace is a logical naming scheme for group related types.Some class types that logically belong together they can be put into a common namespace. They prevent... Read more »
Each computer where the common language runtime is installed has a machine-wide code cache called the global assembly cache. The global assembly cache stores assemblies... Read more »
When compiling to managed code, the compiler translates your source code into Microsoft intermediate language (MSIL), which is a CPU-independent set of instructions... Read more »
Just-In-Time compiler- it converts the language that you write in .Net into machine language that a computer can understand. there are tqo types of JITs one is... Read more »
Polymorphism is also achieved through interfaces. Like abstract classes, interfaces also describe the methods that a class needs to implement. The difference between... Read more »