Angular
Difference between Clustered and Non-clustered index

Clustered Index : Clustered index is created only when both the following conditions satisfy – The data or file, that you are moving into secondary memory should be in sequential or sorted order. There should be a key value, meaning it can not have repeated values. Whenever you apply clustered indexing in a table, it […]

Read More
MVC
JsonResult Type in MVC

About JsonResult and its properties The JSON format is an open standard format. The format of data looks very easy to understand and the data objects consist of attribute-value pairs. ContentEncoding: It helps to indicate the content encoding type, the default encoding for JSON is UTF-8. ContentType: It helps to indicate the content type. The […]

Read More
ASPNET
ASP.NET Interview Questions

Question 1 – What is ASP.NET? Answer: ASP.NET is Microsoft’s framework to build Web applications. ASP.NET is a part of .NET Framework. ASP.NET and Web Forms are used to build the front end and in the backend, C# langauge is used. ASP.NET runs on a Web Server, IIS. Advantages of ASP.NETSeparation of Code from HTML […]

Read More
ASPNET
ASP.NET – Managing State

ASP.NET – Managing State Hyper Text Transfer Protocol (HTTP) is a stateless protocol. When the client disconnects from the server, the ASP.NET engine discards the page objects. This way, each web application can scale up to serve numerous requests simultaneously without running out of server memory. However, there needs to be some technique to store […]

Read More
ASPNET
ASP.NET – Server Side-Server Control

ASP.NET – Server Side We have studied the page life cycle and how a page contains various controls. The page itself is instantiated as a control object. All web forms are basically instances of the ASP.NET Page class. The page class has the following extremely useful properties that correspond to intrinsic objects: Session Application Cache […]

Read More
CSharp
Csharp_Arrays

C# – Arrays An array stores a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type stored at contiguous memory locations. Instead of declaring individual […]

Read More
CSharp
C# – Type Conversion

C# – Type Conversion Type conversion is converting one type of data to another type. It is also known as Type Casting. In C#, type casting has two forms − Implicit type conversion − These conversions are performed by C# in a type-safe manner. For example, are conversions from smaller to larger integral types and […]

Read More
CSharp
csharp Program Structure

Creating Hello World Program A C# program consists of the following parts − Namespace declaration A class Class methods Class attributes A Main method Statements and Expressions Comments Let us look at a simple code that prints the words “Hello World” − using System;namespace HelloWorldApplication {class HelloWorld {static void Main(string[] args) {/* my first program […]

Read More