http://pranayamr.myopenid.com/
Name: http://pranayamr.myopenid.com/
Score: 465.06
Last Seen: 90 days, 12 hours, 13 minutes ago
Member Since: 27 January, 2011
DotNetShoutout
atom rss
14
Shouts

Tuple Type in C

published 83 days, 4 hours, 14 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 90 days, 12 hours, 13 minutes ago
Thursday, March 28, 2013 11:19:52 AM GMT Thursday, March 21, 2013 3:20:10 AM GMT
Tuple is new class type added in C#4.0. Tuple type allows to create data structure which is consist of specific type and specific number of elements. In the following post its about basic of Tuple type, how and where to use this new type in your code. (more)
category: How To | clicked: 38 | comment | | source: pranayamr.blogspot.ca
tags:
10
Shouts

Object to XML using LINQ or XmlSerializer

published 89 days, 6 hours, 11 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 96 days, 19 hours, 20 minutes ago
Friday, March 22, 2013 9:23:00 AM GMT Thursday, March 14, 2013 8:13:50 PM GMT
In Following post I am going show you how easily you can convert you object in the XML string, because sometime there is need of pass object and XML from one function to another and also convert XML string back to object. But As title suggest here I just going to discuss the conversion of object to XML string. (more)
category: How To | clicked: 37 | comment | | source: pranayamr.blogspot.ca
tags:
6
Shouts

CSS Selector

published 112 days, 3 hours, 10 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 118 days, 20 hours, 56 minutes ago
Wednesday, February 27, 2013 12:23:10 PM GMT Wednesday, February 20, 2013 6:37:33 PM GMT
In this post is about CSS selector and how it woks. Following is explanation of most of the selector that is used in CSS. In the following first is css example and than html code on which it will work, so to try by yourself create html page and put the css as well as related Html and see the result. In most of the select I provided demo link where you can visit and see the result. (more)
category: How To | clicked: 13 | comment | | source: pranayamr.blogspot.ca
tags:
7
Shouts

DistinctBy in Linq (Find Distinct object by Property)

published 112 days, 3 hours, 10 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 120 days, 13 hours, 34 minutes ago
Wednesday, February 27, 2013 12:23:10 PM GMT Tuesday, February 19, 2013 1:59:34 AM GMT
In this post I am going to discuss about how to get distinct object using property of it from collection. Here I am going to show three different way to achieve it easily. In this post I am going to discuss about extension method that can do task more than the current Distinct method available in .Net framework. (more)
category: How To | clicked: 26 | comment | | source: pranayamr.blogspot.ca
tags:
4
Shouts

DateTime is immutable

published 138 days, 22 hours, 10 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 145 days, 14 hours, 33 minutes ago
Thursday, January 31, 2013 5:23:10 PM GMT Friday, January 25, 2013 1:00:37 AM GMT
In this post I am going to discuss about the DateTime object and how its immutable. But before I start its better to clear "What is immutable object in OOP" and "What is mutable object in OOP". (more)
category: How To | clicked: 16 | comment | | source: pranayamr.blogspot.ca
tags:
5
Shouts

Extending Enum to return attached string

published 138 days, 22 hours, 10 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 146 days, 20 hours, 19 minutes ago
Thursday, January 31, 2013 5:23:10 PM GMT Wednesday, January 23, 2013 7:14:18 PM GMT
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. (more)
category: How To | clicked: 32 | comment | | source: pranayamr.blogspot.ca
tags:
6
Shouts

Count() and Count property

published 139 days, 6 hours, 14 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 147 days, 19 hours, 50 minutes ago
Thursday, January 31, 2013 9:19:39 AM GMT Tuesday, January 22, 2013 7:43:49 PM GMT
In this small post I am going to discuss about the Count property and Count() method that used to return count of number of element in collection. (more)
category: How To | clicked: 39 | comment | | source: pranayamr.blogspot.ca
tags:
2
Shouts

Return Anonymous type

published 145 days, 3 hours, 42 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 152 days, 20 hours, 33 minutes ago
Friday, January 25, 2013 11:51:18 AM GMT Thursday, January 17, 2013 7:00:31 PM GMT
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. (more)
category: How To | clicked: 18 | comment | | source: pranayamr.blogspot.ca
tags:
3
Shouts

Create, Host(Self Hosting, IIS hosting) and Consume WCF servcie

published 148 days, 4 hours, 26 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 153 days, 20 hours, 42 minutes ago
Tuesday, January 22, 2013 11:07:34 AM GMT Wednesday, January 16, 2013 6:51:09 PM GMT
Windows Communication foundation API allows to build distributed architecture in such manner that once created service code can be utilize by the in-house application which using tcp/ip to communicate, web application using http protocol to communicate to web services, application using msmq. WCF Services also works with the application developed other than .net framework. (more)
category: How To | clicked: 9 | comment | | source: pranayamr.blogspot.ca
tags:
3
Shouts

Display and Format Negative Currency value

published 151 days, 21 hours, 59 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 155 days, 20 hours, 26 minutes ago
Friday, January 18, 2013 5:34:44 PM GMT Monday, January 14, 2013 7:07:27 PM GMT
This small tip about how to show the negative currency value in your application. For Example if you have currency value like -1234 and you want to display it like -$1,234 according to you culture. (more)
category: How To | clicked: 3 | comment | | source: pranayamr.blogspot.ca
tags:
8
Shouts

Delegate and Action and Func and lamda

