MSI packages remain a popular means of distributing applications for installation on Windows devices. On occasion, you may find the need to install or uninstall an MSI package programmatically, for example, whenever you need to automate a software installation or update. In this article, I’m going to show you how you can silently install and…
Tag: C#
The Request-Response pattern seems somewhat simple on the surface; send a request, then wait for and receive a response that matches up with the original request. However, implementing this pattern in an efficient manner is something that is easy to get wrong. I’ve found that much of the material online regarding this topic tends to…
As software developers, working with processes is something that we frequently need to do. Whether it’s checking if a specific process is running, stopping a process, or creating a new process, it is useful to have a reference point for how to accomplish each of these tasks. In the sections below, I’m going to cover…
InSecurity
Sometimes when you are developing a Windows app you’ll find the need to run the application as a different user, often as the administrator. Windows features a security mechanism called ‘User Account Control’ which prevents applications from launching with elevated privileges without the user’s consent. In this article, I explain how User Account Control works…
Now, more than ever before, employing security best practices from the start is an absolute must when developing modern web applications. The threat landscape has evolved continuously over the last number of years, however, so have the protection mechanisms which we as software developers can avail of to guard our applications against attackers. In this…
InWeb
If you’re looking for a caching solution to help speed up a web application and Azure is your cloud platform of choice, it makes sense to use Azure Cache for Redis. Azure Cache for Redis is a secure, scalable, and reliable cloud-hosted caching solution. It is based on the very popular open-source Redis database cache…
InWeb
Azure Application Insights is a powerful monitoring feature within the Azure cloud platform that can provide you with some pretty amazing insights into your web applications. By default, Application Insights captures a plethora of highly useful data points regarding both performance and user behaviour. The analysis of these metrics can assist you with speeding up…
InWeb
If you have experience with ASP.NET but have only recently started building web applications with ASP.NET Core, you may have noticed that some of the features you are used to having during development, appear to be missing. One of the first things you are likely to notice when you start off with a new ASP.NET…
InSecurity
For any application which is hosted on the web, it is essential that security is built in from the start. Enabling your web application to serve secure traffic over HTTPS and enforcing this policy is one of the first things that you should implement and this is just as important for web apps as it…
InSecurity
It is very common that an application will need to store settings in a configuration file and then later retrieve the value of those settings. Quite often, one or more of these settings will be sensitive in nature; such as API keys, database connection strings, or perhaps mail server passwords. Protecting sensitive data is a…