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
App.SelectBoxComponent = Ember.Component.extend({ | |
// Container is <div class="btn-group app-selectbox"> | |
classNames: ["btn-group", "app-selectbox"], | |
tagName: "div", | |
// Set attribute "fullWidth=true" to expand 100% | |
fullWidth: false, | |
classNameBindings: ["fullWidth"], | |
// Source data (the same as Ember.Select) |
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
<h1>Hello World</h1> | |
Hello {{name}} | |
<strong>I was loaded from a URL!</strong> |
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 ServiceStack; | |
namespace Testv4 | |
{ | |
class MainClass | |
{ | |
public static void Main() | |
{ | |
var appHost = new AppHost(500); |
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.Linq; | |
using ServiceStack.ServiceInterface; | |
using ServiceStack.ServiceHost; | |
using ServiceStack.WebHost.Endpoints; | |
using ServiceStack.Common.Web; | |
using ServiceStack.Logging; | |
using ServiceStack.FluentValidation.Results; | |
using ServiceStack.Text; | |
using ServiceStack.ServiceInterface.Validation; |
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.Linq; | |
using ServiceStack; | |
using ServiceStack.Auth; | |
using ServiceStack.Web; | |
using System.Net; | |
using System.Text; | |
using System.Collections.Generic; | |
namespace Testv4 |
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
public void CheckDatabaseModel(Type modelType) | |
{ | |
// Get the referenced model version | |
string modelVersion = Assembly.GetAssembly(modelType).GetName().Version.ToString(); | |
// Determine the last model version number from the configuration | |
var config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); | |
var lastModelVersion = config.AppSettings.Settings["DatabaseModelVersion"]; | |
// Determine if the model has changed |
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 ServiceStack; | |
namespace Tests.Recipe | |
{ | |
class MainClass | |
{ | |
public static void Main() | |
{ | |
// Very basic console host |
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 ServiceStack; | |
namespace Tests.Recipe | |
{ | |
class MainClass | |
{ | |
public static void Main() | |
{ | |
// Very basic console host |
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 ServiceStack.ServiceInterface; | |
using ServiceStack.ServiceHost; | |
using ServiceStack.WebHost.Endpoints; | |
using Funq; | |
namespace Testv3 | |
{ | |
class MainClass | |
{ |
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 ServiceStack; | |
using System.Text; | |
using ServiceStack.Web; | |
namespace ComplexIdTest | |
{ | |
class MainClass | |
{ | |
public static void Main() |
OlderNewer