Download Install.sql script and run it over an SQL Server 2016+ Instance to get a sample ChameleonDb database.
Download a Chameleon Host suited to your platform or your intereset from Download page and extract it in a folder.
Lanuch downloaded Chameleon Host and open http://localhost:5000 in your browser. It's done!
// ASP.NET Core 3.0-5.0 Chameleon Host
using System;
using Chameleon.AspNetCore;
class Program
{
static void Main(string[] args)
{
ChameleonApp.Run(args);
}
}
Create or Alter dbo.usp_Home_index
(
@context_id int
) as
begin
set nocount on
exec chameleon.ViewResult @context_id, '', '',''
end
<%
declare @name varchar(10)
set @name = 'Gila'
%>
Hello from <%=@name%>!