Developer code samples

Contributions
Requests
Favorites
Sort by:

We use both Thread.Sleep() and Task.Delay() to suspend the execution of a program for some given time. But are we actually suspending the execution? What is the difference between these two? How to abort from a Sleeping thread or from a
delaying task. Those are some of the ques
One my friends wanted to call a WCF Service from a Stored Procedure in Microsoft SQL Server 2012. So this is how you can do it.Before starting off with coding, there are some things that we all need to know and understand well.When wring functionalities such as Stored Procedures,
Have you ever come across a situation where you want to have multiple login pages with Forms Authentication.  Forms Authentication directly supports one login page, but there is a work around. Today we will see how to achieve
this.For an example let’s say you want two lo
HTML5 has introduced two mechanisms for storing structured data on the client side, similar to HTTP session cookies. HTTP cookies have some drawbacks such as limited to store 4 KB of data etc. Web storage is considered as one
of the most rising data storage methods is HT
NServiceBus is one of the widely used service bus for .NET.  

In this wiki let’s see how we can write a application where some application publishes events and another application consumes those.
Let's start off with the application by creating a blank solution named “NServic
In Windows Store Apps there are variety of ways/methods to store your application data. Examples of such mechanisms would be Web Storage, IndexedDB etc. and even SkyDrive. Today I am going to write about my favorite data storage method in developing Windows Store Apps which is “S
In this example let’s see how we can write data in a excel file into a database using a

DataSet and
SqlBulkCopy.

The concept here is fairly simple. First I am going to load data in the excel file into a

DataSet and then for each tables in the
DataSet, I am going to
This Article focuses on  how we can implement a WCF Data Service with Entity Framework Provider.

I have created an empty ASP.NET web application. Now let’s start by adding an ADO.NET Entity Data Model to the project.




In this wiki let’s see how we can access nested properties in Expression Trees. If you are new to Expression Trees, go and have a look at Writing a Very Basic Dynamic Query using Expression Trees.  There you can have a good understanding on Expression Trees basics and after rea
In this code sample, let's see how you can include Prism for Windows Runtime in your Windows Runtime app. Now you must be wondering what is Prism for Windows Runtime and
why should I use it in my application. To know why, let’s start off with an introduction to Prism for Windows
1 - 10 of 31 Items   
0 results
No sample requests were found.
No favorites have been added.