Assembly redirection in .NET

by rahul 11/5/2011 5:30:16 PM
In this blog post, I'll discuss some of the techniques that you can use for loading the assemblies in .NET and troubleshoot the loading process in case you get stuck. Basically, you will learn… How to rename an assembly and still be able to load it How to redirect to a specific version How to use two different versions of the DLL in the same application How to use fusion log and troubleshoot while doing the above exercise Without further ado, and scaring you with the mumbo jum... [More]


Did you know - Visual Studio 2010 Feature Pack 2

by rahul 9/8/2011 9:35:31 AM
The extensibility of Visual Studio keeps surprising me. Did you know that there is an extension called Visual Studio 2010 Feature Pack 2? Well, I discovered it not very long ago. Here is how you can get it, and others…     Select Tools -> Extension Manager…     Select Online Gallery and search for feature pack.     If you are an MSDN Subscriber, you should be directed to a page from where you can download it.  ... [More]


Get rid of (use Blank ringtone for) Junk calls in Windows Phone 7 or iPhone

by rahul 8/18/2011 12:02:00 AM
You can reject the calls with one touch on smart phones, but if you live in a country where you keep getting pesky marketing calls throughout the day, here is what may help you. If you get those Junk calls from a specific number or numbers, save it as the name Junk (or anything you prefer). Once saved, assign them BLANK ringtones. So the phone would ring, but not ring, hence it is automatically ignored.     Download the following blank.zip file.   ... [More]


IIS 7 / IIS 7.5 Security Best Practices (nothing official about it)

by vivek 7/4/2011 10:46:35 AM
We have IIS 7 released for quite some time now and we haven’t seen any best practices document released by Microsoft IIS 7 team. IIS 6 have good document in place and even though IIS 7 is secure by default, we need some document to keep us in-check. Here are few I prepared for myself: Installing IIS 7 / 7.5 Install IIS 7 / 7.5 with minimum required components. If a feature is not required e.g. Basic Authentication or Directory Browsing, do not install it. If you are using scripts to... [More]


Winsxs folder space in Windows 7

by rahul 4/10/2011 11:30:17 PM
I wasn't particularly glad when I found that my C:\Windows\winsxs started taking more than 10 GB of hard disk space. Windows 7 creates those files for a reason and I wasn't able to find the steps to clear the folder which would get rid of some of the junk [just in case]. Thanks to my friend Satya, who pointed me to the right post. Just now claimed 4 GB space on my C Drive, and I don't feel bad about that . dism /online /cleanup-image /spsuperseded Until next time, Rahul   Quote of ... [More]


ETag and IIS demystified

by rahul 3/17/2011 6:17:29 PM
Let me quote from Wikipedia straight away… <snip> An ETag, or entity tag, is part of HTTP, the protocol for the World Wide Web. It is one of several mechanisms that HTTP provides for cache validation, and which allows a client to make conditional requests. This allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed….. An ETag is an opaque identifier assigned by a web server to a specific version of a... [More]


How to view only Unread Mails in Microsoft Outlook 2010

by rahul 2/6/2011 7:37:17 PM
In my humble opinion, MS Outlook 2010 should have provided a default way of viewing ONLY Unread Mails. It is a lot easier to change the view of your folders and take a look at only Unread mails. Here is how you can do it [in case you aren't aware]…       Click on View -> Change View -> Manage Views…     Click on New… button     Name it Unread and ensure Table is selected. Also ensure All Mails and Post folders is selec... [More]


Did you know - There is a method called Lorem that gives you a bunch of text

by rahul 7/17/2010 2:05:33 PM
Today, while working with one of my colleagues, Chetan… I found a pretty neat trick to get some junk text in MS Word or Outlook. Just type something like =Lorem(5, 2) and hit enter. Basically, you are telling to create 5 paragraphs of 2 lines each and so on… I just tried with =Lorem(3, 10) and I got the following. Not bad! Having it in English would have been better I guess Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pul... [More]


Did you know - You can use ItemTemplate to create bindings with visual representation

by rahul 7/9/2010 5:22:00 PM
In this post find out how easily you can use databinding to create a listbox which gives visual data representation. First up, create a class [Student.cs] like as follows… Notice the Students class below is an ObservableCollection.  using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.W... [More]


Did you know - There is an icon called Outline in VS2010 that helps in selecting control

by Rahul 7/7/2010 5:52:00 PM
This is another cool thing in VS2010 which goes unnoticed. In any Silverlight project, drag and drop a StackPanel. With the StackPanel selected, Double-Click Button control multiple times, to get 4 different button controls. Something like this… You can add a lot of controls in different layers (like a Tab control). Let's say you want to select all button controls and give them an equal size. How do you do it?Did you know that there is a an icon called Outline, that looks like this&he... [More]


Rahul Soni

Rahul Soni  Twitter

 LinkedIn

 Facebook

 Email me



Vivek Kumbhar

Vivek Kumbhar  Twitter

 LinkedIn

 Facebook

 Email me


Stack Exchange

profile for Vivek at Server Fault, Q&A for system administrators and IT professionals

profile for Rahul Soni at Stack Overflow, Q&A for professional and enthusiast programmers

Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar

All Items
Sign in

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2012, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0