Tagged articles
Image from Pexels

Tagged articles - IIS

Found 24 articles tagged with IIS

Reloading the cache automatically once expired is ASP.NET MVC
Load values to in memory cache as soon as they expire in ASP.NET MVC
0
In memory caching is not a bullet proof way of caching data in an application, especially if this application is distributed. The lack of synchronization between nodes can cause you application to misbehave showing wrong data or even throwing exceptions and crashing. This is one of the main reasons why distributed caching is the best way of doing the caching in your web application. But not all applications you might be developing need to run as distributed on multiple machines...read more
Setting IP address and domain filtering in IIS using PowerShell script
Restricting and allowing traffic to web application through IIS using PowerShell
0
Starting from IIS 7.0 Microsoft introduced IP and Domain restrictions feature as a part of IIS setup. However, if you do not have this feature installed on your IIS you can easily install it through windows features adding steps which are pretty much same for each Windows version (https://docs.microsoft.com/en-us/iis/configuration/system.webserver/security/ipsecurity/add) or simply by using WebPlatform Installer. Just run WebPlatform Installer and search for IP and Domain restrictions in search box...read more
Merge folders with Windows PowerShell script
Detect changes and merge folders and files with PowerShell script
 
0
When deploying application to specific location it is often required to deploy only few files and not the whole deployment package. For example, if you changed only single static image file in your ASP.NET WebApplication, there is no reason to overwrite bin folder content and cause WebApplication on IIS to restart...read more
Use PowerShell to install SSL certificate on IIS
Importing PFX SSL certificate to IIS with PowerShell script
0
Since Google announced HTTPS as ranking signal most of the websites now days are switching to secured communication via SSL certificates. Even I switched my website to HTTPS secured connection to follow up with this new trend. Using certificate on the website is related to domain binding, but even before we setup the domain binding for the website, we need to import the certificate to IIS...read more
Reasons for ASP.NET application restarts on IIS server
Common reasons for causing ASP.NET web applications to restart
0
If you were experiencing you ASP.NET Web Application to restart, there are few possible reasons for that, but before we jump to resons why ASP.NET web application hosted on IIS gets restarted let's first look at the relation between IIS and ASP.NET ...read more
Exporting SSL certificate to PFX format for using on IIS or Azure
Getting SSL certificate PFX format for IIS or Azure WebApp using OpenSSL
0
Hether your website requires SSL secured connection through HTTPS or not, it is even recommended by Google to use SSL for your website. Starting from 2005 Google page ranking takes into consideration whether your page has SSL certificate installed and serer content thorough HTTPS. If you are hosting your website on IIS, you have some built in tols in Internet Information Service (IIS) manager, for SSL certificate operations but they are pretty limited and most of the time confusing to use. ...read more
Setting ASP.NET application on IIS always running with PowerShell
Switch off AppPool timeout with PowerShell script
0
When creating new website with new application pool, bu default IIS sets your application pool in a way to save resources when inactive. This is because it does not want to run your website all the time if is there is no activity on it and keep using resources on the host for idle worker processes (w3wp.exe). This is the reason you might experience slow response when opening your website URL from time to time especially if your website has low traffic. ...read more
Automated clean up and archive of log files with PowerShell 5
Archiving old log files with PowerShell 5 and Windows Scheduled Tasks
0
Depending on the application architecture, your Windows virtual machine might have one or more applications or components of a single solution. Those might be WebApi services, Web Applications or Windows applications. Any of these components may generate logs which are important for diagnostics and tracking down events...read more
Clean up IIS log files from web server using PowerShell
Avoid low disk space because of IIS logs with PowerShell Scheduled Task
0
Microsoft IIS Server is by default logging every request that reaches it. This can be pretty useful for tracking down the issue which my occur over time, but it is also pilling up log files on server's disk which eventually can cause low disk space. You an always clean up these files manually, but wouldn't it be nice if server does that for you? ...read more
Setting up IIS ASP.NET WebApplication using PowerShell
Setup ASP.NET web application hosted on IIS using PowerShell
0
PowerShell is the best option for automation on Windows platform. Regardless of which platform and how you organize Continous Deployment, you will always need to introduce certain level of customization during the deployment process. Scripting with PowerShell can play main role with these kind of customizations...read more
Setting permissions for ASP.NET application on IIS with PowerShell
Setting the write permission for IIS AppPool using PowerShell
0
Very often you need to setup ASP.NET Web application on IIS server, you need to setup file and folder permission for your application on order to access content of specific folder. This can be easily done through Windows Explorer Properties window in the Security tab. ...read more
Manage IIS website from ASP.NET code
Controlling the current ASP.NET application running on IIS from the code
0
Microsoft made IIS management from the ASP.NET code itself much easer and accessible right out of the box by introducing Microsoft.Web.Administration library. Simply by adding the reference in your project to Microsoft.Web.Administration library you are getting options to manage websites hosted on the IIS where application is running. One of the requirements beside referencing Microsoft.Web.Administration library is setting your Application Pool to run under LocalSystem account. ...read more
Clean up IIS log files from you web server
Avoid low disk space because of IIS logs
0
Microsoft IIS Server is by default logging every request that reaches it. This can be pretty useful for tracking down the issue which my occur over time, but it is also pilling up log files on server's disk which eventually can cause low disk space. You an always clean up these files manually, but wouldn't it be nice if server does that for you? ...read more
Short URL implementation with WebAPI
Simple URL shortening web service implementd with WebAPI
 
0
Today there are multiple URL shortening solution available online for free. However, there is always need to have some existing funtionalities in the house for various reasons...read more
IP address filtering from C# code in ASP.NET MVC and Web Api
Restrict or allow specific IP addresses to access your WebApi or MVC
 
0
Last year I wrote an article about IP address filtering on MVC and WebApi Restrict Access to an MVC Action or Controller based on IP address. Over time the requirements for IP filtering in several web based application increased, so I had t work on this class to make it more extendible and reusable in different scenarios...read more

.NET

read more

JavaScript

read more

SQL/T-SQL

read more

Umbraco CMS

read more