Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Apress
committed
Oct 6, 2016
0 parents
commit fb2acc9
Showing
264 changed files
with
10,455 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,14 @@ | ||
Chapter 1 ASP.NET 2.0 at a Glance<br /> | ||
Chapter 2 Introducing VS .NET for Web Developers<br /> | ||
Chapter 3 Enhanced Data Controls<br /> | ||
Chapter 4 Working with Master Pages <br /> | ||
Chapter 5 Integrating Site Navigation<br /> | ||
Chapter 6 Managing Users <br /> | ||
Chapter 7 Personalization<br /> | ||
Chapter 8 Creating Portals with Web Parts<br /> | ||
Chapter 9 Applying Themes<br /> | ||
Chapter 10 Tracking Traffic with Site Counters <br /> | ||
Chapter 11 The Enhanced Page Framework and Cool New Controls<br /> | ||
Chapter 12 Going Mobile<br /> | ||
Chapter 13 Configuration for Developers and Administrators <br /> | ||
Chapter 14 Fun Pet Tricks |
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,27 @@ | ||
Freeware License, some rights reserved | ||
|
||
Copyright (c) 2004 Patrick Lorenz | ||
|
||
Permission is hereby granted, free of charge, to anyone obtaining a copy | ||
of this software and associated documentation files (the "Software"), | ||
to work with the Software within the limits of freeware distribution and fair use. | ||
This includes the rights to use, copy, and modify the Software for personal use. | ||
Users are also allowed and encouraged to submit corrections and modifications | ||
to the Software for the benefit of other users. | ||
|
||
It is not allowed to reuse, modify, or redistribute the Software for | ||
commercial use in any way, or for a user�s educational materials such as books | ||
or blog articles without prior permission from the copyright holder. | ||
|
||
The above copyright notice and this permission notice need to be included | ||
in all copies or substantial portions of the software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS OR APRESS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
|
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,14 @@ | ||
using System; | ||
|
||
public class MyList<ItemType> { | ||
|
||
public void Add(ItemType obj) { | ||
// ... | ||
} | ||
|
||
public ItemType this[int index] { | ||
get { | ||
return ItemType.default; | ||
} | ||
} | ||
} |
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,33 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
public class Names { | ||
|
||
private List<string> names = new List<string>(); | ||
|
||
public Names() { | ||
this.names.Add("Smith"); | ||
this.names.Add("Miller"); | ||
this.names.Add("Doe"); | ||
} | ||
|
||
public IEnumerator<string> GetEnumerator() { | ||
for(int i = 0; i < this.names.Count; i++) { | ||
yield this.names[i]; | ||
} | ||
} | ||
} | ||
|
||
// Main | ||
public class MainClass { | ||
|
||
public static void Main() { | ||
Names names = new Names(); | ||
|
||
foreach(string name in names) { | ||
Console.WriteLine(name); | ||
} | ||
|
||
Console.Read(); | ||
} | ||
} |
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,25 @@ | ||
<%@ page language="C#" %> | ||
|
||
<script runat="server"> | ||
void Page_Load (object sender, System.EventArgs e) { | ||
this.Button1.Click += delegate(object dlgSender, EventArgs dlgE) { | ||
Label1.Text = "Yeah, you clicked the button!"; | ||
}; | ||
} | ||
</script> | ||
|
||
<html> | ||
<head runat="server"> | ||
<title>Untitled Page</title> | ||
</head> | ||
<body> | ||
<form runat="server"> | ||
<asp:button id="Button1" runat="server" text="Button" /> | ||
<br /> | ||
<br /> | ||
<asp:label id="Label1" runat="server">Please click da button!</asp:label> | ||
|
||
</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,26 @@ | ||
<%@ page language="C#" %> | ||
|
||
<script runat="server"> | ||
void Page_Load (object sender, System.EventArgs e) { | ||
string text = "Yeah, you clicked the button!"; | ||
this.Button1.Click += delegate(object dlgSender, EventArgs dlgE) { | ||
Label1.Text = text; | ||
}; | ||
} | ||
</script> | ||
|
||
<html> | ||
<head runat="server"> | ||
<title>Untitled Page</title> | ||
</head> | ||
<body> | ||
<form runat="server"> | ||
<asp:button id="Button1" runat="server" text="Button" /> | ||
<br /> | ||
<br /> | ||
<asp:label id="Label1" runat="server">Please click da button!</asp:label> | ||
|
||
</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,27 @@ | ||
<%@ page language="C#" %> | ||
|
||
<script runat="server"> | ||
void Page_Load (object sender, System.EventArgs e) { | ||
EventHandler handler = delegate(object dlgSender, EventArgs dlgE) { | ||
Label1.Text = "Yeah, you clicked the button!"; | ||
}; | ||
this.Button1.Click += handler; | ||
this.Button2.Click += handler; | ||
} | ||
</script> | ||
|
||
<html> | ||
<head runat="server"> | ||
<title>Untitled Page</title> | ||
</head> | ||
<body> | ||
<form runat="server"> | ||
<asp:button id="Button1" runat="server" text="Button" /> | ||
<asp:button id="Button2" runat="server" text="Button" /> | ||
<br /> | ||
<br /> | ||
<asp:label id="Label1" runat="server">Please click da button!</asp:label> | ||
|
||
</form> | ||
</body> | ||
</html> |
Binary file not shown.
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,58 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
|
||
// | ||
// 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("")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("")] | ||
[assembly: AssemblyCopyright("")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// | ||
// 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.*")] | ||
|
||
// | ||
// In order to sign your assembly you must specify a key to use. Refer to the | ||
// Microsoft .NET Framework documentation for more information on assembly signing. | ||
// | ||
// Use the attributes below to control which key is used for signing. | ||
// | ||
// Notes: | ||
// (*) If no key is specified, the assembly is not signed. | ||
// (*) KeyName refers to a key that has been installed in the Crypto Service | ||
// Provider (CSP) on your machine. KeyFile refers to a file which contains | ||
// a key. | ||
// (*) If the KeyFile and the KeyName values are both specified, the | ||
// following processing occurs: | ||
// (1) If the KeyName can be found in the CSP, that key is used. | ||
// (2) If the KeyName does not exist and the KeyFile does exist, the key | ||
// in the KeyFile is installed into the CSP and used. | ||
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. | ||
// When specifying the KeyFile, the location of the KeyFile should be | ||
// relative to the project output directory which is | ||
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is | ||
// located in the project directory, you would specify the AssemblyKeyFile | ||
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] | ||
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework | ||
// documentation for more information on this. | ||
// | ||
[assembly: AssemblyDelaySign(false)] | ||
[assembly: AssemblyKeyFile("")] | ||
[assembly: AssemblyKeyName("")] |
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,57 @@ | ||
<Project MSBuildVersion="1.0" DefaultTargets="Build"> | ||
<PropertyGroup> | ||
<Property Configuration="Debug" Condition=" '$(Configuration)' == '' " /> | ||
<Property ProductVersion="8.0.30703" /> | ||
<Property SchemaVersion="2.0" /> | ||
<Property ProjectGuid="{663827B3-FF60-4655-8B42-E1E0D6312377}" /> | ||
<Property OutputType="Exe" /> | ||
<Property StartupObject="MyLittleConsoleApp.MainClass" /> | ||
<Property RootNamespace="MyLittleConsoleApp" /> | ||
<Property NoStandardLibraries="false" /> | ||
<Property AssemblyName="MyLittleConsoleApp" /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
<Property DebugSymbols="true" /> | ||
<Property Optimize="false" /> | ||
<Property OutputPath=".\bin\Debug\" /> | ||
<Property EnableUnmanagedDebugging="false" /> | ||
<Property DefineConstants="DEBUG;TRACE" /> | ||
<Property WarningLevel="4" /> | ||
<Property IncrementalBuild="false" /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<Property DebugSymbols="false" /> | ||
<Property Optimize="true" /> | ||
<Property OutputPath=".\bin\Release\" /> | ||
<Property EnableUnmanagedDebugging="false" /> | ||
<Property DefineConstants="TRACE" /> | ||
<Property WarningLevel="4" /> | ||
<Property IncrementalBuild="false" /> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Item Type="Reference" Include="System" HintPath="..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.2.30703\System.dll" Name="System" /> | ||
<Item Type="Reference" Include="System.Data" HintPath="..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.2.30703\System.Data.dll" Name="System.Data" /> | ||
<Item Type="Reference" Include="System.Drawing" HintPath="..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.2.30703\System.Drawing.dll" Name="System.Drawing" /> | ||
<Item Type="Reference" Include="System.Windows.Forms" HintPath="..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.2.30703\System.Windows.Forms.dll" Name="System.Windows.Forms" /> | ||
<Item Type="Reference" Include="System.Xml" HintPath="..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.2.30703\System.XML.dll" Name="System.XML" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Item Type="Content" Include="App.ico" /> | ||
<Item Type="Compile" Include="AssemblyInfo.cs" /> | ||
<Item Type="Compile" Include="MainClass.cs" SubType="Code" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildBinPath)\CSHARP.Targets" /> | ||
<PropertyGroup> | ||
<Property PreBuildEvent="" /> | ||
<Property PostBuildEvent="" /> | ||
<Property ApplicationIcon="App.ico" /> | ||
</PropertyGroup> | ||
<ProjectExtensions> | ||
<VisualStudio> | ||
<CommonProperties> | ||
<FL_FAE04EC0_301F_11D3_BF4B_00C04F79EFBC /> | ||
</CommonProperties> | ||
<UserProperties /> | ||
</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,44 @@ | ||
<Project MSBuildVersion="1.2"> | ||
<PropertyGroup> | ||
<Property LastOpenVersion="8.0.30703" /> | ||
<Property ReferencePath="" /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
<Property DebugSecurityZoneURL="" /> | ||
<Property DebugSecurityZone="NoZone" /> | ||
<Property EnableASPDebugging="false" /> | ||
<Property EnableASPXDebugging="false" /> | ||
<Property EnableUnmanagedDebugging="false" /> | ||
<Property EnableSQLServerDebugging="false" /> | ||
<Property RemoteDebugEnabled="false" /> | ||
<Property RemoteDebugMachine="" /> | ||
<Property StartAction="Project" /> | ||
<Property StartArguments="" /> | ||
<Property StartPage="" /> | ||
<Property StartProgram="" /> | ||
<Property StartURL="" /> | ||
<Property StartWorkingDirectory="" /> | ||
<Property StartWithIE="true" /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<Property DebugSecurityZoneURL="" /> | ||
<Property DebugSecurityZone="NoZone" /> | ||
<Property EnableASPDebugging="false" /> | ||
<Property EnableASPXDebugging="false" /> | ||
<Property EnableUnmanagedDebugging="false" /> | ||
<Property EnableSQLServerDebugging="false" /> | ||
<Property RemoteDebugEnabled="false" /> | ||
<Property RemoteDebugMachine="" /> | ||
<Property StartAction="Project" /> | ||
<Property StartArguments="" /> | ||
<Property StartPage="" /> | ||
<Property StartProgram="" /> | ||
<Property StartURL="" /> | ||
<Property StartWorkingDirectory="" /> | ||
<Property StartWithIE="false" /> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<Property ProjectView="ProjectFiles" /> | ||
<Property ProjectTrust="0" /> | ||
</PropertyGroup> | ||
</Project> |
Oops, something went wrong.