How to Configure the ASP.NET Version to use for Each Application(developed using 1.0 or 1.1)?

To configure WebApp1 to use ASP.NET 1.0, follow these steps: Click Start, and then click Run. In the Open text box, type cmd, and then click OK. At the command prompt, locate the following directory: WindowsDirectory\Microsoft.NET\Framework\v1.0.3705\ At the command prompt, type one of the following commands: To Install ASP.NET 1.0 recursively aspnet_regiis -s W3SVC/1/ROOT/WebApp1 To Install ASP.NET 1.0 non-recursively aspnet_regiis -sn W3SVC/1/ROOT/WebApp1 To configure WebApp2 to use ASP.NET 1.1, follow these steps: Click Start, and then click Run. In the Open text box, type cmd, and then click OK. At the command prompt, locate the following directory: WindowsDirectory\Microsoft.NET\Framework\v1.1.4322\ At the command prompt, type one of the following commands: To Install ASP.NET 1.1 recursively aspnet_regiis -s W3SVC/1/ROOT/WebApp2 To Install ASP.NET 1.1 non-recursively aspnet_regiis -sn W3SVC/1/ROOT/WebApp2

How to remove Output Cache by param

You can attach a cache dependency to the response that is unique per query param, then invalidate the dependency for the particular param: VB.NET ’add cache item dependency on response Dim cacheKey As String = ‘webform1.aspx?’ + queryParam Cache(cacheKey) = New Object() ’ Response.AddCacheItemDependency(cacheKey) ’ invalidate the dependency Dim cacheKey As String = ‘webform1.aspx?’ + queryParam Cache.Remove(cacheKey) C# // add cache item dependency on response string cacheKey = ‘webform1.aspx?’ + queryParam; Cache[cacheKey] = new object(); Response.AddCacheItemDependency(cacheKey); // invalidate the dependency string cacheKey = ‘webform1.aspx?’ + queryParam; Cache.Remove(cacheKey);

How to draw strings vertically on a Bitmap

… dim sFormat As New StringFormat() sFormat.FormatFlags = StringFormatFlags.DirectionVertical … g.DrawString(‘Syncfusion’, new Font(‘Arial’,16,FontStyle.Italic or FontStyle.Bold ),SystemBrushes.WindowText, new PointF(2,2) , sFormat ) … StringFormat sFormat = new StringFormat() ; sFormat.FormatFlags = StringFormatFlags.DirectionVertical ; … g.DrawString(‘Syncfusion’, new Font(‘Arial’,16,FontStyle.Italic|FontStyle.Bold ),SystemBrushes.WindowText, new PointF(2,2) ,sFormat) ; …