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.
Tag Archives: .NET
Kentico the mule of development
Over my time of working with such a CMS called Kentico I have found some pro’s and con’s of this mode of working, so I wanted to share my thoughts of if it is a favourable idea to be working on these CMS’
What if the worst happens?
I see a lot of companies rush, rush, rush and push, push, push to get things in fast. They want to deliver new features every second if they could. However this has big risk and future problems they keep coming. I always say Prepare for the Worst and Hope for the Best!
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”
How to Self Authenticate in .NET MVC C#
When you build your website application and you have a sign in section, most people use their own cookies to store the user information to validate the users is logged in, but with .NET MVC you can use the built in authentication to sign in, sign out and control there role.
Visual Studio Is Everywhere Now
Microsoft has finally listened to the public and release Visual Studio for all OS platforms YAY. Oh but it isn’t really the full Visual Studio’s you know and love. I have played with the new Visual Studio Code and now here I what I think.