local storage and session storage in HTML5
HTML5 web storage is a local storage in client environment and it is a better than cookies. Unlike the cookie storage limitation of 4KB, we can store up to 10 megabytes in HTML5 local storage. 1. Web storage is the most secured and faster way of storing information in...
read moreIntroduction of REST Service
Introduction of REST Services We can define Representational State Transfer (REST) as an architectural style that sits on top of a series of principles. ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients,...
read moreCRUD in MVC using Entity Framework Code first and sql
Entity framework code first SQL: Most of viewers and visitors of Yogeshdotnet.com, requested to upload some blogs based on entity framework code first with SQL. First of all I want to say thanks to all my visitors and regular viewers who shows their keen interest in...
read moreEntity framework conventions
Entity framework conventions when we use entity framework in our application, there are some predefined conventions of entity framework for example primary key EF convention means we defined a primary key in a model class then model mapped database table with a auto...
read moreCustom User Registration form in entity framework code first and asp.net mvc example
In this tutorial I am going to demonstrate to create registration form using entity framework code first approach in asp.net MVC.In this demonstration I also implement cascade drop-downs(Country and state). Database Tables: Country Employee State In this example I...
read moreDownload Bootstrap Notes
Download Bootstrap Notes
read moreEntity framework Introduction
I am going to start writing blogs based on Microsoft entity framework as far as today’s scenario people are working on entity framework. Let me tell you about the different approaches of entity framework by which we can make communication between ASP.net MVC and...
read moreCustom User Login form using ASP.Net MVC LINQ Jquery JSON
Custom User Login form using ASP.Net MVC LINQ Jquery JSON In this blog tutorial we will see that how we can create custom login form using MVC, LINQ, jquery and json.Here I am using $.getJSON method of jquery. Step1. Create new Empty MVC Project Open Visual...
read moreRead Controller action using Jquery in ASP.NET MVC and LINQ
Read Controller action using Jquery in ASP.NET MVC and LINQ In this example I am going to demonstrate that how we can read controller action using jquery and json. Action will return output in json format.here I am using $.getJSON method of jquery. Step1. Create new...
read moreLINQ CRUD in asp.net MVC using LINQ to SQL
LINQ CRUD in asp.net MVC using LINQ to SQL Step1. Create new Empty MVC Project Open Visual Studio->New Project->Visual C#->Web->ASP.NET Web application->Give Project Name->Select Empty Template->Check MVC Checkbox->Click OK Step 2. Now to we will add LINQ to sql...
read moreQuantifier Operators in linq C#
Quantifier query operators’ works on only single input sequence and return single Boolean value. Contains The Contains query operator evaluates the elements in the input sequence and returns true if a specified value exists. using System; using...
read moreElement Operators in LINQ C#
Element Operators in LINQ C# Element operators return single value or a default value from input sequence.In this blog I am demonstrating following linq element operators. first firstordefault last lastordefault single singleordefault elementat elementatordefault...
read moreSet Operators in LINQ C sharp with examples
Set Operators in LINQ C# Set operators take two inputs , that can be array, list, collection etc and able to generate single output. Set query operators: Concat Union Distinct Intersect Except Let me discuss them one by one Concat As it names says all the words about...
read moreC# linq groupby operator with example
Linq groupby query operator able to create groups of input sequence. It is also followed concept of deferred execution , To understand deferred execution please read my blog( ).We can group output sequence using single key or multiple key, for the simplicity here I am...
read moreReverse in LINQ C#
Reverse The Reverse query operator simply takes the input sequence and returns the elements in the reverse order in the output sequence; so, for example, the first element in the input sequence will become the last element in the output sequence. using System; using...
read moreThenBy in linq C#
ThenBy This operator always followed by orderby, means we always use it after using ordeby operator. If we use orderby and ThenBy together then first items will be sorted as per orderby given condition and resultant output sequence will be sorted by ThenBy...
read moreOrdering Operators in linq C#
Ordering Operators in linq C# These operators return same number of output elements as input elements in sorted form. OrderBy This operator sort input elements as per given key. For example we have a employee table which have a salary field now we want to get employee...
read moreLINQ SkipWhile() with example
Like TakeWhile, the SkipWhile query operator uses a predicate to evaluate each element in the input sequence. SkipWhile will ignore items in the input sequence until the supplied predicate returns false. using System; using System.Collections.Generic; using...
read more