Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Spearing authored and Spearing committed Oct 4, 2016
0 parents commit a8adb46
Show file tree
Hide file tree
Showing 1,077 changed files with 49,066 additions and 0 deletions.
19 changes: 19 additions & 0 deletions 557.html
@@ -0,0 +1,19 @@
Part One Debugging in the VB .NET World<br />
Chapter 1: Strategic Debugging Issues<br />
Chapter 2: Language Surprises in VB .NET <br />
Part Two The Debugging Tools <br />
Chapter 3: The Visual Studio .NET Debugger <br />
Chapter 4: Using the Visual Studio .NET Debugger <br />
Chapter 5: Other Debugging Tools <br />
Chapter 6: Tracing and Instrumentation<br />
Part Three Debugging Applications <br />
Chapter 7: Windows Forms Debugging <br />
Chapter 8: Web Services Debugging<br />
Chapter 9: ASP.NET Debugging <br />
Chapter 10: Windows Services Debugging <br />
Chapter 11: VB.Classic Debugging <br />
Chapter 12: SQL Server Debugging <br />
Part Four Debugging Common Scenarios<br />
Chapter 13: Error Handling and Exception Management <br />
Chapter 14: Debugging Multithreaded Applications<br />
Chapter 15: Debugging Distributed Systems
Expand Down
Binary file added 919.pdf
Binary file not shown.
Binary file added 920.pdf
Binary file not shown.
Binary file added 9781590590508.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
173 changes: 173 additions & 0 deletions Inetpub/wwwroot/AspNetDebugDemo/AspNetDebugDemo.vbproj
@@ -0,0 +1,173 @@
<VisualStudioProject>
<VisualBasic
ProjectType = "Web"
ProductVersion = "7.10.2215"
SchemaVersion = "2.0"
ProjectGuid = "{135C30F3-6B37-4B7D-BC76-0EEF97726826}"
>
<Build>
<Settings
ApplicationIcon = ""
AssemblyKeyContainerName = ""
AssemblyName = "AspNetDebugDemo"
AssemblyOriginatorKeyFile = ""
AssemblyOriginatorKeyMode = "None"
DefaultClientScript = "JScript"
DefaultHTMLPageLayout = "Grid"
DefaultTargetSchema = "IE50"
DelaySign = "false"
OutputType = "Library"
OptionCompare = "Binary"
OptionExplicit = "On"
OptionStrict = "On"
RootNamespace = "AspNetDebugDemo"
StartupObject = ""
>
<Config
Name = "Debug"
BaseAddress = "285212672"
ConfigurationOverrideFile = ""
DefineConstants = ""
DefineDebug = "true"
DefineTrace = "true"
DebugSymbols = "true"
IncrementalBuild = "true"
Optimize = "false"
OutputPath = "bin\"
RegisterForComInterop = "false"
RemoveIntegerChecks = "false"
TreatWarningsAsErrors = "false"
WarningLevel = "1"
/>
<Config
Name = "Release"
BaseAddress = "285212672"
ConfigurationOverrideFile = ""
DefineConstants = ""
DefineDebug = "false"
DefineTrace = "true"
DebugSymbols = "false"
IncrementalBuild = "false"
Optimize = "true"
OutputPath = "bin\"
RegisterForComInterop = "false"
RemoveIntegerChecks = "false"
TreatWarningsAsErrors = "false"
WarningLevel = "1"
/>
</Settings>
<References>
<Reference
Name = "System"
AssemblyName = "System"
/>
<Reference
Name = "System.Data"
AssemblyName = "System.Data"
/>
<Reference
Name = "System.Drawing"
AssemblyName = "System.Drawing"
/>
<Reference
Name = "System.Web"
AssemblyName = "System.Web"
/>
<Reference
Name = "System.XML"
AssemblyName = "System.Xml"
/>
</References>
<Imports>
<Import Namespace = "Microsoft.VisualBasic" />
<Import Namespace = "System" />
<Import Namespace = "System.Collections" />
<Import Namespace = "System.Configuration" />
<Import Namespace = "System.Data" />
<Import Namespace = "System.Drawing" />
<Import Namespace = "System.Web" />
<Import Namespace = "System.Web.UI" />
<Import Namespace = "System.Web.UI.HtmlControls" />
<Import Namespace = "System.Web.UI.WebControls" />
</Imports>
</Build>
<Files>
<Include>
<File
RelPath = "AssemblyInfo.vb"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "CustomErrorPage.aspx"
BuildAction = "Content"
/>
<File
RelPath = "CustomErrorPage.aspx.vb"
DependentUpon = "CustomErrorPage.aspx"
SubType = "ASPXCodeBehind"
BuildAction = "Compile"
/>
<File
RelPath = "CustomErrorPage.aspx.resx"
DependentUpon = "CustomErrorPage.aspx.vb"
BuildAction = "EmbeddedResource"
/>
<File
RelPath = "DefaultErrorPage.aspx"
BuildAction = "Content"
/>
<File
RelPath = "DefaultErrorPage.aspx.vb"
DependentUpon = "DefaultErrorPage.aspx"
SubType = "ASPXCodeBehind"
BuildAction = "Compile"
/>
<File
RelPath = "DefaultErrorPage.aspx.resx"
DependentUpon = "DefaultErrorPage.aspx.vb"
BuildAction = "EmbeddedResource"
/>
<File
RelPath = "Global.asax"
BuildAction = "Content"
/>
<File
RelPath = "Global.asax.vb"
DependentUpon = "Global.asax"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "Global.asax.resx"
DependentUpon = "Global.asax.vb"
BuildAction = "EmbeddedResource"
/>
<File
RelPath = "MainForm.aspx"
BuildAction = "Content"
/>
<File
RelPath = "MainForm.aspx.vb"
DependentUpon = "MainForm.aspx"
SubType = "ASPXCodeBehind"
BuildAction = "Compile"
/>
<File
RelPath = "MainForm.aspx.resx"
DependentUpon = "MainForm.aspx.vb"
BuildAction = "EmbeddedResource"
/>
<File
RelPath = "Styles.css"
BuildAction = "Content"
/>
<File
RelPath = "Web.config"
BuildAction = "Content"
/>
</Include>
</Files>
</VisualBasic>
</VisualStudioProject>

