Posts
-
Simple 301 Redirect for ASP.NET
A 301 Redirect is a way of sending search engines and user traffic to a specific? URL ,? also telling the search engines to do a permanently move on? that URL. Implementing 301 redirect in ASP.NET Webforms or ASP.NET MVC; Simply use the Application_BeginRequest event in Global.asax. Then retrieve the URL from the Web.Config file…
-
Delphi and .NET Interop with JVCL
There are different methods for Delphi to communicate with the .NET Framework: Commercial projects e.g. Remobjects Hydra, Atozed CrossTalk and Managed VCL etc. Importing .NET Assembly using the Import Component Wizard. Or Open Source method using JVCL. Why choose JVCL over the commercial projects and the Import Component Wizard which is part of Delphi? Open…
-
Encrypting ASP.NET appSettings Web.Config File
It is recommended to encrypt the AppSettings key in the ASP.NET Web.Config file for security reason. The simplest method is using aspnet_regiis.exe command-line utility; this command-line utility is available from .NET 2 Framework or higher, for this blog I will be using .NET Framework 4.0. aspnet_regiis.exe The location of aspnet_regiis.exe command-line utility is: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe Encryption…