Archive for the ‘General’ Category

How do you do Impersonation in .NET?

September 30, 2016 Leave a comment

WindowsIdentity.Impersonate Method



Categories: General

Nearbuy Discounted Coupons

August 13, 2016 Leave a comment


We don’t want to span user with lot of unnecessary information 🙂 but save their time by displaying active Nearbuy discounted coupons & Nearbuy Promo code.

Support us by buying from following Links.

Following coupon(s) will give you 10% discount(Only One time)



Following coupon(s) will give you 5% discount


Hope it will save your time & money.
Support us by buying from above Links.
Enjoy saving!


Control cholesterol naturally

October 8, 2015 Leave a comment

Food you can include in daily diet to control cholesterol naturally:

• Dark chocolate
• Avocados, avocado oil
• Red wine
• Green Tea
• almonds walnuts pista
• barley, oatmeal
• banana or apple
• fish (bake or grill)
• Olive oil
• soy milk, tofu
• bean, lentils
• pear, apple, oranges, berries
• eggplant, bhindi
• drink 2-3 ltrs of water (warm)


Categories: Food, fun, General, tricks

ASP.NET HttpWebRequest POST returns “The remote server returned an error: (405) Method Not Allowed.”

October 5, 2015 Leave a comment

I was facing issue in redirection in ASP.NET from SSO(Single Sign On) :

The IIS server produces the error for;
… but is happy with;


Categories: General

Find a Windows Process Name by Process ID

September 12, 2015 Leave a comment

I come across an issue where my Apache process id default port was used by another process with ID 3432.

If you need to find the process name in Windows :

1. Go to Task manager
2. Click “Process” tab
3. Click Menu “View” and Select “Select Column” option
2. Select the “PID” option.

If you don’t know even the process ID which is conflicting your current process, then
1. Go to command prompt
2. type command: netstat -ano => It will list all all listening portswith the process ids.

Hope it may help few!

Categories: General

Cast One List to another List ASP.NET C#

June 10, 2015 Leave a comment

If We need to cast List X to List Y, We can use following syntax:

List listOfY = listOfX.Cast().ToList()

Cheap and efficient Router

January 6, 2015 Leave a comment
Categories: General