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 interface IDependencyResolver | |
{ | |
object GetService(Type serviceType); | |
IEnumerable<object> GetServices(Type serviceType); | |
} |
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
setInterval(function () { | |
$.getJSON('Photo/CommentsForUser/' + new Date().getTime() , function (data) { | |
$.pinify.clearOverlay(); | |
var itemList = []; | |
var commentCount = parseInt($('#commentCount').val()); | |
if (data.length > commentCount) { | |
$('#commentCount').val(data.length); | |
$.pinify.flashTaskbar(); |
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
$.getJSON('Gallery/List', function (data) { | |
var itemList = []; | |
$.each(data, function (key, val) { | |
var item = { | |
'name': data[key].name, | |
'url': 'Gallery/View/' + data[key].id, | |
'icon': '/Content/Images/icon-gallery.ico' | |
}; |
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
<script type="text/javascript" src="/scripts/jquery-1.5.min.js"></script> | |
<script type="text/javascript" src="/scripts/jquery.pinify.js"></script> |
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
$('head').ie9ify({ | |
applicationName: 'User InExperience', | |
tooltip: 'Brandon Satrom on Development, Design and Architecture', | |
tasks: [ { | |
'name': 'Blog', | |
'action': 'http://www.userinexperience.com/blog.aspx', | |
'icon': 'favicon.ico' | |
}, | |
{ | |
'name': 'Twitter', |
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
<Action Name="Send an SMS Text Message" | |
ClassName="MyCompany.Workflow.Messaging.Activities.SendSMSActivity" | |
Assembly="MyCompany.Workflow.Messaging.Activities, Version=1.0.0.0, | |
Culture=neutral, PublicKeyToken=fe2315b70tbc147c" | |
AppliesTo="all" | |
Category="Messaging Actions"> | |
<RuleDesigner Sentence="Send %1 to number %2"> | |
<FieldBind Field="Message" Text="this message" DesignerType="TextBox" Id="1"/> | |
<FieldBind Field="Number" Text="this number" DesignerType="TextBox" Id="2"/> | |
</RuleDesigner> |
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
<system.diagnostics> | |
<switches> | |
<add name="System.Workflow LogToTraceListeners" value="1" /> | |
<add name="System.Workflow.Runtime" value="Error"/> | |
<add name="System.Workflow.Runtime.Hosting" value="Error"/> | |
<add name="System.Workflow.Runtime.Tracking" value="Error"/> | |
<add name="System.Workflow.Activities" value="Error"/> | |
<add name="System.Workflow.Activities.Rules" value="Off"/> | |
</switches> | |
<trace autoflush="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
<configuration> | |
<system.diagnostics> | |
<switches> | |
<add name="System.Workflow LogToTraceListeners" value="1" /> | |
<add name="System.Workflow.Runtime.Hosting" value="Verbose" /> | |
<add name="System.Workflow.Runtime" value="Verbose" /> | |
<add name="System.Workflow.Runtime.Tracking" value="Verbose" /> | |
<add name="System.Workflow.Activities" value="Verbose" /> | |
<add name="System.Workflow.Activities.Rules" value="Verbose" /> | |
</switches> |
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
<add assembly="WebMatrix.Data, Version=1.0.0.0, Culture=neutral, | |
PublicKeyToken=31BF3856AD364E35" /> | |
<add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, | |
PublicKeyToken=31BF3856AD364E35" /> | |
<add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, | |
PublicKeyToken=31BF3856AD364E35" /> |