-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial project creation - (Default Silverlight Project)
- Loading branch information
Martin Murphy
committed
Dec 12, 2009
0 parents
commit 5f00c52
Showing
18 changed files
with
775 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
#ignore thumbnails created by windows | ||
Thumbs.db | ||
#Ignore files build by Visual Studio | ||
*.obj | ||
*.exe | ||
*.pdb | ||
*.user | ||
*.aps | ||
*.pch | ||
*.vspscc | ||
*_i.c | ||
*_p.c | ||
*.ncb | ||
*.suo | ||
*.tlb | ||
*.tlh | ||
*.bak | ||
*.cache | ||
*.ilk | ||
*.log | ||
[Bb]in | ||
[Dd]ebug*/ | ||
*.lib | ||
*.sbr | ||
obj/ | ||
[Rr]elease*/ | ||
_ReSharper*/ | ||
[Tt]est[Rr]esult* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ImageUploader.Web._Default" %> | ||
|
||
<!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></title> | ||
</head> | ||
<body> | ||
<form id="form1" runat="server"> | ||
<div> | ||
|
||
</div> | ||
</form> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.UI; | ||
using System.Web.UI.WebControls; | ||
|
||
namespace ImageUploader.Web | ||
{ | ||
public partial class _Default : System.Web.UI.Page | ||
{ | ||
protected void Page_Load(object sender, EventArgs e) | ||
{ | ||
|
||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>9.0.30729</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{89AF6F05-3E44-408F-BFBD-0E03C58C107E}</ProjectGuid> | ||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>ImageUploader.Web</RootNamespace> | ||
<AssemblyName>ImageUploader.Web</AssemblyName> | ||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | ||
<SilverlightApplicationList>{1A5ED3F4-53D9-44C6-AF71-5A7258F0CA66}|..\ImageUploader\ImageUploader.csproj|ClientBin|False</SilverlightApplicationList> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Core"> | ||
<RequiredTargetFramework>3.5</RequiredTargetFramework> | ||
</Reference> | ||
<Reference Include="System.Data.DataSetExtensions"> | ||
<RequiredTargetFramework>3.5</RequiredTargetFramework> | ||
</Reference> | ||
<Reference Include="System.Web.Extensions"> | ||
<RequiredTargetFramework>3.5</RequiredTargetFramework> | ||
</Reference> | ||
<Reference Include="System.Xml.Linq"> | ||
<RequiredTargetFramework>3.5</RequiredTargetFramework> | ||
</Reference> | ||
<Reference Include="System.Drawing" /> | ||
<Reference Include="System.Web" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="System.Configuration" /> | ||
<Reference Include="System.Web.Services" /> | ||
<Reference Include="System.EnterpriseServices" /> | ||
<Reference Include="System.Web.Mobile" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="Default.aspx" /> | ||
<Content Include="ImageUploaderTestPage.aspx" /> | ||
<Content Include="ImageUploaderTestPage.html" /> | ||
<Content Include="Silverlight.js" /> | ||
<Content Include="Web.config" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Default.aspx.cs"> | ||
<SubType>ASPXCodeBehind</SubType> | ||
<DependentUpon>Default.aspx</DependentUpon> | ||
</Compile> | ||
<Compile Include="Default.aspx.designer.cs"> | ||
<DependentUpon>Default.aspx</DependentUpon> | ||
</Compile> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Folder Include="App_Data\" /> | ||
<Folder Include="ClientBin\" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
<ProjectExtensions> | ||
<VisualStudio> | ||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> | ||
<WebProjectProperties> | ||
<UseIIS>False</UseIIS> | ||
<AutoAssignPort>True</AutoAssignPort> | ||
<DevelopmentServerPort>59467</DevelopmentServerPort> | ||
<DevelopmentServerVPath>/</DevelopmentServerVPath> | ||
<IISUrl> | ||
</IISUrl> | ||
<NTLMAuthentication>False</NTLMAuthentication> | ||
<UseCustomServer>False</UseCustomServer> | ||
<CustomServerUrl> | ||
</CustomServerUrl> | ||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> | ||
</WebProjectProperties> | ||
</FlavorProperties> | ||
</VisualStudio> | ||
</ProjectExtensions> | ||
</Project> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<%@ Page Language="C#" AutoEventWireup="true" %> | ||
|
||
<!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>ImageUploader</title> | ||
<style type="text/css"> | ||
html, body { | ||
height: 100%; | ||
overflow: auto; | ||
} | ||
body { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
#silverlightControlHost { | ||
height: 100%; | ||
text-align:center; | ||
} | ||
</style> | ||
<script type="text/javascript" src="Silverlight.js"></script> | ||
<script type="text/javascript"> | ||
function onSilverlightError(sender, args) { | ||
var appSource = ""; | ||
if (sender != null && sender != 0) { | ||
appSource = sender.getHost().Source; | ||
} | ||
var errorType = args.ErrorType; | ||
var iErrorCode = args.ErrorCode; | ||
if (errorType == "ImageError" || errorType == "MediaError") { | ||
return; | ||
} | ||
var errMsg = "Unhandled Error in Silverlight Application " + appSource + "\n" ; | ||
errMsg += "Code: "+ iErrorCode + " \n"; | ||
errMsg += "Category: " + errorType + " \n"; | ||
errMsg += "Message: " + args.ErrorMessage + " \n"; | ||
if (errorType == "ParserError") { | ||
errMsg += "File: " + args.xamlFile + " \n"; | ||
errMsg += "Line: " + args.lineNumber + " \n"; | ||
errMsg += "Position: " + args.charPosition + " \n"; | ||
} | ||
else if (errorType == "RuntimeError") { | ||
if (args.lineNumber != 0) { | ||
errMsg += "Line: " + args.lineNumber + " \n"; | ||
errMsg += "Position: " + args.charPosition + " \n"; | ||
} | ||
errMsg += "MethodName: " + args.methodName + " \n"; | ||
} | ||
throw new Error(errMsg); | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
<form id="form1" runat="server" style="height:100%"> | ||
<div id="silverlightControlHost"> | ||
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"> | ||
<param name="source" value="ClientBin/ImageUploader.xap"/> | ||
<param name="onError" value="onSilverlightError" /> | ||
<param name="background" value="white" /> | ||
<param name="minRuntimeVersion" value="3.0.40624.0" /> | ||
<param name="autoUpgrade" value="true" /> | ||
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none"> | ||
<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/> | ||
</a> | ||
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div> | ||
</form> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!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> | ||
<title>ImageUploader</title> | ||
<style type="text/css"> | ||
html, body { | ||
height: 100%; | ||
overflow: auto; | ||
} | ||
body { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
#silverlightControlHost { | ||
height: 100%; | ||
text-align:center; | ||
} | ||
</style> | ||
<script type="text/javascript" src="Silverlight.js"></script> | ||
<script type="text/javascript"> | ||
function onSilverlightError(sender, args) { | ||
var appSource = ""; | ||
if (sender != null && sender != 0) { | ||
appSource = sender.getHost().Source; | ||
} | ||
|
||
var errorType = args.ErrorType; | ||
var iErrorCode = args.ErrorCode; | ||
|
||
if (errorType == "ImageError" || errorType == "MediaError") { | ||
return; | ||
} | ||
|
||
var errMsg = "Unhandled Error in Silverlight Application " + appSource + "\n" ; | ||
|
||
errMsg += "Code: "+ iErrorCode + " \n"; | ||
errMsg += "Category: " + errorType + " \n"; | ||
errMsg += "Message: " + args.ErrorMessage + " \n"; | ||
|
||
if (errorType == "ParserError") { | ||
errMsg += "File: " + args.xamlFile + " \n"; | ||
errMsg += "Line: " + args.lineNumber + " \n"; | ||
errMsg += "Position: " + args.charPosition + " \n"; | ||
} | ||
else if (errorType == "RuntimeError") { | ||
if (args.lineNumber != 0) { | ||
errMsg += "Line: " + args.lineNumber + " \n"; | ||
errMsg += "Position: " + args.charPosition + " \n"; | ||
} | ||
errMsg += "MethodName: " + args.methodName + " \n"; | ||
} | ||
|
||
throw new Error(errMsg); | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
<form id="form1" runat="server" style="height:100%"> | ||
<div id="silverlightControlHost"> | ||
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"> | ||
<param name="source" value="ClientBin/ImageUploader.xap"/> | ||
<param name="onError" value="onSilverlightError" /> | ||
<param name="background" value="white" /> | ||
<param name="minRuntimeVersion" value="3.0.40624.0" /> | ||
<param name="autoUpgrade" value="true" /> | ||
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none"> | ||
<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/> | ||
</a> | ||
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div> | ||
</form> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("ImageUploader.Web")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("ImageUploader.Web")] | ||
[assembly: AssemblyCopyright("Copyright © 2009")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// The following GUID is for the ID of the typelib if this project is exposed to COM | ||
[assembly: Guid("3d5900ae-111a-45be-96b3-d9e4606ca793")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Revision and Build Numbers | ||
// by using the '*' as shown below: | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
Oops, something went wrong.