|
Parallel task in C# 4.0
|
|
In today’s computing world is all about Parallel processing. You have multicore CPU where you have different core doing different work parallel or its doing same task parallel. For example I am having 4-core CPU as follows. So the code that I write should take care of this.
|
|
Posted on :
04 Jan 2013
by
Jalpesh Vadgama
| Views :
655
|
|
Article
|
|
Lazy in C# 4.0
|
|
Before C# 4.0 there was no on demand initialization by default. So at the time of declaration we need to create a value or object will be null or we have to create on demand initialization via coding.. But with C# 4.0 we now have lazy class. As per MSDN it support lazy initialization so it means if we use lazy class then it will initialize the object at the time of demand.
|
|
Posted on :
04 Jan 2013
by
Jalpesh Vadgama
| Views :
626
|
|
Article
|
|
Convert DateTime string to DateTime variable
|
|
In this post I am going to discuss about Conversion of String data in to DateTime.
|
|
Posted on :
15 Dec 2012
by
Pranay Rana
| Views :
668
|
|
Article
|
|
Return Anonymous type
|
|
In this post I am going to discuss about returning the anonymous type and how to handle in code. Following is list of fact about anonymous type.
|
|
Posted on :
11 Oct 2012
by
Pranay Rana
| Views :
1077
|
|
Article
|
|
Assign ToolTip to dynamically created colum of silverlight Gridview
|
|
Assign ToolTip to dynamically created colum of silverlight Gridview and How to create style for element runtime
|
|
Posted on :
13 Sep 2012
by
Pranay Rana
| Views :
1055
|
|
Article
|
|
Responsive WCF service With ICallbackEventHandler Interface
|
|
In this post I am going to discuss about the development of the WCF(duplex) callback service which replay back to consumer i.e client of service and about ICallbackEventHandler Interface implementation which provide response to the user on screen.
|
|
Posted on :
05 Sep 2012
by
Pranay Rana
| Views :
663
|
|
Article
|
|
Fill Combo Box from the XML
|
|
Fill Combo Box by fetching the data from XML.
|
|
Posted on :
02 Sep 2012
by
Gaurav
| Views :
1125
|
|
Article
|
|
Delegate and Action and Func and lamda
|
|
This post is about the new delegate types included in .net framework which are Action and Function. How to use this type and what is difference between this two type. Also to resolve confusion between Action, Function, Delegate and Lamda.
|
|
Posted on :
29 Aug 2012
by
Pranay Rana
| Views :
1106
|
|
Article
|
|
Call Sql Server inbuilt functions using Linq
|
|
The post is about the the new class introduce in .net framwork for support of built in SQL-Server function. The SqlFunctions class allows to call SQL-Server function from linq queries while using EntityFramwork.
|
|
Posted on :
21 Aug 2012
by
Pranay Rana
| Views :
1457
|
|
Article
|
|
Multiple file upload with asp.net mvc and HTML5
|
|
Multiple file upload with asp.net mvc and HTML5
|
|
Posted on :
15 Aug 2012
by
Jalpesh Vadgama
| Views :
1260
|
|
Article
|
|
Enhance String type to get Converted In Given Type
|
|
Converting string into a given type with C# Convert.ChangeType method.
|
|
Posted on :
06 Aug 2012
by
Pranay Rana
| Views :
1200
|
|
Article
|
|
Extending Enum to return attached string
|
|
No of time there is requirement of getting string of Enum value to display purpose or to perform other task. So to deal with this requirement I wrote one extension function that get the string attached with the enum value.
|
|
Posted on :
30 Jul 2012
by
Pranay Rana
| Views :
1072
|
|
Article
|
|
How to define Classes in JavaScript
|
|
In this article we will see different ways of defining and instantiating an object.
|
|
Posted on :
19 Jul 2012
by
Sumit Gupta
| Views :
1369
|
|
Article
|
|
Model binding with ASP.NET 4.5 and Visual Studio 2012
|
|
In earlier version of the asp.net we have to bind controls with data source control like SQL Data source, Entity Data Source, Linq Data Source if we want to bind our server controls declaratively. Some developers prefer to write whole data access logic and then bind the data source with databind method. Model binding is something similar to asp.net mvc binding.
|
|
Posted on :
17 Jul 2012
by
Jalpesh Vadgama
| Views :
869
|
|
Article
|
|
Calling Server Side function from Client Side Script
|
|
The post is about how you can call your code behind file function i.e server side written function from your client side code i.e using jQuery.
|
|
Posted on :
12 Jul 2012
by
Pranay Rana
| Views :
938
|
|
Article
|
|
Multiple file upload with asp.net 4.5 and Visual Studio 2012
|
|
In earlier version of ASP.NET there is no way to upload multiple files at same time. We need to use third party control or we need to create custom control for that. But with asp.net 4.5 now its possible to upload multiple file with file upload control.
|
|
Posted on :
12 Jul 2012
by
Jalpesh Vadgama
| Views :
991
|
|
Article
|
|
Dividing web.config into multiple files in asp.net
|
|
When you are having different people working on one project remotely you will get some problem with web.config, as everybody was having different version of web.config. So at that time once you check in your web.config with your latest changes the other people have to get latest that web.config and made some specific changes as per their local environment. Most of people who have worked things from remotely has faced that problem. I think most common example would be connection string and app settings changes.
|
|
Posted on :
08 Jul 2012
by
Jalpesh Vadgama
| Views :
1031
|
|
Article
|
|
Format Number To Display
|
|
Number of time the end user / client require to display numeric data in different format. In this post I am going to discuss about the various type of the custom format that provided by C#.net to achieve requirement.
Here I am going to discuss each format one by one
|
|
Posted on :
07 Jul 2012
by
Pranay Rana
| Views :
947
|
|
Article
|
|
C# State machine - Yield
|
|
Yield keyword introduced in C#2.0. Yield keyword allow to create state machine and allow to iterate through the collection of objects one by one
|
|
Posted on :
04 Jul 2012
by
Pranay Rana
| Views :
1490
|
|
Article
|
|
ASP.NET Web API Basics
|
|
ASP.NET Web API is a framework for building web API on the top of .NET framework. It’s a framework for building and consuming web services that can be use at broad range of clients like browsers,tablets phones etc. You can expose JSON or XML whatever you want to use.
|
|
Posted on :
21 Jun 2012
by
Jalpesh Vadgama
| Views :
461
|
|
Article
|
|
Tuple in C# 4.0
|
|
C# 4.0 language includes a new feature called Tuple. Tuple provides us a way of grouping elements of different data type. That enables us to use it a lots places at practical world like we can store a coordinates of graphs etc.
|
|
Posted on :
17 May 2012
by
Jalpesh Vadgama
| Views :
663
|
|
Article
|
|
Difference between SkipWhile and Where in linq
|
|
Before some time I have written a blog post about the SkipWhile operator and a reader of my blog asked me that we can do the same thing with Where also but there is a difference between this two. So In this post I am going to explain you difference between those two.
|
|
Posted on :
17 May 2012
by
Jalpesh Vadgama
| Views :
2202
|
|
Article
|
|
Extension Methods in C#
|
|
Method allow programmer to "add" methods to existing types without creating a new derived type, recompiling, or by modifying the original type. Methods are static methods they are called as if they were instance methods on the extended type.
|
|
Posted on :
16 May 2012
by
Pranay Rana
| Views :
590
|
|
Article
|
|
Get the Way of Reflection
|
|
What is Reflection? How we use Reflection? What are the advantages of using Reflection? Get the way of saving memory by using Reflection.
|
|
Posted on :
09 May 2012
by
Rahul Saxena
| Views :
493
|
|
Article
|
|
How to upload file in ASP.NET MVC3
|
|
If you are a web developer you often need to upload file on the web server or database. In this post I am going explain how we can upload file in ASP.NET MVC 3 with razor syntax.
|
|
Posted on :
06 May 2012
by
Jalpesh Vadgama
| Views :
1273
|
|
Article
|
|
Generic Code of Validating Fields with Jquery
|
|
Generic Code of Validating Fields with Jquery
|
|
Posted on :
23 Apr 2012
by
Pranay Rana
| Views :
640
|
|
Article
|
|
New solution explorer feature in visual studio11 developer preview
|
|
New solution explorer feature in visual studio11 developer preview
|
|
Posted on :
18 Apr 2012
by
Jalpesh Vadgama
| Views :
598
|
|
Article
|
|
Using TryParse Methods in C#
|
|
TryParse methods which is provided by the .net framewok is one of the important method when you are converting string data into perticular primary datatype and wants to verify that it is convertable in given type or not.
|
|
Posted on :
12 Apr 2012
by
Pranay Rana
| Views :
571
|
|
Article
|
|
C# generics with primary datatype
|
|
Generic is feature which is useful when you have set of types which is going to perform some set of the functions which are same but the output differ from one type to another type.
|
|
Posted on :
11 Apr 2012
by
Pranay Rana
| Views :
636
|
|
Article
|
|
Increase Linq query performance by Compling it
|
|
In this article I will show how you can increase Linq query performance by Compling it
|
|
Posted on :
29 Mar 2012
by
Pranay Rana
| Views :
716
|
|
Article
|