The Java keytool is a utility to manage public/private key pairs for certificates used in authentication services. Keytool is straightforward to use and runs from the command line. Creating a new certificate at high level involves first creating a keystore to store the private / public key pair, then creating the certificate signing request, and […]
- Home
- ASP.NET
ASP.NET
Using C# to Modify Windows Server Environment Variables
Recently I was working on an issue where the path to an application needed to be in the server Path Environment Variable. I didn’t have physical access to the server and needed an easy way to get the path updated so I created a simple Asp.net Windows Form to accomplish this task. Change Windows Environment […]
asp.net, c#, Windows ServerUsing Asp.Net to Process NDR Emails
If you’ve ever managed a mailing list or sent out an announcement to a distribution group then you have inevitably experienced non-delivery report (NDR) floods. These messages indicate delivery problems for your some of your recipients. In most cases the delivery issues are straight forward such as the mailbox no longer being valid. Investing time […]
Advanced Intellect, asp.net, c#, emailUsing Asp.net to Remove Spam And Keep Good Mail
Recently I was cleaning up a personal mailbox I’ve kept over the years for use when a 3rd party asks for an email address and I don’t want to provide my primary one. In these situations I prefer to give an address that I don’t frequently use because I know eventually I’ll start getting targeted […]
Advanced Intellect, asp.net, c#, email, spam filteringUsing aspnet_regiis.exe to Encrypt Connection Strings
When it comes to securing IIS web applications on Windows Server 20008 R2 or Windows Server 2012 R2 one typically thinks of firewalls, access control lists (ACL), and using an application pool identity. These security measures will protect a site from external threats . However, .Net configuration files which typically store username and password data […]
asp.net, aspnet_regiis.exe, encryption, IIS, IIS7, IIS8Managing IIS Logs with GZipStream
Depending on how many sites your Windows web server is hosting maintaining IIS logs can be a challenge. IIS logs provide valuable insight into the traffic your sites are experiencing as well as detailed SEO metrics and performance data. A typical web server will have just enough free disk space for future growth needs but […]
asp.net, c#, IIS, IIS 7, IIS 8Using Application_BeginRequest for a 301 Redirect
Redirecting visitors on your site from one page to another is handled by using either a 301 redirect or a 302 redirect. The numbers 301 and 302 refer to the http status code that is returned by the web server to your browser. They may seem similar but they are quite different. A 302 indicates […]
301 redirect, asp.net, c#, IIS, IIS 6, IIS 7, SEOAuthenticated SMTP Using System.Net.Mail
Using system.net.mail to send email messages from your web site makes life so easy. In the old days of Classic ASP you often had to rely on 3rd party components such as AspMail from serverobjects.com or AspEmail from persists.com. While they were very capable products and are still widely used today it added an additional […]
asp.net, IIS, SMTPAutomate Finding Disabled Domains in Smartermail
Email is everywhere. You may not know immediately if your web site is down but you’ll almost always know if your email isn’t working. The ability to send and receive email 24×7 is critical to the success of any business. This means you need a product which is reliable, scalable, and affordable. There are not […]
asp.net, c#, Smartermail, Smartertools