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
 
Posted By : Shailendra Chauhan, 04 Apr 2013
Updated On : 25 Jul 2014

Web API is a framework for building HTTP services that can be consumed by a broad range of clients including browsers, mobiles, iphone and tablets. It is very similar to ASP.NET MVC since it contains the MVC features such as routing, controllers, action results, filter, model binders, IOC container or dependency injection. But it is not a part of the MVC Framework.

 

 

Posted By : Shailendra Chauhan, 02 Apr 2013
Updated On : 19 Jun 2013

As you know Polymorphism is the concepts of OOPS which includes method overriding and method overloading. Virtual and Override keyword are used for method overriding and new keyword is used for method hiding. Let's have look on these keywords in C# and try to understand each importance.

 

 

Posted By : Shailendra Chauhan, 01 Apr 2013
Updated On : 01 Apr 2013

In previous article, I have explained Knockout CRUD Operations using MVC4. In this article, I will demonstrate, how to use Knockout with Web API for CRUD (Create, Read, Update, Delete) Operations.

 

 

Posted By : Shailendra Chauhan, 01 Apr 2013
Updated On : 08 Jan 2014

As you know Knockout is a javascript library that allow you to bind html elements to any data model. You can also use Knockout for Insert, Update, Delete and Retrieve operations. This article will demonstrate, how to use Knockout with MVC4 for CRUD (Create, Read, Update, Delete) Operations.

 

 

Posted By : Shailendra Chauhan, 24 Mar 2013
Updated On : 24 Mar 2013

Basically, binding context is an object that holds data, which is referenced from your view-model bindings. While applying bindings, Knockout automatically creates and manages a hierarchy of binding contexts. Let's have a look on different types of binding context with example.

 

 

Posted By : Shailendra Chauhan, 23 Mar 2013
Updated On : 15 Sep 2014

Working with windows phone emulator became easy and interactive, if you know your PC keyboard shortcuts for emulator. By default, your PC keyboard is not enabled for working with phone emulator and you have to operate it by using the emulator control keys only.

 

 

Posted By : Shailendra Chauhan, 16 Mar 2013
Updated On : 17 Sep 2013

You can learn about Knockout by visiting Knockout website. There is a pretty good guide about Knockout. In this article, I am going to share a handy and a really concise quick reference about the binding with syntax in Knockout.

 

 

Posted By : Shailendra Chauhan, 16 Mar 2013
Updated On : 24 Jun 2014

Knockout.js is a javascript library that allow us to bind html elements against any data model. It provides a simple two-way data binding mechanism between your data model and UI means any changes to data model are automatically reflected in the DOM(UI) and any changes to the DOM are automatically reflected to the data model.

 

 

Posted By : Shailendra Chauhan, 14 Mar 2013

Error handing is the main concern in any application, whether it is web application or desktop application. Usually, we catch the exception and log its details to database or text,xml file and also display a user friendly message to end user inplace of error.

 

 

Posted By : Shailendra Chauhan, 13 Mar 2013
Updated On : 10 Dec 2014

Sometimes, your required to save Html data in the database. By default Asp.Net MVC doesn't allow a user to submit html for avoiding Cross Site Scripting attack to your application. Suppose you have below form and you can submit the Html in description textarea.

 

 

Posted By : Shailendra Chauhan, 12 Mar 2013
Updated On : 24 Jun 2014

Many times, you required to show information of each transaction and also keep a Running Total and Final Total like GridView in Asp.Net. In this article, I am going to explain, how can you achieve this using SQL Query in simple and easy way.

 

 

Posted By : Shailendra Chauhan, 12 Mar 2013
Updated On : 24 Jun 2014

Sometimes, you required to fetch or modify the records based on some conditions. In this case, you may use cursor or loop for modify your records. In this situation Case expression is best alternative for Cursor/looping and also provides better performance.

 

 

Posted By : Shailendra Chauhan, 11 Mar 2013
Updated On : 25 Feb 2014

There are different ways for returning/rendering a view in MVC Razor. Many developers got confused when to use return View(), return RedirectToAction(), return Redirect() and return RedirectToRoute(). In this article, I would like to explain the difference among "return View()" and "return RedirectToAction()", "return Redirect()" and "return RedirectToRoute()".

 

 

Posted By : Shailendra Chauhan, 09 Mar 2013
Updated On : 15 Sep 2014

Most Windows Phone apps display data to user by using controls, from business object or a collection of business objects such as a list of contact numbers, news headlines, or images. These controls contain data by using data binding. In this article, I would like to share the different types of data binding for windows phone

 

 

Posted By : Shailendra Chauhan, 09 Mar 2013
Updated On : 15 Sep 2014

I am assuming that you have already installed windows phone sdk 8.0 to your system and also done Windows Phone 8 Emulator Configuration. Now let's start with basic Windows Phone App template with C# & XAML. Now create a new windows phone project with in your Visual Studio 2012 as shown below:

 

 

 
 
21 SEP
ASP.NET MVC with AngularJS Development (online)

MON-FRI 09:30 PM-11:00 PM IST

More Details
17 SEP
ASP.NET MVC with AngularJS Development (offline)

SAT,SUN 05:00 PM-06:30 PM IST

More Details
17 SEP
MEAN Stack Development (online)

MON-FRI 09:00 PM-10:30 PM IST

More Details
17 SEP
ASP.NET MVC with AngularJS Development (online)

Weekend (Sat, Sun) 03:00 PM-05:00 PM IST

More Details
17 SEP
PPC Marketing (offline)

Sat, Sun 03:00 PM-05:00 PM IST

More Details
9 SEP
ASP.NET MVC with AngularJS Development (online)

Weekdays (Mon-Fri)     07:30 AM-09:00 AM IST

3 SEP
NodeJS Development (offline)

Sat, Sun     11:00 AM-12:30 PM IST

29 AUG
NodeJS Development (online)

Mon-Fri     06:00 AM-07:30 AM IST

12 AUG
ASP.NET MVC with AngularJS Development (online)

Mon-Fri     09:30 PM-11:00 PM IST

24 JUL
ASP.NET MVC with AngularJS Development (offline)

Sat, Sun     09:30 AM-11:00 AM

11 MAY
.NET Development (offline)

Mon-Fri     9:00 AM-11:00 AM IST

BROWSE BY CATEGORY
 
SUBSCRIBE TO LATEST NEWS
 
LIKE US ON FACEBOOK
 
+