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
.flex() { | |
display: -webkit-box; | |
display: -moz-box; | |
display:-webkit-flex; | |
display: -ms-flexbox; | |
display:flex; | |
} | |
.flex-justify(@justifyStyle) { |
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.Net; | |
using System.Threading; | |
using System.Net.Http; | |
using System.Web.Http; | |
using System.Web.Http.Controllers; | |
using ActionFilterAttribute = System.Web.Http.Filters.ActionFilterAttribute; | |
namespace MyProject |
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 viewModel = function() { | |
var self = this; | |
self.description = ko.observable(); | |
self.get = function(words) { | |
return $.ajax({ | |
url: "/echo/json", | |
dataType: "json", | |
type: "POST", |
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 viewModel = function() { | |
var self = this; | |
self.description = ko.observable('hello'); | |
self.get = function(words) { | |
$.ajax({ | |
url: "/echo/json", | |
dataType: "json", | |
type: "POST", |
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
@{ | |
if (!WebSecurity.Initialized) | |
{ | |
WebSecurity.InitializeDatabaseConnection("DefaultConnection", "UserProfile", "UserId", | |
"UserName", autoCreateTables: true); | |
} | |
} |
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
CREATE TABLE [dbo].[UserProfile] ( | |
[UserId] INT IDENTITY (1, 1) NOT NULL, | |
[UserName] NVARCHAR (MAX) NULL, | |
PRIMARY KEY CLUSTERED ([UserId] ASC) | |
); | |
CREATE TABLE [dbo].[webpages_Membership] ( | |
[UserId] INT NOT NULL, | |
[CreateDate] DATETIME NULL, | |
[ConfirmationToken] NVARCHAR (128) NULL, |