Windows Communication Foundation (Code named
Indigo) is a programming platform and runtime system for building, configuring
and deploying network-distributed services. It is the latest service oriented
technology; Interoperability is the fundamental characteristics of WCF. It is
unified programming model provided in .Net Framework 3.0. WCF is a combined
features of Web Service, Remoting, MSMQ and COM+. WCF provides a common
platform for all .NET communication.
Saturday, 21 February 2015
Friday, 7 November 2014
Extension Methods
Extension Methods:
------------------------
-It is one of the best approach to extend the functionalities of a class other than inheritance.
-Using this approach u can add new methods under an existing class even if u dont have permission to make changes on the class or the source code of the class is not available.
------------------------
-It is one of the best approach to extend the functionalities of a class other than inheritance.
-Using this approach u can add new methods under an existing class even if u dont have permission to make changes on the class or the source code of the class is not available.
Exceptions & Exception Handling
Exceptions & Exception Handling:
--------------------------------------------
-Generally under every program we will be comming across errors which are of 2 types:
-Compile Time Errors
-Run Time Errors
-A compile time error occurs due to the syntactical mistake that occurs in a program, these are not considered to be dangerous.
--------------------------------------------
-Generally under every program we will be comming across errors which are of 2 types:
-Compile Time Errors
-Run Time Errors
-A compile time error occurs due to the syntactical mistake that occurs in a program, these are not considered to be dangerous.
Assemblies in C#.net
Assemblies:
----------------
-An Assembly is a unit of file that contains the IL Code corresponding to a project when it was compiled.
-The name of an assembly will be same as the project from which it was created.
-Assemblies are known as units of deployment because once the application development is completed what we install on the clients machines is the assemblies only.
----------------
-An Assembly is a unit of file that contains the IL Code corresponding to a project when it was compiled.
-The name of an assembly will be same as the project from which it was created.
-Assemblies are known as units of deployment because once the application development is completed what we install on the clients machines is the assemblies only.
Abstract Classes in c#.net
Abstract Classes:
----------------------
-A class which contains any abstract methods in it is known as an abstract class.
What is an Abstract Method ?
---------------------------------------
Ans: A method which doesn't contain any method body to it is known as an abstract method.
-An abstract method should be declared with the "abstract" modifier.
eg: public abstract void Add();
----------------------
-A class which contains any abstract methods in it is known as an abstract class.
What is an Abstract Method ?
---------------------------------------
Ans: A method which doesn't contain any method body to it is known as an abstract method.
-An abstract method should be declared with the "abstract" modifier.
eg: public abstract void Add();
LINQ
1. Creates a class DataContext referring to the Database under which the table is present.
eg: CSharp7DataContext
2. Creates a seperate class referring to each table that is placed on the OR-Designer. The name of the class will be same as the table name.
eg: Emp or Students
eg: CSharp7DataContext
2. Creates a seperate class referring to each table that is placed on the OR-Designer. The name of the class will be same as the table name.
eg: Emp or Students
NESS TECHNOLOGIES INTERVIEW QUESTIONS
NESS TECHNOLOGIES INTERVIEW QUESTIONS
· Difference between private, public and protected fields.
· Restrict setting a property in another assembly.
· Is it mandatory to override a virtual method?
· Overriding scenario
· Difference between private, public and protected fields.
· Restrict setting a property in another assembly.
· Is it mandatory to override a virtual method?
· Overriding scenario
SECOND HEIGHEST SAL IN SQL
select name,sal
from(
select name,sal,ROW_NUMBER() over (order by sal desc) as rowid from sal
)A
where rowid=2second heighest sal in sql
from(
select name,sal,ROW_NUMBER() over (order by sal desc) as rowid from sal
)A
where rowid=2second heighest sal in sql
string manipulation in c#.net
using System.Text;
namespace string_function
{
class Program
{
static void Main(string[] args)
{
string firstname;
string lastname;
namespace string_function
{
class Program
{
static void Main(string[] args)
{
string firstname;
string lastname;
ASP.NET CONTROL EVENTS
Control events
1. This event is fired when IsPostBack is true.
2. Use these events to handle specific control events, such as a Button
control's Click event or a TextBox control's TextChanged event.
ASP.NET PAGE LIFE CYCLE
1.) What is asp.net life cycle ?
Life Cycle Events
PreInit
The properties like IsPostBack have been set at this time.
This event will be used when we want to:
Life Cycle Events
PreInit
The properties like IsPostBack have been set at this time.
This event will be used when we want to:
1. Set master page dynamically.
Subscribe to:
Posts (Atom)
Type Script variables
Difference between var,let and const in java script and typescript -----------------------------------------------------------------------...
-
Name - Chinnababu ore Working - Thomson reuters international services pvt ltd Location - Bengalore
-
AngularJS Intellisense in Visual Studio 2012 ----------------------------------------------------------- Lot of people facing same probl...