@@ -0,0 +1,4 @@
<VisualStudioUNCWeb>
<Web URLPath = "http://localhost/AspNetDebugDemo/AspNetDebugDemo.vbproj" />
</VisualStudioUNCWeb>

32 changes: 32 additions & 0 deletions Inetpub/wwwroot/AspNetDebugDemo/AssemblyInfo.vb
@@ -0,0 +1,32 @@
Imports System
Imports System.Reflection
Imports 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.

' Review the values of the assembly attributes

<Assembly: AssemblyTitle("")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("")>
<Assembly: AssemblyCopyright("")>
<Assembly: AssemblyTrademark("")>
<Assembly: CLSCompliant(True)>

'The following GUID is for the ID of the typelib if this project is exposed to COM
<Assembly: Guid("B8BA063F-C062-40D5-AEC1-FBD55A8D8ED4")>

' 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 Build and Revision Numbers
' by using the '*' as shown below:

<Assembly: AssemblyVersion("1.0.*")>
17 changes: 17 additions & 0 deletions Inetpub/wwwroot/AspNetDebugDemo/CustomErrorPage.aspx
@@ -0,0 +1,17 @@
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="CustomErrorPage.aspx.vb" Inherits="AspNetDebugDemo.CustomErrorPage"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>CustomErrorPage</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:label id="lblText" style="Z-INDEX: 101; LEFT: 72px; POSITION: absolute; TOP: 60px" runat="server"
Width="301px" Height="54px">This PAGE-level custom error page was defined in MainForm.ErrorPage</asp:label><asp:button id="btnBack" style="Z-INDEX: 102; LEFT: 72px; POSITION: absolute; TOP: 150px" runat="server"
Width="216px" Height="72px" Text="Go back to main page"></asp:button></form>
</body>
</HTML>
109 changes: 109 additions & 0 deletions Inetpub/wwwroot/AspNetDebugDemo/CustomErrorPage.aspx.resx
@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="$this.TrayAutoArrange" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Assembly</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
</root>
33 changes: 33 additions & 0 deletions Inetpub/wwwroot/AspNetDebugDemo/CustomErrorPage.aspx.vb
@@ -0,0 +1,33 @@
Public Class CustomErrorPage
Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

End Sub
Protected WithEvents lblText As System.Web.UI.WebControls.Label
Protected WithEvents btnBack As System.Web.UI.WebControls.Button

'NOTE: The following placeholder declaration is required by the Web Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object

Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub

#End Region

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
End Sub

Private Sub btnBack_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBack.Click
Server.ClearError()
Response.Redirect(Request.QueryString("aspxErrorPath"))
End Sub
End Class

0 comments on commit a8adb46

Please sign in to comment.