Delegate is kinda like a pointer to a function in C++ or like an event handler in Java
You can use it to “multicast” which means running multiple functions in different instances of object already created.
This is useful when you want your objects to “register” to an event raised by another object.
The way it works is the object you are registered to listen to recieves the delegate of the function it is supposed to run in your object, the delegate is then run from it. (if you switch the word delegate for pointer, this would be much simpler)
XML can have objects as its parameter values, as they can be serialized and sent for transmission. U better check out for the XML documentation where u can specify the type of data as object which can be used for ur e-mail resume objects. remember u can’t convert the resume to xml format, but as an object of richtext format etc. try out.
Dear Mr. Ashraf ASP.NET code is half compiled, only CODE BEHIND part of the scripting is compiled in ASP.NET. I think we can defferntiate between ASP and ASP.NET as follows…
1) Half (CodeBehind) compiled. ***
2) Multiple language support. ***
3) Robust ***
4) Predefined components i.e. ASP.NET components are precoded user have to just drag and drop on the form.
5) Better IDE that helps to create WYSIWYG applications very fast.
6) Standard validation controls
etc etc
what are assemblies in .Net :
In the Microsoft .NET framework an assembly is a partially compiled code library for use in deployment, versioning and security. In the Microsoft Windows implementation of .NET, an assembly is a PE (portable executable) file. There are two types, process assemblies (EXE) and library assemblies (DLL). A process assembly represents a process which will use classes defined in library assemblies. In version 1.1 of the CLR classes can only be exported from library assemblies; in version 2.0 this restriction is relaxed. The compiler will have a switch to determine if the assembly is a process or library and will set a flag in the PE file. .NET does not use the extension to determine if the file is a process or library. This means that a library may have either .dll or .exe as its extension.
The code in an assembly is partially compiled into CIL, which is then fully compiled into machine language at runtime by the CLR.
An assembly can consist of one or more files. Code files are called modules. An assembly can contain more than one code module and since it is possible to use different languages to create code modules this means that it is technically possible to use several different languages to create an assembly. In practice this rarely happens, principally because Visual Studio only allows developers to create assemblies that consist of a single code module.
The .NET Framework provides a runtime environment which runs the code and provides services that make the development process easier. This runtime environment in .NET Framework is known as Common Language Runtime (CLR). The CLR sits at the very heart of managed code. Common Language Runtime is the generalized multi-language, reflective execution engine on which code originally written in various languages runs. At a higher level, CLR is simply an engine that takes in Intermediate Language (IL) instructions, translates them into machine instructions, and executes them. Although the common language runtime provides many standard runtime services, managed code is never interpreted. A feature called just-in-time (JIT) compiling enables all managed code to run in the native machine language of the system on which it is executing. The CLR shares much in common with a traditional operating system.
Quote:
Managed code is the term used for any code that is running on .NET Framework.
The CLR provides the infrastructure that enables managed code to execute as well provides variety of services during execution. When a method, for which IL has been generated, is called for the first time the CLR compiles the IL into native code that is specific to the processor the Environment it is running on (This process is known as Just in Time Compilation or JIT). If the same method is called next time, the existing JIT compiled code is reused. During execution managed code receives variety of services from the runtime environment.
Quote:
When compiling to managed code, the compiler translates your source code into Microsoft intermediate language (MSIL), which is a CPU-independent set of instructions that can be efficiently converted to native code. Intermediate Language is a binary assembly language that is compiled at runtime down to whatever machine language is appropriate for the host CPU. This runtime compilation is called Just-In-Time Compiling or JIT-compiling.
Advantages of Managed Execution Environments
In unmanaged environments the compiler and linker directly compile the source code in to native instructions that are targeted at a specific processor. The disadvantage of this process is that each time you want to run your executable on a different platform you will have to re-compile the code using a compiler and linker that will compile the code that is targeted at the specific hardware. This means that each time you want your application to run on a different platform, you will have to ship the compiled instructions again and again. As this leads to compiling and maintaining multiple versions of the same application, the companies try to create a more generalized compiled version in order to target most of the environments. This process is known as the Lowest Common Denominator approach. This leads to a more generalized program which is not optimized properly and does not take advantages of the underlying hardware infrastructure (processor, cache, etc). Because the CLR supplies one or more Just in Time Compiler for each computer architecture it supports, the same set of MSIL can be JIT-compiled and run on any supported architecture. This
CLR provides the following benefits for developers:
Vastly simplified development.
Seamless integration of code written in various languages.
Evidence-based security with code identity.
Assembly-based deployment that eliminates DLL Hell.
Side-by-side versioning of reusable components.
Code reuse through implementation inheritance.
Automatic object lifetime management.
Code access security.
Cross Language Integration.
Self describing objects.
The CLR automatically handles object layout and manages references to objects, releasing them when they are no longer being used. This automatic memory management resolves the two most common application errors, memory leaks and invalid memory references. This process is known as Garbage Collection. The CLR also manages thread execution, code execution, code safety verification, compilation, and other system services.
The CLR is designed for the software of the future, and it also supports software of today and yesterday. Interoperability between managed and unmanaged code provided by CLR helps developers continue to use necessary COM components and DLLs.
1.what is a component ?Question by anwarullah
Do u mean COM ? if so .. check this :http://www.microsoft.com/com/default.mspx
2.How is meant by DLL ? Question by anwarullah
A DLL (Dynamic Link Library) is a file that can be loaded and executed by programs dynamically. Basically it’s an external code repository for programs. Since usually several different programs reuse the same DLL instead of having that code in their own file, this dramatically reduces required storage space. A synonym for a DLL would be library.
Can anyone tell me about Secure Socket Layer? How to make use of the technology? Question by Harshad
Secure Sockets Layer (SSL) and Transport Layer Security (TLS), its successor, are cryptographic protocols which provide secure communications on the Internet. There are slight differences between SSL 3.0 and TLS 1.0, but the protocol remains substantially the same. The term “SSL” as used here applies to both protocols unless clarified by context.
What is the Differnce Between Response.write & response.output.Write Question by Vishal
In ASP.NET the Response object is of type HttpResponse and when you say Response.Write you’re really saying (basically) HttpContext.Current.Response.Write and calling one of the many overloaded Write methods of HttpResponse.
Response.Write then calls .Write() on it’s internal TextWriter object:
public void Write(object obj){ this._writer.Write(obj);}
HttpResponse also has a Property called Output that is of type, yes, TextWriter, so:
public TextWriter get_Output(){ return this._writer; }
Which means you can to the Response whatever a TextWriter will let you. Now, TextWriters support a Write() method ala String.Format, so you can do this:
Response.Output.Write(”Scott is {0} at {1:d}”, “cool”,DateTime.Now);
But internally, of course, this this is happening:
public virtual void Write(string format, params object[] arg)
{
this.Write(string.Format(format, arg));
}
a) asp.net is compiled but ASP is a interpretor or script only.
b) asp.net is supported more control then the asp.
c) asp.net is more supported even control then the asp.
d) In asp.net if update any component then no need to shutdown the computer but in asp if loaded any component then need tobe shutdown the computer.
d) So lastly an asp.net is faster then asp .
Some of the languages that .NET support
VB.NET COBOL.NET
C#.NET PERL.NET
J#.NET PYTHAN.NET
VC++.NET PHP.NET
ASP.NET is not a language
It is Specification only
ADO.NET Features
ADO.NET Does Not Depend On Continuously Live
Connections
Database Interactions Are Performed Using Data
Commands
Data Can Be Cached in Datasets
Datasets Are Independent of Data Sources
Data Is Persisted as XML
Schemas Define Data Structures
ASP (Classic ASP as it is known) is a Script Language (i.e VBScript),
ASP.NET is a the web formulation of a Compiled Language (i.e. Visual Basic, C#, J#, C++.Net)
ASP is mostly written using VB Script and HTML intermixed. Presentation and business logic is intermixed while ASP.NET can be writen in several .NET compliant languages like C#, VB.NET and business logic can be clearly separated from Presentation logic.
ASP had maximum of 4 built in classes like Request, Response, Session and Application whereas ASP.NET using .NET framework classes which has more than 2000 in built classes.
ASP does not have any server based components whereas ASP.NET offers several server based components like Button, TextBox etc and event driven processing can be done at server.
ASP did not support Page level transactions whereas ASP.NET supports Page level transactions.
Exception Handling: There are two types of Exception Handling techniques.
1.Structured Exception Handling:-Structured Exception Handling involves the use of the Try…Catch…Finally statement within the code to handle errors in a program. The syntax of this statement is
Try
The statements that might generate an error
statement(s)
Catch[Condition]
statement(s)
Finally
statement(s)
End Try
Unstructured Exception Handling:- Unstructured exception handling involves the use of teh On Error statement to handle errors. You Specify the line number or label as an argument to this statement.
We can use two forms of the On Error Statement.
These are
1.The On Error GoTo Line Statement
2.The On Error Resume Next Statement
Que.Explain assemblies
Ans.It is a primary building block of .NET.
It is reusable,self-describing and versionable deployment unit for types and resources.
Que.Name some of the languages .NET support?
VB.NET,Visual C#,Visual C++
Que.What is IIS? Have you used it?
Ans.IIS stands for Internet Information Server.Basically IIS is an engine that drives ASP.NET websites.
Que.Main differences between ASP and ASP.NET
Ans.ASP is interpretted wheile ASP.NET is compiled.
CLR-Common Language Runtime.
It is the Runtime environment for the .NET application.
Explain:
It is developed for .NET product, also it is a part of
.Ner Framework.
We see you write any program in any language(some except)and after create the EXE, If you run that EXE program need some supporting environments that is called as Runtime environment.
I give some examples :
1)JAVA needs JRE(Jave Runtime Environment).
2)VB needs VBRUN and msvbvm60.dll.
3).NET needs CLR.
If your program run on other computer you must install
the particular Runtime Environment.
Note: .NET Framework contain the CLR. so when u install the .NET Framework also installed the CLR.
So u run the .NET program,
Your .NET Program + .Net Framework(CLR)=Successfully run on target computer.
AMIT,
1.Converting an object to xml is called serialization.
2.main purpose of delegates is create events.
3.by default in vb.net parameters are value type.if any changes make to the parameters with in the procedure willnot reflect the arguments passed to them.i.e called value type parameters.
Basically a compiler compiles the source code to MSIL, which is code that can be understood by the CLR, which indeed is known as virtual machine. Now when you execute the exe , the MSIL code is translated to machine code , and run.
Ans: Assembly is a primary building block of .NET. Components written in IL and execute by the runtime is called .NET Managed Assemble in short Assembly. It is reusable,self describing and versionable deployment unit for types and resources.
The main difference between Truncate and Delete is that…Delete is used to delete the rows with some condition provided with the statement(i.e. after using Delete command the rows which satisfies the condition will be deleted from the memory)…and Truncate command is used to delete all existing rows from the table(after using Truncate command the table will remain there with the same structure…but all the rows of the table will be deleted)
100 Comments on Simple interview questions on Microsoft .NET
What is Delegate and what is it used for ?
http://searchvb.techtarget.com/vsnetTip/1,293823,sid8_gci916799_tax293034,00.html
Delegate is kinda like a pointer to a function in C++ or like an event handler in Java
You can use it to “multicast” which means running multiple functions in different instances of object already created.
This is useful when you want your objects to “register” to an event raised by another object.
The way it works is the object you are registered to listen to recieves the delegate of the function it is supposed to run in your object, the delegate is then run from it. (if you switch the word delegate for pointer, this would be much simpler)
Read the enclosed URL
Dear Deepti,
XML can have objects as its parameter values, as they can be serialized and sent for transmission. U better check out for the XML documentation where u can specify the type of data as object which can be used for ur e-mail resume objects. remember u can’t convert the resume to xml format, but as an object of richtext format etc. try out.
Dear Mr. Ashraf ASP.NET code is half compiled, only CODE BEHIND part of the scripting is compiled in ASP.NET. I think we can defferntiate between ASP and ASP.NET as follows…
1) Half (CodeBehind) compiled. ***
2) Multiple language support. ***
3) Robust ***
4) Predefined components i.e. ASP.NET components are precoded user have to just drag and drop on the form.
5) Better IDE that helps to create WYSIWYG applications very fast.
6) Standard validation controls
etc etc
what are assemblies in .Net :
In the Microsoft .NET framework an assembly is a partially compiled code library for use in deployment, versioning and security. In the Microsoft Windows implementation of .NET, an assembly is a PE (portable executable) file. There are two types, process assemblies (EXE) and library assemblies (DLL). A process assembly represents a process which will use classes defined in library assemblies. In version 1.1 of the CLR classes can only be exported from library assemblies; in version 2.0 this restriction is relaxed. The compiler will have a switch to determine if the assembly is a process or library and will set a flag in the PE file. .NET does not use the extension to determine if the file is a process or library. This means that a library may have either .dll or .exe as its extension.
The code in an assembly is partially compiled into CIL, which is then fully compiled into machine language at runtime by the CLR.
An assembly can consist of one or more files. Code files are called modules. An assembly can contain more than one code module and since it is possible to use different languages to create code modules this means that it is technically possible to use several different languages to create an assembly. In practice this rarely happens, principally because Visual Studio only allows developers to create assemblies that consist of a single code module.
Difference between Panel and GroupBox classes?
Panel is scrollable. In panel you can’t set caption like Group box.
Check this:
http://www.c-sharpcorner.com/Language/ExceptionHandlingAM.asp
to know about Exception Handling
Read this article to find out the differences between ASP.NET and ASP.
It clearly explains the differences from programmers stand point.
http://www.takempis.com/aspnet_fundamentals.asp
thanks,
Jayender
what is the CLR? Question by Geetha
The .NET Framework provides a runtime environment which runs the code and provides services that make the development process easier. This runtime environment in .NET Framework is known as Common Language Runtime (CLR). The CLR sits at the very heart of managed code. Common Language Runtime is the generalized multi-language, reflective execution engine on which code originally written in various languages runs. At a higher level, CLR is simply an engine that takes in Intermediate Language (IL) instructions, translates them into machine instructions, and executes them. Although the common language runtime provides many standard runtime services, managed code is never interpreted. A feature called just-in-time (JIT) compiling enables all managed code to run in the native machine language of the system on which it is executing. The CLR shares much in common with a traditional operating system.
Quote:
Managed code is the term used for any code that is running on .NET Framework.
The CLR provides the infrastructure that enables managed code to execute as well provides variety of services during execution. When a method, for which IL has been generated, is called for the first time the CLR compiles the IL into native code that is specific to the processor the Environment it is running on (This process is known as Just in Time Compilation or JIT). If the same method is called next time, the existing JIT compiled code is reused. During execution managed code receives variety of services from the runtime environment.
Quote:
When compiling to managed code, the compiler translates your source code into Microsoft intermediate language (MSIL), which is a CPU-independent set of instructions that can be efficiently converted to native code. Intermediate Language is a binary assembly language that is compiled at runtime down to whatever machine language is appropriate for the host CPU. This runtime compilation is called Just-In-Time Compiling or JIT-compiling.
Advantages of Managed Execution Environments
In unmanaged environments the compiler and linker directly compile the source code in to native instructions that are targeted at a specific processor. The disadvantage of this process is that each time you want to run your executable on a different platform you will have to re-compile the code using a compiler and linker that will compile the code that is targeted at the specific hardware. This means that each time you want your application to run on a different platform, you will have to ship the compiled instructions again and again. As this leads to compiling and maintaining multiple versions of the same application, the companies try to create a more generalized compiled version in order to target most of the environments. This process is known as the Lowest Common Denominator approach. This leads to a more generalized program which is not optimized properly and does not take advantages of the underlying hardware infrastructure (processor, cache, etc). Because the CLR supplies one or more Just in Time Compiler for each computer architecture it supports, the same set of MSIL can be JIT-compiled and run on any supported architecture. This
CLR provides the following benefits for developers:
Vastly simplified development.
Seamless integration of code written in various languages.
Evidence-based security with code identity.
Assembly-based deployment that eliminates DLL Hell.
Side-by-side versioning of reusable components.
Code reuse through implementation inheritance.
Automatic object lifetime management.
Code access security.
Cross Language Integration.
Self describing objects.
The CLR automatically handles object layout and manages references to objects, releasing them when they are no longer being used. This automatic memory management resolves the two most common application errors, memory leaks and invalid memory references. This process is known as Garbage Collection. The CLR also manages thread execution, code execution, code safety verification, compilation, and other system services.
The CLR is designed for the software of the future, and it also supports software of today and yesterday. Interoperability between managed and unmanaged code provided by CLR helps developers continue to use necessary COM components and DLLs.
Thanks,
Jayender
1.what is a component ?Question by anwarullah
Do u mean COM ? if so .. check this :http://www.microsoft.com/com/default.mspx
2.How is meant by DLL ? Question by anwarullah
A DLL (Dynamic Link Library) is a file that can be loaded and executed by programs dynamically. Basically it’s an external code repository for programs. Since usually several different programs reuse the same DLL instead of having that code in their own file, this dramatically reduces required storage space. A synonym for a DLL would be library.
Thanks,
Jayender
Which DLL translate XML to SQL in IIS? Question by srinivasa rao T
Answer : Sqlisapi.dll
Thanks,
Jayender
Can anyone tell me about Secure Socket Layer? How to make use of the technology? Question by Harshad
Secure Sockets Layer (SSL) and Transport Layer Security (TLS), its successor, are cryptographic protocols which provide secure communications on the Internet. There are slight differences between SSL 3.0 and TLS 1.0, but the protocol remains substantially the same. The term “SSL” as used here applies to both protocols unless clarified by context.
Check out this: http://en.wikipedia.org/wiki/Secure_Sockets_Layer
Can i get brief explanation about threading in C# Question by Venkata Nageswara Rao
Check this: http://www.c-sharpcorner.com/Multithreading.asp
and
http://www.codeproject.com/csharp/threader.asp
to know better about threading.
Thanks,
jayender
What is the Differnce Between Response.write & response.output.Write Question by Vishal
In ASP.NET the Response object is of type HttpResponse and when you say Response.Write you’re really saying (basically) HttpContext.Current.Response.Write and calling one of the many overloaded Write methods of HttpResponse.
Response.Write then calls .Write() on it’s internal TextWriter object:
public void Write(object obj){ this._writer.Write(obj);}
HttpResponse also has a Property called Output that is of type, yes, TextWriter, so:
public TextWriter get_Output(){ return this._writer; }
Which means you can to the Response whatever a TextWriter will let you. Now, TextWriters support a Write() method ala String.Format, so you can do this:
Response.Output.Write(”Scott is {0} at {1:d}”, “cool”,DateTime.Now);
But internally, of course, this this is happening:
public virtual void Write(string format, params object[] arg)
{
this.Write(string.Format(format, arg));
}
Thanks,
Jayender
hi,
cud u please tell me in brief but a more understandable way about the difference between response.write() and response.output.write()??
Which dll is required to translate XML to SQL in IIS ?
Ans: Microsoft.data.sqlxml.dll
Is there any diff between
dim x,y as integer
dim x as integer,dim y as integer.
Hi,
If we delete web.config and machine.config then our application will work or not.
Plz Reply.
Is there any diff between
dim x,y as integer
dim x as integer,dim y as integer.
Well, in vb6, the declaration would make: x - object and y - integer, .NET overcomes this and makes 2 integer vars : x and y
Q1. How we create menu in asp.net?
Q2. How we create user control
1. Main differences between ASP and ASP.NET
a) asp.net is compiled but ASP is a interpretor or script only.
b) asp.net is supported more control then the asp.
c) asp.net is more supported even control then the asp.
d) In asp.net if update any component then no need to shutdown the computer but in asp if loaded any component then need tobe shutdown the computer.
d) So lastly an asp.net is faster then asp .
Q1. How we create menu in asp.net?
Q2. How we create user control
Tech Interviews comment by Sarfaraz
Some of the languages that .NET support
VB.NET COBOL.NET
C#.NET PERL.NET
J#.NET PYTHAN.NET
VC++.NET PHP.NET
ASP.NET is not a language
It is Specification only
ADO.NET Features
ADO.NET Does Not Depend On Continuously Live
Connections
Database Interactions Are Performed Using Data
Commands
Data Can Be Cached in Datasets
Datasets Are Independent of Data Sources
Data Is Persisted as XML
Schemas Define Data Structures
ASP (Classic ASP as it is known) is a Script Language (i.e VBScript),
ASP.NET is a the web formulation of a Compiled Language (i.e. Visual Basic, C#, J#, C++.Net)
ASP is mostly written using VB Script and HTML intermixed. Presentation and business logic is intermixed while ASP.NET can be writen in several .NET compliant languages like C#, VB.NET and business logic can be clearly separated from Presentation logic.
ASP had maximum of 4 built in classes like Request, Response, Session and Application whereas ASP.NET using .NET framework classes which has more than 2000 in built classes.
ASP does not have any server based components whereas ASP.NET offers several server based components like Button, TextBox etc and event driven processing can be done at server.
ASP did not support Page level transactions whereas ASP.NET supports Page level transactions.
Exception Handling: There are two types of Exception Handling techniques.
1.Structured Exception Handling:-Structured Exception Handling involves the use of the Try…Catch…Finally statement within the code to handle errors in a program. The syntax of this statement is
Try
The statements that might generate an error
statement(s)
Catch[Condition]
statement(s)
Finally
statement(s)
End Try
Unstructured Exception Handling:- Unstructured exception handling involves the use of teh On Error statement to handle errors. You Specify the line number or label as an argument to this statement.
We can use two forms of the On Error Statement.
These are
1.The On Error GoTo Line Statement
2.The On Error Resume Next Statement
What is the base class of .NET?
System is the base class of .NET.
Que.Explain assemblies
Ans.It is a primary building block of .NET.
It is reusable,self-describing and versionable deployment unit for types and resources.
Que.Name some of the languages .NET support?
VB.NET,Visual C#,Visual C++
Que.What is IIS? Have you used it?
Ans.IIS stands for Internet Information Server.Basically IIS is an engine that drives ASP.NET websites.
Que.Main differences between ASP and ASP.NET
Ans.ASP is interpretted wheile ASP.NET is compiled.
If you delete the web.config and machine.config files the application surely won’t work.
What is the difference between Response.Write() and Console.WriteLine()?
Amit Dube, System is not a class, its a namespace. Base class for .net is System.Object i think.
What is the Difference B/W Repeater Control and Datagrid?
Can anyone give me the Answer
What is static method and dynamic method in c#?
Hello geetha,
Q)What is CLR?
Short Answer:
CLR-Common Language Runtime.
It is the Runtime environment for the .NET application.
Explain:
It is developed for .NET product, also it is a part of
.Ner Framework.
We see you write any program in any language(some except)and after create the EXE, If you run that EXE program need some supporting environments that is called as Runtime environment.
I give some examples :
1)JAVA needs JRE(Jave Runtime Environment).
2)VB needs VBRUN and msvbvm60.dll.
3).NET needs CLR.
If your program run on other computer you must install
the particular Runtime Environment.
Note: .NET Framework contain the CLR. so when u install the .NET Framework also installed the CLR.
So u run the .NET program,
Your .NET Program + .Net Framework(CLR)=Successfully run on target computer.
Hello vijai,
Q) what is diff between Compiler and RuntimeEnvironment?
Ans)
The work compiler convert the source code to machine code according to the Language.
For example, u wirte the program in vb,when u execute the program first compiled and executed ur program.
Then u get the EXE program.
After the compile ,when run the ur EXE program, now need some supporting environment. that is called Runtime Environment.
Creating computer+ vb(compiler) +Runtime Environment+ ur vb program=Run.
Target computer+ ur EXE program+ Runtime Environment=Run.
ok by,
TVM
what are the main objects of c#?
AMIT,
1.Converting an object to xml is called serialization.
2.main purpose of delegates is create events.
3.by default in vb.net parameters are value type.if any changes make to the parameters with in the procedure willnot reflect the arguments passed to them.i.e called value type parameters.
i will tell you later.
What is session? what are their types? Explain?What is querystring? their types? explain?what is the difference between panel and placeholder?What is the difference between TRUNCATE and DELETE?
Is there any diff between
dim x,y as integer
dim x as integer,dim y as integer.
There is no such difference as compared to time taken for writing the code
Hi thiruvarasamurthy (TVM),
Basically a compiler compiles the source code to MSIL, which is code that can be understood by the CLR, which indeed is known as virtual machine. Now when you execute the exe , the MSIL code is translated to machine code , and run.
What is the difference between TRUNCATE and DELETE?
In delete statement we can use where class,but we cant use where class Truncate class
Truncated memory reallacation is loged
WHAT IS CLUSTERING ?
can a asp .net web page be able to run on the linux system? if yes why if no why? plz reply…i was asked it in last interview..
Que: What is the base class of .NET?
Ans: System.Object is the base class of .NET
Que: Explain assemblies
Ans: Assembly is a primary building block of .NET. Components written in IL and execute by the runtime is called .NET Managed Assemble in short Assembly. It is reusable,self describing and versionable deployment unit for types and resources.
Diff between the WebFarm and webgarden
That’s a good question, it’s actually the terminology.
Web farm is basically a load balancing environment where multiple Web
servers are hosting the same Web site.
Web garden, if you have a box with multiple processors, that’s what it is
called, Web garden, so that’s the terminology.
Therefore : A Web garden is similar in nature to a Web farm, the difference
being that a Web garden exists within a single server.
The main difference between Truncate and Delete is that…Delete is used to delete the rows with some condition provided with the statement(i.e. after using Delete command the rows which satisfies the condition will be deleted from the memory)…and Truncate command is used to delete all existing rows from the table(after using Truncate command the table will remain there with the same structure…but all the rows of the table will be deleted)