Category: ASP.NET
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 Start with Materialize CSS
The beginners may have some difficulties about how to start and learn the materialize design. Here is a simple steps to learn and quick start with materialize design. Add the Following link 2. Add following line of html 3. Add following script Design sample of above materialize css will look like More Details … Continue reading How to Start with Materialize CSS
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?
How to set and get the session value in asp.net core.
The Microsoft.AspNetCore.Session package provides middleware for managing session state. Add the following heightened line in your Startup.cs Following line of code is needed to set the session value. To get the session value
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
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





