Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Generation Operators in LINQ

In this blog we illustrate the generation operators in linq. We have a three Generation Operators : 1. Empty 2. Range 3. Repeat 1. Empty:- Empty operator  is used to return an empty sequence of the type that is specified . It is a ...

Quantifier Operators in Linq

The quantifier operators  analyse a collection of items on some condition and  return a boolean value if any or all the items in collection satisfy a condition.   In linq, We have three types of Quantifier Operators:- 1. All...

Grouping Operators in Linq

Grouping operators generates a categories or groups of an item on the basis of given key. These type of operators implements IEnumerable collection of type IGrouping<Key, SourceItem> where Key is a key value, on the basis of which grouping ...

Setting up enviornment for Angular 2 project in Visual Studio

Ever wondered how to start with setting up environment for a simple Angular 2 project, here are following steps that you may follow to get it done easily. Open Visual Studio and create a new ASP.NET Empty Web Site. Provide it with a locat...

ASP.NET MVC : Parse XML Documents by XMLDocument and XDocument

Parse XML Documents by XMLDocument and XDocument   It is not a common practice to directly work on xml documents. In ASP.NET MVC whenever there is raw XML document available,to use them parsing is required. For parsing XML documen...

Extension Methods in C#

Extension Methods in C#   Extension Methods were introduced in c# 3.0. These methods are helpful in adding methods to the types which already existed i.e without creating a derived type via inheritance, methods can be added to existing...

Moving between pages in Windows Phone 8.1

While learning Windows Phone development you might want to try your skills in creating some cool apps. Most probably some of those apps requires you to create multiple pages in your application, which needs you to have some idea about navigation ...

Layout controls in Windows Phone 8.1

Layout controls are those controls which contain and position child controls on the screen. In other words we can say that such controls behave as layout container in our application. Whenever we need to achieve a certain level of complexity in t...

ComboBox Control in Windows Phone 8.1

In the following article we are going to see the usage of ComboBox control in Windows Phone 8.1. ComboBox represents a combination of non-editable text box and a drop-down list box that allows users to select an item from a list.   Let...

Code-First Stored Procedure Entity Framework 6.0

Code-First Stored Procedure Entity Framework 6.0   This blog shows configuration of code first making use of stored procedure for the entities. For usage of stored procedure, the OnModelCreating method of DBContext should be overriden,...

Getting started with Hello World App in Windows Phone 8.1

So friends you are thinking to start with Windows Phone App development, but can't decide where to start from. No worries, let's get started with a simple application to give you some familiarity with the Windows Phone development environ...

View Without Controller Action in ASP.NET MVC

View Without Controller Action in ASP.NET MVC   In MVC, the request from browser actually comes in the form of "controllername/actionname" where the request is actually directed to actionname in the controller which then...

ASP.NET MVC : Form Submission using Enter Key via jQuery

ASP.NET MVC : Submit Form using Enter Key   Sometimes there is a scenario or requirement of posting the form on pressing the "Enter" key in asp.net mvc. This functionality can be achieved via jQuery in MVC.   Creat...

Is Operator In C#

This operator is used to check if an object is compatible with a given type. It returns true if caste succeeds and returns false if the caste fails. This operator is ideal to use when we are not interested in resulting variable and just intereste...

Remote Validation in ASP.NET MVC

Remote Validation in ASP.NET MVC   Remote Validation is similar to an ajax call used for validating the user's input. The main purpose of remote validation is execution of back end query without performing a full server postba...

Calling Web API from MVC Controller in ASP.NET

Calling Web API from MVC Controller in ASP.NET   This blog defines calling of web api from mvc layer project. The following steps are to be followed :-   Step 1 : Create an empty solution in visual studio 2015. From file men...

Notify Changes Using INotifyPropertyChanged Interface In WPF MVVM

While studying MVVM architectural pattern in WPF you might have come across INotifyPropertyChanged interface and wondered the need of using it. Following MVVM architectural pattern in WPF application, we used binding to access data in the view an...

Using commands in WPF

In the following article, we are going to see the use of commands in WPF MVVM application. Before we move on to see the actual implementation, it's necessary to understand why we use commands in WPF. Commands are used to separate the UI co...

An MVC application with Entity framework with Code First Approach

An MVC application with Entity framework with Code First Approach   Following steps are to be followed :   Step 1 : In visual studio 2015 create a new C# ASP.NET Web project named Student_Management_System. Select the MVC te...

Difference between Var and Dynamic type in C#

Difference between Var and Dynamic type in C#   Var Type   C# 3.0 introduced var type.   With respect to storage it can store any type of value with the condition that var type variables need to be in...

Paging in ASP.NET MVC Application

Paging in ASP.NET MVC Application To implement paging on an ASP.NET MVC Application following steps are to followed :-   Step 1 : Create a new C# ASP.NET Web project named Student_Management_System. Select the MVC template option ...

Simple MVVM Application In WPF

In this article we are going to see simple implementation of MVVM pattern in WPF application. For the sake of simplicity, we'll be showing the list of users and will get detailed explanation of the process followed behind the scene.  ...

Overriding Vs Shadowing in C#

Overriding Vs Shadowing in C#   Method overriding   A base class method re-written in derived class with different definition is method overriding.   At run time overriding is resolved therefore it is also...

C# .Net : XML Serialization of DataSet

C# .Net : XML Serialization of DataSet   XML Serialization require XmlSerializer class which is derived from System.Xml.Serialization.   Example to demonstrate XML Serialization of DataSet :-   using System.IO; ...

C# .Net : XML Serialization of simple class object containing properties

C# .Net : XML Serialization of simple class object containing multiple properties   The process of converting an object into stream is Serialization. This generated stream then can be used either for saving it in a file or for transpor...

