First install Composer, then:
$ composer create-project laravel/laravel <project-name>
After that we can start a webserver, and test the default index page:
<staticContent> | |
<mimeMap fileExtension=".mp4" mimeType="video/mp4" /> | |
<mimeMap fileExtension=".m4v" mimeType="video/m4v" /> | |
<mimeMap fileExtension=".ogg" mimeType="video/ogg" /> | |
<mimeMap fileExtension=".ogv" mimeType="video/ogg" /> | |
<mimeMap fileExtension=".webm" mimeType="video/webm" /> | |
<mimeMap fileExtension=".oga" mimeType="audio/ogg" /> | |
<mimeMap fileExtension=".spx" mimeType="audio/ogg" /> |
First install Composer, then:
$ composer create-project laravel/laravel <project-name>
After that we can start a webserver, and test the default index page:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Responsive Design Testing</title> | |
<style> | |
body { margin: 20px; font-family: sans-serif; overflow-x: scroll; } | |
.wrapper { width: 6000px; } | |
.frame { float: left; } | |
h2 { margin: 0 0 5px 0; } |
using System; | |
using System.Web.UI; | |
using System.Web.UI.WebControls; | |
namespace CreativeWizardry.Controls | |
{ | |
/// <summary> | |
/// Description of ICallbackEventHandlerExample. | |
/// </summary> |
EXEC sp_helptext N'SP NAME HERE'; |
if (cb && (typeof cb == "function")) { | |
cb(); | |
} |
using System.Linq; | |
using Nancy; | |
using System; | |
using System.Reflection; | |
namespace CreativeWizardry.Owin.Core | |
{ | |
public static class ExtensionMethods | |
{ |
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<configSections> | |
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> | |
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" /> | |
</sectionGroup> | |
</configSections> | |
<appSettings> | |
<add key="webPages:Enabled" value="false" /> | |
</appSettings> |
using System; | |
using Nancy; | |
using Nancy.Bootstrapper; | |
using Nancy.Diagnostics; | |
using Nancy.TinyIoc; | |
using Nancy.ViewEngines; | |
namespace CreativeWizardry.Owin.Core | |
{ | |
/// <summary> |
<rule name="san aspx"> | |
<!--Removes the .aspx extension for all pages.--> | |
<match url="(.*)" /> | |
<conditions logicalGrouping="MatchAll"> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> | |
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> | |
</conditions> | |
<action type="Rewrite" url="{R:1}.aspx" /> | |
</rule> |