Category: ASP.NET

How to create Angular 6 and Asp.net Core 2.0 App in Visual Studio

How to create Angular 6 and Asp.net Core 2.0 App in Visual Studio

This article describes how to start the angular 6 with Asp.net core in Visual Studio. Here are some steps that will guide beginners to start a project with angular 6 and Asp.net Core. Hope it will help. Create Blank Solution in Visual Studio. Add new project on Blank Solution 3. Choose Asp.Net Core Web Appication … Continue reading How to create Angular 6 and Asp.net Core 2.0 App in Visual Studio

How to get the session value and show into view in asp.net Core?

How to get the session value and show into view in asp.net Core?

One way for this is:  Get the session value and store it to View Bag in the controller and then show the view bag value to the View. There are mainly two steps. In Controller, Firstly get the value of session to the view bag by writing these code 2. In the View, write following … Continue reading How to get the session value and show into view in asp.net Core?

SQL Server Interview Questions and Answers for Mid Level

SQL Server Interview Questions and Answers for Mid Level

1.Write the script to create Table. Answer: CREATE TABLE Test ( ID int, LastName varchar(255), FirstName varchar(255), Address varchar(100), ); 2. What is Primary Key Constraint? Answer: The PRIMARY KEY constraint uniquely identifies each record in a database table. It must contain unique values and must not contain null values. Most of the tables should … Continue reading SQL Server Interview Questions and Answers for Mid Level

ASP.Net Interview Question and Answers for Mid Level

ASP.Net Interview Question and Answers for Mid Level

 1. What are the asp.net page life cycle, name cycle? Answer: PreInit() Init() InitComplete() PreLoad() Load() LoadComplete PreRender() Render() Unload() 2. What are the different Types of ASP.Net Validation Controls? Answer: RequireFieldValidator: validates for require filed or user input RangeValidator: it validates the range of input filed like (0-9), (A-Z), (100-2000) CompareValidator: it is used to compare … Continue reading ASP.Net Interview Question and Answers for Mid Level