OpenID allows you to use an existing account to sign in to multiple websites, without needing to create new passwords.
From: http://openid.net/get-an-openid/what-is-openid/
OpenID 2.0 interaction sequence from Google
https://developers.google.com/accounts/docs/OpenID?csw=1#Interaction
Tuesday, February 25, 2014
Monday, February 24, 2014
How to avoid html tags flashing with Knockout data binding in the beginning?
Make a div to wrap up all of KO data binding elements, and make it invisible and only turn visible after KO data binding.
KO data binding tags in here ..
Thursday, February 20, 2014
How to add Bundling function into upgraded ASP.NET MVC 4 project?
1. Use nuget to add reference for System.Web.Optimization
Install-Package Microsoft.AspNet.Web.Optimization
2. Add following call into Application_Start event
BundleConfig.RegisterBundles(BundleTable.Bundles);
3. Define your bundle
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/Scripts/jquery").Include(
"~/Scripts/Lib/jquery/jquery-{version}.js",
"~/Scripts/Lib/jquery/jquery.*",
"~/Scripts/Lib/jquery/jquery-ui-{version}.js")
);
}
Install-Package Microsoft.AspNet.Web.Optimization
2. Add following call into Application_Start event
BundleConfig.RegisterBundles(BundleTable.Bundles);
3. Define your bundle
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/Scripts/jquery").Include(
"~/Scripts/Lib/jquery/jquery-{version}.js",
"~/Scripts/Lib/jquery/jquery.*",
"~/Scripts/Lib/jquery/jquery-ui-{version}.js")
);
}
Subscribe to:
Posts (Atom)
