Code Monkey home page Code Monkey logo

distribution's Introduction

Amzi Prolog Distribution

This repository contains the binaries needed to integrate Amzi Prolog and Logic Server into your applications.

.NET

There is a Nuget Package that can easily be pulled into your project. The .NET Binary package consists of two DLLs, one is the .NET Wrapper called amzinet.dll and other is amzi.dll which is the Logic Server. amzi.dll should be deployed to your bin directory. The Nuget package is set up to make your project do just that. Besides Nuget, .NET Binaries could also be found in one of the Windows Archives found in this repository.

ASP.NET Web Applications

There is an extra step required to run ASP.NET Web Application run smooth with Amzi Prolog and Logic Server. ASP.NET Uses what is known as Shadow Copying, which copies all the binaries necessary for the project into a preliminary directory where they are run from (typically it is Temporary ASP.NET Files), the Shadow Copy process copies only the CLR DLLs and their references, it will not copy the amzi.dll. For that to be picked up by the application, the only alternative is to deploy the amzi.dll into one of the directories included in the PATH environment variable. A better way if you do not have access to any of those directories such as when you are deploying your application to Microsoft Azure Cloud services; is that you add your application pool's bin directory to the PATH environment variable at the Application_Start event.

	string path = Environment.GetEnvironmentVariable("PATH");
	string binDir = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Bin");
	if (!path.EndsWith(";"))
	{
		path = path + ";";
	}
	path = path + binDir;
	Environment.SetEnvironmentVariable("PATH", path);

distribution's People

Contributors

dennismerritt avatar enjector avatar fahadash avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.