Difference Archives - Coding Sharp

Tag: Difference

What is the Difference between Build, Rebuild and Clean in Visual Studio?

What is the Difference between Build, Rebuild and Clean in Visual Studio?

Asp.Net, Asp.Net MVC, C# Interview, C#.Net, Difference
If you are a Microsoft Asp.Net Developer then usually you came across this words like Build, Rebuild and Clean. This article gives you explanation about Difference between Build, Rebuild and Clean If you are using Visual studio you might have question that what is difference between Build, Rebuild and Clean ? here we are going to understand the diversity between them. Build Solution : When we build any solution then Visual studio will build/compile all assemblies (Dlls and EXE's) that are changed, it is basically incremental or partial process in which only CHANGED assemblies are compiled if there is no changed assemblies it won't get build Rebuild Solution: It is full compiled case, in which all assemblies (either changed or not) are deleted and recompiled again, irrespect...
Difference between .Net DLL and Normal DLL file

Difference between .Net DLL and Normal DLL file

Asp.Net, Asp.Net MVC, C# Interview, C#.Net, Difference
DLL is stands for Dynamic Link Library. DLL is a file format which holds multiple codes and procedures for windows applications. Generally DLL files are created so that multiple application can use it at the same time. It has common code which may be used by multiple programs so it can reduce the disk space, load faster and consume less memory. DLLs can be converted to static libraries by using MSIL (Microsoft Intermediate Language) diassempler. It is very similar to .EXE file but it can not be execute directly like EXE, but holds same information like code, data and resources. What is .NET dll file? When we create a .NET DLL or Assemply in .Net Languages like VB.Net or C#.Net it will create a Managed Assembly. Managed Assembly is the component standard specified by Microsoft .Net. S...
What are the Differences between the Debug class and Trace class?

What are the Differences between the Debug class and Trace class?

Asp.Net, Asp.Net MVC, C# Interview, C#.Net, Difference
Debug and Trace both classes are included in Systems.Diagnostics namespace and have very similar methods. The main difference is that call to Debug class is included in Debug mode only while call to Trace class will be included in Debug as well as Release mode also. So in short we can say it is advisable to use Debug at the time of application development, while Trace option is used at the time of application deployment, like we can trace any error and write it into log files etc. What is the differences between a Debug and Release build? When we are building any .Net project there are two configuration we can select 1 is Debug and another is for Release, While we are developing an application default mode is Debug and programmers keeps is Debug mode for debugging code step by ste...
Difference between WCF and Web API

Difference between WCF and Web API

Asp.Net, Asp.Net MVC, C#.Net, Difference
Difference between WCF and Web API WCF Web API WCF ships with .NET Framework only Web API ships with .NET framework as well as open source WCF Supports RESTful services but in limited manner Web API is very ideal to build RESTful services WCF use attribute based programming model Web API maps http verbs to methods WCF supports reliable transaction and messaging Web API doesn't support reliable transaction and messaging WCF supports tcp, udp, http protocol and also custom transport protocol It supports only http protocol WCF uses Operation, Data contracts and services Web API uses routing, controller, action methods etc, same to Asp.Net MVC
Understand the value type and reference type

Understand the value type and reference type

Asp.Net, C#.Net, Difference, OOPS
In previous article we have seen difference between primary key and unique key. Today we will see the difference between value type and reference type. Let first see what are the value types and what are the reference types. What are Value Types? Variables which stores direct data are called value types they are stored on a stack. They contains the actual value rather then reference. For an example enum, structure int are value types. What are Reference Types? Variables which stores reference of actual data are called Reference types. They are stored on heap but contain the address on heap. For an example Array, class, object, string, delegate, interface are reference type. Now lets see the difference between both of them. Before that let me show you the difference betwe...
Difference between Primary Key and Unique Key in SQL Server

Difference between Primary Key and Unique Key in SQL Server

SQL Server
In our previous article we have see the difference between Asp.Net Web Form and Asp.Net MVC, today we will see the difference between PK and UK. Difference between Primary Key and Unique Key in SQL Server Primary Key Unique Key Primary Key creates a Clustered index Unique Key creates a Non Clustered Index Primary Key does not allow null value Unique Key allows only 1 null value. A table can have only 1 Primary Key A table can have more then 1 Primary Key Primary Key is a unique key identifier of the record Unique-key is to prevent duplicate values in a column Primary Key has to be unique. Unique Key does not have to be the primary key. In Primary Key column you can't delete or change the value In Unique Key column you can delete or changes it'...
Difference between WebForm and MVC in Asp.Net

Difference between WebForm and MVC in Asp.Net

Asp.Net, C#.Net, Difference
Asp.net framework is a small part of .Net framework for building and running web applications. We can design and develop a web application or website using either Asp.Net MVC for Web Forms. In this article we will see some important difference between Asp.Net Web Forms and Asp.Net MVC. Difference between WebForm and MVC in Asp.Net Asp.Net Web Form Asp.Net Web MVC Asp.Net Web Form is not an Open Source. Asp.Net Web MVC is an Open Source. In Asp.Net you will have a server controls like TextBox, Buttons etc. In Asp.Net MVC you will have html helpers. For client side state management Asp.Net Web Forms supports view state In Asp.Net MVC view state is not supported. Asp.Net Web Form follows Web Forms Syntax Asp.Net MVC follow customizable syntax (by default it'...
Difference between HTTP GET and HTTP POST method

Difference between HTTP GET and HTTP POST method

Difference, HTML
HTTP GET request append all the required data to the URL while in HTTP POST method it will supply all the additional data to the body of message. Each form element in HTML form must have an method attributes, it can use either POST or GET. Get is a default method for form element if we are not specifying it. specified method attribute determines how form data is submitted to the server. GET method will encode all the data and append to the request URL as a query string. Post method will pass all the data in a message body of the HTTP request. Lets see all the difference 1 by 1 for GET and POST method as below. HTTP GET HTTP POST In Browser history all the params are stored in the URL. In Browser history none of the params are stored Get method can be cached Post met...