HomeTechnicalc#

Technical Blogs          
Why and how to create RSS feeds in C#
Posted By sarinmall on May 04, 2013     35 Views
Why and how to create RSS feeds in C#
Every user visits hundreds of websites every day. Now such user doesn’t have the time to visit the site they like every day. Such users are interested in visiting your site only when your website is updated with new articles. RSS comes as a rescue for all such visitors as it allow them to stay informed about the latest content in the sites they are interested in. Newsletter and site email also achieves this purpose but most of the visitors expect privacy and are not interested in sharing their email for weekly or daily newsletters.    Read More
Apply Multiple Order by on a list using LINQ
Posted By sarinmall on Feb 12, 2013     199 Views
Apply Multiple Order by on a list using LINQ
Normally while working on a project, I avoid the use of LINQ query and prefer to do all the grouping and ordering operation in the SQL procedure itself but recently, I came across a situation where I need to perform multiple order by operation on a list i.e. order by multiple columns. In this article, I will explain how to apply multiple order by on a list.   Read More
Calculating absolute difference between two dates
Posted By sarinmall on Jan 07, 2013     185 Views
Calculating absolute difference between two dates
Recently, While working on an application, I came across a need of showing absolute diffrence between two dates. i.e. If I have two dates 01/01/2010 12:00 and 25/12/2010 18:00 then my date diffrence should be shown as 2 yrs 11 months 23 days 22 hrs 58 mins upto the last second.    Read More
Converting Fraction into decimal
Posted By sarinmall on Dec 25, 2012     203 Views
Converting Fraction into decimal
Recently, While working on an application, I came across a need of converting fraction into decimal.Actually, I was expecting the .Net framework to automatically convert the string in the format ½ when I use the convert.ToDecimal function.    Read More
Easiest Way of logging in .Net
Posted By sarinmall on Dec 24, 2012     185 Views
Easiest Way of logging in .Net
In .net, while you develop an application, you have many ways to know how the application is functioning. You can debug through the code, insert breakpoints, write unit cases etc. But once your code is live into the production server, you cannot track your application using the above means. You must have some efficient framework to track the inconsistencies, errors and warnings your application is generating.    Read More
Get set field, Properties,events or method using reflection
Posted By sarinmall on Oct 08, 2012     180 Views
Get set field, Properties,events or  method using reflection
Some times while working on your client requirements, there is a need to set /get property/ fields where this property name or field name is stored in the string. For Ex: suppose there is a property called StudentName and this property name is stored in a string called name as   Read More
Ways of generating random password or string
Posted By sarinmall on Oct 05, 2012     164 Views
Ways of generating random password or string
In previous article, we saw how to generate unique random numbers. In this article, let us see How to generate random string or more precisely how to generate password:   Read More
Generating unique random numbers and date
Posted By sarinmall on Sep 23, 2012     170 Views
Generating unique random numbers and date
While coding, once I needed the functionality of giving a random name to the files I was generating. So, I thought of deriving some random number and appending it to the existing file name since I didn’t want the file name to be appended by some sequential number. Moreover I have also used this random class to generate random password for my website.   Read More
Commonly asked interview questions on inheritance
Posted By sarinmall on Aug 09, 2012     187 Views
Commonly asked interview questions on inheritance
Check link for details   Read More
Validations using regular expressions and commonly used regex validations
Posted By sarinmall on Jul 29, 2012     205 Views
Validations using regular expressions and commonly used regex validations
Check link for details   Read More


 1 2  


Good Thoughts
What lies behind us and what lies before us are tiny matters compared to what lies within us
-Ralph Waldo Emerson

Flag Counter
Spiritual Blogs |  Poems |  Technical Blogs |  Spiritual News |  Faq
Spiritual Poems |  General Poems |  Bhagavad Gita |  Spiritual Wallpapers |  References |  Donate
Asp.Net |  C#.Net |  Silverlight |  Sql/T-Sql |  Ajax |  Javascript |  Jquery
Bollywood Videos |  Funny Videos |  Spiritual Videos
This Website is Designed, Developed and Maintained by Sarin Mall. Copyright@Mallstuffs.com