URL Rewriting utilizzando un HTTPHandler con Asp.net

Sto facendo delle prova con HTTPHandler, vediamo se riesco a sistemare il codice:


Imports System
Imports System.IO
Imports System.Web
Imports System.Web.UI

Public Class ContentUrlRewriting
Implements IHttpHandlerFactory

Public Function GetHandler(ByVal context As HttpContext, ByVal requestType As String, ByVal url As String, ByVal path As String) As IHttpHandler Implements IHttpHandlerFactory.GetHandler
Dim pagina As String = context.Request.MapPath(“default.aspx”)
Return PageParser.GetCompiledPageInstance(url, pagina, context)
End Function

Public Sub ReleaseHandler(ByVal handler As IHttpHandler) Implements IHttpHandlerFactory.ReleaseHandler
End Sub
End Class

poi vediamo di sistemare anche l’url 😀 ed il web.config

VistaDB 2.1 database for .NET has been released

This 2.1 update includes over 60 improvements, including new support for .NET 2.0 and Visual Studio .NET 2005. VistaDB is a small-footprint, embedded SQL database alternative to Jet/Access, MSDE and SQL Server Express 2005 that enables developers to build .NET 1.1 and .NET 2.0 applications. Features SQL-92 support, small 500KB embedded footprint, free 2-User VistaDB Server for remote TCP/IP data access, royalty free distribution for both embedded and server, Copy ‘n Go! deployment, managed ADO.NET Provider, data management and data migration tools. Free trial is available for download.
– Learn more about VistaDB
– Repost this to your blog and receive a FREE copy of VistaDB 2.1!