- Install IIS role on your Windows Server if it is not already present.
- Add IIS 6 Compatibility feature
Install Web Platform Installer (WPI)
- Launch WPI
| public class WebRegistry : Registry | |
| { | |
| public WebRegistry() | |
| { | |
| //Your application's normal registries | |
| IncludeRegistry<BootstrapRegistry>(); | |
| IncludeRegistry<SettingsProviderRegistry>(); | |
| //typical scanner type stuff | |
| Scan(x => |
| [AttributeUsage(AttributeTargets.Method)] | |
| public class CustomizedBy : ModifyChainAttribute | |
| { | |
| private readonly Type _customizerInputType; | |
| private readonly Type customizerBehaviorOpenType = typeof(CustomizerBehavior<>); | |
| public CustomizedBy(Type customizerInputType) | |
| { | |
| _customizerInputType = customizerInputType; | |
| } |
Migrating Lionbridge To Agent Baseline
We've setup an Agent Git repository for on GitHub.
Security: Please let us know what GitHub usernames you'd like to have access to this repository.
If you are not used to GitHub or Git checkout their excellent setup guide for help. This will take your through:
I hereby claim:
To claim this, I am signing this object:
| var b = require('bonescript'); | |
| var SunCalc = require('suncalc'); | |
| // Set Beagles GPIO pin moodes | |
| var DoorOpen = "P8_13"; | |
| var DoorClose = "P8_14"; | |
| var DoorOpenBtn = "P8_15"; | |
| var DoorCloseBtn = "P8_16"; | |
| b.pinMode(DoorOpen, b.OUTPUT); | |
| b.pinMode(DoorClose, b.OUTPUT); |
| public class EmployeeActEntryTemplatePolicy : ActEntryTemplatePolicyExpression { | |
| public EmployeeActEntryTemplatePolicy(IHistoryOutputParser historyOutputParser) : base(historyOutputParser) | |
| { | |
| } | |
| protected override void DefineTemplate(WorkflowObject workflowObject) | |
| { | |
| if (workflowObject.Type != "employee") | |
| { | |
| //This policy only cares about employee objects. If we didn't add this guard clause these policies would be present |
| <viewdata model="Web.api.UserStatusModel"/> | |
| <use namespace="FubuCore"/> | |
| <ul class="nav unstyled" id="primary-tasks" if="Model.IsAuthenticated"> | |
| <li if="Model.CanCreateCase"> | |
| <a class="create-case-action" href="${ this.Urls.UrlFor(new Agent.Support.api.Cases.CreateCaseRequest()) }">${ Agent.Shared.Core.SharedCoreKeys.CREATE } ${ Agent.Shared.Core.SharedCoreKeys.CASE }</a> | |
| </li> | |
| <li class="dropdown" if="Model.CanCreateCase || Model.CanCreateContact || Model.CanCreateSite || Model.CanCreateSolution"> | |
| <a class="dropdown-toggle" data-toggle="dropdown" href="#"> | |
| ${ Agent.Shared.Core.SharedCoreKeys.CREATE } <span class="caret"></span> |
| <schemaScript xmlns="http://www.dovetailsoftware.com/2006/10/SchemaScript.xsd"> | |
| <addTable name="animal" id="4921"> | |
| <groupName>Test</groupName> | |
| <description>Test of adding attachments to custom entities.</description> | |
| </addTable> | |
| <addColumn name="objid" dataType="Integer" table="animal"> | |
| <description>Internal record number</description> | |
| <clarifyGenericFieldID>3</clarifyGenericFieldID> | |
| </addColumn> |
| [Test] | |
| public void home_endpoint_should_return_document_specifications() | |
| { | |
| using (var server = new WebApplication().BuildApplication().RunEmbedded()) | |
| { | |
| var results = server.Endpoints.Get<HomeEndpoint>(x => x.Execute(new HomeRequest())) | |
| .ReadAsJson<SpecificationListViewModel>(); | |
| results.SpecificationDocumentCount.ShouldBeGreaterThan(0); | |
| } |