Skip to content

Commit 6575b8f

Browse files
authored
try find missing files (#4013)
1 parent 9c5bbfc commit 6575b8f

File tree

24 files changed

+301
-2
lines changed

24 files changed

+301
-2
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// <Snippet1>
2+
using System;
3+
using System.Numerics;
4+
5+
public class Example
6+
{
7+
public static void Main()
8+
{
9+
BigInteger[] values = { 2, 100, BigInteger.Pow(1000, 100),
10+
BigInteger.Pow(2, 64) };
11+
foreach (var value in values)
12+
Console.WriteLine("The square root of {0} is {1}", value,
13+
Math.Exp(BigInteger.Log(value) / 2));
14+
}
15+
}
16+
// The example displays the following output:
17+
// The square root of 2 is 1.41421356237309
18+
// The square root of 100 is 10
19+
// The square root of 1000000000000000000000000000000000000000000000000000000000000
20+
// 00000000000000000000000000000000000000000000000000000000000000000000000000000000
21+
// 00000000000000000000000000000000000000000000000000000000000000000000000000000000
22+
// 00000000000000000000000000000000000000000000000000000000000000000000000000000000
23+
// is 9.99999999999988E+149
24+
// The square root of 18446744073709551616 is 4294967296
25+
// </Snippet1>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// <Snippet1>
2+
using System;
3+
using System.Numerics;
4+
5+
public class Example
6+
{
7+
public static void Main()
8+
{
9+
Complex[] values = { new Complex(1.53, 9.26),
10+
new Complex(2.53, -8.12),
11+
new Complex(-2.81, 5.32),
12+
new Complex(-1.09, -3.43),
13+
new Complex(Double.MinValue/2, Double.MinValue/2) };
14+
foreach (Complex value in values)
15+
Console.WriteLine("Exp(Log({0}) = {1}", value,
16+
Complex.Exp(Complex.Log(value)));
17+
}
18+
}
19+
// The example displays the following output:
20+
// Exp(Log((1.53, 9.26)) = (1.53, 9.26)
21+
// Exp(Log((2.53, -8.12)) = (2.53, -8.12)
22+
// Exp(Log((-2.81, 5.32)) = (-2.81, 5.32)
23+
// Exp(Log((-1.09, -3.43)) = (-1.09, -3.43)
24+
// Exp(Log((-8.98846567431158E+307, -8.98846567431158E+307)) = (-8.98846567431161E+307, -8.98846567431161E+307)
25+
// </Snippet1>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
4+
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
5+
6+
by customizing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121.
7+
8+
-->
9+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
10+
<PropertyGroup>
11+
<WebPublishMethod>MSDeploy</WebPublishMethod>
12+
<LaunchASiteUrlAfterPublish>False</LaunchASiteUrlAfterPublish>
13+
<SiteUrlToLaunchAfterPublish />
14+
<MSDeployServiceURL>localhost</MSDeployServiceURL>
15+
<DeployIisAppPath>Default Web Site\WebApplication1</DeployIisAppPath>
16+
<RemoteSitePhysicalPath />
17+
<AllowUntrustedCertificate>False</AllowUntrustedCertificate>
18+
<SkipExtraFilesOnServer>True</SkipExtraFilesOnServer>
19+
<DeployAsIisApp>True</DeployAsIisApp>
20+
<MSDeployPublishMethod>InProc</MSDeployPublishMethod>
21+
<UserName />
22+
<SavePWD>False</SavePWD>
23+
<PublishDatabaseSettings>
24+
<Objects xmlns="">
25+
<ObjectGroup Name="DefaultConnection" Order="1" Enabled="False">
26+
<Destination Path="Data Source=(LocalDB)\v11.0;Initial Catalog=aspnet-WebApplication1-20111111115649;Integrated Security=True" />
27+
<Object Type="DbSqlPackage">
28+
<PreSource Path="Data Source=(LocalDB)\v11.0;Initial Catalog=aspnet-WebApplication1-20111111115649;Integrated Security=True" />
29+
<Source Path="$(IntermediateOutputPath)AutoScripts\DefaultConnection_IncrementalSchemaOnly.dacpac" Action="Publish" />
30+
</Object>
31+
<Object Type="DbFullSql" Enabled="False">
32+
<PreSource Path="Data Source=(LocalDB)\v11.0;Initial Catalog=aspnet-WebApplication1-20111111115649;Integrated Security=True" ScriptSchema="False" ScriptData="True" CopyAllFullTextCatalogs="False" DriDefaults="True" />
33+
<Source Path="$(IntermediateOutputPath)AutoScripts\DefaultConnection_DataOnly.sql" Transacted="True" />
34+
</Object>
35+
</ObjectGroup>
36+
</Objects>
37+
</PublishDatabaseSettings>
38+
</PropertyGroup>
39+
<ItemGroup>
40+
<MSDeployParameterValue Include="$(DeployParameterPrefix)DefaultConnection-Web.config Connection String">
41+
<ParameterValue>Data Source=(LocalDB)\v11.0;Initial Catalog=aspnet-WebApplication1-20111111115649;Integrated Security=True;MultipleActiveResultSets=True</ParameterValue>
42+
</MSDeployParameterValue>
43+
</ItemGroup>
44+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
4+
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
5+
6+
by customizing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121.
7+
8+
-->
9+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
10+
<PropertyGroup>
11+
<WebPublishMethod>MSDeploy</WebPublishMethod>
12+
<LaunchASiteUrlAfterPublish>False</LaunchASiteUrlAfterPublish>
13+
<SiteUrlToLaunchAfterPublish />
14+
<MSDeployServiceURL>localhost</MSDeployServiceURL>
15+
<DeployIisAppPath>Default Web Site\WebApplication1</DeployIisAppPath>
16+
<RemoteSitePhysicalPath />
17+
<AllowUntrustedCertificate>False</AllowUntrustedCertificate>
18+
<SkipExtraFilesOnServer>True</SkipExtraFilesOnServer>
19+
<DeployAsIisApp>True</DeployAsIisApp>
20+
<MSDeployPublishMethod>InProc</MSDeployPublishMethod>
21+
<UserName />
22+
<SavePWD>False</SavePWD>
23+
<PublishDatabaseSettings>
24+
<Objects xmlns="">
25+
<ObjectGroup Name="DefaultConnection" Order="1" Enabled="False">
26+
<Destination Path="Data Source=(LocalDB)\v11.0;Initial Catalog=aspnet-WebApplication1-20111111115649;Integrated Security=True" />
27+
<Object Type="DbSqlPackage">
28+
<PreSource Path="Data Source=(LocalDB)\v11.0;Initial Catalog=aspnet-WebApplication1-20111111115649;Integrated Security=True" />
29+
<Source Path="$(IntermediateOutputPath)AutoScripts\DefaultConnection_IncrementalSchemaOnly.dacpac" Action="Publish" />
30+
</Object>
31+
<Object Type="DbFullSql" Enabled="False">
32+
<PreSource Path="Data Source=(LocalDB)\v11.0;Initial Catalog=aspnet-WebApplication1-20111111115649;Integrated Security=True" ScriptSchema="False" ScriptData="True" CopyAllFullTextCatalogs="False" DriDefaults="True" />
33+
<Source Path="$(IntermediateOutputPath)AutoScripts\DefaultConnection_DataOnly.sql" Transacted="True" />
34+
</Object>
35+
</ObjectGroup>
36+
</Objects>
37+
</PublishDatabaseSettings>
38+
</PropertyGroup>
39+
<ItemGroup>
40+
<MSDeployParameterValue Include="$(DeployParameterPrefix)DefaultConnection-Web.config Connection String">
41+
<ParameterValue>Data Source=(LocalDB)\v11.0;Initial Catalog=aspnet-WebApplication1-20111111115649;Integrated Security=True;MultipleActiveResultSets=True</ParameterValue>
42+
</MSDeployParameterValue>
43+
</ItemGroup>
44+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
4+
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
5+
6+
by customizing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121.
7+
8+
-->
9+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
10+
<PropertyGroup>
11+
<WebPublishMethod>MSDeploy</WebPublishMethod>
12+
<LaunchASiteUrlAfterPublish>False</LaunchASiteUrlAfterPublish>
13+
<SiteUrlToLaunchAfterPublish />
14+
<MSDeployServiceURL>localhost</MSDeployServiceURL>
15+
<DeployIisAppPath>Default Web Site\WebApplication1</DeployIisAppPath>
16+
<RemoteSitePhysicalPath />
17+
<AllowUntrustedCertificate>False</AllowUntrustedCertificate>
18+
<SkipExtraFilesOnServer>True</SkipExtraFilesOnServer>
19+
<DeployAsIisApp>True</DeployAsIisApp>
20+
<MSDeployPublishMethod>InProc</MSDeployPublishMethod>
21+
<UserName />
22+
<SavePWD>False</SavePWD>
23+
<PublishDatabaseSettings>
24+
<Objects xmlns="">
25+
<ObjectGroup Name="DefaultConnection" Order="1" Enabled="False">
26+
<Destination Path="Data Source=(LocalDB)\v11.0;Initial Catalog=aspnet-WebApplication1-20111111115649;Integrated Security=True" />
27+
<Object Type="DbSqlPackage">
28+
<PreSource Path="Data Source=(LocalDB)\v11.0;Initial Catalog=aspnet-WebApplication1-20111111115649;Integrated Security=True" />
29+
<Source Path="$(IntermediateOutputPath)AutoScripts\DefaultConnection_IncrementalSchemaOnly.dacpac" Action="Publish" />
30+
</Object>
31+
<Object Type="DbFullSql" Enabled="False">
32+
<PreSource Path="Data Source=(LocalDB)\v11.0;Initial Catalog=aspnet-WebApplication1-20111111115649;Integrated Security=True" ScriptSchema="False" ScriptData="True" CopyAllFullTextCatalogs="False" DriDefaults="True" />
33+
<Source Path="$(IntermediateOutputPath)AutoScripts\DefaultConnection_DataOnly.sql" Transacted="True" />
34+
</Object>
35+
</ObjectGroup>
36+
</Objects>
37+
</PublishDatabaseSettings>
38+
</PropertyGroup>
39+
<ItemGroup>
40+
<MSDeployParameterValue Include="$(DeployParameterPrefix)DefaultConnection-Web.config Connection String">
41+
<ParameterValue>Data Source=(LocalDB)\v11.0;Initial Catalog=aspnet-WebApplication1-20111111115649;Integrated Security=True;MultipleActiveResultSets=True</ParameterValue>
42+
</MSDeployParameterValue>
43+
</ItemGroup>
44+
</Project>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
2+
3+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4+
5+
<html xmlns="http://www.w3.org/1999/xhtml">
6+
<head runat="server">
7+
<title></title>
8+
</head>
9+
<body>
10+
<form id="form1" runat="server">
11+
12+
</form>
13+
</body>
14+
</html>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Web;
4+
using System.Web.UI;
5+
using System.Web.UI.WebControls;
6+
using System.Configuration;
7+
8+
public partial class _Default : System.Web.UI.Page
9+
{
10+
// <Snippet1>
11+
protected void Page_Load(object sender, EventArgs e)
12+
{
13+
if (User.Identity.IsAuthenticated)
14+
{
15+
Page.Title = "Home page for " + User.Identity.Name;
16+
}
17+
else
18+
{
19+
Page.Title = "Home page for guest user.";
20+
}
21+
}
22+
// </Snippet1>
23+
}
Binary file not shown.

0 commit comments

Comments
 (0)