Using Response.Write in a C# Class

It’s not that difficult to use Response.Write() in a .NET Framework WebForms class. Classes in a WebForm application can’t use Response.Write() by default. The following steps will allow you to use this function along with other functions such as...

Running PowerShell on a Remote Computer

Remoting in a computer with PowerShell is easier than connecting by VNC or RDC if you just need to do a few admin functions. Enable PowerShell to accept remote connections. Go to machine and run PowerShell as administrator. Run this command: Enable-PSRemoting -Force...

Setting Default Document for Laravel in IIS

If you build Laravel applications in Windows 10 using IIS, you will get an error message if you try viewing your web site. This is easily fixed appending web.config. When you setup a website entry in IIS and point it to your Laravel application, you’ll get the...

Writing PowerShell Scripts in Linux

You can administer Linux with PowerShell and run scripts with what you already know from using it in Windows. Install PowerShell in Linux Installation is done with one line: sudo snap install powershell –classic Once installed, run powershell from the command...

Take a Website Offline with .htaccess

How to make a web site or folder on the site offline in Apache through .htaccess. A website or folders within it can be taken down by pointing search engine crawlers to the 410 status code. This code notifies the user that the resource is no longer available on the...