Differences in each version of Asp.Net MVC 2, 3 , 4, 5 and 6

MVC 6 ASP.NET MVC and Web API has been merged in to one. Dependency injection is inbuilt and part of MVC. Side by side – deploy the runtime and framework with your application Everything packaged with NuGet, Including the .NET runtime itself. New JSON based project structure. No need to recompile for every change. Just […]

Read More

Customize Identity In ASP.NET MVC 5

ASP.NET Identity is one newest and greatest feature in ASP.NET Membership System. The ASP.NET Membership System is basically used to fulfill the Membership requirement of a website. That involved Forms Authentication, and a SQL Server database for user names, passwords, address and other details. It introduced some modern features such as social networks login like […]

Read More

Dependency Injection in angularJs

Dependency injection in AngularJS is supremely useful, and the key to making easily testable components. This article explains how Angular’s dependency injection system works. The Provider ($provide) The $provide service is responsible for telling Angular how to create new injectable things; these things are called services. Services are defined by things called providers, which is […]

Read More

Integrate PayPal in Asp.Net

This article discusses integration of PayPal payment gateway in asp.net web application. Nowadays PayPal is the most popular payment gateway worldwide because it is totally free to integrate and PayPal does not charge anything for opening an account, you will pay PayPal when you get paid. And the amount is also lower than other payment […]

Read More

Passing Data From a Controller to a View

In an MVC request processing model,Its very important to know how to pass data from MVC controller to view. In below we will discuss some following ways 1)ViewData 2)ViewBag 3)TempData 4)View Model Object 5)Strongly-typed View Model Object 1) ViewData: Its a simple way to pass data from controller to view to use “ViewData” property. ViewData […]

Read More

What is PL/SQL

PL/SQL stands for Procedural Language/SQL. PL/SQL is Oracle’s Procedural Language extension to SQL. PL/SQL is a very secure functionality tool for manipulating, controlling, validating, and restricting unauthorized access data from the SQL database. Using PL/SQL we can improve application performance. It also allows to deal with errors so we can provide user friendly error messages. […]

Read More

Drop all the tables, stored procedures, triggers, constraints and all the dependencies in one sql statement

Drop all non-system stored procs DECLARE @name VARCHAR(128) DECLARE @SQL VARCHAR(254) SELECT @name = (SELECT TOP 1 [name] FROM sysobjects WHERE [type] = ‘P’ AND category = 0 ORDER BY [name]) WHILE @name is not null BEGIN SELECT @SQL = ‘DROP PROCEDURE [dbo].[‘ + RTRIM(@name) +’]’ EXEC (@SQL) PRINT ‘Dropped Procedure: ‘ + @name SELECT […]

Read More

How to use Tuple in C#

The Tuple is new in c# 4.0. Tuple provides way to group elements of disparate data type together. The Tuple is not new, it is just new to C#. It is already present in language like Python and F#. In Python a Tuple storing name and age is something like: t  = “Mike”, 35 And […]

Read More

Sort an Array in Descending order

An array can be sort via simple inbuilt Sort() method or Linq. But in this post i will show you how to sort an array in descending  order without using any inbuilt function and linq. Example: class Program { static void Main(string[] args) { Console.WriteLine(“\n Enter the Numbers : “); int[] arr = new int[5]; string arr1 […]

Read More

JSON Tutorials

JSON or JavaScript Object Notation is a lightweight text-based open standard designed for human-readable data interchange. The JSON filename extension is .json. This tutorial will help you understand JSON and its use within various programming languages such as PHP, PERL, Python, Ruby, Java, etc. Features JSON is a syntax for storing and exchanging data. JSON […]

Read More

Folder structure for a Node.js project

Concerning the folders you mentioned: /libs is usually used for custom classes/functions/modules /vendor or /support contains 3rd party libraries (added as git sub-module when using git as source control) /spec contains specifications for BDD tests. /tests contains the unit-tests for an application (using a testing framework, see here) NOTE: both /vendor and /support are deprecated […]

Read More

What is JSK

JSX(JavaScript Syntax Extension) is the library for transforming XML based syntax code to pure JavaScript. It’s a syntactic transform — each JSX node maps to a javascript function. It neither provides nor requires a runtime library. It doesn’t alter or add to the semantics of JavaScript — it’s just simple function calls. JSX script will […]

Read More