Service Portal Architecture & Components | ServiceNow Docs

Ques. What is Service Portal? Ans. Service Portal is a module of servicenow which can be used to enhance user experience or used as CMS. There are various functionalities which an end user can directly use, like accessing knowledge base, Support/Help, raise a help ticket, etc. Ques. How to enable Service Portal? Ans. Most of the time it is by default enabled. But if it is not working then you…

View More Service Portal Architecture & Components | ServiceNow Docs

Introduction to Cookies in asp

-Cookies can store upto 4 GB data. -It stores the previous data accessed by any visitor. -Using cookies, we can personalize the user. -Cookies are maintained at client site. It keeps a data with time for expiry time within time frame. If I access the page, it shows the information accessed last time. For Example, Shopping site shows a list of items. If a user re-visits the page, then, the…

View More Introduction to Cookies in asp

Introduction to Session in asp

1. Session is a property of page class in asp.net to pass data from one page to another page. 2. By default, Session mode is inproc. 3. Session has several functions like abandon. Important properties are a) Session Id b) Time Out. 4. Using session, we can not only pass data from one page to another page, we can also sign out at any point of time, which is the…

View More Introduction to Session in asp

Lalit Shokeen – Youtuber

Since the beginning of time he has started making comedy videos, he got lot of love and support of people. To know more about his complete journey, keep reading.. Know more about Lalit Shokeen Dr. Lalit Shokeen (31 years old) is an very popular comedian, writer, director, scientist and a kind person. He was born at Dichaon Kalan village, Najafgarh tehsil of south west delhi district in India. He complete…

View More Lalit Shokeen – Youtuber

Constructor Chaining in C sharp with program

using System; class employee { string message; public employee() { } public employee(string mess) { message = mess; } public void displayME() { Console.WriteLine(message); } } class manager:employee { string message; public manager() { } public manager(string m) :base(m) { message = m; } public void displayM() { Console.WriteLine(message); } public static void Main() { manager deepa = new manager(“leave for two days”); deepa.displayM(); deepa.displayME(); } } OUTPUT: leave for…

View More Constructor Chaining in C sharp with program

Program for abstract class using C sharp Dot net

using System; interface IPlay { string play(); } class hockey : IPlay { string IPlay.play() { return “yes ….hockey”; } } class cricket : IPlay { string IPlay.play() { return “cricket…”; } } class chess : IPlay { string IPlay.play() { return “chess”; } } class ui { public void PlayType(IPlay ptr) { Console.WriteLine(ptr.play()); } public static void Main() { ui obj = new ui(); obj.PlayType(new cricket()); obj.PlayType(new hockey()); obj.PlayType(new…

View More Program for abstract class using C sharp Dot net

Program for Operator Overloading using C Sharp

using System; class TSS {     int fees;     public TSS()     {         fees=0;     }     public TSS(int f)     {         this.fees=f;     }     public static TSS operator+(TSS obj1, TSS obj2)     {         TSS obj = new TSS();         obj.fees=obj1.fees + obj2.fees;         return obj;     }     public void TotalFeeCollection()     {         Console.WriteLine(“Total Fee Collected ” +fees);     }    public static void…

View More Program for Operator Overloading using C Sharp

Task Parallel Library – Async await Task CASE STUDY

Case Study1: When the function does not return any value using System; using System.Threading.Tasks; using System.Threading; class Life {     public static void Main()     {         LongTask();         Console.WriteLine(“Lets go!!”);         Console.ReadLine();     }     public async static void LongTask()     {         await Task.Run(()=>{         Thread.Sleep(5000);         Console.WriteLine(“Bro, Wait for 5 seconds”);         });     } } Case Study2: When the function does returns any value (Injection Technique will…

View More Task Parallel Library – Async await Task CASE STUDY

Program for Run Time Polymorphism using C Sharp

using System; class Manager {      public virtual void Work()      {          Console.WriteLine(“Manager”);      } } class Employee : Manager {      public override void Work()      {          Console.WriteLine(“Employee”);      } } class Trainee : Employee {      public override void Work()      {          Console.WriteLine(“Trainee”);      }      public void Chess()      {          Console.WriteLine(“Playing chess”);      } } class Program {     public static void Main()…

View More Program for Run Time Polymorphism using C Sharp

Program for Hashtable in C Sharp

using System; using System.Collections; using System.Collections.Generic; class Employee {     public int EmpId;     public string EmpName;     public static void Main()     {        Hashtable AnyEmployee = new Hashtable();         AnyEmployee.Add(1, new Employee(){EmpId=101, EmpName = “Shubham”});         AnyEmployee.Add(2, new Employee(){EmpId=102, EmpName=”Ankit”});        Employee e = (Employee)AnyEmployee[2]; // FOUCS ON SYNTAX         /*If I put 1 in [] bracket,then it will print  Employee Id:101, Employee Name:Shubham*/…

View More Program for Hashtable in C Sharp

Program for Array List in C Sharp

using System; using System.Collections; public class Employee {     public int EmpId {get; set;}     public string EmpName {get; set;}     static void Main()     {         ArrayList firstEmp = new ArrayList();         firstEmp.Add(new Employee(){EmpId=101,EmpName=”Shubham”});         firstEmp.Add(new Employee(){EmpId=102,EmpName=”Rajan”});         foreach(object e in firstEmp)         {             Employee currentEmployee = (Employee)e;             Console.WriteLine(“Employee ID:{0},Employee Name:{1}”, currentEmployee.EmpId, currentEmployee.EmpName);         }     } }

View More Program for Array List in C Sharp