July 2005 - Posts

First off, I've contributed some code to the Mono guys to make XSP its own library.  You can get it as part of the 1.1.8 release.  I'm still working on getting a few more additions to the library, but it has all of the basics to get you going.

Download the install from http://www.mono-project.com/Downloads and get the Mono.WebServer.dll in the Mono-1.1.8\lib\mono\1.0 directory.

With that in mind, here's some code:

            int Port=8080;
            string path="\\XSPSamples";
            XSPWebSource websource=new XSPWebSource(IPAddress.Any,Port);
            ApplicationServer WebAppServer=new ApplicationServer(websource);
            //"[[hostname:]port:]VPath:realpath"
            string cmdLine=Port+":/:"+path;
            WebAppServer.AddApplicationsFromCommandLine(cmdLine);
            WebAppServer.Start(true);
            Console.WriteLine("Mono.WebServer running. Press enter to exit...");
            Console.ReadLine();
            WebAppServer.Stop();


The path should point at your ASP.NET files. That should do it...Enjoy!

NOTE: The API is probably not 100% stable, so you might need to "tweak" your application when a new Mono release comes out.
Posted by brian_ritchie | 7 comment(s)
Filed under:
Still waiting for Microsoft to include XQuery & XSLT 2.0 support? Altova makes the same engines that drive its XMLSpy®, MapForce®, and StyleVision® XML development tools available for use in custom applications – free of charge!  Sold!

AltovaXML™ is an entirely free download that includes the Altova:
.
.XML validating parser
.XSLT 1.0 engine
.XSLT 2.0 engine (schema-aware)
.XQuery 1.0 engine

AltovaXML™ features include:

.
.Well-formedness checking
.Validation based on DTD or XML Schema
.XML transformations via XSLT 1.0
.Schema-aware XML transformations via XSLT 2.0
.XML queries and transformations via XQuery
.Command line operations
.COM interface
.Java interface
..NET interface
Hopefully its up to its feature-rich billing.  I'll definitely be checking it out.  Please post commets if you've had any experience with it.
Posted by brian_ritchie | 6 comment(s)
Filed under:
On the heels of Google Maps (http://maps.google.com/) and Google Earth (http://earth.google.com/) comes...
 
Google Moon
Posted by brian_ritchie | 1 comment(s)
Filed under:
More Posts