This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<appSettings> | |
<add key="AWSAccessKey" value="AAOipiapsoif23oi34lk6"/> | |
<add key="AWSSecretKey" value="LKKUkjjkLIupoiYuhTYiuGyg"/> | |
<add key="AWSRegion" value="ap-southeast-1" /> | |
</appSettings> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Web; | |
using System.Web.Mvc; | |
using DemoApp.Models; | |
using Infrastructure.WebMvc; | |
namespace DemoApp.Controllers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<ServiceConfiguration serviceName="DemoApp" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="3" osVersion="*" schemaVersion="2013-03.2.0"> | |
<Role name="DemoApp_WebRole"> | |
<Instances count="1" /> | |
<ConfigurationSettings> | |
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" /> | |
<!-- The new config setting --> | |
<Setting name="DataConnectionString" value="UseDevelopmentStorage=true" /> | |
</ConfigurationSettings> | |
</Role> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@model SomeModel | |
@using (Html.BeginForm("Submit", "Home", FormMethod.Post, new { enctype ="multipart/form-data" })) | |
{ | |
@Html.EditorForModel() | |
<label for="ImagePreview">Image Preview</label> | |
<p> | |
<output id="image-box"></output> | |
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.application({ | |
appFolder: '/Extjs/Application', | |
controllers: ['HomeController'], | |
name: AppNamespace, | |
launch: function() { | |
Ext.create('Ext.container.Viewport', { | |
layout: 'fit', | |
items: [{ | |
xtype: 'specialOffers' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Web.Http.Dependencies; | |
namespace Xtremecode.Infrastructure.Library.Di | |
{ | |
public class DependencyResolver : DependencyScope, IDependencyResolver | |
{ | |
public DependencyResolver() : base(DependencyInjector.GetKernel()) { } | |
public IDependencyScope BeginScope() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var urlRouter = require('./../../infrastructures/url-router.js'); | |
var resourceLocator = require('./../../infrastructures/resource-locator.js'); | |
require('./../../resources/resources-registrar.js'); | |
var specInitialiser = require('./../spec-initialiser.js'); | |
describe('Products Resource', function(){ | |
var timeOutCall = 200; | |
var resolveResource = function(requestUrl, requestMethod){ | |
var resolvedRequest = urlRouter.first(requestUrl, requestMethod); | |
expect(resolvedRequest).not.toBe(false); |
NewerOlder