DotNet By Satya

Blog that contains articles about new technologies related or not with programming. I will describe and solves some problems that I encounter in my career. ASP .NET, AJAX, Javascript, C++, C# and SQL are some of the subjects that will appear.

03 June 2016

Drop vs Truncate vs Delete in SqlServer

›
Drop Command: If we want to destroy the existing tables present in the database we use the Drop Command. DROP TABLE Students Truncate Comman...

Url.Action vs Url.RouteUrl

›
Url.RouteUrl allows you to specify a particular route by name. This will  force  the usage of that route. If you have multiple routes with s...

Lazy loading/Deferred loading in Entity frame work

›
One of the important functions of Entity Framework is lazy loading. Lazy loading means delaying the loading of related data with its parent ...

Events in the Global.asax file

›
The Global.asax file, also known as the ASP.NET application file, is an optional file that contains code for responding to application-level...

Encrypt ViewState info

›
View State: The ViewState is used in retaining values between multiple requests for the same page. Viewstate is stored on page it self in en...

Session State Modes in Asp.Net

›
Session Web is  stateless , which means a new instance of a web page class is re-created each time the page is posted to the server. HTTP is...
28 May 2016

Types of Stored Procedures in SqlServer

›
Stored procedure is a precompiled set of one or more SQL statements that is stored on Sql Server. stored Procedures is that they are execute...
27 May 2016

Async call

›
$.ajax({ type: 'POST', url: "webMethods.asmx/fngetuser", data: "{'userid':'" + userid + "...
18 May 2016

Variance in Delegates

›
When you assign a method to a delegate, covariance and contravariance provide flexibility for matching with method signature. Covariance p...
26 April 2016

Allow only alphanumeric in textbox using javascript and regular expression

›
function validate(evt) { var theEvent = evt || window.event; var key = theEvent.keyCode || theEvent.which; key = String.fromC...
16 March 2016

Extending using Extension methods

›
static class MyExtensionMethods { public static int Negate(this int value) { return -value; } public static int ...
14 March 2016

Stored Procedure vs Function

›
Stored Procedure Function Return type is not must, Can return zero, single or multiple values or table(s) Return type is must, and it can re...
18 February 2016

Load events in Asp.net

›
05 February 2016

Read XML Data for datasource

›
using System.Xml.Linq; <?xml version="1.0" encoding="utf-8" ?> <StatusTypes> <StatusType Name ="All...
07 October 2015

Shadowing in C#

›
In Method override   both methods (base & child class methods) have the same name, same number and same type of parameter in the same ...
‹
›
Home
View web version

DotnetBySatya About

satyabhaviri
View my complete profile
Powered by Blogger.