This file contains hidden or 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.ComponentModel; | |
using System.Threading; | |
/// <summary> | |
/// Class that allows multithread syncronization | |
/// from asyncronous calls. Anything wrapped with | |
/// the syncronize method will be executed on the | |
/// same thread as where the AsyncSyncronizer | |
/// is instantiated. |
This file contains hidden or 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.Data; | |
using System.Configuration; | |
using System.Collections; | |
using System.Web; | |
using System.Web.Security; | |
using System.Web.UI; | |
using System.Web.UI.WebControls; | |
using System.Web.UI.WebControls.WebParts; | |
using System.Web.UI.HtmlControls; |
This file contains hidden or 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
<connectionStrings> | |
<add name=“TestConnection" | |
connectionString="your connection string here”/> | |
</connectionStrings> |
This file contains hidden or 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; | |
namespace Systepic.Collections | |
{ | |
/// <summary> | |
/// Event Handler designed to be thrown | |
/// when a collection’s list items change. | |
/// </summary> | |
/// <param name=“sender”>The list that | |
/// fired the event.</param> |
This file contains hidden or 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
<div> | |
<asp:WebPartManager ID=“WebPartManager1” runat=“server”> | |
</asp:WebPartManager> | |
<asp:DropDownList ID=“DropDownList1” runat=“server”> | |
</asp:DropDownList> | |
</div> | |
<div> | |
<asp:WebPartZone ID=“WebPartZone1” runat=“server”> | |
</asp:WebPartZone> | |
</div> |
This file contains hidden or 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
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” | |
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> | |
<html xmlns=“http://www.w3.org/1999/xhtml” > | |
<head runat=“server”> | |
<title>Untitled Page</title> | |
<style type=“text/css”> | |
fieldset { | |
width: 250px; |
This file contains hidden or 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
<UserControl x:Class=“SilverlightDeploy.Page” | |
xmlns=“http://schemas.microsoft.com/client/2007” | |
xmlns:x=“http://schemas.microsoft.com/winfx/2006/xaml” | |
Width=“400" Height="300”> | |
<Grid x:Name=“LayoutRoot" Background="White”> | |
<Button x:Name=“BtnHelloWorld" Content="Hello World” | |
Width=“100" Height="50" Click="BtnHelloWorld_Click” /> | |
</Grid> | |
</UserControl> |
This file contains hidden or 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 static string BuildNumber(this HtmlHelper html) | |
{ | |
if (html.ViewContext.HttpContext.Cache["_buildnumber_"] == null) | |
{ | |
var version = System.Reflection.Assembly | |
.GetExecutingAssembly().GetName().Version; | |
html.ViewContext.HttpContext.Cache["_buildnumber_"] = | |
version.Build.ToString(); | |
} | |
return html.ViewContext.HttpContext.Cache["_buildnumber_"].ToString(); |
This file contains hidden or 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
<html> | |
<head> | |
<style type="text/css"> | |
.container { | |
width: 100%; | |
color: #ccc; | |
} | |
.large-content { | |
width: 800px; | |
margin: 0px auto; |
NewerOlder