published 180 days, 5 hours, 27 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 181 days, 18 hours, 47 minutes ago
Friday, December 21, 2012 10:06:11 AM GMT Wednesday, December 19, 2012 8:47:01 PM GMT
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. (more)
category: How To | clicked: 28 | comment | | source: pranayamr.blogspot.ca
tags:
8
Shouts

Convert DateTime string to DateTime variable

published 180 days, 5 hours, 27 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 188 days, 13 hours, 49 minutes ago
Friday, December 21, 2012 10:06:11 AM GMT Thursday, December 13, 2012 1:44:46 AM GMT
In this post I am going to discuss about Conversion of String data in to DateTime. (more)
category: How To | clicked: 55 | comment | | source: pranayamr.blogspot.ca
tags:
5
Shouts

Assign ToolTip to dynamically created colum of silverlight Gridview and How to create style for element runtime

published 180 days, 5 hours, 27 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 189 days, 18 hours, 28 minutes ago
Friday, December 21, 2012 10:06:11 AM GMT Tuesday, December 11, 2012 9:05:55 PM GMT
In this post I am going to discuss about displaying tooptip for autogenerated columns of toolkit silverlight and telerik silverlight gridcongtrol. Also goint to discuss about how to create style dynamically for the silverlight control. (more)
category: How To | clicked: 6 | comment | | source: pranayamr.blogspot.ca
tags:
4
Shouts

GMind Solution: Return Anonymous type

published 187 days, 5 hours, 50 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 195 days, 20 hours, 21 minutes ago
Friday, December 14, 2012 9:43:24 AM GMT Wednesday, December 05, 2012 7:12:08 PM GMT
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. (more)
category: How To | clicked: 18 | comment | | source: pranayamr.blogspot.com
tags:
3
Shouts

Read Xml with Descendants Method (XName)

published 194 days, 1 hour, 12 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 202 days, 20 hours, 51 minutes ago
Friday, December 07, 2012 2:21:38 PM GMT Wednesday, November 28, 2012 6:43:04 PM GMT
This post is about understanding Descendants and avoid misconception with this method. Recently I read one question on StackOverFlow about reading xml using Linq To Xml to get node values. In that developer made use of Descendants Method to get the child node values. (more)
category: How To | clicked: 10 | comment | | source: pranayamr.blogspot.ca
tags:
3
Shouts

Linq Query to compare only Date part of DateTime

published 197 days, 23 hours, 28 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 204 days, 12 hours, 22 minutes ago
Monday, December 03, 2012 4:06:01 PM GMT Tuesday, November 27, 2012 3:11:49 AM GMT
In this post I am going to discuss about comparing the date part of the datetime in linq query. In linq query its easy to perform datetime comparison how to compare only date not time part of datetime filed of your entity. (more)
category: How To | clicked: 14 | comment | | source: pranayamr.blogspot.ca
tags:
2
Shouts

SqlMethod LIKE

posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 680 days, 22 hours, 35 minutes ago
Monday, August 08, 2011 4:58:21 PM GMT
In this post I am going to discuss about the special method available in .NET framework which allows to perform the like operation as we do in the t-sql to when searching data with string. In sql to search string data query is --Searching string contains abc i.e prabcfg, abcpr Select * from table name where columnname like '%abc%' --Searching string starts with abc i.e abcpr, abcrana Select * from table name where columnname like 'abc%' --Searching string ends with abc i.e prabc, ranaabc Select * ... (more)
category: How To | clicked: 2 | comment | | source: pranayamr.blogspot.com
tags: Linq To SQL, C#, Linq
3
Shouts

Generate thousand of request

published 684 days, 19 hours, 10 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 686 days, 22 hours, 40 minutes ago
Thursday, August 04, 2011 8:23:15 PM GMT Tuesday, August 02, 2011 4:53:25 PM GMT
Lastly I was working on the project where I have to designed web page which is exposing some set of the functions and which is get consume by some external application like java and flex. It's worked fine and providing the output I want. But now I want to perform the load test, so for that I want to generate thousand of request which consume the page and show me how it works. But the problem is how to generate the request because I don't have that many people who can make request at given time. ... (more)
category: How To | clicked: 23 | 3 comments | | source: pranayamr.blogspot.com
tags: C#
3
Shouts

Difference between Object, Dynamic and Var

posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 690 days, 19 hours, 53 minutes ago
Friday, July 29, 2011 7:40:52 PM GMT
In this post I am going to write the points about the three type of the variable Object, Var and Dynamic. Most of the developer not able to get what is difference between this three kind of variable. ObjectDynamicVarCan able to store any kind of value, because object is the base class of all type in .net framework.Can able to store any type of the variable, similar to old VB language variable.Can able to store any type of value but it require to initialize at the time of declaration. Compiler has lit... (more)
category: How To | clicked: 5 | comment | | source: pranayamr.blogspot.com
tags: C#
2
Shouts

Handle Exception Carefully

published 697 days, 7 hours, 20 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 698 days, 10 hours, 57 minutes ago
Saturday, July 23, 2011 8:13:37 AM GMT Friday, July 22, 2011 4:36:45 AM GMT
Handle Exception carefully means I am not going to discuss some rocket science about exception handling but I am going to discuss not to shadow the exception in your program. Not going to discuss more I am starting my example class Program { static void Main(string[] args) { try { Program p = new Program(); p.MethodA(); } catch (Exception ex) { Console.WriteLine(ex.Message); ... (more)
category: Architecture | clicked: 14 | comment | | source: pranayamr.blogspot.com
tags: Exception Handling, C#
Previous 1 2 3 Next