How to get the users IP Address in C#.NET?

When you search this on your favourite search engine, (Google) you will get flooded by load of different way to get the end result. This is great in a sense as you know there are thousands of people with different answers, but then that is where the problem is at. There are so many single responses to how you can get the users IP Address in C#.NET, but not one that shows you everything. Therefore I will present to you below different methods to get the users IP and how I have implemented it in a project.

How to Force clear cache

As all developers know our best friend and worst enemy is the cache. You can make all your changes and be confident they will work, then they don’t change just when you want them to. It is great that you can clear your own cache, but how can you refresh all the users cache? HereContinueContinue reading “How to Force clear cache”

Good, Bad and the Ugly Commenting

I feel that it is important to comment your code and make sure that the next developer that uses the project knows what the hell you have done. However I have seen over the time I have been developing a lot of different ways people comment, so here are some of the dos and doContinueContinue reading “Good, Bad and the Ugly Commenting”

MS Word special characters Regex

That pesky Microsoft! They have to be different and mess us developers around don’t they. Have you ever noticed that Microsoft Word’s symbols look a bit different or act a little odd? Well it’s because they are not the standard char characters. This can be a pain for Regex and other things. So how doContinueContinue reading “MS Word special characters Regex”