Please enable Javascript to correctly display the contents on Dot Net Tricks!

Dot Net Tricks Tutorial - For Beginners & Professionals

.net article,c# tutorial,asp.net tutorial,linq tutorial,wcf tutorial,mvc tutorial,entity framework tutorial,sqlserver tutorial,jquery tutorial,visual studio tutorial
 
Author : Shailendra Chauhan
Posted On : 01 Jan 2013

Basically, Routing is a pattern matching system that monitor the incoming request and figure out what to do with that request. At runtime, Routing engine use the Route table for matching the incoming request's URL pattern against the URL patterns defined in the Route table. You can register one or more URL patterns to the Route table at Application_Start event.

 

 

Author : Shailendra Chauhan
Posted On : 30 Dec 2012

Since registration form is a common form, so I prefer it to demonstrate the basic validation in mvc4. I have already explained the validation with data annotation and how to enable client side validation in mvc razor, now my focus is to develop registration form with client side and server side validations.

 

 

Author : Shailendra Chauhan
Posted On : 30 Dec 2012

Generics provides the type safe code with re-usability like as algorithm. In algorithms such as sorting, searching, comparing etc. you don’t specify what data type(s) the algorithm operates on. The algorithm can be operates with any types of data. In the same way Generics operate, you can provide different data type to Generics.

 

 

Author : Shailendra Chauhan
Posted On : 29 Dec 2012

In the learning phase developer are not much aware of the difference between primitive, FCL (framework class library), reference, and value types. This cause bugs and performance issues into the code. In this article, I would like to expose the different behavior of integer type.

 

 

Author : Shailendra Chauhan
Posted On : 29 Dec 2012

Type Casting is the mechanism to convert one data type to another. While type casting of one data type to another, we get exception if the previous one data type is not compatible with the new data type. To avoid this exception, we have IS and AS operator in C# for safe type casting. Let's understand how to use both of them.

 

 

Author : Shailendra Chauhan
Posted On : 28 Dec 2012

The Hypertext Transfer Protocol (HTTP) is a communication protocol that is designed to enable request-response between clients and servers. Here, a web browser is the client and an application on a computer that hosts a web site is the server

 

 

Author : Shailendra Chauhan
Posted On : 28 Dec 2012

In ASP.Net Technology Both "Server" and "Response" are objects of ASP.Net. Server.Transfer and Response.Redirect both are used to transfer a user from one page to another. But there is some remarkable difference between both the object.

 

 

Author : Shailendra Chauhan
Posted On : 20 Dec 2012

This article will demonstrate, how to check whether checkbox is checked or not in Asp.Net MVC4 Razor application using custom server-side and client-side validation.

 

 

Author : Shailendra Chauhan
Posted On : 19 Dec 2012

This article will demonstrate, how to make and validate cascading dropdown list with in Asp.Net MVC4 Razor application using custom server-side and client-side validation. In this article, you will learn how set selected value with in Dropdown list in MVC Razor.

 

 

Author : Shailendra Chauhan
Posted On : 19 Dec 2012

The data type in C defines the amount of storage allocated to variables ,the values that they can accept ,and the operation that can be performed on variables.

 

 

Author : Shailendra Chauhan
Posted On : 15 Dec 2012

MVC3 & MVC4 supports unobtrusive client-side validation. In which validation rules are defined using attributes added to the generated HTML elements. These rules are interpreted by the included JavaScript library and uses the attribute values to configure the jQuery Validation library which does the actual validation work.

 

 

Author : Shailendra Chauhan
Posted On : 15 Dec 2012

View Engine is responsible for rendering the view into html form to the browser. By default, Asp.net MVC support Web Form(APSX) and Razor View Engine. There are many third party view engines (like Spark, Nhaml etc.) that are also available for Asp.net MVC. Now, Asp.net MVC is open source and can work with other third party view engines like Spark, Nhaml.

 

 

Author : Shailendra Chauhan
Posted On : 30 Nov 2012

Server side validations are required for ensuring that the received data is correct and valid. If the received data is valid then we do the further processing with the data. Server side validations are very important before playing with sensitive information of a user.

 

 

Author : Shailendra Chauhan
Posted On : 28 Nov 2012

Playing with keyboard shortcuts is very interesting and reduce the head-ache of using mouse again and again while programming with visual studio IDE. Actually, keyboard shortcuts also enhance your productivity and make your programming life easy and convenient. So, I decided to share a list of top 10 visual studio keyboard shortcuts that's are amazing and very helpful.

 

 

Author : Shailendra Chauhan
Posted On : 24 Nov 2012

In programming, we have many naming conventions like camelCase, PascalCase, under_scores etc. But each and every organization has its own naming conventions. In this article, I would like to share some common and useful naming conventions and standards that you should use while programming with SQL Server.

 

 

 
 
SUBSCRIBE TO OUR YOUTUBE CHANNEL
 
 
 
LIKE US ON FACEBOOK
 
+