jschementi / silverline
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (3)
- Graphs
-
Tree:
121c6de
Jimmy Schementi (author)
Sat Oct 18 14:53:42 -0700 2008
| 4eaa9b0c » | Jimmy Schementi | 2008-05-12 | 1 | <?xml version="1.0" encoding="utf-8" ?> | |
| 2d1d767f » | Jimmy Schementi | 2008-04-28 | 2 | <configuration> | |
| 3 | <configSections> | ||||
| 4 | <section name="Languages" type="Chiron.LanguageSection, Chiron"/> | ||||
| 5 | <section name="AppManifest.xaml" type="Chiron.AppManifestSection, Chiron"/> | ||||
| 6 | <section name="MimeTypes" type="Chiron.MimeTypeSection, Chiron"/> | ||||
| 7 | </configSections> | ||||
| 8 | |||||
| 9 | <appSettings> | ||||
| 10 | <!-- | ||||
| 11 | This sets the base URL to load language assemblies from, instead of | ||||
| 12 | packaging them in the XAP. If omitted, assemblies are copied from | ||||
| 13 | localAssemblyPath and inserted in the XAP file. | ||||
| 14 | |||||
| 15 | For a rooted path but a relative domain name: | ||||
| 16 | <add key="urlPrefix" value="/path/to/language/assemblies" /> | ||||
| 17 | |||||
| 18 | For an absolute URL on a domain: | ||||
| 19 | <add key="urlPrefix" value="http://example.com/assemblies/" /> | ||||
| 20 | --> | ||||
| 1c967342 » | Jimmy Schementi | 2008-06-03 | 21 | ||
| 2d1d767f » | Jimmy Schementi | 2008-04-28 | 22 | <!-- the location of language assemblies on disk --> | |
| 23 | <add key="localAssemblyPath" value="." /> | ||||
| 24 | </appSettings> | ||||
| 25 | |||||
| 26 | <!-- | ||||
| 27 | Information about DLR based languages. | ||||
| 28 | Chiron uses the source file's extension to determine which language's | ||||
| 29 | assemblies should be included. Multiple languages are allowed in a project, | ||||
| 30 | and new DLR-based languages can be added to the list. | ||||
| 31 | --> | ||||
| 32 | <Languages> | ||||
| 33 | |||||
| 34 | <Language extensions="rb" assemblies="IronRuby.dll, IronRuby.Libraries.dll" /> | ||||
| 35 | |||||
| 36 | <!-- | ||||
| 37 | Example language entry. The languageContext attribute must point at the | ||||
| 38 | class deriving from LanguageContext. | ||||
| 39 | |||||
| 40 | <Language extensions="myext" | ||||
| 41 | assemblies="http://example.com/MyLanguage/MyLanguageRuntime.dll" | ||||
| 42 | languageContext="MyLanguage.Namespace.MyLanguageContextClass" /> | ||||
| 43 | --> | ||||
| 44 | |||||
| 45 | </Languages> | ||||
| 46 | |||||
| 47 | |||||
| 48 | <!-- | ||||
| 49 | This is the template AppManifest.xaml file | ||||
| 50 | It will be included if an AppManifest.xaml file is not already present. | ||||
| 51 | |||||
| 52 | These transformations are made: | ||||
| 53 | 1. language assemblies are added at the end of Deployment.Parts | ||||
| 54 | 2. the urlPrefix will be added to relative assembly paths | ||||
| 55 | --> | ||||
| 56 | <AppManifest.xaml> | ||||
| 57 | <Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" | ||||
| 58 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||||
| 4a863c31 » | Jimmy Schementi | 2008-10-15 | 59 | RuntimeVersion="2.0.31005.00" | |
| 2d1d767f » | Jimmy Schementi | 2008-04-28 | 60 | EntryPointAssembly="Microsoft.Scripting.Silverlight" | |
| 61 | EntryPointType="Microsoft.Scripting.Silverlight.DynamicApplication"> | ||||
| 62 | |||||
| 63 | <Deployment.Parts> | ||||
| 64 | <!-- Add additional assemblies here --> | ||||
| 65 | </Deployment.Parts> | ||||
| 66 | </Deployment> | ||||
| 67 | </AppManifest.xaml> | ||||
| 68 | |||||
| 69 | <!-- | ||||
| 70 | file extensions & MIME types recognized by Chiron. | ||||
| 71 | It will return 403 for unrecognized file types | ||||
| 72 | --> | ||||
| 73 | <MimeTypes> | ||||
| 74 | <mimeMap fileExtension=".htm" mimeType="text/html" /> | ||||
| 75 | <mimeMap fileExtension=".html" mimeType="text/html" /> | ||||
| 76 | <mimeMap fileExtension=".css" mimeType="text/css" /> | ||||
| 77 | <mimeMap fileExtension=".txt" mimeType="text/plain" /> | ||||
| 78 | <mimeMap fileExtension=".xml" mimeType="text/xml" /> | ||||
| 79 | <mimeMap fileExtension=".rss" mimeType="text/xml" /> | ||||
| 80 | <mimeMap fileExtension=".gif" mimeType="image/gif" /> | ||||
| 81 | <mimeMap fileExtension=".jpg" mimeType="image/jpeg" /> | ||||
| 82 | <mimeMap fileExtension=".jpeg" mimeType="image/jpeg" /> | ||||
| 83 | <mimeMap fileExtension=".png" mimeType="image/png" /> | ||||
| 84 | <mimeMap fileExtension=".ico" mimeType="image/x-icon" /> | ||||
| 85 | <mimeMap fileExtension=".js" mimeType="application/x-javascript" /> | ||||
| 86 | <mimeMap fileExtension=".xaml" mimeType="application/xaml+xml" /> | ||||
| 87 | <mimeMap fileExtension=".xap" mimeType="application/x-zip-compressed" /> | ||||
| 88 | <mimeMap fileExtension=".zip" mimeType="application/x-zip-compressed" /> | ||||
| 89 | <mimeMap fileExtension=".dll" mimeType="application/x-msdownload" /> | ||||
| 90 | <mimeMap fileExtension=".pdb" mimeType="application/x-msdownload" /> | ||||
| 91 | <mimeMap fileExtension=".asf" mimeType="video/x-ms-asf" /> | ||||
| 92 | <mimeMap fileExtension=".asx" mimeType="video/x-ms-asf" /> | ||||
| 93 | <mimeMap fileExtension=".wma" mimeType="audio/x-ms-wma" /> | ||||
| 94 | <mimeMap fileExtension=".wmv" mimeType="audio/x-ms-wmv" /> | ||||
| 95 | </MimeTypes> | ||||
| 96 | |||||
| 97 | </configuration> | ||||
