Make Encapsulation Easy with dotNetTips.Utility

Encapsulation is the first pillar of Object Oriented Programming (OOP), yet most code that I see does not implement encapsulation correctly or not all. Like I say in many of my conference sessions "If you do not implement encapsulation, you aren't doing OOP!" I also say "Bad data in, bad data out!". Several years ago, … Continue reading Make Encapsulation Easy with dotNetTips.Utility

Advertisements

dotNetDave Rocks Silicon Valley Code Camp 2017!

On October 7th and 8th of this year, I will be rocking the geeks at the Silicon Valley Code Camp again! This is my favorite Code Camp to go to each year. If you haven't been, you need to experience it at least once. I will be doing the session below. I hope to see … Continue reading dotNetDave Rocks Silicon Valley Code Camp 2017!

Stop Reinventing The Wheel

When developing software, what does the company you work for usually say are the priorities? Well most will say speed to market for the lowest cost possible and meet the consumer needs. Most of this article will discuss the first two reason even though it also affects the last one too. So, my question to … Continue reading Stop Reinventing The Wheel

The dotNetDave “Rage for Code” T-Shirt Contest

I want to see some of the geek graphic arts talents to design a new Rock The World tour t-shirt for 2018. I will wear the winning design at every event I speak at in 2018, including India! Here is the info on the contest. The Winner Will Receive... 2018 Rage for Code t-shirt. Your … Continue reading The dotNetDave “Rage for Code” T-Shirt Contest

There Isn’t A Shortcut To Success

Developers have asked recently how can they quickly be successful as a software engineer, gain more customers or release the next killer app. Well I am here to let you know that there is not a shortcut to success in the software business. Real success comes with a lot of hard work and a lot … Continue reading There Isn’t A Shortcut To Success

Retrieve The Status of a Windows Service

Here is an easy way to get the status of a Windows service. Public Function ServiceStatus(serviceName As String) As  ServiceControllerStatus Dim service As ServiceController = LoadService(serviceName) If service IsNot Nothing Then Return service.Status Else Throw New InvalidOperationException("Service not  found.") End If End Function Private Function LoadService(serviceName As String) As ServiceController      Return ServiceController.GetServices().Where(Function(p) p.ServiceName = serviceName).FirstOrDefault() End Function Here are the values for service status: ContinuePending Paused PausePending Running StartPending Stopped StopPending This and lost  more code can be found in the … Continue reading Retrieve The Status of a Windows Service

New Software Trend… Quietly Removing Features

I am not sure what is going on with new releases of software in the last few years, but many companies like Microsoft, Apple and more are doing this more and more. As a user, this is frustrating. As a software engineer, it is making me scratch my head in wonderment and increases my frustrating … Continue reading New Software Trend… Quietly Removing Features