How To Configure and Use the Logging Application Block

by praveen 1/4/2009 2:28:05 PM
I recently downloaded the Enterprise Library 4.1 released in October 2008. I guess the enterprise library has done a lot of improvements from the 3.x version to the current 4.x that's available and not just making it work with .NET Framework 3.5 and integration with WCF. I downloaded the library an... [More]


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

.NET | C# | Microsoft | Tips and Tricks | Enterprise Library

Explaining Delegates in C# - Part 2 (Events)

by rahul 12/16/2008 4:21:39 PM
In my previous post, I spoke about a few very basic and simple reasons of using delegates - primarily callback. In this post, I'll talk about creating Events using delegates. I have tried to annotate the class with comments so that it is easy to comprehend. But IMHO, the best way to figure out what'... [More]


Currently rated 2.5 by 2 people

  • Currently 2.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

.NET | C#

Explaining Delegates in C# - Part 1 (Callback and Multicast delegates)

by rahul 12/15/2008 3:42:09 AM
I hear a lot of confusion around Delegates in C#, and today I am going to give it shot of explaining the stuff with easy to understand examples. First things first... I will consciously try NOT to use any technical jargon to explain this concept. So here we go, without giving any technical explanati... [More]


Currently rated 4.3 by 4 people

  • Currently 4.25/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

.NET | C#

DYK #3 - How can you find out if a method/class/field was annotated with any Attributes without looking at the code?

by rahul 12/11/2008 5:34:00 PM
Well... first of all, open ILDASM and drag/drop your EXE.   The application is called Attributes, and contains an annotated class, some annotated methods and fields. Notice the .custom instance void Attributes.xxxxxxxxx highlighted above. This tells you that the class is annotated. Now, how w... [More]


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

.NET | Did you know | Reflection

Partition + Data recovery nightmare (Error C10000B6) - Thank God it is over!!!

by rahul 12/9/2008 3:21:15 PM
It all started last evening when I turned on my PC. I used to have a lot of partitions (Total 9) in my 2 160 GB HDD. Today when I started my PC, it showed me only 6 drives. The other HDD was present and Windows could recognize the HARD DISK. The problem was that although the Disk Management utility ... [More]


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Miscellany | Troubleshooting

You can now win with live Search - (Microsoft Initiative)

by rahul 12/7/2008 12:58:28 PM
I was pleasantly surprised to see this web-site today. http://www.winwithsearch.com/ This is an initiative by Microsoft to promote Live search. Check it out and enjoy. Cheers, RahulQuote of the day: The petty economies of the rich are just as amazing as the silly extravagances of the poor. - Wil... [More]


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Microsoft | Miscellany

DYK #2 - Sharepoint DSN is stored in registry

by rahul 12/2/2008 11:09:44 PM
Office Server stores its DSN at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\configdb\DSN I went ahead and tried connecting to DDLAB\Microsoft##SSEE but got an error message... TITLE: Connect to Server------------------------------ Cannot connect to DDLAB\... [More]


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Did you know | Sharepoint | Troubleshooting

DYK #1 - PSConfigUI default behavior

by rahul 12/1/2008 3:56:36 PM
In SharePoint, when you run the Post Setup configuration tool, you might have noticed that it works differently for Single server scenario vs. Farm scenario. How does the PSConfigUI decide the steps that needs to be taken? The answer is pretty simple, Registry Keys. The PSConfigUI reads the followin... [More]


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Did you know | Sharepoint

Having your custom ASPX page in an ASP.NET compiled Website

by praveen 11/14/2008 4:37:11 PM
  When you publish an ASP.NET website using Visual Studio it will give you a pre-compiled site. This process of pre-compilation does various actions on the ASPX pages. Files are treated differently. There are various reasons why you would want to pre-compile your ASP.NET site. If you need more ... [More]


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

ASP.NET | Tips and Tricks

Getting details about all SQL databases with one query

by rahul 11/11/2008 6:11:39 AM
Scenario: You have a SQL Server, and plenty of databases. Time progresses, and you started using another Disk OR Partition. Let's say you want to know how much space is being taken by all the Databases put together. OR better still, you want to get the details of all the Databases at one shot and no... [More]


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Tips and Tricks | SQL

Calendar

<<  January 2009  >>
MoTuWeThFrSaSu
2930311234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway. We try our best to write good code, but none of the code here is tested on Production boxes. Feel free to use the code, BUT test it before you do so (in simple words... use it at your own risk)

© Copyright 2009

Sign in