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 Apr 2013

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.

 

 

Author : Shailendra Chauhan
Posted 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.

 

 

Author : Shailendra Chauhan
Posted On : 23 Mar 2013

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.

 

 

Author : Shailendra Chauhan
Posted On : 16 Mar 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.

 

 

Author : Shailendra Chauhan
Posted On : 16 Mar 2013

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.

 

 

Author : Shailendra Chauhan
Posted On : 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.

 

 

Author : Shailendra Chauhan
Posted On : 13 Mar 2013

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.

 

 

Author : Shailendra Chauhan
Posted On : 12 Mar 2013

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.

 

 

Author : Shailendra Chauhan
Posted On : 12 Mar 2013

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.

 

 

Author : Shailendra Chauhan
Posted On : 11 Mar 2013

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()".

 

 

Author : Shailendra Chauhan
Posted On : 09 Mar 2013

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

 

 

Author : Shailendra Chauhan
Posted On : 09 Mar 2013

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:

 

 

Author : Shailendra Chauhan
Posted On : 05 Mar 2013

As you know, Windows 8 has come with new features and various types of metro apps. Obviously, it also has new keyboard shortcuts. Even with Windows 8, you can also use the keyboard shortcuts you are already using with Windows 7 and XP. Let's have look into the new and already using keyboard shortcuts that definitely help you while operating your Windows 8 machine.

 

 

Author : Shailendra Chauhan
Posted On : 03 Mar 2013

Playing with keyboard shortcuts is very interesting and reduce the head-ache of using mouse again and again while operating Windows Phone Emulator. Windows phone emulator has a list of keyboard shortcuts that is great to know.

 

 

Author : Shailendra Chauhan
Posted On : 03 Mar 2013

Windows Phone Emulator is a desktop based application that emulates a Windows Phone device. It provides you a virtual environment in which you can deploy, debug and test your Windows Phone apps without a physical device (windows phone).

 

 

 
 
24 SEP
Angular2 and Angular4 (Classroom)
08:30 AM-11:30 AM IST
23 SEP
MEAN Stack (Classroom)
8:30 Am To 11:30 Am
23 SEP
Microsoft Azure Infrastructure Solutions (Online)
08:00 PM-11:00 PM IST / 9:30 AM-12:30 PM CST
20 SEP
MEAN Stack (Online)
07:00 AM-09:00 AM IST
20 SEP
ASP.NET MVC with Angular4 (Online)
9:00PM- 11:00PM IST(+5:30GMT)
16 SEP
Angular2 and Angular4 (Online)
08:00 AM-10:00 AM IST(+5.30 GMT)
7 SEP
ASP.NET MVC with Angular4 (Online)
09:00 PM to 11:00 PM IST (+5:30 GMT)
22 AUG
ASP.NET Core with Angular4 (Online)
07:00 AM - 9:00 AM IST(+5:30 GMT)
19 AUG
MEAN Stack 2 (Online)
5:30 Pm - 7:00 PM IST (+5:30 GMT)
19 AUG
ASP.NET MVC with Angular4 (Online)
10:30 Am to 12:30 PM IST (+ 5:30 GMT)
19 AUG
NodeJS with Angular4 (Classroom)
04:00 PM to 07:00 PM IST (+5:30 GMT)
12 AUG
ASP.NET MVC with Angular4 (Classroom)
11:30 AM - 1:30 PM IST (+5:30GMT)
15 JUL
ASP.NET MVC with Angular4 (Online)
03:30 PM - 05:30 PM IST(+5.30 GMT)
LIKE US ON FACEBOOK
 
+