Asynchronous Nature of Delegates

Asynchronous Nature of Delegates   Delegates are defined as function pointer i.e act as a pointer to methods in the application.   Example of Delegate :-   using System; namespace ConsoleApplication2 { ...

Attached and Detached Child Tasks in C#

Attached and Detached Child Tasks in C#   Task can be defined as an object representing some work which needs to be done. System.Threading.Tasks is library provided by .net framework for tasks. Task class have it's own set of pro...

async & await keyword in C#

async & await keyword in C#   Asynchronous programming can be performed in C# using async & await keyword. These keywords were introduced in C# 5. These keywords are to be used together i.e await keyword can only be used within...

Usage of Lock statement in C#

Usage of Lock statement in C# Lock keyword in C# find it's usage in Threading. Whenever multiple threads try to access some code at same time inconsistency occurs then lock keyword is used which makes execution of only one thread  ...

How to implement zip compression in .Net ?

Implementing zip compression in .Net   ZipFile class is provided by .Net framework for zip compression. This class provides static methods for creation, extraction, and opening of zip archives. The namespace required for zip&...

Types of triggers in SQL

In this blog we illustrate the types of a triggers in SQL. Triggers are those which executes automatically when some event arise with their related tables in database.   Triggers are divided into two types: 1. After Triggers (For...

Controlling Session Behavior in Asp.Net MVC

Controlling Session Behavior in Asp.Net MVC Sessions in Asp.Net MVC are used across requests for storing data. Asp.Net MVC manages sessions for all controllers in the application irrespective of the fact data values are stored in the session...

ASP.NET MVC Filters

ASP.NET MVC Filters   ASP.NET MVC provide filters to execute code logic before and after controller action execution. Pre-action and post-action behaviour are added to controller action method by filters. Custom filters creation depend...

Remote Validation in ASP.NET MVC

Remote Validation in ASP.NET MVC   The process of validating specific data field by posting it to server without posting the entire form is remote validation. For e.g : There is a unique field in the database table,it's uniquene...

Difference between LINQ and Stored procedure

 LINQ and Stored procedure   LINQ provides a query syntax used for querying different data sources like SQL server, Oracle, Collections etc. Type checking is done at compile time in LINQ. DOT NET framework languages like C# a...

Deferred vs Immediate Query Execution in LINQ

Deferred vs Immediate Query Execution in LINQ   There are two execution behaviours in LINQ namely Deferred and Immediate.   Deferred Execution : In this type query execution does not take place at time of declaration ra...

Understanding Single, SingleOrDefault, First and FirstOrDefault

There are element operators provided by LINQ which are capable of returning single or specific element from a collection. These element operators can be defined as follows :-   Single : This element operator is capable of returning ...

Token Based Authentication using Postman as Client and Web API 2 as Server

When we are going to develop a web application which contains restricted resources then we have major issue related to authentication and authorization for accessing those restricted resources.  We all know the concept of cookie based authen...

Deadlock in C# Threading

A deadlock is state in which an application locks up because of the multiple processes are waiting for each other to finish. Basically, this situation takes place in multithreading software in which a shared resource is used by first thread and s...

$mdToast in angular material

In angular material,If you want to display any unobtrusive alert on your GUI part to the users,then it provides Toast for designers. Toast is a term which is used to show alert in angular material and we use $mdToast service to display these toas...

Tuple in c#

Tuple is new feature added in C# 4.0 with dynamic programming. Tuple allow us to group a heterogeneous elements together. Tuple is new for the C# developers as it is already present in other languages like Python and F#.   Generally, I...

What is the difference between ViewResult and ActionResult in ASP.NET MVC?

ViewResult and ActionResult in ASP.NET MVC   ActionResult is an abstract or base class. On the other hand ViewResult is a subclass of ActionResult.   Whenever Controller action return type is ActionResult then the action is ...

HashSet<> in C#

In c#, HashSet is a disjoint group of an unique elements. We can a apply a multiple operation on HashSet such as Add, Remove, Contains etc. HashSet is also  allow to apply a standard set of operations such as union, intersection, and symmetr...

Difference between ng-show/ng-hide and ng-if

ng-show/ng-hide and ng-if are directives of angularjs which are used to check if an expression is true or false and after checking the expression, it shows /hides or removes/recreates the DOM element. Though the visual effect of both directive...

Solution for Race Conditions in Threading C#

In c# we have a multiple ways to avoid a race condition determined by the type of an application we are used. Generally we use a following two common methods that works in any condition: 1. Wait Handles 2. Signaling Example: Let's tak...

Race Conditions in Threading C#

Race condition is arise when multiple threads are accessing the shared data and they try to modify this shared data at the same time. The reason for arising a race condition is that we are unable to know the order of accessing a shared data among...

Expressions in AngularJS

AngularJS expressions are used to bind application data with HTML element. This expressions works in same way as we write in write in ng-bind directives. Expressions are written inside two curly braces as {{expression}}. This expressions are incl...

Semaphore - Thread Synchronization

Thread synchronization is used to verify that no two or more  synchronous processes or threads simultaneously executes some particular program block. When one thread executes in the critical section then it does not allow the another thread ...

Cursor in SQL Server

A cursor is a database object that can be created at runtime. It is used to get data  from a result set line by line(or row by row) rather than executing  all the rows in the result set at a single time like an SQL-transaction. Generall...

Difference between AngularJS Expression and JavaScript Expression

These are the following differences between Angular JS expression and JavaScript expression :    Used in HTML : Angular expressions can be used inside HTML while JavaScript expressions do not.  Filters : Angular expressi...
prev 1 3 16
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: