This website was initially designed to share my personal stuffs. However,while
surfing on the net, I found many false derogatory and cheap remarks against Hinduism.
Being well versed in indian scriptures,I decided to include spiritual stuffs just
for spreading awareness. Though my articles are focussed on hinduism, there would
be no offensive or defamatory content against any religion. Respecting all gods
is the essence of hinduism. This is a non profitable website and is not affiliated
or associated with any religious organizations.
|
Home→Technical→c#
Technical Blogs
|
Why and how to create RSS feeds in C#
|
Posted By
sarinmall on
May 04, 2013 35 Views
|
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.
|
|
Apply Multiple Order by on a list using LINQ
|
Posted By
sarinmall on
Feb 12, 2013 199 Views
|
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.
|
|
Calculating absolute difference between two dates
|
Posted By
sarinmall on
Jan 07, 2013 185 Views
|
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.
|
|
Converting Fraction into decimal
|
Posted By
sarinmall on
Dec 25, 2012 203 Views
|
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.
|
|
Easiest Way of logging in .Net
|
Posted By
sarinmall on
Dec 24, 2012 185 Views
|
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.
|
|
Get set field, Properties,events or method using reflection
|
Posted By
sarinmall on
Oct 08, 2012 180 Views
|
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
|
|
Generating unique random numbers and date
|
Posted By
sarinmall on
Sep 23, 2012 170 Views
|
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.
|
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
|