What is App Insights?

Application Insights is an Application Performance Management service for web applications on multiple platforms. It is used to monitor live web application. It will automatically detect different performance anomalies. It’s powerful analytics tools will help to diagnose issues and to understand what users actually do with application. It’s designed to continuously improve performance and usability.… Read More »

Set up the Angular Development Environment

Set up the Angular Development Environment Step 1 : Install Node.js and npm Download Link: https://nodejs.org/en/download Notes : Verify that we are running at least node 6.9.x and npm 3.x.x by running node -v and npm -v in a terminal/console window. Step 2 : Install the Angular CLI globally.Use “npm install -g @angular/cli” command through console… Read More »

What is TypeScript

TypeScript helps to write JavaScript in a different way. TypeScript is a super set of JavaScript that compiles to classic JavaScript. TypeScript is actually object oriented with classes, interfaces. Angular 2.0 is written in TypeScript. TypeScript helps programmers to write object-oriented programs and have them compiled to JavaScript, both on server side and client side.

Which are the different types of joins?

INNER JOIN Inner join shows matches only when they exist in both tables. Example in the below SQL there are two tables Customers and Orders and the inner join in made on Customers. Customerid and Orders. Customerid. So this SQL will only give you result with customers who have orders. If the customer does not… Read More »

What are .Net directives?

@ Assembly:-Links an assembly to the current page or user control decoratively. @ Control:-Defines control-specific attributes used by the ASP.NET page parser and compiler and can be included only in .ascx files (user controls). @ Implements:-Indicates that a page or user control implements a specified .NET Framework interface decoratively. @ Import:-Imports a name space into… Read More »

When we use interface and when we use abstract class

Use an abstract class When creating a class library which will be widely distributed or especially to clients, use an abstract class in preference to an interface; because, it simplifies visioning. This is the practice used by the Microsoft team which developed the Base Class Library. (COM was designed around interfaces.) Use an abstract class… Read More »

Category: C# Tags:

Artifacts in Team City

Hi All, Build artifacts are out put files by the build which are stored on Team City server.From General Settings page of the Build Configuration, we can specify explicit paths to build Artifacts or patterns to define Artifacts of a build.Upon the build finish, TeamCity searches for artifacts in the build checkout directory according to… Read More »

Build Steps in Team City

Hi, Build steps can be configured from Build Steps section of Build Configuration Settings page. The steps can be auto-detected by Team City or added manually. Each build step is represented by a build Runner Type and provides integration with a specific build or test tool. We can add as many build steps to our… Read More »

What are partial views in MVC?

Hi All, Partial view is a reusable view which can be embedded inside other view.Like a user control it can be used in different areas of a page. It can used with left menu, header and footer as shown in the image below. Once the partial view is created we can call the partial view… Read More »

Routing in MVC?

Hi All, Routing helps us to give user friendly URL structure. Helps to map those URL structure to the controller.When any user types “http://localhost/View/ViewStudent/” , it will goes to the “Customer” Controller and invokes “DisplayStudent” action. This is defined by adding an entry in to the “routes” collection using the “maproute” function.