From 27c0003de5ded37afee0dcf112b46f3cad450aed Mon Sep 17 00:00:00 2001
From: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Date: Thu, 25 Jun 2026 14:13:00 -0700
Subject: [PATCH 1/7] Upgrade projects to .NET 10
---
.../AnnotationStore/DeleteAnnotation/DocumentSerialize.csproj | 2 +-
.../Overview/DocViewerAnnotationsXps.csproj | 2 +-
.../GetAnchorInfo/FlowDocumentAnnotatedViewer.csproj | 2 +-
.../AnnotationService/Overview/DocViewerAnnotationsXml.csproj | 2 +-
.../IViewAutomationPeer/Overview/ListViewCustomView.csproj | 2 +-
.../IsReadOnly/UIAIRangeValueProvider_snip.csproj | 2 +-
.../AddToSelection/ElementProvider.csproj | 2 +-
.../IToggleProvider/Toggle/UIAIToggleProvider_snip.csproj | 2 +-
.../CanMove/UIAITransformProvider_snip.csproj | 2 +-
.../IValueProvider/IsReadOnly/UIAIValueProvider_snip.csproj | 2 +-
.../DockPosition/UIADockPattern_snip.csproj | 2 +-
.../ExpandCollapseState/UIAExpandCollapsePattern_snip.csproj | 2 +-
.../Column/UIAGridItemPattern_snip.csproj | 2 +-
.../ColumnCount/UIAGridPattern_snip.csproj | 2 +-
.../CurrentView/UIAMultipleViewPattern_snip.csproj | 2 +-
.../IsReadOnly/UIARangeValuePattern_snip.csproj | 2 +-
.../ScrollItemPattern/Pattern/UIAScrollItemPattern_snip.csproj | 2 +-
.../HorizontallyScrollable/UIAScrollPattern_snip.csproj | 2 +-
.../IsSelected/UIASelectionItemPattern_snip.csproj | 2 +-
.../CanSelectMultiple/UIASelectionPattern_snip.csproj | 2 +-
.../StructureChangedEventArgs/.ctor/ElementProvider.csproj | 2 +-
.../Column/UIATableItemPattern_snip.csproj | 2 +-
.../ColumnCount/UIATablePattern_snip.csproj | 2 +-
.../TextPattern/DocumentRange/TextProvider.csproj | 2 +-
.../ToggleState/UIATogglePattern_snip.csproj | 2 +-
.../CanMove/UIATransformPattern_snip.csproj | 2 +-
.../IsReadOnly/UIAValuePattern_snip.csproj | 2 +-
.../CanMaximize/UIAWindowPattern_snip.csproj | 2 +-
.../System.Windows.Data/Binding/Source/SimpleBinding.csproj | 2 +-
.../bindingvalidationattributessnippets.csproj | 2 +-
.../BindingExpression/DataItem/DirectionalBinding.csproj | 2 +-
.../bindingexpressionbasevalidatewithoutupdating.csproj | 2 +-
.../BindingOperations/SetBinding/BindConversion.csproj | 2 +-
.../CollectionView/MoveCurrentTo/Colors.csproj | 2 +-
.../PriorityBinding/Bindings/PriorityBinding.csproj | 2 +-
.../XmlDataProvider/Source/XmlDataSource2.csproj | 2 +-
.../XmlDataProvider/XmlNamespaceManager/XmlnsBind.csproj | 2 +-
.../DocumentPaginator/PageSize/XpsSave.csproj | 2 +-
.../Glyphs/Overview/Glyphs_ovw_samp1.csproj | 2 +-
.../Hyperlink/NavigateUri/HOWTONavigationMailTo.csproj | 2 +-
.../Hyperlink/Overview/HyperlinkSnippets.csproj | 2 +-
.../System.Windows.Documents/List/Overview/ListSnippets.csproj | 2 +-
.../System.Windows.Documents/Run/.ctor/RunSnippets.csproj | 2 +-
.../System.Windows.Documents/Run/Text/bindablerunsnippet.csproj | 2 +-
.../Typography/Overview/TypographySnippets.csproj | 2 +-
.../Adorner/Enabled/Project.csproj | 2 +-
.../EventsTab/Overview/Project.csproj | 2 +-
.../IWindowsFormsEditorService/Overview/Project.csproj | 2 +-
.../Application/AddMessageFilter/Project.csproj | 2 +-
.../Application/SetUnhandledExceptionMode/Project.csproj | 2 +-
.../System.Windows.Forms/CheckBox/CreateParams/Project.csproj | 2 +-
.../CheckBox/ProcessMnemonic/Project.csproj | 2 +-
.../CheckedListBox+ObjectCollection/Add/Project.csproj | 2 +-
.../System.Windows.Forms/CheckedListBox/WndProc/Project.csproj | 2 +-
.../System.Windows.Forms/CommonDialog/HookProc/Project.csproj | 2 +-
.../DataGridColumnStyle/Overview/Project.csproj | 2 +-
.../System.Windows.Forms/DataGridView/BeginEdit/Project.csproj | 2 +-
.../FolderBrowserDialog/Overview/Project.csproj | 2 +-
.../HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj | 2 +-
.../HtmlElement/Overview/HtmlElementProjectCSharp.csproj | 2 +-
.../HtmlElementEventHandler/Overview/Project.csproj | 2 +-
.../KeyPressEventArgs/Handled/Project.csproj | 2 +-
.../System.Windows.Forms/NativeWindow/Overview/Project.csproj | 2 +-
.../System.Windows.Forms/PropertyGrid/Overview/Project.csproj | 2 +-
.../ToolStripDropDown/Overview/Project.csproj | 2 +-
.../ToolStripMenuItem/ShortcutKeys/Project.csproj | 2 +-
.../csharp/System.Windows.Forms/WebBrowser/.ctor/Project.csproj | 2 +-
.../WebBrowser/AllowWebBrowserDrop/Project.csproj | 2 +-
.../System.Windows.Forms/WebBrowser/CreateSink/Project.csproj | 2 +-
.../PropertyDataChanged/StrokeCollectionShadow.csproj | 2 +-
.../GestureRecognizer/Overview/GestureControl.csproj | 2 +-
.../System.Windows.Ink/Stroke/.ctor/StrokeSnippets_CS.csproj | 2 +-
.../InertiaProcessor2D/Complete/manipulationapi.csproj | 2 +-
.../Parameter/InvalidateRequeryWithDispatcherTimer.csproj | 2 +-
.../Overview/Custom_RoutedCommand.csproj | 2 +-
.../FocusManager/FocusedElement/MarkupSnippets.csproj | 2 +-
.../FocusManager/GetFocusedElement/FocusSnippets.csproj | 2 +-
.../ImeSentenceModeValues/Overview/inputmanager.csproj | 2 +-
.../InputBinding/.ctor/CommandLibarySnippets.csproj | 2 +-
.../InputBinding/Overview/inputcommandbinding.csproj | 2 +-
.../Keyboard/GotKeyboardFocus/KeyboardSample.csproj | 2 +-
.../csharp/System.Windows.Input/Keyboard/KeyDown/KeyDown.csproj | 2 +-
.../Keyboard/Overview/KeyArgsSnippetSample.csproj | 2 +-
.../Mouse/Capture/MouseCaptureSample.csproj | 2 +-
.../Mouse/GetPosition/MouseRelatedSnippets.csproj | 2 +-
.../BrowseBack/NavigationCommandsSnippets.csproj | 2 +-
.../RoutedCommand/CanExecute/ImplementICommandSource.csproj | 2 +-
.../System.Windows.Input/Stylus/Overview/StylusSamples.csproj | 2 +-
.../StylusButton/Overview/StylusSnippets_CS.csproj | 2 +-
.../StylusDevice/GetStylusPoints/PacketSpy.csproj | 2 +-
.../StylusDeviceCollection/Overview/HwCaps_CS.csproj | 2 +-
.../Touch/Overview/wpftouchframesample.csproj | 2 +-
.../TouchDevice/Overview/wpftoucheventssample.csproj | 2 +-
.../HostScript/wpfbrowserapplication1.csproj | 2 +-
.../IsBrowserHosted/BrowserInteropHelperSnippet.csproj | 2 +-
.../System.Windows.Interop/D3DImage/Overview/d3dhost.csproj | 2 +-
.../XamlReader/Overview/XamlReaderWriterSnippets.csproj | 2 +-
.../BackEase/Overview/backease_scale.csproj | 2 +-
.../BooleanAnimationBase/Overview/keyframes_markup.csproj | 2 +-
.../BounceEase/Overview/bounceease.csproj | 2 +-
.../CircleEase/Overview/circleease.csproj | 2 +-
.../Remove/ClockController_procedural_snip.csproj | 2 +-
.../CubicEase/Overview/cubicease.csproj | 2 +-
.../DiscreteInt16KeyFrame/Overview/keyframes.csproj | 2 +-
.../PathGeometry/pathanimationgallery.csproj | 2 +-
.../Overview/easingfunctiondoublekeyframe.csproj | 2 +-
.../EasingFunctionBase/Overview/customeasingfunction.csproj | 2 +-
.../Overview/easingfunctionpointkeyframe.csproj | 2 +-
.../ElasticEase/Overview/elasticease.csproj | 2 +-
.../ExponentialEase/Overview/exponentialease.csproj | 2 +-
.../PowerEase/Overview/powerease.csproj | 2 +-
.../QuadraticEase/Overview/quadraticease.csproj | 2 +-
.../QuarticEase/Overview/quarticease.csproj | 2 +-
.../QuinticEase/Overview/quinticease.csproj | 2 +-
.../RemoveStoryboard/Overview/storyboard.csproj | 2 +-
.../SineEase/Overview/sineease.csproj | 2 +-
.../Storyboard/Begin/animation_ovws_procedural.csproj | 2 +-
.../Timeline/BeginTime/project.csproj | 2 +-
.../BitmapImage/Overview/ImageElementExample.csproj | 2 +-
.../WriteableBitmap/Overview/WriteableBitmapDemo.csproj | 2 +-
.../AmbientLight/Overview/Show3DLights.csproj | 2 +-
.../AxisAngleRotation3D/AngleProperty/BlankSample.csproj | 2 +-
.../AxisAngleRotation3D/Overview/create_cube.csproj | 2 +-
.../ContainerUIElement3D/Overview/ContainerModelSample.csproj | 2 +-
.../Matrix3D/Overview/Mil3dVectorSample.csproj | 2 +-
.../MatrixCamera/Overview/MatrixTransform3DView.csproj | 2 +-
.../PerspectiveCamera/Overview/3DGallery.csproj | 2 +-
.../System.Windows.Media.Media3D/Point3D/Add/Mil3dPoints.csproj | 2 +-
.../Point3D/GetHashCode/Mil4dPoints.csproj | 2 +-
.../Quaternion/Overview/Animation3DGallery.csproj | 2 +-
.../Quaternion/Parse/QuaternionView.csproj | 2 +-
.../System.Windows.Media.Media3D/Size3D/Empty/Mil3dSize.csproj | 2 +-
.../Overview/viewport2dvisual3dexample.csproj | 2 +-
.../MinMaxParagraphWidth/Overview/TextFormattingSnippets.csproj | 2 +-
.../BitmapCache/Overview/cachedcompositiondemo.csproj | 2 +-
.../BitmapCacheBrush/Overview/bitmapcachebrushdemo.csproj | 2 +-
.../BitmapScalingMode/Overview/RenderOptionsSnippets.csproj | 2 +-
.../Color/FromArgb/BrushesMiscSnippets_procedural.csproj | 2 +-
.../System.Windows.Media/Color/Overview/MiscSnippets.csproj | 2 +-
.../CompositionTarget/Rendering/CompositionTargetSample.csproj | 2 +-
.../ContainerVisual/.ctor/ContainerVisualSnippets.csproj | 2 +-
.../ContainerVisual/Overview/ContainerVisualHost.csproj | 2 +-
.../Overview/DisableDpiAwareness.csproj | 2 +-
.../DrawingContext/Overview/DrawingVisual.csproj | 2 +-
.../DrawingGroup/BitmapEffect/misc_snippets.csproj | 2 +-
.../DrawingVisual/Drawing/VisualSnippets.csproj | 2 +-
.../FontFamily/Overview/compositefontmarkup.csproj | 2 +-
.../FormattedText/Overview/FormattedTextSnippets.csproj | 2 +-
.../System.Windows.Media/Geometry/Transform/Transforms.csproj | 2 +-
.../GeometryCombineMode/Overview/myproject.csproj | 2 +-
.../Overview/HitTestingOverview.csproj | 2 +-
.../GlyphTypeface/.ctor/GlyphTypefaceSnippets.csproj | 2 +-
.../Matrix/Append/MatrixExamples_snip.csproj | 2 +-
.../PenLineJoin/Overview/drawingwithshapeelements.csproj | 2 +-
.../PixelFormat/Overview/ImagingSnippetGallery_csharp.csproj | 2 +-
.../PointCollection/ToString/PointCollectionSample.csproj | 2 +-
.../Overview/GeometriesMiscSnippets_procedural.csproj | 2 +-
.../PolyLineSegment/Overview/GeoOvwSamples.csproj | 2 +-
.../System.Windows.Media/TextEffect/.ctor/TextOverview.csproj | 2 +-
.../TextEffect/Overview/TextEffectSample.csproj | 2 +-
.../TileBrush/Viewbox/BrushOverviewExample.csproj | 2 +-
.../Visual/AddVisualChild/AddVisualChild.csproj | 2 +-
.../AutoLayoutContent/visualbrush_markup_snip.csproj | 2 +-
.../VisualTreeHelper/Overview/VisualsOverview.csproj | 2 +-
.../CustomContentState/Overview/CSharp.csproj | 2 +-
.../JournalEntry/Overview/CSharp.csproj | 2 +-
.../journalentryunifiedpositionconvertersnippets.csproj | 2 +-
.../NavigatingCancelEventArgs/Overview/CSharp.csproj | 2 +-
.../NavigationService/GetNavigationService/CSharp.csproj | 2 +-
.../NavigationService/Navigate/CSharp.csproj | 2 +-
170 files changed, 170 insertions(+), 170 deletions(-)
diff --git a/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/DocumentSerialize.csproj b/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/DocumentSerialize.csproj
index b5677fb13cc..1ebc70bd009 100644
--- a/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/DocumentSerialize.csproj
+++ b/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/DocumentSerialize.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/DocViewerAnnotationsXps.csproj b/snippets/csharp/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/DocViewerAnnotationsXps.csproj
index c573665a759..fac33010f8d 100644
--- a/snippets/csharp/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/DocViewerAnnotationsXps.csproj
+++ b/snippets/csharp/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/DocViewerAnnotationsXps.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Annotations/AnnotationHelper/GetAnchorInfo/FlowDocumentAnnotatedViewer.csproj b/snippets/csharp/System.Windows.Annotations/AnnotationHelper/GetAnchorInfo/FlowDocumentAnnotatedViewer.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Annotations/AnnotationHelper/GetAnchorInfo/FlowDocumentAnnotatedViewer.csproj
+++ b/snippets/csharp/System.Windows.Annotations/AnnotationHelper/GetAnchorInfo/FlowDocumentAnnotatedViewer.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/DocViewerAnnotationsXml.csproj b/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/DocViewerAnnotationsXml.csproj
index c573665a759..fac33010f8d 100644
--- a/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/DocViewerAnnotationsXml.csproj
+++ b/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/DocViewerAnnotationsXml.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation.Peers/IViewAutomationPeer/Overview/ListViewCustomView.csproj b/snippets/csharp/System.Windows.Automation.Peers/IViewAutomationPeer/Overview/ListViewCustomView.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation.Peers/IViewAutomationPeer/Overview/ListViewCustomView.csproj
+++ b/snippets/csharp/System.Windows.Automation.Peers/IViewAutomationPeer/Overview/ListViewCustomView.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation.Provider/IRangeValueProvider/IsReadOnly/UIAIRangeValueProvider_snip.csproj b/snippets/csharp/System.Windows.Automation.Provider/IRangeValueProvider/IsReadOnly/UIAIRangeValueProvider_snip.csproj
index 8de2ec97cb2..3450e7c6c84 100644
--- a/snippets/csharp/System.Windows.Automation.Provider/IRangeValueProvider/IsReadOnly/UIAIRangeValueProvider_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation.Provider/IRangeValueProvider/IsReadOnly/UIAIRangeValueProvider_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation.Provider/ISelectionItemProvider/AddToSelection/ElementProvider.csproj b/snippets/csharp/System.Windows.Automation.Provider/ISelectionItemProvider/AddToSelection/ElementProvider.csproj
index 8de2ec97cb2..3450e7c6c84 100644
--- a/snippets/csharp/System.Windows.Automation.Provider/ISelectionItemProvider/AddToSelection/ElementProvider.csproj
+++ b/snippets/csharp/System.Windows.Automation.Provider/ISelectionItemProvider/AddToSelection/ElementProvider.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation.Provider/IToggleProvider/Toggle/UIAIToggleProvider_snip.csproj b/snippets/csharp/System.Windows.Automation.Provider/IToggleProvider/Toggle/UIAIToggleProvider_snip.csproj
index 8de2ec97cb2..3450e7c6c84 100644
--- a/snippets/csharp/System.Windows.Automation.Provider/IToggleProvider/Toggle/UIAIToggleProvider_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation.Provider/IToggleProvider/Toggle/UIAIToggleProvider_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation.Provider/ITransformProvider/CanMove/UIAITransformProvider_snip.csproj b/snippets/csharp/System.Windows.Automation.Provider/ITransformProvider/CanMove/UIAITransformProvider_snip.csproj
index 8de2ec97cb2..3450e7c6c84 100644
--- a/snippets/csharp/System.Windows.Automation.Provider/ITransformProvider/CanMove/UIAITransformProvider_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation.Provider/ITransformProvider/CanMove/UIAITransformProvider_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation.Provider/IValueProvider/IsReadOnly/UIAIValueProvider_snip.csproj b/snippets/csharp/System.Windows.Automation.Provider/IValueProvider/IsReadOnly/UIAIValueProvider_snip.csproj
index 8186e8dd5d3..d3052dea920 100644
--- a/snippets/csharp/System.Windows.Automation.Provider/IValueProvider/IsReadOnly/UIAIValueProvider_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation.Provider/IValueProvider/IsReadOnly/UIAIValueProvider_snip.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation/DockPattern+DockPatternInformation/DockPosition/UIADockPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/DockPattern+DockPatternInformation/DockPosition/UIADockPattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/DockPattern+DockPatternInformation/DockPosition/UIADockPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/DockPattern+DockPatternInformation/DockPosition/UIADockPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/ExpandCollapsePattern+ExpandCollapsePatternInformation/ExpandCollapseState/UIAExpandCollapsePattern_snip.csproj b/snippets/csharp/System.Windows.Automation/ExpandCollapsePattern+ExpandCollapsePatternInformation/ExpandCollapseState/UIAExpandCollapsePattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/ExpandCollapsePattern+ExpandCollapsePatternInformation/ExpandCollapseState/UIAExpandCollapsePattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/ExpandCollapsePattern+ExpandCollapsePatternInformation/ExpandCollapseState/UIAExpandCollapsePattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/GridItemPattern+GridItemPatternInformation/Column/UIAGridItemPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/GridItemPattern+GridItemPatternInformation/Column/UIAGridItemPattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/GridItemPattern+GridItemPatternInformation/Column/UIAGridItemPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/GridItemPattern+GridItemPatternInformation/Column/UIAGridItemPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/GridPattern+GridPatternInformation/ColumnCount/UIAGridPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/GridPattern+GridPatternInformation/ColumnCount/UIAGridPattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/GridPattern+GridPatternInformation/ColumnCount/UIAGridPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/GridPattern+GridPatternInformation/ColumnCount/UIAGridPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/MultipleViewPattern+MultipleViewPatternInformation/CurrentView/UIAMultipleViewPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/MultipleViewPattern+MultipleViewPatternInformation/CurrentView/UIAMultipleViewPattern_snip.csproj
index 8de2ec97cb2..3450e7c6c84 100644
--- a/snippets/csharp/System.Windows.Automation/MultipleViewPattern+MultipleViewPatternInformation/CurrentView/UIAMultipleViewPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/MultipleViewPattern+MultipleViewPatternInformation/CurrentView/UIAMultipleViewPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation/RangeValuePattern+RangeValuePatternInformation/IsReadOnly/UIARangeValuePattern_snip.csproj b/snippets/csharp/System.Windows.Automation/RangeValuePattern+RangeValuePatternInformation/IsReadOnly/UIARangeValuePattern_snip.csproj
index 8de2ec97cb2..3450e7c6c84 100644
--- a/snippets/csharp/System.Windows.Automation/RangeValuePattern+RangeValuePatternInformation/IsReadOnly/UIARangeValuePattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/RangeValuePattern+RangeValuePatternInformation/IsReadOnly/UIARangeValuePattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation/ScrollItemPattern/Pattern/UIAScrollItemPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/ScrollItemPattern/Pattern/UIAScrollItemPattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/ScrollItemPattern/Pattern/UIAScrollItemPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/ScrollItemPattern/Pattern/UIAScrollItemPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/ScrollPattern+ScrollPatternInformation/HorizontallyScrollable/UIAScrollPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/ScrollPattern+ScrollPatternInformation/HorizontallyScrollable/UIAScrollPattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/ScrollPattern+ScrollPatternInformation/HorizontallyScrollable/UIAScrollPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/ScrollPattern+ScrollPatternInformation/HorizontallyScrollable/UIAScrollPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/SelectionItemPattern+SelectionItemPatternInformation/IsSelected/UIASelectionItemPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/SelectionItemPattern+SelectionItemPatternInformation/IsSelected/UIASelectionItemPattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/SelectionItemPattern+SelectionItemPatternInformation/IsSelected/UIASelectionItemPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/SelectionItemPattern+SelectionItemPatternInformation/IsSelected/UIASelectionItemPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/SelectionPattern+SelectionPatternInformation/CanSelectMultiple/UIASelectionPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/SelectionPattern+SelectionPatternInformation/CanSelectMultiple/UIASelectionPattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/SelectionPattern+SelectionPatternInformation/CanSelectMultiple/UIASelectionPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/SelectionPattern+SelectionPatternInformation/CanSelectMultiple/UIASelectionPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/StructureChangedEventArgs/.ctor/ElementProvider.csproj b/snippets/csharp/System.Windows.Automation/StructureChangedEventArgs/.ctor/ElementProvider.csproj
index 8de2ec97cb2..3450e7c6c84 100644
--- a/snippets/csharp/System.Windows.Automation/StructureChangedEventArgs/.ctor/ElementProvider.csproj
+++ b/snippets/csharp/System.Windows.Automation/StructureChangedEventArgs/.ctor/ElementProvider.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation/TableItemPattern+TableItemPatternInformation/Column/UIATableItemPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/TableItemPattern+TableItemPatternInformation/Column/UIATableItemPattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/TableItemPattern+TableItemPatternInformation/Column/UIATableItemPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/TableItemPattern+TableItemPatternInformation/Column/UIATableItemPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/TablePattern+TablePatternInformation/ColumnCount/UIATablePattern_snip.csproj b/snippets/csharp/System.Windows.Automation/TablePattern+TablePatternInformation/ColumnCount/UIATablePattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/TablePattern+TablePatternInformation/ColumnCount/UIATablePattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/TablePattern+TablePatternInformation/ColumnCount/UIATablePattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/TextPattern/DocumentRange/TextProvider.csproj b/snippets/csharp/System.Windows.Automation/TextPattern/DocumentRange/TextProvider.csproj
index f0c8820944d..9d205c2bb5d 100644
--- a/snippets/csharp/System.Windows.Automation/TextPattern/DocumentRange/TextProvider.csproj
+++ b/snippets/csharp/System.Windows.Automation/TextPattern/DocumentRange/TextProvider.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
true
TextProvider.App
diff --git a/snippets/csharp/System.Windows.Automation/TogglePattern+TogglePatternInformation/ToggleState/UIATogglePattern_snip.csproj b/snippets/csharp/System.Windows.Automation/TogglePattern+TogglePatternInformation/ToggleState/UIATogglePattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/TogglePattern+TogglePatternInformation/ToggleState/UIATogglePattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/TogglePattern+TogglePatternInformation/ToggleState/UIATogglePattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/TransformPattern+TransformPatternInformation/CanMove/UIATransformPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/TransformPattern+TransformPatternInformation/CanMove/UIATransformPattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/TransformPattern+TransformPatternInformation/CanMove/UIATransformPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/TransformPattern+TransformPatternInformation/CanMove/UIATransformPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/ValuePattern+ValuePatternInformation/IsReadOnly/UIAValuePattern_snip.csproj b/snippets/csharp/System.Windows.Automation/ValuePattern+ValuePatternInformation/IsReadOnly/UIAValuePattern_snip.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Automation/ValuePattern+ValuePatternInformation/IsReadOnly/UIAValuePattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/ValuePattern+ValuePatternInformation/IsReadOnly/UIAValuePattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/WindowPattern+WindowPatternInformation/CanMaximize/UIAWindowPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/WindowPattern+WindowPatternInformation/CanMaximize/UIAWindowPattern_snip.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Automation/WindowPattern+WindowPatternInformation/CanMaximize/UIAWindowPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/WindowPattern+WindowPatternInformation/CanMaximize/UIAWindowPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/Binding/Source/SimpleBinding.csproj b/snippets/csharp/System.Windows.Data/Binding/Source/SimpleBinding.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Data/Binding/Source/SimpleBinding.csproj
+++ b/snippets/csharp/System.Windows.Data/Binding/Source/SimpleBinding.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/Binding/ValidatesOnDataErrors/bindingvalidationattributessnippets.csproj b/snippets/csharp/System.Windows.Data/Binding/ValidatesOnDataErrors/bindingvalidationattributessnippets.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Data/Binding/ValidatesOnDataErrors/bindingvalidationattributessnippets.csproj
+++ b/snippets/csharp/System.Windows.Data/Binding/ValidatesOnDataErrors/bindingvalidationattributessnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/BindingExpression/DataItem/DirectionalBinding.csproj b/snippets/csharp/System.Windows.Data/BindingExpression/DataItem/DirectionalBinding.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Data/BindingExpression/DataItem/DirectionalBinding.csproj
+++ b/snippets/csharp/System.Windows.Data/BindingExpression/DataItem/DirectionalBinding.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/BindingExpressionBase/ValidateWithoutUpdate/bindingexpressionbasevalidatewithoutupdating.csproj b/snippets/csharp/System.Windows.Data/BindingExpressionBase/ValidateWithoutUpdate/bindingexpressionbasevalidatewithoutupdating.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Data/BindingExpressionBase/ValidateWithoutUpdate/bindingexpressionbasevalidatewithoutupdating.csproj
+++ b/snippets/csharp/System.Windows.Data/BindingExpressionBase/ValidateWithoutUpdate/bindingexpressionbasevalidatewithoutupdating.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/BindingOperations/SetBinding/BindConversion.csproj b/snippets/csharp/System.Windows.Data/BindingOperations/SetBinding/BindConversion.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Data/BindingOperations/SetBinding/BindConversion.csproj
+++ b/snippets/csharp/System.Windows.Data/BindingOperations/SetBinding/BindConversion.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/CollectionView/MoveCurrentTo/Colors.csproj b/snippets/csharp/System.Windows.Data/CollectionView/MoveCurrentTo/Colors.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Data/CollectionView/MoveCurrentTo/Colors.csproj
+++ b/snippets/csharp/System.Windows.Data/CollectionView/MoveCurrentTo/Colors.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/PriorityBinding/Bindings/PriorityBinding.csproj b/snippets/csharp/System.Windows.Data/PriorityBinding/Bindings/PriorityBinding.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Data/PriorityBinding/Bindings/PriorityBinding.csproj
+++ b/snippets/csharp/System.Windows.Data/PriorityBinding/Bindings/PriorityBinding.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/XmlDataProvider/Source/XmlDataSource2.csproj b/snippets/csharp/System.Windows.Data/XmlDataProvider/Source/XmlDataSource2.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Data/XmlDataProvider/Source/XmlDataSource2.csproj
+++ b/snippets/csharp/System.Windows.Data/XmlDataProvider/Source/XmlDataSource2.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/XmlDataProvider/XmlNamespaceManager/XmlnsBind.csproj b/snippets/csharp/System.Windows.Data/XmlDataProvider/XmlNamespaceManager/XmlnsBind.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Data/XmlDataProvider/XmlNamespaceManager/XmlnsBind.csproj
+++ b/snippets/csharp/System.Windows.Data/XmlDataProvider/XmlNamespaceManager/XmlnsBind.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/DocumentPaginator/PageSize/XpsSave.csproj b/snippets/csharp/System.Windows.Documents/DocumentPaginator/PageSize/XpsSave.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Documents/DocumentPaginator/PageSize/XpsSave.csproj
+++ b/snippets/csharp/System.Windows.Documents/DocumentPaginator/PageSize/XpsSave.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/Glyphs/Overview/Glyphs_ovw_samp1.csproj b/snippets/csharp/System.Windows.Documents/Glyphs/Overview/Glyphs_ovw_samp1.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Documents/Glyphs/Overview/Glyphs_ovw_samp1.csproj
+++ b/snippets/csharp/System.Windows.Documents/Glyphs/Overview/Glyphs_ovw_samp1.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/Hyperlink/NavigateUri/HOWTONavigationMailTo.csproj b/snippets/csharp/System.Windows.Documents/Hyperlink/NavigateUri/HOWTONavigationMailTo.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Documents/Hyperlink/NavigateUri/HOWTONavigationMailTo.csproj
+++ b/snippets/csharp/System.Windows.Documents/Hyperlink/NavigateUri/HOWTONavigationMailTo.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/Hyperlink/Overview/HyperlinkSnippets.csproj b/snippets/csharp/System.Windows.Documents/Hyperlink/Overview/HyperlinkSnippets.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Documents/Hyperlink/Overview/HyperlinkSnippets.csproj
+++ b/snippets/csharp/System.Windows.Documents/Hyperlink/Overview/HyperlinkSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/List/Overview/ListSnippets.csproj b/snippets/csharp/System.Windows.Documents/List/Overview/ListSnippets.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Documents/List/Overview/ListSnippets.csproj
+++ b/snippets/csharp/System.Windows.Documents/List/Overview/ListSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/Run/.ctor/RunSnippets.csproj b/snippets/csharp/System.Windows.Documents/Run/.ctor/RunSnippets.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Documents/Run/.ctor/RunSnippets.csproj
+++ b/snippets/csharp/System.Windows.Documents/Run/.ctor/RunSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/Run/Text/bindablerunsnippet.csproj b/snippets/csharp/System.Windows.Documents/Run/Text/bindablerunsnippet.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Documents/Run/Text/bindablerunsnippet.csproj
+++ b/snippets/csharp/System.Windows.Documents/Run/Text/bindablerunsnippet.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/Typography/Overview/TypographySnippets.csproj b/snippets/csharp/System.Windows.Documents/Typography/Overview/TypographySnippets.csproj
index 80d335c5b6d..e3e85fe5304 100644
--- a/snippets/csharp/System.Windows.Documents/Typography/Overview/TypographySnippets.csproj
+++ b/snippets/csharp/System.Windows.Documents/Typography/Overview/TypographySnippets.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/Project.csproj b/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms.Design/EventsTab/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms.Design/EventsTab/Overview/Project.csproj
index a6af869474e..b62ae7deede 100644
--- a/snippets/csharp/System.Windows.Forms.Design/EventsTab/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms.Design/EventsTab/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/Project.csproj
index a6af869474e..b62ae7deede 100644
--- a/snippets/csharp/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/Application/AddMessageFilter/Project.csproj b/snippets/csharp/System.Windows.Forms/Application/AddMessageFilter/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/Application/AddMessageFilter/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/Application/AddMessageFilter/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/Project.csproj b/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/Project.csproj b/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/Project.csproj b/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/Project.csproj b/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/Project.csproj b/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/CommonDialog/HookProc/Project.csproj b/snippets/csharp/System.Windows.Forms/CommonDialog/HookProc/Project.csproj
index a6af869474e..b62ae7deede 100644
--- a/snippets/csharp/System.Windows.Forms/CommonDialog/HookProc/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/CommonDialog/HookProc/Project.csproj
@@ -2,7 +2,7 @@
Library
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/Overview/Project.csproj
index 75b7eb8dd12..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/Overview/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net4.8
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/Project.csproj b/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/Project.csproj
index d8f9c7dd878..429a73db362 100644
--- a/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/Project.csproj
@@ -2,7 +2,7 @@
WinExe
- net8.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj b/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj
index 37d932108d5..292f4cf7ab8 100644
--- a/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj
+++ b/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/HtmlElementProjectCSharp.csproj b/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/HtmlElementProjectCSharp.csproj
index eca509332dd..341e416b509 100644
--- a/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/HtmlElementProjectCSharp.csproj
+++ b/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/HtmlElementProjectCSharp.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/HtmlElementEventHandler/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms/HtmlElementEventHandler/Overview/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/HtmlElementEventHandler/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/HtmlElementEventHandler/Overview/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/Project.csproj b/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/Project.csproj
index 61befe5dfa1..e6d462d6ae9 100644
--- a/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/Project.csproj
@@ -2,7 +2,7 @@
WinExe
- net8.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/PropertyGrid/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms/PropertyGrid/Overview/Project.csproj
index a6af869474e..b62ae7deede 100644
--- a/snippets/csharp/System.Windows.Forms/PropertyGrid/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/PropertyGrid/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/ToolStripDropDown/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms/ToolStripDropDown/Overview/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/ToolStripDropDown/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/ToolStripDropDown/Overview/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/Project.csproj b/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/Project.csproj b/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/Project.csproj b/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/WebBrowser/CreateSink/Project.csproj b/snippets/csharp/System.Windows.Forms/WebBrowser/CreateSink/Project.csproj
index 57a500e4f85..4a6d98d26b7 100644
--- a/snippets/csharp/System.Windows.Forms/WebBrowser/CreateSink/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/WebBrowser/CreateSink/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net6-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/StrokeCollectionShadow.csproj b/snippets/csharp/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/StrokeCollectionShadow.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/StrokeCollectionShadow.csproj
+++ b/snippets/csharp/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/StrokeCollectionShadow.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Ink/GestureRecognizer/Overview/GestureControl.csproj b/snippets/csharp/System.Windows.Ink/GestureRecognizer/Overview/GestureControl.csproj
index 766abce5b31..b3ec8c6fd55 100644
--- a/snippets/csharp/System.Windows.Ink/GestureRecognizer/Overview/GestureControl.csproj
+++ b/snippets/csharp/System.Windows.Ink/GestureRecognizer/Overview/GestureControl.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Ink/Stroke/.ctor/StrokeSnippets_CS.csproj b/snippets/csharp/System.Windows.Ink/Stroke/.ctor/StrokeSnippets_CS.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Ink/Stroke/.ctor/StrokeSnippets_CS.csproj
+++ b/snippets/csharp/System.Windows.Ink/Stroke/.ctor/StrokeSnippets_CS.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input.Manipulations/InertiaProcessor2D/Complete/manipulationapi.csproj b/snippets/csharp/System.Windows.Input.Manipulations/InertiaProcessor2D/Complete/manipulationapi.csproj
index 955359c7e69..4c13883a9be 100644
--- a/snippets/csharp/System.Windows.Input.Manipulations/InertiaProcessor2D/Complete/manipulationapi.csproj
+++ b/snippets/csharp/System.Windows.Input.Manipulations/InertiaProcessor2D/Complete/manipulationapi.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/CanExecuteRoutedEventArgs/Parameter/InvalidateRequeryWithDispatcherTimer.csproj b/snippets/csharp/System.Windows.Input/CanExecuteRoutedEventArgs/Parameter/InvalidateRequeryWithDispatcherTimer.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Input/CanExecuteRoutedEventArgs/Parameter/InvalidateRequeryWithDispatcherTimer.csproj
+++ b/snippets/csharp/System.Windows.Input/CanExecuteRoutedEventArgs/Parameter/InvalidateRequeryWithDispatcherTimer.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/ExecutedRoutedEventHandler/Overview/Custom_RoutedCommand.csproj b/snippets/csharp/System.Windows.Input/ExecutedRoutedEventHandler/Overview/Custom_RoutedCommand.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Input/ExecutedRoutedEventHandler/Overview/Custom_RoutedCommand.csproj
+++ b/snippets/csharp/System.Windows.Input/ExecutedRoutedEventHandler/Overview/Custom_RoutedCommand.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/FocusManager/FocusedElement/MarkupSnippets.csproj b/snippets/csharp/System.Windows.Input/FocusManager/FocusedElement/MarkupSnippets.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Input/FocusManager/FocusedElement/MarkupSnippets.csproj
+++ b/snippets/csharp/System.Windows.Input/FocusManager/FocusedElement/MarkupSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/FocusManager/GetFocusedElement/FocusSnippets.csproj b/snippets/csharp/System.Windows.Input/FocusManager/GetFocusedElement/FocusSnippets.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Input/FocusManager/GetFocusedElement/FocusSnippets.csproj
+++ b/snippets/csharp/System.Windows.Input/FocusManager/GetFocusedElement/FocusSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/ImeSentenceModeValues/Overview/inputmanager.csproj b/snippets/csharp/System.Windows.Input/ImeSentenceModeValues/Overview/inputmanager.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Input/ImeSentenceModeValues/Overview/inputmanager.csproj
+++ b/snippets/csharp/System.Windows.Input/ImeSentenceModeValues/Overview/inputmanager.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/InputBinding/.ctor/CommandLibarySnippets.csproj b/snippets/csharp/System.Windows.Input/InputBinding/.ctor/CommandLibarySnippets.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Input/InputBinding/.ctor/CommandLibarySnippets.csproj
+++ b/snippets/csharp/System.Windows.Input/InputBinding/.ctor/CommandLibarySnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/InputBinding/Overview/inputcommandbinding.csproj b/snippets/csharp/System.Windows.Input/InputBinding/Overview/inputcommandbinding.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Input/InputBinding/Overview/inputcommandbinding.csproj
+++ b/snippets/csharp/System.Windows.Input/InputBinding/Overview/inputcommandbinding.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Keyboard/GotKeyboardFocus/KeyboardSample.csproj b/snippets/csharp/System.Windows.Input/Keyboard/GotKeyboardFocus/KeyboardSample.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Input/Keyboard/GotKeyboardFocus/KeyboardSample.csproj
+++ b/snippets/csharp/System.Windows.Input/Keyboard/GotKeyboardFocus/KeyboardSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Keyboard/KeyDown/KeyDown.csproj b/snippets/csharp/System.Windows.Input/Keyboard/KeyDown/KeyDown.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Input/Keyboard/KeyDown/KeyDown.csproj
+++ b/snippets/csharp/System.Windows.Input/Keyboard/KeyDown/KeyDown.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Keyboard/Overview/KeyArgsSnippetSample.csproj b/snippets/csharp/System.Windows.Input/Keyboard/Overview/KeyArgsSnippetSample.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Input/Keyboard/Overview/KeyArgsSnippetSample.csproj
+++ b/snippets/csharp/System.Windows.Input/Keyboard/Overview/KeyArgsSnippetSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Mouse/Capture/MouseCaptureSample.csproj b/snippets/csharp/System.Windows.Input/Mouse/Capture/MouseCaptureSample.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Input/Mouse/Capture/MouseCaptureSample.csproj
+++ b/snippets/csharp/System.Windows.Input/Mouse/Capture/MouseCaptureSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Mouse/GetPosition/MouseRelatedSnippets.csproj b/snippets/csharp/System.Windows.Input/Mouse/GetPosition/MouseRelatedSnippets.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Input/Mouse/GetPosition/MouseRelatedSnippets.csproj
+++ b/snippets/csharp/System.Windows.Input/Mouse/GetPosition/MouseRelatedSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/NavigationCommands/BrowseBack/NavigationCommandsSnippets.csproj b/snippets/csharp/System.Windows.Input/NavigationCommands/BrowseBack/NavigationCommandsSnippets.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Input/NavigationCommands/BrowseBack/NavigationCommandsSnippets.csproj
+++ b/snippets/csharp/System.Windows.Input/NavigationCommands/BrowseBack/NavigationCommandsSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/RoutedCommand/CanExecute/ImplementICommandSource.csproj b/snippets/csharp/System.Windows.Input/RoutedCommand/CanExecute/ImplementICommandSource.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Input/RoutedCommand/CanExecute/ImplementICommandSource.csproj
+++ b/snippets/csharp/System.Windows.Input/RoutedCommand/CanExecute/ImplementICommandSource.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Stylus/Overview/StylusSamples.csproj b/snippets/csharp/System.Windows.Input/Stylus/Overview/StylusSamples.csproj
index 80d335c5b6d..e3e85fe5304 100644
--- a/snippets/csharp/System.Windows.Input/Stylus/Overview/StylusSamples.csproj
+++ b/snippets/csharp/System.Windows.Input/Stylus/Overview/StylusSamples.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/StylusButton/Overview/StylusSnippets_CS.csproj b/snippets/csharp/System.Windows.Input/StylusButton/Overview/StylusSnippets_CS.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Input/StylusButton/Overview/StylusSnippets_CS.csproj
+++ b/snippets/csharp/System.Windows.Input/StylusButton/Overview/StylusSnippets_CS.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/StylusDevice/GetStylusPoints/PacketSpy.csproj b/snippets/csharp/System.Windows.Input/StylusDevice/GetStylusPoints/PacketSpy.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Input/StylusDevice/GetStylusPoints/PacketSpy.csproj
+++ b/snippets/csharp/System.Windows.Input/StylusDevice/GetStylusPoints/PacketSpy.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/StylusDeviceCollection/Overview/HwCaps_CS.csproj b/snippets/csharp/System.Windows.Input/StylusDeviceCollection/Overview/HwCaps_CS.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Input/StylusDeviceCollection/Overview/HwCaps_CS.csproj
+++ b/snippets/csharp/System.Windows.Input/StylusDeviceCollection/Overview/HwCaps_CS.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Touch/Overview/wpftouchframesample.csproj b/snippets/csharp/System.Windows.Input/Touch/Overview/wpftouchframesample.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Input/Touch/Overview/wpftouchframesample.csproj
+++ b/snippets/csharp/System.Windows.Input/Touch/Overview/wpftouchframesample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/TouchDevice/Overview/wpftoucheventssample.csproj b/snippets/csharp/System.Windows.Input/TouchDevice/Overview/wpftoucheventssample.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Input/TouchDevice/Overview/wpftoucheventssample.csproj
+++ b/snippets/csharp/System.Windows.Input/TouchDevice/Overview/wpftoucheventssample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/HostScript/wpfbrowserapplication1.csproj b/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/HostScript/wpfbrowserapplication1.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/HostScript/wpfbrowserapplication1.csproj
+++ b/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/HostScript/wpfbrowserapplication1.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/IsBrowserHosted/BrowserInteropHelperSnippet.csproj b/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/IsBrowserHosted/BrowserInteropHelperSnippet.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/IsBrowserHosted/BrowserInteropHelperSnippet.csproj
+++ b/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/IsBrowserHosted/BrowserInteropHelperSnippet.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Interop/D3DImage/Overview/d3dhost.csproj b/snippets/csharp/System.Windows.Interop/D3DImage/Overview/d3dhost.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Interop/D3DImage/Overview/d3dhost.csproj
+++ b/snippets/csharp/System.Windows.Interop/D3DImage/Overview/d3dhost.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Markup/XamlReader/Overview/XamlReaderWriterSnippets.csproj b/snippets/csharp/System.Windows.Markup/XamlReader/Overview/XamlReaderWriterSnippets.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Markup/XamlReader/Overview/XamlReaderWriterSnippets.csproj
+++ b/snippets/csharp/System.Windows.Markup/XamlReader/Overview/XamlReaderWriterSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/BackEase/Overview/backease_scale.csproj b/snippets/csharp/System.Windows.Media.Animation/BackEase/Overview/backease_scale.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/BackEase/Overview/backease_scale.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/BackEase/Overview/backease_scale.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/BooleanAnimationBase/Overview/keyframes_markup.csproj b/snippets/csharp/System.Windows.Media.Animation/BooleanAnimationBase/Overview/keyframes_markup.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media.Animation/BooleanAnimationBase/Overview/keyframes_markup.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/BooleanAnimationBase/Overview/keyframes_markup.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/BounceEase/Overview/bounceease.csproj b/snippets/csharp/System.Windows.Media.Animation/BounceEase/Overview/bounceease.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/BounceEase/Overview/bounceease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/BounceEase/Overview/bounceease.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/CircleEase/Overview/circleease.csproj b/snippets/csharp/System.Windows.Media.Animation/CircleEase/Overview/circleease.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/CircleEase/Overview/circleease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/CircleEase/Overview/circleease.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/ClockController/Remove/ClockController_procedural_snip.csproj b/snippets/csharp/System.Windows.Media.Animation/ClockController/Remove/ClockController_procedural_snip.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media.Animation/ClockController/Remove/ClockController_procedural_snip.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/ClockController/Remove/ClockController_procedural_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/CubicEase/Overview/cubicease.csproj b/snippets/csharp/System.Windows.Media.Animation/CubicEase/Overview/cubicease.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/CubicEase/Overview/cubicease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/CubicEase/Overview/cubicease.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/DiscreteInt16KeyFrame/Overview/keyframes.csproj b/snippets/csharp/System.Windows.Media.Animation/DiscreteInt16KeyFrame/Overview/keyframes.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media.Animation/DiscreteInt16KeyFrame/Overview/keyframes.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/DiscreteInt16KeyFrame/Overview/keyframes.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/DoubleAnimationUsingPath/PathGeometry/pathanimationgallery.csproj b/snippets/csharp/System.Windows.Media.Animation/DoubleAnimationUsingPath/PathGeometry/pathanimationgallery.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media.Animation/DoubleAnimationUsingPath/PathGeometry/pathanimationgallery.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/DoubleAnimationUsingPath/PathGeometry/pathanimationgallery.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/EasingDoubleKeyFrame/Overview/easingfunctiondoublekeyframe.csproj b/snippets/csharp/System.Windows.Media.Animation/EasingDoubleKeyFrame/Overview/easingfunctiondoublekeyframe.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/EasingDoubleKeyFrame/Overview/easingfunctiondoublekeyframe.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/EasingDoubleKeyFrame/Overview/easingfunctiondoublekeyframe.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/EasingFunctionBase/Overview/customeasingfunction.csproj b/snippets/csharp/System.Windows.Media.Animation/EasingFunctionBase/Overview/customeasingfunction.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/EasingFunctionBase/Overview/customeasingfunction.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/EasingFunctionBase/Overview/customeasingfunction.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/EasingPointKeyFrame/Overview/easingfunctionpointkeyframe.csproj b/snippets/csharp/System.Windows.Media.Animation/EasingPointKeyFrame/Overview/easingfunctionpointkeyframe.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/EasingPointKeyFrame/Overview/easingfunctionpointkeyframe.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/EasingPointKeyFrame/Overview/easingfunctionpointkeyframe.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/ElasticEase/Overview/elasticease.csproj b/snippets/csharp/System.Windows.Media.Animation/ElasticEase/Overview/elasticease.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/ElasticEase/Overview/elasticease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/ElasticEase/Overview/elasticease.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/ExponentialEase/Overview/exponentialease.csproj b/snippets/csharp/System.Windows.Media.Animation/ExponentialEase/Overview/exponentialease.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/ExponentialEase/Overview/exponentialease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/ExponentialEase/Overview/exponentialease.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/PowerEase/Overview/powerease.csproj b/snippets/csharp/System.Windows.Media.Animation/PowerEase/Overview/powerease.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/PowerEase/Overview/powerease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/PowerEase/Overview/powerease.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/QuadraticEase/Overview/quadraticease.csproj b/snippets/csharp/System.Windows.Media.Animation/QuadraticEase/Overview/quadraticease.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/QuadraticEase/Overview/quadraticease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/QuadraticEase/Overview/quadraticease.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/QuarticEase/Overview/quarticease.csproj b/snippets/csharp/System.Windows.Media.Animation/QuarticEase/Overview/quarticease.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/QuarticEase/Overview/quarticease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/QuarticEase/Overview/quarticease.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/QuinticEase/Overview/quinticease.csproj b/snippets/csharp/System.Windows.Media.Animation/QuinticEase/Overview/quinticease.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/QuinticEase/Overview/quinticease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/QuinticEase/Overview/quinticease.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/RemoveStoryboard/Overview/storyboard.csproj b/snippets/csharp/System.Windows.Media.Animation/RemoveStoryboard/Overview/storyboard.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media.Animation/RemoveStoryboard/Overview/storyboard.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/RemoveStoryboard/Overview/storyboard.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/SineEase/Overview/sineease.csproj b/snippets/csharp/System.Windows.Media.Animation/SineEase/Overview/sineease.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Animation/SineEase/Overview/sineease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/SineEase/Overview/sineease.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/Storyboard/Begin/animation_ovws_procedural.csproj b/snippets/csharp/System.Windows.Media.Animation/Storyboard/Begin/animation_ovws_procedural.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media.Animation/Storyboard/Begin/animation_ovws_procedural.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/Storyboard/Begin/animation_ovws_procedural.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/Timeline/BeginTime/project.csproj b/snippets/csharp/System.Windows.Media.Animation/Timeline/BeginTime/project.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media.Animation/Timeline/BeginTime/project.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/Timeline/BeginTime/project.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Imaging/BitmapImage/Overview/ImageElementExample.csproj b/snippets/csharp/System.Windows.Media.Imaging/BitmapImage/Overview/ImageElementExample.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Imaging/BitmapImage/Overview/ImageElementExample.csproj
+++ b/snippets/csharp/System.Windows.Media.Imaging/BitmapImage/Overview/ImageElementExample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Imaging/WriteableBitmap/Overview/WriteableBitmapDemo.csproj b/snippets/csharp/System.Windows.Media.Imaging/WriteableBitmap/Overview/WriteableBitmapDemo.csproj
index 182f5bc59e3..f9939f085e6 100644
--- a/snippets/csharp/System.Windows.Media.Imaging/WriteableBitmap/Overview/WriteableBitmapDemo.csproj
+++ b/snippets/csharp/System.Windows.Media.Imaging/WriteableBitmap/Overview/WriteableBitmapDemo.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/AmbientLight/Overview/Show3DLights.csproj b/snippets/csharp/System.Windows.Media.Media3D/AmbientLight/Overview/Show3DLights.csproj
index 80d335c5b6d..e3e85fe5304 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/AmbientLight/Overview/Show3DLights.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/AmbientLight/Overview/Show3DLights.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/AngleProperty/BlankSample.csproj b/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/AngleProperty/BlankSample.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/AngleProperty/BlankSample.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/AngleProperty/BlankSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/Overview/create_cube.csproj b/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/Overview/create_cube.csproj
index 80d335c5b6d..e3e85fe5304 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/Overview/create_cube.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/Overview/create_cube.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/ContainerUIElement3D/Overview/ContainerModelSample.csproj b/snippets/csharp/System.Windows.Media.Media3D/ContainerUIElement3D/Overview/ContainerModelSample.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/ContainerUIElement3D/Overview/ContainerModelSample.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/ContainerUIElement3D/Overview/ContainerModelSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Matrix3D/Overview/Mil3dVectorSample.csproj b/snippets/csharp/System.Windows.Media.Media3D/Matrix3D/Overview/Mil3dVectorSample.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Matrix3D/Overview/Mil3dVectorSample.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Matrix3D/Overview/Mil3dVectorSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/MatrixCamera/Overview/MatrixTransform3DView.csproj b/snippets/csharp/System.Windows.Media.Media3D/MatrixCamera/Overview/MatrixTransform3DView.csproj
index 80d335c5b6d..e3e85fe5304 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/MatrixCamera/Overview/MatrixTransform3DView.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/MatrixCamera/Overview/MatrixTransform3DView.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/PerspectiveCamera/Overview/3DGallery.csproj b/snippets/csharp/System.Windows.Media.Media3D/PerspectiveCamera/Overview/3DGallery.csproj
index 122ef0eb98b..febfb4b934e 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/PerspectiveCamera/Overview/3DGallery.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/PerspectiveCamera/Overview/3DGallery.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
SDKSample
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Point3D/Add/Mil3dPoints.csproj b/snippets/csharp/System.Windows.Media.Media3D/Point3D/Add/Mil3dPoints.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Point3D/Add/Mil3dPoints.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Point3D/Add/Mil3dPoints.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Point3D/GetHashCode/Mil4dPoints.csproj b/snippets/csharp/System.Windows.Media.Media3D/Point3D/GetHashCode/Mil4dPoints.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Point3D/GetHashCode/Mil4dPoints.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Point3D/GetHashCode/Mil4dPoints.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Overview/Animation3DGallery.csproj b/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Overview/Animation3DGallery.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Overview/Animation3DGallery.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Overview/Animation3DGallery.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Parse/QuaternionView.csproj b/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Parse/QuaternionView.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Parse/QuaternionView.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Parse/QuaternionView.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Size3D/Empty/Mil3dSize.csproj b/snippets/csharp/System.Windows.Media.Media3D/Size3D/Empty/Mil3dSize.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Size3D/Empty/Mil3dSize.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Size3D/Empty/Mil3dSize.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Viewport2DVisual3D/Overview/viewport2dvisual3dexample.csproj b/snippets/csharp/System.Windows.Media.Media3D/Viewport2DVisual3D/Overview/viewport2dvisual3dexample.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Viewport2DVisual3D/Overview/viewport2dvisual3dexample.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Viewport2DVisual3D/Overview/viewport2dvisual3dexample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.TextFormatting/MinMaxParagraphWidth/Overview/TextFormattingSnippets.csproj b/snippets/csharp/System.Windows.Media.TextFormatting/MinMaxParagraphWidth/Overview/TextFormattingSnippets.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media.TextFormatting/MinMaxParagraphWidth/Overview/TextFormattingSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media.TextFormatting/MinMaxParagraphWidth/Overview/TextFormattingSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/BitmapCache/Overview/cachedcompositiondemo.csproj b/snippets/csharp/System.Windows.Media/BitmapCache/Overview/cachedcompositiondemo.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media/BitmapCache/Overview/cachedcompositiondemo.csproj
+++ b/snippets/csharp/System.Windows.Media/BitmapCache/Overview/cachedcompositiondemo.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/BitmapCacheBrush/Overview/bitmapcachebrushdemo.csproj b/snippets/csharp/System.Windows.Media/BitmapCacheBrush/Overview/bitmapcachebrushdemo.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media/BitmapCacheBrush/Overview/bitmapcachebrushdemo.csproj
+++ b/snippets/csharp/System.Windows.Media/BitmapCacheBrush/Overview/bitmapcachebrushdemo.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/BitmapScalingMode/Overview/RenderOptionsSnippets.csproj b/snippets/csharp/System.Windows.Media/BitmapScalingMode/Overview/RenderOptionsSnippets.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media/BitmapScalingMode/Overview/RenderOptionsSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media/BitmapScalingMode/Overview/RenderOptionsSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/Color/FromArgb/BrushesMiscSnippets_procedural.csproj b/snippets/csharp/System.Windows.Media/Color/FromArgb/BrushesMiscSnippets_procedural.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/Color/FromArgb/BrushesMiscSnippets_procedural.csproj
+++ b/snippets/csharp/System.Windows.Media/Color/FromArgb/BrushesMiscSnippets_procedural.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/Color/Overview/MiscSnippets.csproj b/snippets/csharp/System.Windows.Media/Color/Overview/MiscSnippets.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/Color/Overview/MiscSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media/Color/Overview/MiscSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/CompositionTarget/Rendering/CompositionTargetSample.csproj b/snippets/csharp/System.Windows.Media/CompositionTarget/Rendering/CompositionTargetSample.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media/CompositionTarget/Rendering/CompositionTargetSample.csproj
+++ b/snippets/csharp/System.Windows.Media/CompositionTarget/Rendering/CompositionTargetSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/ContainerVisual/.ctor/ContainerVisualSnippets.csproj b/snippets/csharp/System.Windows.Media/ContainerVisual/.ctor/ContainerVisualSnippets.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/ContainerVisual/.ctor/ContainerVisualSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media/ContainerVisual/.ctor/ContainerVisualSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/ContainerVisual/Overview/ContainerVisualHost.csproj b/snippets/csharp/System.Windows.Media/ContainerVisual/Overview/ContainerVisualHost.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/ContainerVisual/Overview/ContainerVisualHost.csproj
+++ b/snippets/csharp/System.Windows.Media/ContainerVisual/Overview/ContainerVisualHost.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/DisableDpiAwarenessAttribute/Overview/DisableDpiAwareness.csproj b/snippets/csharp/System.Windows.Media/DisableDpiAwarenessAttribute/Overview/DisableDpiAwareness.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media/DisableDpiAwarenessAttribute/Overview/DisableDpiAwareness.csproj
+++ b/snippets/csharp/System.Windows.Media/DisableDpiAwarenessAttribute/Overview/DisableDpiAwareness.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/DrawingContext/Overview/DrawingVisual.csproj b/snippets/csharp/System.Windows.Media/DrawingContext/Overview/DrawingVisual.csproj
index 80d335c5b6d..e3e85fe5304 100644
--- a/snippets/csharp/System.Windows.Media/DrawingContext/Overview/DrawingVisual.csproj
+++ b/snippets/csharp/System.Windows.Media/DrawingContext/Overview/DrawingVisual.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/DrawingGroup/BitmapEffect/misc_snippets.csproj b/snippets/csharp/System.Windows.Media/DrawingGroup/BitmapEffect/misc_snippets.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/DrawingGroup/BitmapEffect/misc_snippets.csproj
+++ b/snippets/csharp/System.Windows.Media/DrawingGroup/BitmapEffect/misc_snippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/DrawingVisual/Drawing/VisualSnippets.csproj b/snippets/csharp/System.Windows.Media/DrawingVisual/Drawing/VisualSnippets.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/DrawingVisual/Drawing/VisualSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media/DrawingVisual/Drawing/VisualSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/FontFamily/Overview/compositefontmarkup.csproj b/snippets/csharp/System.Windows.Media/FontFamily/Overview/compositefontmarkup.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media/FontFamily/Overview/compositefontmarkup.csproj
+++ b/snippets/csharp/System.Windows.Media/FontFamily/Overview/compositefontmarkup.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/FormattedText/Overview/FormattedTextSnippets.csproj b/snippets/csharp/System.Windows.Media/FormattedText/Overview/FormattedTextSnippets.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/FormattedText/Overview/FormattedTextSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media/FormattedText/Overview/FormattedTextSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/Geometry/Transform/Transforms.csproj b/snippets/csharp/System.Windows.Media/Geometry/Transform/Transforms.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/Geometry/Transform/Transforms.csproj
+++ b/snippets/csharp/System.Windows.Media/Geometry/Transform/Transforms.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/GeometryCombineMode/Overview/myproject.csproj b/snippets/csharp/System.Windows.Media/GeometryCombineMode/Overview/myproject.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media/GeometryCombineMode/Overview/myproject.csproj
+++ b/snippets/csharp/System.Windows.Media/GeometryCombineMode/Overview/myproject.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/GeometryHitTestParameters/Overview/HitTestingOverview.csproj b/snippets/csharp/System.Windows.Media/GeometryHitTestParameters/Overview/HitTestingOverview.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/GeometryHitTestParameters/Overview/HitTestingOverview.csproj
+++ b/snippets/csharp/System.Windows.Media/GeometryHitTestParameters/Overview/HitTestingOverview.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/GlyphTypeface/.ctor/GlyphTypefaceSnippets.csproj b/snippets/csharp/System.Windows.Media/GlyphTypeface/.ctor/GlyphTypefaceSnippets.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media/GlyphTypeface/.ctor/GlyphTypefaceSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media/GlyphTypeface/.ctor/GlyphTypefaceSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/Matrix/Append/MatrixExamples_snip.csproj b/snippets/csharp/System.Windows.Media/Matrix/Append/MatrixExamples_snip.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/Matrix/Append/MatrixExamples_snip.csproj
+++ b/snippets/csharp/System.Windows.Media/Matrix/Append/MatrixExamples_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/PenLineJoin/Overview/drawingwithshapeelements.csproj b/snippets/csharp/System.Windows.Media/PenLineJoin/Overview/drawingwithshapeelements.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media/PenLineJoin/Overview/drawingwithshapeelements.csproj
+++ b/snippets/csharp/System.Windows.Media/PenLineJoin/Overview/drawingwithshapeelements.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/PixelFormat/Overview/ImagingSnippetGallery_csharp.csproj b/snippets/csharp/System.Windows.Media/PixelFormat/Overview/ImagingSnippetGallery_csharp.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/PixelFormat/Overview/ImagingSnippetGallery_csharp.csproj
+++ b/snippets/csharp/System.Windows.Media/PixelFormat/Overview/ImagingSnippetGallery_csharp.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/PointCollection/ToString/PointCollectionSample.csproj b/snippets/csharp/System.Windows.Media/PointCollection/ToString/PointCollectionSample.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/PointCollection/ToString/PointCollectionSample.csproj
+++ b/snippets/csharp/System.Windows.Media/PointCollection/ToString/PointCollectionSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/PolyBezierSegment/Overview/GeometriesMiscSnippets_procedural.csproj b/snippets/csharp/System.Windows.Media/PolyBezierSegment/Overview/GeometriesMiscSnippets_procedural.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/PolyBezierSegment/Overview/GeometriesMiscSnippets_procedural.csproj
+++ b/snippets/csharp/System.Windows.Media/PolyBezierSegment/Overview/GeometriesMiscSnippets_procedural.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/PolyLineSegment/Overview/GeoOvwSamples.csproj b/snippets/csharp/System.Windows.Media/PolyLineSegment/Overview/GeoOvwSamples.csproj
index 80d335c5b6d..e3e85fe5304 100644
--- a/snippets/csharp/System.Windows.Media/PolyLineSegment/Overview/GeoOvwSamples.csproj
+++ b/snippets/csharp/System.Windows.Media/PolyLineSegment/Overview/GeoOvwSamples.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/TextEffect/.ctor/TextOverview.csproj b/snippets/csharp/System.Windows.Media/TextEffect/.ctor/TextOverview.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/TextEffect/.ctor/TextOverview.csproj
+++ b/snippets/csharp/System.Windows.Media/TextEffect/.ctor/TextOverview.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/TextEffect/Overview/TextEffectSample.csproj b/snippets/csharp/System.Windows.Media/TextEffect/Overview/TextEffectSample.csproj
index 7f1404bd378..b12ce1b3f1a 100644
--- a/snippets/csharp/System.Windows.Media/TextEffect/Overview/TextEffectSample.csproj
+++ b/snippets/csharp/System.Windows.Media/TextEffect/Overview/TextEffectSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/TileBrush/Viewbox/BrushOverviewExample.csproj b/snippets/csharp/System.Windows.Media/TileBrush/Viewbox/BrushOverviewExample.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/TileBrush/Viewbox/BrushOverviewExample.csproj
+++ b/snippets/csharp/System.Windows.Media/TileBrush/Viewbox/BrushOverviewExample.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/Visual/AddVisualChild/AddVisualChild.csproj b/snippets/csharp/System.Windows.Media/Visual/AddVisualChild/AddVisualChild.csproj
index 766abce5b31..b3ec8c6fd55 100644
--- a/snippets/csharp/System.Windows.Media/Visual/AddVisualChild/AddVisualChild.csproj
+++ b/snippets/csharp/System.Windows.Media/Visual/AddVisualChild/AddVisualChild.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/VisualBrush/AutoLayoutContent/visualbrush_markup_snip.csproj b/snippets/csharp/System.Windows.Media/VisualBrush/AutoLayoutContent/visualbrush_markup_snip.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/VisualBrush/AutoLayoutContent/visualbrush_markup_snip.csproj
+++ b/snippets/csharp/System.Windows.Media/VisualBrush/AutoLayoutContent/visualbrush_markup_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/VisualTreeHelper/Overview/VisualsOverview.csproj b/snippets/csharp/System.Windows.Media/VisualTreeHelper/Overview/VisualsOverview.csproj
index 4a9975e6407..7024ba00e53 100644
--- a/snippets/csharp/System.Windows.Media/VisualTreeHelper/Overview/VisualsOverview.csproj
+++ b/snippets/csharp/System.Windows.Media/VisualTreeHelper/Overview/VisualsOverview.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Navigation/CustomContentState/Overview/CSharp.csproj b/snippets/csharp/System.Windows.Navigation/CustomContentState/Overview/CSharp.csproj
index 766abce5b31..b3ec8c6fd55 100644
--- a/snippets/csharp/System.Windows.Navigation/CustomContentState/Overview/CSharp.csproj
+++ b/snippets/csharp/System.Windows.Navigation/CustomContentState/Overview/CSharp.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Navigation/JournalEntry/Overview/CSharp.csproj b/snippets/csharp/System.Windows.Navigation/JournalEntry/Overview/CSharp.csproj
index 766abce5b31..b3ec8c6fd55 100644
--- a/snippets/csharp/System.Windows.Navigation/JournalEntry/Overview/CSharp.csproj
+++ b/snippets/csharp/System.Windows.Navigation/JournalEntry/Overview/CSharp.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Navigation/JournalEntryUnifiedViewConverter/Overview/journalentryunifiedpositionconvertersnippets.csproj b/snippets/csharp/System.Windows.Navigation/JournalEntryUnifiedViewConverter/Overview/journalentryunifiedpositionconvertersnippets.csproj
index 766abce5b31..b3ec8c6fd55 100644
--- a/snippets/csharp/System.Windows.Navigation/JournalEntryUnifiedViewConverter/Overview/journalentryunifiedpositionconvertersnippets.csproj
+++ b/snippets/csharp/System.Windows.Navigation/JournalEntryUnifiedViewConverter/Overview/journalentryunifiedpositionconvertersnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Navigation/NavigatingCancelEventArgs/Overview/CSharp.csproj b/snippets/csharp/System.Windows.Navigation/NavigatingCancelEventArgs/Overview/CSharp.csproj
index 80d335c5b6d..e3e85fe5304 100644
--- a/snippets/csharp/System.Windows.Navigation/NavigatingCancelEventArgs/Overview/CSharp.csproj
+++ b/snippets/csharp/System.Windows.Navigation/NavigatingCancelEventArgs/Overview/CSharp.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Navigation/NavigationService/GetNavigationService/CSharp.csproj b/snippets/csharp/System.Windows.Navigation/NavigationService/GetNavigationService/CSharp.csproj
index 80d335c5b6d..e3e85fe5304 100644
--- a/snippets/csharp/System.Windows.Navigation/NavigationService/GetNavigationService/CSharp.csproj
+++ b/snippets/csharp/System.Windows.Navigation/NavigationService/GetNavigationService/CSharp.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
diff --git a/snippets/csharp/System.Windows.Navigation/NavigationService/Navigate/CSharp.csproj b/snippets/csharp/System.Windows.Navigation/NavigationService/Navigate/CSharp.csproj
index 80d335c5b6d..e3e85fe5304 100644
--- a/snippets/csharp/System.Windows.Navigation/NavigationService/Navigate/CSharp.csproj
+++ b/snippets/csharp/System.Windows.Navigation/NavigationService/Navigate/CSharp.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0-windows
+ net10.0-windows
true
From 23d7696706c13f152e6a23b146383388a42e86a2 Mon Sep 17 00:00:00 2001
From: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Date: Thu, 25 Jun 2026 14:13:49 -0700
Subject: [PATCH 2/7] Upgrade projects to .NET 10
---
.../XmlFormatExtensionAttribute/Overview/Project.csproj | 2 +-
.../Binding/Extensions/Project.csproj | 2 +-
.../Binding/Overview/Project.csproj | 2 +-
.../BindingCollection/Add/Project.csproj | 2 +-
.../DocumentableItem/Documentation/Project.csproj | 2 +-
.../FaultBinding/Overview/Project.csproj | 2 +-
.../FaultBindingCollection/Contains/Project.csproj | 2 +-
.../FaultBindingCollection/Item/Project.csproj | 2 +-
.../FaultBindingCollection/Overview/Project.csproj | 2 +-
.../HttpAddressBinding/Overview/Project.csproj | 2 +-
.../HttpBinding/Namespace/Project.csproj | 2 +-
.../ImportCollection/Overview/Project.csproj | 2 +-
.../InputBinding/Overview/Project.csproj | 2 +-
.../Message/FindPartByName/Project.csproj | 2 +-
.../MessageBinding/Overview/Project.csproj | 2 +-
.../MessageCollection/Contains/Project.csproj | 2 +-
.../MessagePart/Message/Project.csproj | 2 +-
.../MimeContentBinding/Overview/Project.csproj | 2 +-
.../MimeMultipartRelatedBinding/Overview/Project.csproj | 2 +-
.../MimePart/Overview/Project.csproj | 2 +-
.../MimePartCollection/Add/Project.csproj | 2 +-
.../MimePartCollection/Overview/Project.csproj | 2 +-
.../MimeTextBinding/Overview/Project.csproj | 2 +-
.../MimeTextMatch/Capture/Project.csproj | 2 +-
.../MimeTextMatchCollection/Overview/Project.csproj | 2 +-
.../MimeXmlBinding/Overview/Project.csproj | 2 +-
.../Operation/Faults/Project.csproj | 2 +-
.../Operation/IsBoundBy/Project.csproj | 2 +-
.../Operation/Overview/Project.csproj | 2 +-
.../Operation/ParameterOrder/Project.csproj | 2 +-
.../OperationBinding/Overview/Project.csproj | 2 +-
.../OperationBindingCollection/Overview/Project.csproj | 2 +-
.../OperationCollection/Overview/Project.csproj | 2 +-
.../OperationFault/Overview/Project.csproj | 2 +-
.../OperationFaultCollection/Add/Project.csproj | 2 +-
.../OperationFaultCollection/Item/Project.csproj | 2 +-
.../OperationFaultCollection/Overview/Project.csproj | 2 +-
.../OperationFlow/Overview/Project.csproj | 2 +-
.../OperationInput/Overview/Project.csproj | 2 +-
.../OperationMessage/Overview/Project.csproj | 2 +-
.../OperationMessageCollection/Overview/Project.csproj | 2 +-
.../OperationOutput/Overview/Project.csproj | 2 +-
.../Port/Overview/Project.csproj | 2 +-
.../PortCollection/Add/Project.csproj | 2 +-
.../PortCollection/CopyTo/Project.csproj | 2 +-
.../PortCollection/Overview/Project.csproj | 2 +-
.../PortType/Operations/Project.csproj | 2 +-
.../PortType/Overview/Project.csproj | 2 +-
.../PortTypeCollection/Add/Project.csproj | 2 +-
.../PortTypeCollection/Contains/Project.csproj | 2 +-
.../PortTypeCollection/CopyTo/Project.csproj | 2 +-
.../PortTypeCollection/Overview/Project.csproj | 2 +-
.../Service/Extensions/Project.csproj | 2 +-
.../Service/Overview/Project.csproj | 2 +-
.../ServiceCollection/Add/Project.csproj | 2 +-
.../ServiceCollection/Contains/Project.csproj | 2 +-
.../ServiceCollection/Insert/Project.csproj | 2 +-
.../ServiceDescription/Bindings/Project.csproj | 2 +-
.../ServiceDescription/CanRead/Project.csproj | 2 +-
.../ServiceDescription/Extensions/Project.csproj | 2 +-
.../ServiceDescription/Imports/Project.csproj | 2 +-
.../ServiceDescription/Messages/Project.csproj | 2 +-
.../ServiceDescription/Namespace/Project.csproj | 2 +-
.../ServiceDescription/Overview/Project.csproj | 2 +-
.../ServiceDescription/Types/Project.csproj | 2 +-
.../ServiceDescriptionBaseCollection/Overview/Project.csproj | 2 +-
.../ServiceDescriptionCollection/GetBinding/Project.csproj | 2 +-
.../ServiceDescriptionCollection/GetMessage/Project.csproj | 2 +-
.../ServiceDescriptionCollection/GetPortType/Project.csproj | 2 +-
.../ServiceDescriptionCollection/GetService/Project.csproj | 2 +-
.../ServiceDescriptionCollection/Overview/Project.csproj | 2 +-
.../Overview/Project.csproj | 2 +-
.../ServiceDescriptionImporter/Overview/Project.csproj | 2 +-
.../SoapAddressBinding/Overview/Project.csproj | 2 +-
.../SoapBinding/Namespace/Project.csproj | 2 +-
.../SoapBinding/Style/Project.csproj | 2 +-
.../SoapBodyBinding/Encoding/Project.csproj | 2 +-
.../SoapBodyBinding/PartsString/Project.csproj | 2 +-
.../SoapFaultBinding/Overview/Project.csproj | 2 +-
.../SoapHeaderBinding/MapToProperty/Project.csproj | 2 +-
.../SoapHeaderBinding/Message/Project.csproj | 2 +-
.../SoapHeaderBinding/Overview/Project.csproj | 2 +-
82 files changed, 82 insertions(+), 82 deletions(-)
diff --git a/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/Binding/Extensions/Project.csproj b/snippets/csharp/System.Web.Services.Description/Binding/Extensions/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/Binding/Extensions/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/Binding/Extensions/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/Binding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/Binding/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/Binding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/Binding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/Project.csproj b/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/DocumentableItem/Documentation/Project.csproj b/snippets/csharp/System.Web.Services.Description/DocumentableItem/Documentation/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/DocumentableItem/Documentation/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/DocumentableItem/Documentation/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/FaultBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/FaultBinding/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/FaultBinding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/FaultBinding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Contains/Project.csproj b/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Contains/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Contains/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Contains/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Item/Project.csproj b/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Item/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Item/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Item/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/HttpAddressBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/HttpAddressBinding/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/HttpAddressBinding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/HttpAddressBinding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/HttpBinding/Namespace/Project.csproj b/snippets/csharp/System.Web.Services.Description/HttpBinding/Namespace/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/HttpBinding/Namespace/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/HttpBinding/Namespace/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/Project.csproj
index e19c93ed9ce..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/Message/FindPartByName/Project.csproj b/snippets/csharp/System.Web.Services.Description/Message/FindPartByName/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/Message/FindPartByName/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/Message/FindPartByName/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/MessageBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/MessageBinding/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/MessageBinding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/MessageBinding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/MessageCollection/Contains/Project.csproj b/snippets/csharp/System.Web.Services.Description/MessageCollection/Contains/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/MessageCollection/Contains/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/MessageCollection/Contains/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/MessagePart/Message/Project.csproj b/snippets/csharp/System.Web.Services.Description/MessagePart/Message/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/MessagePart/Message/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/MessagePart/Message/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/MimeContentBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/MimeContentBinding/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/MimeContentBinding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/MimeContentBinding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/MimePart/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/MimePart/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/MimePart/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/MimePart/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/Project.csproj b/snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/MimePartCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/MimePartCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/MimePartCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/MimePartCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/MimeTextMatch/Capture/Project.csproj b/snippets/csharp/System.Web.Services.Description/MimeTextMatch/Capture/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/MimeTextMatch/Capture/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/MimeTextMatch/Capture/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/MimeXmlBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/MimeXmlBinding/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/MimeXmlBinding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/MimeXmlBinding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/Operation/Faults/Project.csproj b/snippets/csharp/System.Web.Services.Description/Operation/Faults/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/Operation/Faults/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/Operation/Faults/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/Operation/IsBoundBy/Project.csproj b/snippets/csharp/System.Web.Services.Description/Operation/IsBoundBy/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/Operation/IsBoundBy/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/Operation/IsBoundBy/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/Operation/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/Operation/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/Operation/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/Operation/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/Operation/ParameterOrder/Project.csproj b/snippets/csharp/System.Web.Services.Description/Operation/ParameterOrder/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/Operation/ParameterOrder/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/Operation/ParameterOrder/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/OperationFault/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/OperationFault/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/OperationFault/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/OperationFault/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Add/Project.csproj b/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Add/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Add/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Add/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Item/Project.csproj b/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Item/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Item/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Item/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/OperationFlow/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/OperationFlow/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/OperationFlow/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/OperationFlow/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/OperationInput/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/OperationInput/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/OperationInput/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/OperationInput/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/OperationMessage/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/OperationMessage/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/OperationMessage/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/OperationMessage/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/OperationOutput/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/OperationOutput/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/OperationOutput/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/OperationOutput/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/Port/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/Port/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/Port/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/Port/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/PortCollection/Add/Project.csproj b/snippets/csharp/System.Web.Services.Description/PortCollection/Add/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/PortCollection/Add/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/PortCollection/Add/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/PortCollection/CopyTo/Project.csproj b/snippets/csharp/System.Web.Services.Description/PortCollection/CopyTo/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/PortCollection/CopyTo/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/PortCollection/CopyTo/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/PortCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/PortCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/PortCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/PortCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/PortType/Operations/Project.csproj b/snippets/csharp/System.Web.Services.Description/PortType/Operations/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/PortType/Operations/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/PortType/Operations/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/PortType/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/PortType/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/PortType/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/PortType/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Add/Project.csproj b/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Add/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Add/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Add/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Contains/Project.csproj b/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Contains/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Contains/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Contains/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/PortTypeCollection/CopyTo/Project.csproj b/snippets/csharp/System.Web.Services.Description/PortTypeCollection/CopyTo/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/PortTypeCollection/CopyTo/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/PortTypeCollection/CopyTo/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/Service/Extensions/Project.csproj b/snippets/csharp/System.Web.Services.Description/Service/Extensions/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/Service/Extensions/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/Service/Extensions/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/Service/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/Service/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/Service/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/Service/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceCollection/Insert/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceCollection/Insert/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceCollection/Insert/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceCollection/Insert/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Bindings/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Bindings/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Bindings/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Bindings/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescription/CanRead/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescription/CanRead/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescription/CanRead/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescription/CanRead/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Extensions/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Extensions/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Extensions/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Extensions/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Imports/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Imports/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Imports/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Imports/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Messages/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Messages/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Messages/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Messages/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Namespace/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Namespace/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Namespace/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Namespace/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Types/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Types/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescription/Types/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescription/Types/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetService/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetService/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetService/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetService/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionImporter/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionImporter/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/ServiceDescriptionImporter/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/ServiceDescriptionImporter/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/SoapAddressBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapAddressBinding/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/SoapAddressBinding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/SoapAddressBinding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBinding/Namespace/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapBinding/Namespace/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/SoapBinding/Namespace/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/SoapBinding/Namespace/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
diff --git a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/Project.csproj
index 300dabafd35..cb048ae4467 100644
--- a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/Project.csproj
+++ b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net472
+ net10.0
From 4e4e59bd884222c4224b2b4c3af6108b096c336c Mon Sep 17 00:00:00 2001
From: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Date: Thu, 25 Jun 2026 14:22:55 -0700
Subject: [PATCH 3/7] Revert "Upgrade projects to .NET 10"
This reverts commit 27c0003de5ded37afee0dcf112b46f3cad450aed.
---
.../AnnotationStore/DeleteAnnotation/DocumentSerialize.csproj | 2 +-
.../Overview/DocViewerAnnotationsXps.csproj | 2 +-
.../GetAnchorInfo/FlowDocumentAnnotatedViewer.csproj | 2 +-
.../AnnotationService/Overview/DocViewerAnnotationsXml.csproj | 2 +-
.../IViewAutomationPeer/Overview/ListViewCustomView.csproj | 2 +-
.../IsReadOnly/UIAIRangeValueProvider_snip.csproj | 2 +-
.../AddToSelection/ElementProvider.csproj | 2 +-
.../IToggleProvider/Toggle/UIAIToggleProvider_snip.csproj | 2 +-
.../CanMove/UIAITransformProvider_snip.csproj | 2 +-
.../IValueProvider/IsReadOnly/UIAIValueProvider_snip.csproj | 2 +-
.../DockPosition/UIADockPattern_snip.csproj | 2 +-
.../ExpandCollapseState/UIAExpandCollapsePattern_snip.csproj | 2 +-
.../Column/UIAGridItemPattern_snip.csproj | 2 +-
.../ColumnCount/UIAGridPattern_snip.csproj | 2 +-
.../CurrentView/UIAMultipleViewPattern_snip.csproj | 2 +-
.../IsReadOnly/UIARangeValuePattern_snip.csproj | 2 +-
.../ScrollItemPattern/Pattern/UIAScrollItemPattern_snip.csproj | 2 +-
.../HorizontallyScrollable/UIAScrollPattern_snip.csproj | 2 +-
.../IsSelected/UIASelectionItemPattern_snip.csproj | 2 +-
.../CanSelectMultiple/UIASelectionPattern_snip.csproj | 2 +-
.../StructureChangedEventArgs/.ctor/ElementProvider.csproj | 2 +-
.../Column/UIATableItemPattern_snip.csproj | 2 +-
.../ColumnCount/UIATablePattern_snip.csproj | 2 +-
.../TextPattern/DocumentRange/TextProvider.csproj | 2 +-
.../ToggleState/UIATogglePattern_snip.csproj | 2 +-
.../CanMove/UIATransformPattern_snip.csproj | 2 +-
.../IsReadOnly/UIAValuePattern_snip.csproj | 2 +-
.../CanMaximize/UIAWindowPattern_snip.csproj | 2 +-
.../System.Windows.Data/Binding/Source/SimpleBinding.csproj | 2 +-
.../bindingvalidationattributessnippets.csproj | 2 +-
.../BindingExpression/DataItem/DirectionalBinding.csproj | 2 +-
.../bindingexpressionbasevalidatewithoutupdating.csproj | 2 +-
.../BindingOperations/SetBinding/BindConversion.csproj | 2 +-
.../CollectionView/MoveCurrentTo/Colors.csproj | 2 +-
.../PriorityBinding/Bindings/PriorityBinding.csproj | 2 +-
.../XmlDataProvider/Source/XmlDataSource2.csproj | 2 +-
.../XmlDataProvider/XmlNamespaceManager/XmlnsBind.csproj | 2 +-
.../DocumentPaginator/PageSize/XpsSave.csproj | 2 +-
.../Glyphs/Overview/Glyphs_ovw_samp1.csproj | 2 +-
.../Hyperlink/NavigateUri/HOWTONavigationMailTo.csproj | 2 +-
.../Hyperlink/Overview/HyperlinkSnippets.csproj | 2 +-
.../System.Windows.Documents/List/Overview/ListSnippets.csproj | 2 +-
.../System.Windows.Documents/Run/.ctor/RunSnippets.csproj | 2 +-
.../System.Windows.Documents/Run/Text/bindablerunsnippet.csproj | 2 +-
.../Typography/Overview/TypographySnippets.csproj | 2 +-
.../Adorner/Enabled/Project.csproj | 2 +-
.../EventsTab/Overview/Project.csproj | 2 +-
.../IWindowsFormsEditorService/Overview/Project.csproj | 2 +-
.../Application/AddMessageFilter/Project.csproj | 2 +-
.../Application/SetUnhandledExceptionMode/Project.csproj | 2 +-
.../System.Windows.Forms/CheckBox/CreateParams/Project.csproj | 2 +-
.../CheckBox/ProcessMnemonic/Project.csproj | 2 +-
.../CheckedListBox+ObjectCollection/Add/Project.csproj | 2 +-
.../System.Windows.Forms/CheckedListBox/WndProc/Project.csproj | 2 +-
.../System.Windows.Forms/CommonDialog/HookProc/Project.csproj | 2 +-
.../DataGridColumnStyle/Overview/Project.csproj | 2 +-
.../System.Windows.Forms/DataGridView/BeginEdit/Project.csproj | 2 +-
.../FolderBrowserDialog/Overview/Project.csproj | 2 +-
.../HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj | 2 +-
.../HtmlElement/Overview/HtmlElementProjectCSharp.csproj | 2 +-
.../HtmlElementEventHandler/Overview/Project.csproj | 2 +-
.../KeyPressEventArgs/Handled/Project.csproj | 2 +-
.../System.Windows.Forms/NativeWindow/Overview/Project.csproj | 2 +-
.../System.Windows.Forms/PropertyGrid/Overview/Project.csproj | 2 +-
.../ToolStripDropDown/Overview/Project.csproj | 2 +-
.../ToolStripMenuItem/ShortcutKeys/Project.csproj | 2 +-
.../csharp/System.Windows.Forms/WebBrowser/.ctor/Project.csproj | 2 +-
.../WebBrowser/AllowWebBrowserDrop/Project.csproj | 2 +-
.../System.Windows.Forms/WebBrowser/CreateSink/Project.csproj | 2 +-
.../PropertyDataChanged/StrokeCollectionShadow.csproj | 2 +-
.../GestureRecognizer/Overview/GestureControl.csproj | 2 +-
.../System.Windows.Ink/Stroke/.ctor/StrokeSnippets_CS.csproj | 2 +-
.../InertiaProcessor2D/Complete/manipulationapi.csproj | 2 +-
.../Parameter/InvalidateRequeryWithDispatcherTimer.csproj | 2 +-
.../Overview/Custom_RoutedCommand.csproj | 2 +-
.../FocusManager/FocusedElement/MarkupSnippets.csproj | 2 +-
.../FocusManager/GetFocusedElement/FocusSnippets.csproj | 2 +-
.../ImeSentenceModeValues/Overview/inputmanager.csproj | 2 +-
.../InputBinding/.ctor/CommandLibarySnippets.csproj | 2 +-
.../InputBinding/Overview/inputcommandbinding.csproj | 2 +-
.../Keyboard/GotKeyboardFocus/KeyboardSample.csproj | 2 +-
.../csharp/System.Windows.Input/Keyboard/KeyDown/KeyDown.csproj | 2 +-
.../Keyboard/Overview/KeyArgsSnippetSample.csproj | 2 +-
.../Mouse/Capture/MouseCaptureSample.csproj | 2 +-
.../Mouse/GetPosition/MouseRelatedSnippets.csproj | 2 +-
.../BrowseBack/NavigationCommandsSnippets.csproj | 2 +-
.../RoutedCommand/CanExecute/ImplementICommandSource.csproj | 2 +-
.../System.Windows.Input/Stylus/Overview/StylusSamples.csproj | 2 +-
.../StylusButton/Overview/StylusSnippets_CS.csproj | 2 +-
.../StylusDevice/GetStylusPoints/PacketSpy.csproj | 2 +-
.../StylusDeviceCollection/Overview/HwCaps_CS.csproj | 2 +-
.../Touch/Overview/wpftouchframesample.csproj | 2 +-
.../TouchDevice/Overview/wpftoucheventssample.csproj | 2 +-
.../HostScript/wpfbrowserapplication1.csproj | 2 +-
.../IsBrowserHosted/BrowserInteropHelperSnippet.csproj | 2 +-
.../System.Windows.Interop/D3DImage/Overview/d3dhost.csproj | 2 +-
.../XamlReader/Overview/XamlReaderWriterSnippets.csproj | 2 +-
.../BackEase/Overview/backease_scale.csproj | 2 +-
.../BooleanAnimationBase/Overview/keyframes_markup.csproj | 2 +-
.../BounceEase/Overview/bounceease.csproj | 2 +-
.../CircleEase/Overview/circleease.csproj | 2 +-
.../Remove/ClockController_procedural_snip.csproj | 2 +-
.../CubicEase/Overview/cubicease.csproj | 2 +-
.../DiscreteInt16KeyFrame/Overview/keyframes.csproj | 2 +-
.../PathGeometry/pathanimationgallery.csproj | 2 +-
.../Overview/easingfunctiondoublekeyframe.csproj | 2 +-
.../EasingFunctionBase/Overview/customeasingfunction.csproj | 2 +-
.../Overview/easingfunctionpointkeyframe.csproj | 2 +-
.../ElasticEase/Overview/elasticease.csproj | 2 +-
.../ExponentialEase/Overview/exponentialease.csproj | 2 +-
.../PowerEase/Overview/powerease.csproj | 2 +-
.../QuadraticEase/Overview/quadraticease.csproj | 2 +-
.../QuarticEase/Overview/quarticease.csproj | 2 +-
.../QuinticEase/Overview/quinticease.csproj | 2 +-
.../RemoveStoryboard/Overview/storyboard.csproj | 2 +-
.../SineEase/Overview/sineease.csproj | 2 +-
.../Storyboard/Begin/animation_ovws_procedural.csproj | 2 +-
.../Timeline/BeginTime/project.csproj | 2 +-
.../BitmapImage/Overview/ImageElementExample.csproj | 2 +-
.../WriteableBitmap/Overview/WriteableBitmapDemo.csproj | 2 +-
.../AmbientLight/Overview/Show3DLights.csproj | 2 +-
.../AxisAngleRotation3D/AngleProperty/BlankSample.csproj | 2 +-
.../AxisAngleRotation3D/Overview/create_cube.csproj | 2 +-
.../ContainerUIElement3D/Overview/ContainerModelSample.csproj | 2 +-
.../Matrix3D/Overview/Mil3dVectorSample.csproj | 2 +-
.../MatrixCamera/Overview/MatrixTransform3DView.csproj | 2 +-
.../PerspectiveCamera/Overview/3DGallery.csproj | 2 +-
.../System.Windows.Media.Media3D/Point3D/Add/Mil3dPoints.csproj | 2 +-
.../Point3D/GetHashCode/Mil4dPoints.csproj | 2 +-
.../Quaternion/Overview/Animation3DGallery.csproj | 2 +-
.../Quaternion/Parse/QuaternionView.csproj | 2 +-
.../System.Windows.Media.Media3D/Size3D/Empty/Mil3dSize.csproj | 2 +-
.../Overview/viewport2dvisual3dexample.csproj | 2 +-
.../MinMaxParagraphWidth/Overview/TextFormattingSnippets.csproj | 2 +-
.../BitmapCache/Overview/cachedcompositiondemo.csproj | 2 +-
.../BitmapCacheBrush/Overview/bitmapcachebrushdemo.csproj | 2 +-
.../BitmapScalingMode/Overview/RenderOptionsSnippets.csproj | 2 +-
.../Color/FromArgb/BrushesMiscSnippets_procedural.csproj | 2 +-
.../System.Windows.Media/Color/Overview/MiscSnippets.csproj | 2 +-
.../CompositionTarget/Rendering/CompositionTargetSample.csproj | 2 +-
.../ContainerVisual/.ctor/ContainerVisualSnippets.csproj | 2 +-
.../ContainerVisual/Overview/ContainerVisualHost.csproj | 2 +-
.../Overview/DisableDpiAwareness.csproj | 2 +-
.../DrawingContext/Overview/DrawingVisual.csproj | 2 +-
.../DrawingGroup/BitmapEffect/misc_snippets.csproj | 2 +-
.../DrawingVisual/Drawing/VisualSnippets.csproj | 2 +-
.../FontFamily/Overview/compositefontmarkup.csproj | 2 +-
.../FormattedText/Overview/FormattedTextSnippets.csproj | 2 +-
.../System.Windows.Media/Geometry/Transform/Transforms.csproj | 2 +-
.../GeometryCombineMode/Overview/myproject.csproj | 2 +-
.../Overview/HitTestingOverview.csproj | 2 +-
.../GlyphTypeface/.ctor/GlyphTypefaceSnippets.csproj | 2 +-
.../Matrix/Append/MatrixExamples_snip.csproj | 2 +-
.../PenLineJoin/Overview/drawingwithshapeelements.csproj | 2 +-
.../PixelFormat/Overview/ImagingSnippetGallery_csharp.csproj | 2 +-
.../PointCollection/ToString/PointCollectionSample.csproj | 2 +-
.../Overview/GeometriesMiscSnippets_procedural.csproj | 2 +-
.../PolyLineSegment/Overview/GeoOvwSamples.csproj | 2 +-
.../System.Windows.Media/TextEffect/.ctor/TextOverview.csproj | 2 +-
.../TextEffect/Overview/TextEffectSample.csproj | 2 +-
.../TileBrush/Viewbox/BrushOverviewExample.csproj | 2 +-
.../Visual/AddVisualChild/AddVisualChild.csproj | 2 +-
.../AutoLayoutContent/visualbrush_markup_snip.csproj | 2 +-
.../VisualTreeHelper/Overview/VisualsOverview.csproj | 2 +-
.../CustomContentState/Overview/CSharp.csproj | 2 +-
.../JournalEntry/Overview/CSharp.csproj | 2 +-
.../journalentryunifiedpositionconvertersnippets.csproj | 2 +-
.../NavigatingCancelEventArgs/Overview/CSharp.csproj | 2 +-
.../NavigationService/GetNavigationService/CSharp.csproj | 2 +-
.../NavigationService/Navigate/CSharp.csproj | 2 +-
170 files changed, 170 insertions(+), 170 deletions(-)
diff --git a/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/DocumentSerialize.csproj b/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/DocumentSerialize.csproj
index 1ebc70bd009..b5677fb13cc 100644
--- a/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/DocumentSerialize.csproj
+++ b/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/DocumentSerialize.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/DocViewerAnnotationsXps.csproj b/snippets/csharp/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/DocViewerAnnotationsXps.csproj
index fac33010f8d..c573665a759 100644
--- a/snippets/csharp/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/DocViewerAnnotationsXps.csproj
+++ b/snippets/csharp/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/DocViewerAnnotationsXps.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Annotations/AnnotationHelper/GetAnchorInfo/FlowDocumentAnnotatedViewer.csproj b/snippets/csharp/System.Windows.Annotations/AnnotationHelper/GetAnchorInfo/FlowDocumentAnnotatedViewer.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Annotations/AnnotationHelper/GetAnchorInfo/FlowDocumentAnnotatedViewer.csproj
+++ b/snippets/csharp/System.Windows.Annotations/AnnotationHelper/GetAnchorInfo/FlowDocumentAnnotatedViewer.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/DocViewerAnnotationsXml.csproj b/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/DocViewerAnnotationsXml.csproj
index fac33010f8d..c573665a759 100644
--- a/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/DocViewerAnnotationsXml.csproj
+++ b/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/DocViewerAnnotationsXml.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation.Peers/IViewAutomationPeer/Overview/ListViewCustomView.csproj b/snippets/csharp/System.Windows.Automation.Peers/IViewAutomationPeer/Overview/ListViewCustomView.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation.Peers/IViewAutomationPeer/Overview/ListViewCustomView.csproj
+++ b/snippets/csharp/System.Windows.Automation.Peers/IViewAutomationPeer/Overview/ListViewCustomView.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation.Provider/IRangeValueProvider/IsReadOnly/UIAIRangeValueProvider_snip.csproj b/snippets/csharp/System.Windows.Automation.Provider/IRangeValueProvider/IsReadOnly/UIAIRangeValueProvider_snip.csproj
index 3450e7c6c84..8de2ec97cb2 100644
--- a/snippets/csharp/System.Windows.Automation.Provider/IRangeValueProvider/IsReadOnly/UIAIRangeValueProvider_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation.Provider/IRangeValueProvider/IsReadOnly/UIAIRangeValueProvider_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation.Provider/ISelectionItemProvider/AddToSelection/ElementProvider.csproj b/snippets/csharp/System.Windows.Automation.Provider/ISelectionItemProvider/AddToSelection/ElementProvider.csproj
index 3450e7c6c84..8de2ec97cb2 100644
--- a/snippets/csharp/System.Windows.Automation.Provider/ISelectionItemProvider/AddToSelection/ElementProvider.csproj
+++ b/snippets/csharp/System.Windows.Automation.Provider/ISelectionItemProvider/AddToSelection/ElementProvider.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation.Provider/IToggleProvider/Toggle/UIAIToggleProvider_snip.csproj b/snippets/csharp/System.Windows.Automation.Provider/IToggleProvider/Toggle/UIAIToggleProvider_snip.csproj
index 3450e7c6c84..8de2ec97cb2 100644
--- a/snippets/csharp/System.Windows.Automation.Provider/IToggleProvider/Toggle/UIAIToggleProvider_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation.Provider/IToggleProvider/Toggle/UIAIToggleProvider_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation.Provider/ITransformProvider/CanMove/UIAITransformProvider_snip.csproj b/snippets/csharp/System.Windows.Automation.Provider/ITransformProvider/CanMove/UIAITransformProvider_snip.csproj
index 3450e7c6c84..8de2ec97cb2 100644
--- a/snippets/csharp/System.Windows.Automation.Provider/ITransformProvider/CanMove/UIAITransformProvider_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation.Provider/ITransformProvider/CanMove/UIAITransformProvider_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation.Provider/IValueProvider/IsReadOnly/UIAIValueProvider_snip.csproj b/snippets/csharp/System.Windows.Automation.Provider/IValueProvider/IsReadOnly/UIAIValueProvider_snip.csproj
index d3052dea920..8186e8dd5d3 100644
--- a/snippets/csharp/System.Windows.Automation.Provider/IValueProvider/IsReadOnly/UIAIValueProvider_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation.Provider/IValueProvider/IsReadOnly/UIAIValueProvider_snip.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation/DockPattern+DockPatternInformation/DockPosition/UIADockPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/DockPattern+DockPatternInformation/DockPosition/UIADockPattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/DockPattern+DockPatternInformation/DockPosition/UIADockPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/DockPattern+DockPatternInformation/DockPosition/UIADockPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/ExpandCollapsePattern+ExpandCollapsePatternInformation/ExpandCollapseState/UIAExpandCollapsePattern_snip.csproj b/snippets/csharp/System.Windows.Automation/ExpandCollapsePattern+ExpandCollapsePatternInformation/ExpandCollapseState/UIAExpandCollapsePattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/ExpandCollapsePattern+ExpandCollapsePatternInformation/ExpandCollapseState/UIAExpandCollapsePattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/ExpandCollapsePattern+ExpandCollapsePatternInformation/ExpandCollapseState/UIAExpandCollapsePattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/GridItemPattern+GridItemPatternInformation/Column/UIAGridItemPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/GridItemPattern+GridItemPatternInformation/Column/UIAGridItemPattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/GridItemPattern+GridItemPatternInformation/Column/UIAGridItemPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/GridItemPattern+GridItemPatternInformation/Column/UIAGridItemPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/GridPattern+GridPatternInformation/ColumnCount/UIAGridPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/GridPattern+GridPatternInformation/ColumnCount/UIAGridPattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/GridPattern+GridPatternInformation/ColumnCount/UIAGridPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/GridPattern+GridPatternInformation/ColumnCount/UIAGridPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/MultipleViewPattern+MultipleViewPatternInformation/CurrentView/UIAMultipleViewPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/MultipleViewPattern+MultipleViewPatternInformation/CurrentView/UIAMultipleViewPattern_snip.csproj
index 3450e7c6c84..8de2ec97cb2 100644
--- a/snippets/csharp/System.Windows.Automation/MultipleViewPattern+MultipleViewPatternInformation/CurrentView/UIAMultipleViewPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/MultipleViewPattern+MultipleViewPatternInformation/CurrentView/UIAMultipleViewPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation/RangeValuePattern+RangeValuePatternInformation/IsReadOnly/UIARangeValuePattern_snip.csproj b/snippets/csharp/System.Windows.Automation/RangeValuePattern+RangeValuePatternInformation/IsReadOnly/UIARangeValuePattern_snip.csproj
index 3450e7c6c84..8de2ec97cb2 100644
--- a/snippets/csharp/System.Windows.Automation/RangeValuePattern+RangeValuePatternInformation/IsReadOnly/UIARangeValuePattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/RangeValuePattern+RangeValuePatternInformation/IsReadOnly/UIARangeValuePattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation/ScrollItemPattern/Pattern/UIAScrollItemPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/ScrollItemPattern/Pattern/UIAScrollItemPattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/ScrollItemPattern/Pattern/UIAScrollItemPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/ScrollItemPattern/Pattern/UIAScrollItemPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/ScrollPattern+ScrollPatternInformation/HorizontallyScrollable/UIAScrollPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/ScrollPattern+ScrollPatternInformation/HorizontallyScrollable/UIAScrollPattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/ScrollPattern+ScrollPatternInformation/HorizontallyScrollable/UIAScrollPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/ScrollPattern+ScrollPatternInformation/HorizontallyScrollable/UIAScrollPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/SelectionItemPattern+SelectionItemPatternInformation/IsSelected/UIASelectionItemPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/SelectionItemPattern+SelectionItemPatternInformation/IsSelected/UIASelectionItemPattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/SelectionItemPattern+SelectionItemPatternInformation/IsSelected/UIASelectionItemPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/SelectionItemPattern+SelectionItemPatternInformation/IsSelected/UIASelectionItemPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/SelectionPattern+SelectionPatternInformation/CanSelectMultiple/UIASelectionPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/SelectionPattern+SelectionPatternInformation/CanSelectMultiple/UIASelectionPattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/SelectionPattern+SelectionPatternInformation/CanSelectMultiple/UIASelectionPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/SelectionPattern+SelectionPatternInformation/CanSelectMultiple/UIASelectionPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/StructureChangedEventArgs/.ctor/ElementProvider.csproj b/snippets/csharp/System.Windows.Automation/StructureChangedEventArgs/.ctor/ElementProvider.csproj
index 3450e7c6c84..8de2ec97cb2 100644
--- a/snippets/csharp/System.Windows.Automation/StructureChangedEventArgs/.ctor/ElementProvider.csproj
+++ b/snippets/csharp/System.Windows.Automation/StructureChangedEventArgs/.ctor/ElementProvider.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Automation/TableItemPattern+TableItemPatternInformation/Column/UIATableItemPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/TableItemPattern+TableItemPatternInformation/Column/UIATableItemPattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/TableItemPattern+TableItemPatternInformation/Column/UIATableItemPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/TableItemPattern+TableItemPatternInformation/Column/UIATableItemPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/TablePattern+TablePatternInformation/ColumnCount/UIATablePattern_snip.csproj b/snippets/csharp/System.Windows.Automation/TablePattern+TablePatternInformation/ColumnCount/UIATablePattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/TablePattern+TablePatternInformation/ColumnCount/UIATablePattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/TablePattern+TablePatternInformation/ColumnCount/UIATablePattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/TextPattern/DocumentRange/TextProvider.csproj b/snippets/csharp/System.Windows.Automation/TextPattern/DocumentRange/TextProvider.csproj
index 9d205c2bb5d..f0c8820944d 100644
--- a/snippets/csharp/System.Windows.Automation/TextPattern/DocumentRange/TextProvider.csproj
+++ b/snippets/csharp/System.Windows.Automation/TextPattern/DocumentRange/TextProvider.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
true
TextProvider.App
diff --git a/snippets/csharp/System.Windows.Automation/TogglePattern+TogglePatternInformation/ToggleState/UIATogglePattern_snip.csproj b/snippets/csharp/System.Windows.Automation/TogglePattern+TogglePatternInformation/ToggleState/UIATogglePattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/TogglePattern+TogglePatternInformation/ToggleState/UIATogglePattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/TogglePattern+TogglePatternInformation/ToggleState/UIATogglePattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/TransformPattern+TransformPatternInformation/CanMove/UIATransformPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/TransformPattern+TransformPatternInformation/CanMove/UIATransformPattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/TransformPattern+TransformPatternInformation/CanMove/UIATransformPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/TransformPattern+TransformPatternInformation/CanMove/UIATransformPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/ValuePattern+ValuePatternInformation/IsReadOnly/UIAValuePattern_snip.csproj b/snippets/csharp/System.Windows.Automation/ValuePattern+ValuePatternInformation/IsReadOnly/UIAValuePattern_snip.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Automation/ValuePattern+ValuePatternInformation/IsReadOnly/UIAValuePattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/ValuePattern+ValuePatternInformation/IsReadOnly/UIAValuePattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Automation/WindowPattern+WindowPatternInformation/CanMaximize/UIAWindowPattern_snip.csproj b/snippets/csharp/System.Windows.Automation/WindowPattern+WindowPatternInformation/CanMaximize/UIAWindowPattern_snip.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Automation/WindowPattern+WindowPatternInformation/CanMaximize/UIAWindowPattern_snip.csproj
+++ b/snippets/csharp/System.Windows.Automation/WindowPattern+WindowPatternInformation/CanMaximize/UIAWindowPattern_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/Binding/Source/SimpleBinding.csproj b/snippets/csharp/System.Windows.Data/Binding/Source/SimpleBinding.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Data/Binding/Source/SimpleBinding.csproj
+++ b/snippets/csharp/System.Windows.Data/Binding/Source/SimpleBinding.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/Binding/ValidatesOnDataErrors/bindingvalidationattributessnippets.csproj b/snippets/csharp/System.Windows.Data/Binding/ValidatesOnDataErrors/bindingvalidationattributessnippets.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Data/Binding/ValidatesOnDataErrors/bindingvalidationattributessnippets.csproj
+++ b/snippets/csharp/System.Windows.Data/Binding/ValidatesOnDataErrors/bindingvalidationattributessnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/BindingExpression/DataItem/DirectionalBinding.csproj b/snippets/csharp/System.Windows.Data/BindingExpression/DataItem/DirectionalBinding.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Data/BindingExpression/DataItem/DirectionalBinding.csproj
+++ b/snippets/csharp/System.Windows.Data/BindingExpression/DataItem/DirectionalBinding.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/BindingExpressionBase/ValidateWithoutUpdate/bindingexpressionbasevalidatewithoutupdating.csproj b/snippets/csharp/System.Windows.Data/BindingExpressionBase/ValidateWithoutUpdate/bindingexpressionbasevalidatewithoutupdating.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Data/BindingExpressionBase/ValidateWithoutUpdate/bindingexpressionbasevalidatewithoutupdating.csproj
+++ b/snippets/csharp/System.Windows.Data/BindingExpressionBase/ValidateWithoutUpdate/bindingexpressionbasevalidatewithoutupdating.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/BindingOperations/SetBinding/BindConversion.csproj b/snippets/csharp/System.Windows.Data/BindingOperations/SetBinding/BindConversion.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Data/BindingOperations/SetBinding/BindConversion.csproj
+++ b/snippets/csharp/System.Windows.Data/BindingOperations/SetBinding/BindConversion.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/CollectionView/MoveCurrentTo/Colors.csproj b/snippets/csharp/System.Windows.Data/CollectionView/MoveCurrentTo/Colors.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Data/CollectionView/MoveCurrentTo/Colors.csproj
+++ b/snippets/csharp/System.Windows.Data/CollectionView/MoveCurrentTo/Colors.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/PriorityBinding/Bindings/PriorityBinding.csproj b/snippets/csharp/System.Windows.Data/PriorityBinding/Bindings/PriorityBinding.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Data/PriorityBinding/Bindings/PriorityBinding.csproj
+++ b/snippets/csharp/System.Windows.Data/PriorityBinding/Bindings/PriorityBinding.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/XmlDataProvider/Source/XmlDataSource2.csproj b/snippets/csharp/System.Windows.Data/XmlDataProvider/Source/XmlDataSource2.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Data/XmlDataProvider/Source/XmlDataSource2.csproj
+++ b/snippets/csharp/System.Windows.Data/XmlDataProvider/Source/XmlDataSource2.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Data/XmlDataProvider/XmlNamespaceManager/XmlnsBind.csproj b/snippets/csharp/System.Windows.Data/XmlDataProvider/XmlNamespaceManager/XmlnsBind.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Data/XmlDataProvider/XmlNamespaceManager/XmlnsBind.csproj
+++ b/snippets/csharp/System.Windows.Data/XmlDataProvider/XmlNamespaceManager/XmlnsBind.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/DocumentPaginator/PageSize/XpsSave.csproj b/snippets/csharp/System.Windows.Documents/DocumentPaginator/PageSize/XpsSave.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Documents/DocumentPaginator/PageSize/XpsSave.csproj
+++ b/snippets/csharp/System.Windows.Documents/DocumentPaginator/PageSize/XpsSave.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/Glyphs/Overview/Glyphs_ovw_samp1.csproj b/snippets/csharp/System.Windows.Documents/Glyphs/Overview/Glyphs_ovw_samp1.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Documents/Glyphs/Overview/Glyphs_ovw_samp1.csproj
+++ b/snippets/csharp/System.Windows.Documents/Glyphs/Overview/Glyphs_ovw_samp1.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/Hyperlink/NavigateUri/HOWTONavigationMailTo.csproj b/snippets/csharp/System.Windows.Documents/Hyperlink/NavigateUri/HOWTONavigationMailTo.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Documents/Hyperlink/NavigateUri/HOWTONavigationMailTo.csproj
+++ b/snippets/csharp/System.Windows.Documents/Hyperlink/NavigateUri/HOWTONavigationMailTo.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/Hyperlink/Overview/HyperlinkSnippets.csproj b/snippets/csharp/System.Windows.Documents/Hyperlink/Overview/HyperlinkSnippets.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Documents/Hyperlink/Overview/HyperlinkSnippets.csproj
+++ b/snippets/csharp/System.Windows.Documents/Hyperlink/Overview/HyperlinkSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/List/Overview/ListSnippets.csproj b/snippets/csharp/System.Windows.Documents/List/Overview/ListSnippets.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Documents/List/Overview/ListSnippets.csproj
+++ b/snippets/csharp/System.Windows.Documents/List/Overview/ListSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/Run/.ctor/RunSnippets.csproj b/snippets/csharp/System.Windows.Documents/Run/.ctor/RunSnippets.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Documents/Run/.ctor/RunSnippets.csproj
+++ b/snippets/csharp/System.Windows.Documents/Run/.ctor/RunSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/Run/Text/bindablerunsnippet.csproj b/snippets/csharp/System.Windows.Documents/Run/Text/bindablerunsnippet.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Documents/Run/Text/bindablerunsnippet.csproj
+++ b/snippets/csharp/System.Windows.Documents/Run/Text/bindablerunsnippet.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Documents/Typography/Overview/TypographySnippets.csproj b/snippets/csharp/System.Windows.Documents/Typography/Overview/TypographySnippets.csproj
index e3e85fe5304..80d335c5b6d 100644
--- a/snippets/csharp/System.Windows.Documents/Typography/Overview/TypographySnippets.csproj
+++ b/snippets/csharp/System.Windows.Documents/Typography/Overview/TypographySnippets.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/Project.csproj b/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms.Design/EventsTab/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms.Design/EventsTab/Overview/Project.csproj
index b62ae7deede..a6af869474e 100644
--- a/snippets/csharp/System.Windows.Forms.Design/EventsTab/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms.Design/EventsTab/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/Project.csproj
index b62ae7deede..a6af869474e 100644
--- a/snippets/csharp/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/Application/AddMessageFilter/Project.csproj b/snippets/csharp/System.Windows.Forms/Application/AddMessageFilter/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/Application/AddMessageFilter/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/Application/AddMessageFilter/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/Project.csproj b/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/Project.csproj b/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/Project.csproj b/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/Project.csproj b/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/Project.csproj b/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/CommonDialog/HookProc/Project.csproj b/snippets/csharp/System.Windows.Forms/CommonDialog/HookProc/Project.csproj
index b62ae7deede..a6af869474e 100644
--- a/snippets/csharp/System.Windows.Forms/CommonDialog/HookProc/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/CommonDialog/HookProc/Project.csproj
@@ -2,7 +2,7 @@
Library
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/Overview/Project.csproj
index 4a6d98d26b7..75b7eb8dd12 100644
--- a/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/Overview/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net4.8
true
diff --git a/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/Project.csproj b/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/Project.csproj
index 429a73db362..d8f9c7dd878 100644
--- a/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/Project.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net8.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj b/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj
index 292f4cf7ab8..37d932108d5 100644
--- a/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj
+++ b/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProjectCSharp.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/HtmlElementProjectCSharp.csproj b/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/HtmlElementProjectCSharp.csproj
index 341e416b509..eca509332dd 100644
--- a/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/HtmlElementProjectCSharp.csproj
+++ b/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/HtmlElementProjectCSharp.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/HtmlElementEventHandler/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms/HtmlElementEventHandler/Overview/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/HtmlElementEventHandler/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/HtmlElementEventHandler/Overview/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/Project.csproj b/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/Project.csproj
index e6d462d6ae9..61befe5dfa1 100644
--- a/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/Project.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net8.0-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/PropertyGrid/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms/PropertyGrid/Overview/Project.csproj
index b62ae7deede..a6af869474e 100644
--- a/snippets/csharp/System.Windows.Forms/PropertyGrid/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/PropertyGrid/Overview/Project.csproj
@@ -2,7 +2,7 @@
Library
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/ToolStripDropDown/Overview/Project.csproj b/snippets/csharp/System.Windows.Forms/ToolStripDropDown/Overview/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/ToolStripDropDown/Overview/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/ToolStripDropDown/Overview/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/Project.csproj b/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/Project.csproj b/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/Project.csproj b/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Forms/WebBrowser/CreateSink/Project.csproj b/snippets/csharp/System.Windows.Forms/WebBrowser/CreateSink/Project.csproj
index 4a6d98d26b7..57a500e4f85 100644
--- a/snippets/csharp/System.Windows.Forms/WebBrowser/CreateSink/Project.csproj
+++ b/snippets/csharp/System.Windows.Forms/WebBrowser/CreateSink/Project.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6-windows
true
diff --git a/snippets/csharp/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/StrokeCollectionShadow.csproj b/snippets/csharp/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/StrokeCollectionShadow.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/StrokeCollectionShadow.csproj
+++ b/snippets/csharp/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/StrokeCollectionShadow.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Ink/GestureRecognizer/Overview/GestureControl.csproj b/snippets/csharp/System.Windows.Ink/GestureRecognizer/Overview/GestureControl.csproj
index b3ec8c6fd55..766abce5b31 100644
--- a/snippets/csharp/System.Windows.Ink/GestureRecognizer/Overview/GestureControl.csproj
+++ b/snippets/csharp/System.Windows.Ink/GestureRecognizer/Overview/GestureControl.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Ink/Stroke/.ctor/StrokeSnippets_CS.csproj b/snippets/csharp/System.Windows.Ink/Stroke/.ctor/StrokeSnippets_CS.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Ink/Stroke/.ctor/StrokeSnippets_CS.csproj
+++ b/snippets/csharp/System.Windows.Ink/Stroke/.ctor/StrokeSnippets_CS.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input.Manipulations/InertiaProcessor2D/Complete/manipulationapi.csproj b/snippets/csharp/System.Windows.Input.Manipulations/InertiaProcessor2D/Complete/manipulationapi.csproj
index 4c13883a9be..955359c7e69 100644
--- a/snippets/csharp/System.Windows.Input.Manipulations/InertiaProcessor2D/Complete/manipulationapi.csproj
+++ b/snippets/csharp/System.Windows.Input.Manipulations/InertiaProcessor2D/Complete/manipulationapi.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/CanExecuteRoutedEventArgs/Parameter/InvalidateRequeryWithDispatcherTimer.csproj b/snippets/csharp/System.Windows.Input/CanExecuteRoutedEventArgs/Parameter/InvalidateRequeryWithDispatcherTimer.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Input/CanExecuteRoutedEventArgs/Parameter/InvalidateRequeryWithDispatcherTimer.csproj
+++ b/snippets/csharp/System.Windows.Input/CanExecuteRoutedEventArgs/Parameter/InvalidateRequeryWithDispatcherTimer.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/ExecutedRoutedEventHandler/Overview/Custom_RoutedCommand.csproj b/snippets/csharp/System.Windows.Input/ExecutedRoutedEventHandler/Overview/Custom_RoutedCommand.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Input/ExecutedRoutedEventHandler/Overview/Custom_RoutedCommand.csproj
+++ b/snippets/csharp/System.Windows.Input/ExecutedRoutedEventHandler/Overview/Custom_RoutedCommand.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/FocusManager/FocusedElement/MarkupSnippets.csproj b/snippets/csharp/System.Windows.Input/FocusManager/FocusedElement/MarkupSnippets.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Input/FocusManager/FocusedElement/MarkupSnippets.csproj
+++ b/snippets/csharp/System.Windows.Input/FocusManager/FocusedElement/MarkupSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/FocusManager/GetFocusedElement/FocusSnippets.csproj b/snippets/csharp/System.Windows.Input/FocusManager/GetFocusedElement/FocusSnippets.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Input/FocusManager/GetFocusedElement/FocusSnippets.csproj
+++ b/snippets/csharp/System.Windows.Input/FocusManager/GetFocusedElement/FocusSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/ImeSentenceModeValues/Overview/inputmanager.csproj b/snippets/csharp/System.Windows.Input/ImeSentenceModeValues/Overview/inputmanager.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Input/ImeSentenceModeValues/Overview/inputmanager.csproj
+++ b/snippets/csharp/System.Windows.Input/ImeSentenceModeValues/Overview/inputmanager.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/InputBinding/.ctor/CommandLibarySnippets.csproj b/snippets/csharp/System.Windows.Input/InputBinding/.ctor/CommandLibarySnippets.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Input/InputBinding/.ctor/CommandLibarySnippets.csproj
+++ b/snippets/csharp/System.Windows.Input/InputBinding/.ctor/CommandLibarySnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/InputBinding/Overview/inputcommandbinding.csproj b/snippets/csharp/System.Windows.Input/InputBinding/Overview/inputcommandbinding.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Input/InputBinding/Overview/inputcommandbinding.csproj
+++ b/snippets/csharp/System.Windows.Input/InputBinding/Overview/inputcommandbinding.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Keyboard/GotKeyboardFocus/KeyboardSample.csproj b/snippets/csharp/System.Windows.Input/Keyboard/GotKeyboardFocus/KeyboardSample.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Input/Keyboard/GotKeyboardFocus/KeyboardSample.csproj
+++ b/snippets/csharp/System.Windows.Input/Keyboard/GotKeyboardFocus/KeyboardSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Keyboard/KeyDown/KeyDown.csproj b/snippets/csharp/System.Windows.Input/Keyboard/KeyDown/KeyDown.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Input/Keyboard/KeyDown/KeyDown.csproj
+++ b/snippets/csharp/System.Windows.Input/Keyboard/KeyDown/KeyDown.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Keyboard/Overview/KeyArgsSnippetSample.csproj b/snippets/csharp/System.Windows.Input/Keyboard/Overview/KeyArgsSnippetSample.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Input/Keyboard/Overview/KeyArgsSnippetSample.csproj
+++ b/snippets/csharp/System.Windows.Input/Keyboard/Overview/KeyArgsSnippetSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Mouse/Capture/MouseCaptureSample.csproj b/snippets/csharp/System.Windows.Input/Mouse/Capture/MouseCaptureSample.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Input/Mouse/Capture/MouseCaptureSample.csproj
+++ b/snippets/csharp/System.Windows.Input/Mouse/Capture/MouseCaptureSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Mouse/GetPosition/MouseRelatedSnippets.csproj b/snippets/csharp/System.Windows.Input/Mouse/GetPosition/MouseRelatedSnippets.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Input/Mouse/GetPosition/MouseRelatedSnippets.csproj
+++ b/snippets/csharp/System.Windows.Input/Mouse/GetPosition/MouseRelatedSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/NavigationCommands/BrowseBack/NavigationCommandsSnippets.csproj b/snippets/csharp/System.Windows.Input/NavigationCommands/BrowseBack/NavigationCommandsSnippets.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Input/NavigationCommands/BrowseBack/NavigationCommandsSnippets.csproj
+++ b/snippets/csharp/System.Windows.Input/NavigationCommands/BrowseBack/NavigationCommandsSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/RoutedCommand/CanExecute/ImplementICommandSource.csproj b/snippets/csharp/System.Windows.Input/RoutedCommand/CanExecute/ImplementICommandSource.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Input/RoutedCommand/CanExecute/ImplementICommandSource.csproj
+++ b/snippets/csharp/System.Windows.Input/RoutedCommand/CanExecute/ImplementICommandSource.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Stylus/Overview/StylusSamples.csproj b/snippets/csharp/System.Windows.Input/Stylus/Overview/StylusSamples.csproj
index e3e85fe5304..80d335c5b6d 100644
--- a/snippets/csharp/System.Windows.Input/Stylus/Overview/StylusSamples.csproj
+++ b/snippets/csharp/System.Windows.Input/Stylus/Overview/StylusSamples.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/StylusButton/Overview/StylusSnippets_CS.csproj b/snippets/csharp/System.Windows.Input/StylusButton/Overview/StylusSnippets_CS.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Input/StylusButton/Overview/StylusSnippets_CS.csproj
+++ b/snippets/csharp/System.Windows.Input/StylusButton/Overview/StylusSnippets_CS.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/StylusDevice/GetStylusPoints/PacketSpy.csproj b/snippets/csharp/System.Windows.Input/StylusDevice/GetStylusPoints/PacketSpy.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Input/StylusDevice/GetStylusPoints/PacketSpy.csproj
+++ b/snippets/csharp/System.Windows.Input/StylusDevice/GetStylusPoints/PacketSpy.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/StylusDeviceCollection/Overview/HwCaps_CS.csproj b/snippets/csharp/System.Windows.Input/StylusDeviceCollection/Overview/HwCaps_CS.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Input/StylusDeviceCollection/Overview/HwCaps_CS.csproj
+++ b/snippets/csharp/System.Windows.Input/StylusDeviceCollection/Overview/HwCaps_CS.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/Touch/Overview/wpftouchframesample.csproj b/snippets/csharp/System.Windows.Input/Touch/Overview/wpftouchframesample.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Input/Touch/Overview/wpftouchframesample.csproj
+++ b/snippets/csharp/System.Windows.Input/Touch/Overview/wpftouchframesample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Input/TouchDevice/Overview/wpftoucheventssample.csproj b/snippets/csharp/System.Windows.Input/TouchDevice/Overview/wpftoucheventssample.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Input/TouchDevice/Overview/wpftoucheventssample.csproj
+++ b/snippets/csharp/System.Windows.Input/TouchDevice/Overview/wpftoucheventssample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/HostScript/wpfbrowserapplication1.csproj b/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/HostScript/wpfbrowserapplication1.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/HostScript/wpfbrowserapplication1.csproj
+++ b/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/HostScript/wpfbrowserapplication1.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/IsBrowserHosted/BrowserInteropHelperSnippet.csproj b/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/IsBrowserHosted/BrowserInteropHelperSnippet.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/IsBrowserHosted/BrowserInteropHelperSnippet.csproj
+++ b/snippets/csharp/System.Windows.Interop/BrowserInteropHelper/IsBrowserHosted/BrowserInteropHelperSnippet.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Interop/D3DImage/Overview/d3dhost.csproj b/snippets/csharp/System.Windows.Interop/D3DImage/Overview/d3dhost.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Interop/D3DImage/Overview/d3dhost.csproj
+++ b/snippets/csharp/System.Windows.Interop/D3DImage/Overview/d3dhost.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Markup/XamlReader/Overview/XamlReaderWriterSnippets.csproj b/snippets/csharp/System.Windows.Markup/XamlReader/Overview/XamlReaderWriterSnippets.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Markup/XamlReader/Overview/XamlReaderWriterSnippets.csproj
+++ b/snippets/csharp/System.Windows.Markup/XamlReader/Overview/XamlReaderWriterSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/BackEase/Overview/backease_scale.csproj b/snippets/csharp/System.Windows.Media.Animation/BackEase/Overview/backease_scale.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/BackEase/Overview/backease_scale.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/BackEase/Overview/backease_scale.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/BooleanAnimationBase/Overview/keyframes_markup.csproj b/snippets/csharp/System.Windows.Media.Animation/BooleanAnimationBase/Overview/keyframes_markup.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media.Animation/BooleanAnimationBase/Overview/keyframes_markup.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/BooleanAnimationBase/Overview/keyframes_markup.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/BounceEase/Overview/bounceease.csproj b/snippets/csharp/System.Windows.Media.Animation/BounceEase/Overview/bounceease.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/BounceEase/Overview/bounceease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/BounceEase/Overview/bounceease.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/CircleEase/Overview/circleease.csproj b/snippets/csharp/System.Windows.Media.Animation/CircleEase/Overview/circleease.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/CircleEase/Overview/circleease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/CircleEase/Overview/circleease.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/ClockController/Remove/ClockController_procedural_snip.csproj b/snippets/csharp/System.Windows.Media.Animation/ClockController/Remove/ClockController_procedural_snip.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media.Animation/ClockController/Remove/ClockController_procedural_snip.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/ClockController/Remove/ClockController_procedural_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/CubicEase/Overview/cubicease.csproj b/snippets/csharp/System.Windows.Media.Animation/CubicEase/Overview/cubicease.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/CubicEase/Overview/cubicease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/CubicEase/Overview/cubicease.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/DiscreteInt16KeyFrame/Overview/keyframes.csproj b/snippets/csharp/System.Windows.Media.Animation/DiscreteInt16KeyFrame/Overview/keyframes.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media.Animation/DiscreteInt16KeyFrame/Overview/keyframes.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/DiscreteInt16KeyFrame/Overview/keyframes.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/DoubleAnimationUsingPath/PathGeometry/pathanimationgallery.csproj b/snippets/csharp/System.Windows.Media.Animation/DoubleAnimationUsingPath/PathGeometry/pathanimationgallery.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media.Animation/DoubleAnimationUsingPath/PathGeometry/pathanimationgallery.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/DoubleAnimationUsingPath/PathGeometry/pathanimationgallery.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/EasingDoubleKeyFrame/Overview/easingfunctiondoublekeyframe.csproj b/snippets/csharp/System.Windows.Media.Animation/EasingDoubleKeyFrame/Overview/easingfunctiondoublekeyframe.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/EasingDoubleKeyFrame/Overview/easingfunctiondoublekeyframe.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/EasingDoubleKeyFrame/Overview/easingfunctiondoublekeyframe.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/EasingFunctionBase/Overview/customeasingfunction.csproj b/snippets/csharp/System.Windows.Media.Animation/EasingFunctionBase/Overview/customeasingfunction.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/EasingFunctionBase/Overview/customeasingfunction.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/EasingFunctionBase/Overview/customeasingfunction.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/EasingPointKeyFrame/Overview/easingfunctionpointkeyframe.csproj b/snippets/csharp/System.Windows.Media.Animation/EasingPointKeyFrame/Overview/easingfunctionpointkeyframe.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/EasingPointKeyFrame/Overview/easingfunctionpointkeyframe.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/EasingPointKeyFrame/Overview/easingfunctionpointkeyframe.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/ElasticEase/Overview/elasticease.csproj b/snippets/csharp/System.Windows.Media.Animation/ElasticEase/Overview/elasticease.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/ElasticEase/Overview/elasticease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/ElasticEase/Overview/elasticease.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/ExponentialEase/Overview/exponentialease.csproj b/snippets/csharp/System.Windows.Media.Animation/ExponentialEase/Overview/exponentialease.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/ExponentialEase/Overview/exponentialease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/ExponentialEase/Overview/exponentialease.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/PowerEase/Overview/powerease.csproj b/snippets/csharp/System.Windows.Media.Animation/PowerEase/Overview/powerease.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/PowerEase/Overview/powerease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/PowerEase/Overview/powerease.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/QuadraticEase/Overview/quadraticease.csproj b/snippets/csharp/System.Windows.Media.Animation/QuadraticEase/Overview/quadraticease.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/QuadraticEase/Overview/quadraticease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/QuadraticEase/Overview/quadraticease.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/QuarticEase/Overview/quarticease.csproj b/snippets/csharp/System.Windows.Media.Animation/QuarticEase/Overview/quarticease.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/QuarticEase/Overview/quarticease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/QuarticEase/Overview/quarticease.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/QuinticEase/Overview/quinticease.csproj b/snippets/csharp/System.Windows.Media.Animation/QuinticEase/Overview/quinticease.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/QuinticEase/Overview/quinticease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/QuinticEase/Overview/quinticease.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/RemoveStoryboard/Overview/storyboard.csproj b/snippets/csharp/System.Windows.Media.Animation/RemoveStoryboard/Overview/storyboard.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media.Animation/RemoveStoryboard/Overview/storyboard.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/RemoveStoryboard/Overview/storyboard.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/SineEase/Overview/sineease.csproj b/snippets/csharp/System.Windows.Media.Animation/SineEase/Overview/sineease.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Animation/SineEase/Overview/sineease.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/SineEase/Overview/sineease.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/Storyboard/Begin/animation_ovws_procedural.csproj b/snippets/csharp/System.Windows.Media.Animation/Storyboard/Begin/animation_ovws_procedural.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media.Animation/Storyboard/Begin/animation_ovws_procedural.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/Storyboard/Begin/animation_ovws_procedural.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Animation/Timeline/BeginTime/project.csproj b/snippets/csharp/System.Windows.Media.Animation/Timeline/BeginTime/project.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media.Animation/Timeline/BeginTime/project.csproj
+++ b/snippets/csharp/System.Windows.Media.Animation/Timeline/BeginTime/project.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Imaging/BitmapImage/Overview/ImageElementExample.csproj b/snippets/csharp/System.Windows.Media.Imaging/BitmapImage/Overview/ImageElementExample.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Imaging/BitmapImage/Overview/ImageElementExample.csproj
+++ b/snippets/csharp/System.Windows.Media.Imaging/BitmapImage/Overview/ImageElementExample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Imaging/WriteableBitmap/Overview/WriteableBitmapDemo.csproj b/snippets/csharp/System.Windows.Media.Imaging/WriteableBitmap/Overview/WriteableBitmapDemo.csproj
index f9939f085e6..182f5bc59e3 100644
--- a/snippets/csharp/System.Windows.Media.Imaging/WriteableBitmap/Overview/WriteableBitmapDemo.csproj
+++ b/snippets/csharp/System.Windows.Media.Imaging/WriteableBitmap/Overview/WriteableBitmapDemo.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/AmbientLight/Overview/Show3DLights.csproj b/snippets/csharp/System.Windows.Media.Media3D/AmbientLight/Overview/Show3DLights.csproj
index e3e85fe5304..80d335c5b6d 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/AmbientLight/Overview/Show3DLights.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/AmbientLight/Overview/Show3DLights.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/AngleProperty/BlankSample.csproj b/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/AngleProperty/BlankSample.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/AngleProperty/BlankSample.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/AngleProperty/BlankSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/Overview/create_cube.csproj b/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/Overview/create_cube.csproj
index e3e85fe5304..80d335c5b6d 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/Overview/create_cube.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/AxisAngleRotation3D/Overview/create_cube.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/ContainerUIElement3D/Overview/ContainerModelSample.csproj b/snippets/csharp/System.Windows.Media.Media3D/ContainerUIElement3D/Overview/ContainerModelSample.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/ContainerUIElement3D/Overview/ContainerModelSample.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/ContainerUIElement3D/Overview/ContainerModelSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Matrix3D/Overview/Mil3dVectorSample.csproj b/snippets/csharp/System.Windows.Media.Media3D/Matrix3D/Overview/Mil3dVectorSample.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Matrix3D/Overview/Mil3dVectorSample.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Matrix3D/Overview/Mil3dVectorSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/MatrixCamera/Overview/MatrixTransform3DView.csproj b/snippets/csharp/System.Windows.Media.Media3D/MatrixCamera/Overview/MatrixTransform3DView.csproj
index e3e85fe5304..80d335c5b6d 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/MatrixCamera/Overview/MatrixTransform3DView.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/MatrixCamera/Overview/MatrixTransform3DView.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/PerspectiveCamera/Overview/3DGallery.csproj b/snippets/csharp/System.Windows.Media.Media3D/PerspectiveCamera/Overview/3DGallery.csproj
index febfb4b934e..122ef0eb98b 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/PerspectiveCamera/Overview/3DGallery.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/PerspectiveCamera/Overview/3DGallery.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
SDKSample
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Point3D/Add/Mil3dPoints.csproj b/snippets/csharp/System.Windows.Media.Media3D/Point3D/Add/Mil3dPoints.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Point3D/Add/Mil3dPoints.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Point3D/Add/Mil3dPoints.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Point3D/GetHashCode/Mil4dPoints.csproj b/snippets/csharp/System.Windows.Media.Media3D/Point3D/GetHashCode/Mil4dPoints.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Point3D/GetHashCode/Mil4dPoints.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Point3D/GetHashCode/Mil4dPoints.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Overview/Animation3DGallery.csproj b/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Overview/Animation3DGallery.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Overview/Animation3DGallery.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Overview/Animation3DGallery.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Parse/QuaternionView.csproj b/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Parse/QuaternionView.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Parse/QuaternionView.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Quaternion/Parse/QuaternionView.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Size3D/Empty/Mil3dSize.csproj b/snippets/csharp/System.Windows.Media.Media3D/Size3D/Empty/Mil3dSize.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Size3D/Empty/Mil3dSize.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Size3D/Empty/Mil3dSize.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.Media3D/Viewport2DVisual3D/Overview/viewport2dvisual3dexample.csproj b/snippets/csharp/System.Windows.Media.Media3D/Viewport2DVisual3D/Overview/viewport2dvisual3dexample.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.Media3D/Viewport2DVisual3D/Overview/viewport2dvisual3dexample.csproj
+++ b/snippets/csharp/System.Windows.Media.Media3D/Viewport2DVisual3D/Overview/viewport2dvisual3dexample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media.TextFormatting/MinMaxParagraphWidth/Overview/TextFormattingSnippets.csproj b/snippets/csharp/System.Windows.Media.TextFormatting/MinMaxParagraphWidth/Overview/TextFormattingSnippets.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media.TextFormatting/MinMaxParagraphWidth/Overview/TextFormattingSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media.TextFormatting/MinMaxParagraphWidth/Overview/TextFormattingSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/BitmapCache/Overview/cachedcompositiondemo.csproj b/snippets/csharp/System.Windows.Media/BitmapCache/Overview/cachedcompositiondemo.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media/BitmapCache/Overview/cachedcompositiondemo.csproj
+++ b/snippets/csharp/System.Windows.Media/BitmapCache/Overview/cachedcompositiondemo.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/BitmapCacheBrush/Overview/bitmapcachebrushdemo.csproj b/snippets/csharp/System.Windows.Media/BitmapCacheBrush/Overview/bitmapcachebrushdemo.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media/BitmapCacheBrush/Overview/bitmapcachebrushdemo.csproj
+++ b/snippets/csharp/System.Windows.Media/BitmapCacheBrush/Overview/bitmapcachebrushdemo.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/BitmapScalingMode/Overview/RenderOptionsSnippets.csproj b/snippets/csharp/System.Windows.Media/BitmapScalingMode/Overview/RenderOptionsSnippets.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media/BitmapScalingMode/Overview/RenderOptionsSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media/BitmapScalingMode/Overview/RenderOptionsSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/Color/FromArgb/BrushesMiscSnippets_procedural.csproj b/snippets/csharp/System.Windows.Media/Color/FromArgb/BrushesMiscSnippets_procedural.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/Color/FromArgb/BrushesMiscSnippets_procedural.csproj
+++ b/snippets/csharp/System.Windows.Media/Color/FromArgb/BrushesMiscSnippets_procedural.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/Color/Overview/MiscSnippets.csproj b/snippets/csharp/System.Windows.Media/Color/Overview/MiscSnippets.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/Color/Overview/MiscSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media/Color/Overview/MiscSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/CompositionTarget/Rendering/CompositionTargetSample.csproj b/snippets/csharp/System.Windows.Media/CompositionTarget/Rendering/CompositionTargetSample.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media/CompositionTarget/Rendering/CompositionTargetSample.csproj
+++ b/snippets/csharp/System.Windows.Media/CompositionTarget/Rendering/CompositionTargetSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/ContainerVisual/.ctor/ContainerVisualSnippets.csproj b/snippets/csharp/System.Windows.Media/ContainerVisual/.ctor/ContainerVisualSnippets.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/ContainerVisual/.ctor/ContainerVisualSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media/ContainerVisual/.ctor/ContainerVisualSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/ContainerVisual/Overview/ContainerVisualHost.csproj b/snippets/csharp/System.Windows.Media/ContainerVisual/Overview/ContainerVisualHost.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/ContainerVisual/Overview/ContainerVisualHost.csproj
+++ b/snippets/csharp/System.Windows.Media/ContainerVisual/Overview/ContainerVisualHost.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/DisableDpiAwarenessAttribute/Overview/DisableDpiAwareness.csproj b/snippets/csharp/System.Windows.Media/DisableDpiAwarenessAttribute/Overview/DisableDpiAwareness.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media/DisableDpiAwarenessAttribute/Overview/DisableDpiAwareness.csproj
+++ b/snippets/csharp/System.Windows.Media/DisableDpiAwarenessAttribute/Overview/DisableDpiAwareness.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/DrawingContext/Overview/DrawingVisual.csproj b/snippets/csharp/System.Windows.Media/DrawingContext/Overview/DrawingVisual.csproj
index e3e85fe5304..80d335c5b6d 100644
--- a/snippets/csharp/System.Windows.Media/DrawingContext/Overview/DrawingVisual.csproj
+++ b/snippets/csharp/System.Windows.Media/DrawingContext/Overview/DrawingVisual.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/DrawingGroup/BitmapEffect/misc_snippets.csproj b/snippets/csharp/System.Windows.Media/DrawingGroup/BitmapEffect/misc_snippets.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/DrawingGroup/BitmapEffect/misc_snippets.csproj
+++ b/snippets/csharp/System.Windows.Media/DrawingGroup/BitmapEffect/misc_snippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/DrawingVisual/Drawing/VisualSnippets.csproj b/snippets/csharp/System.Windows.Media/DrawingVisual/Drawing/VisualSnippets.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/DrawingVisual/Drawing/VisualSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media/DrawingVisual/Drawing/VisualSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/FontFamily/Overview/compositefontmarkup.csproj b/snippets/csharp/System.Windows.Media/FontFamily/Overview/compositefontmarkup.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media/FontFamily/Overview/compositefontmarkup.csproj
+++ b/snippets/csharp/System.Windows.Media/FontFamily/Overview/compositefontmarkup.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/FormattedText/Overview/FormattedTextSnippets.csproj b/snippets/csharp/System.Windows.Media/FormattedText/Overview/FormattedTextSnippets.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/FormattedText/Overview/FormattedTextSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media/FormattedText/Overview/FormattedTextSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/Geometry/Transform/Transforms.csproj b/snippets/csharp/System.Windows.Media/Geometry/Transform/Transforms.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/Geometry/Transform/Transforms.csproj
+++ b/snippets/csharp/System.Windows.Media/Geometry/Transform/Transforms.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/GeometryCombineMode/Overview/myproject.csproj b/snippets/csharp/System.Windows.Media/GeometryCombineMode/Overview/myproject.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media/GeometryCombineMode/Overview/myproject.csproj
+++ b/snippets/csharp/System.Windows.Media/GeometryCombineMode/Overview/myproject.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/GeometryHitTestParameters/Overview/HitTestingOverview.csproj b/snippets/csharp/System.Windows.Media/GeometryHitTestParameters/Overview/HitTestingOverview.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/GeometryHitTestParameters/Overview/HitTestingOverview.csproj
+++ b/snippets/csharp/System.Windows.Media/GeometryHitTestParameters/Overview/HitTestingOverview.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/GlyphTypeface/.ctor/GlyphTypefaceSnippets.csproj b/snippets/csharp/System.Windows.Media/GlyphTypeface/.ctor/GlyphTypefaceSnippets.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media/GlyphTypeface/.ctor/GlyphTypefaceSnippets.csproj
+++ b/snippets/csharp/System.Windows.Media/GlyphTypeface/.ctor/GlyphTypefaceSnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/Matrix/Append/MatrixExamples_snip.csproj b/snippets/csharp/System.Windows.Media/Matrix/Append/MatrixExamples_snip.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/Matrix/Append/MatrixExamples_snip.csproj
+++ b/snippets/csharp/System.Windows.Media/Matrix/Append/MatrixExamples_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/PenLineJoin/Overview/drawingwithshapeelements.csproj b/snippets/csharp/System.Windows.Media/PenLineJoin/Overview/drawingwithshapeelements.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media/PenLineJoin/Overview/drawingwithshapeelements.csproj
+++ b/snippets/csharp/System.Windows.Media/PenLineJoin/Overview/drawingwithshapeelements.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/PixelFormat/Overview/ImagingSnippetGallery_csharp.csproj b/snippets/csharp/System.Windows.Media/PixelFormat/Overview/ImagingSnippetGallery_csharp.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/PixelFormat/Overview/ImagingSnippetGallery_csharp.csproj
+++ b/snippets/csharp/System.Windows.Media/PixelFormat/Overview/ImagingSnippetGallery_csharp.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/PointCollection/ToString/PointCollectionSample.csproj b/snippets/csharp/System.Windows.Media/PointCollection/ToString/PointCollectionSample.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/PointCollection/ToString/PointCollectionSample.csproj
+++ b/snippets/csharp/System.Windows.Media/PointCollection/ToString/PointCollectionSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/PolyBezierSegment/Overview/GeometriesMiscSnippets_procedural.csproj b/snippets/csharp/System.Windows.Media/PolyBezierSegment/Overview/GeometriesMiscSnippets_procedural.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/PolyBezierSegment/Overview/GeometriesMiscSnippets_procedural.csproj
+++ b/snippets/csharp/System.Windows.Media/PolyBezierSegment/Overview/GeometriesMiscSnippets_procedural.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/PolyLineSegment/Overview/GeoOvwSamples.csproj b/snippets/csharp/System.Windows.Media/PolyLineSegment/Overview/GeoOvwSamples.csproj
index e3e85fe5304..80d335c5b6d 100644
--- a/snippets/csharp/System.Windows.Media/PolyLineSegment/Overview/GeoOvwSamples.csproj
+++ b/snippets/csharp/System.Windows.Media/PolyLineSegment/Overview/GeoOvwSamples.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/TextEffect/.ctor/TextOverview.csproj b/snippets/csharp/System.Windows.Media/TextEffect/.ctor/TextOverview.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/TextEffect/.ctor/TextOverview.csproj
+++ b/snippets/csharp/System.Windows.Media/TextEffect/.ctor/TextOverview.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/TextEffect/Overview/TextEffectSample.csproj b/snippets/csharp/System.Windows.Media/TextEffect/Overview/TextEffectSample.csproj
index b12ce1b3f1a..7f1404bd378 100644
--- a/snippets/csharp/System.Windows.Media/TextEffect/Overview/TextEffectSample.csproj
+++ b/snippets/csharp/System.Windows.Media/TextEffect/Overview/TextEffectSample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/TileBrush/Viewbox/BrushOverviewExample.csproj b/snippets/csharp/System.Windows.Media/TileBrush/Viewbox/BrushOverviewExample.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/TileBrush/Viewbox/BrushOverviewExample.csproj
+++ b/snippets/csharp/System.Windows.Media/TileBrush/Viewbox/BrushOverviewExample.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/Visual/AddVisualChild/AddVisualChild.csproj b/snippets/csharp/System.Windows.Media/Visual/AddVisualChild/AddVisualChild.csproj
index b3ec8c6fd55..766abce5b31 100644
--- a/snippets/csharp/System.Windows.Media/Visual/AddVisualChild/AddVisualChild.csproj
+++ b/snippets/csharp/System.Windows.Media/Visual/AddVisualChild/AddVisualChild.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/VisualBrush/AutoLayoutContent/visualbrush_markup_snip.csproj b/snippets/csharp/System.Windows.Media/VisualBrush/AutoLayoutContent/visualbrush_markup_snip.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/VisualBrush/AutoLayoutContent/visualbrush_markup_snip.csproj
+++ b/snippets/csharp/System.Windows.Media/VisualBrush/AutoLayoutContent/visualbrush_markup_snip.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Media/VisualTreeHelper/Overview/VisualsOverview.csproj b/snippets/csharp/System.Windows.Media/VisualTreeHelper/Overview/VisualsOverview.csproj
index 7024ba00e53..4a9975e6407 100644
--- a/snippets/csharp/System.Windows.Media/VisualTreeHelper/Overview/VisualsOverview.csproj
+++ b/snippets/csharp/System.Windows.Media/VisualTreeHelper/Overview/VisualsOverview.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Navigation/CustomContentState/Overview/CSharp.csproj b/snippets/csharp/System.Windows.Navigation/CustomContentState/Overview/CSharp.csproj
index b3ec8c6fd55..766abce5b31 100644
--- a/snippets/csharp/System.Windows.Navigation/CustomContentState/Overview/CSharp.csproj
+++ b/snippets/csharp/System.Windows.Navigation/CustomContentState/Overview/CSharp.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Navigation/JournalEntry/Overview/CSharp.csproj b/snippets/csharp/System.Windows.Navigation/JournalEntry/Overview/CSharp.csproj
index b3ec8c6fd55..766abce5b31 100644
--- a/snippets/csharp/System.Windows.Navigation/JournalEntry/Overview/CSharp.csproj
+++ b/snippets/csharp/System.Windows.Navigation/JournalEntry/Overview/CSharp.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Navigation/JournalEntryUnifiedViewConverter/Overview/journalentryunifiedpositionconvertersnippets.csproj b/snippets/csharp/System.Windows.Navigation/JournalEntryUnifiedViewConverter/Overview/journalentryunifiedpositionconvertersnippets.csproj
index b3ec8c6fd55..766abce5b31 100644
--- a/snippets/csharp/System.Windows.Navigation/JournalEntryUnifiedViewConverter/Overview/journalentryunifiedpositionconvertersnippets.csproj
+++ b/snippets/csharp/System.Windows.Navigation/JournalEntryUnifiedViewConverter/Overview/journalentryunifiedpositionconvertersnippets.csproj
@@ -2,7 +2,7 @@
WinExe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Navigation/NavigatingCancelEventArgs/Overview/CSharp.csproj b/snippets/csharp/System.Windows.Navigation/NavigatingCancelEventArgs/Overview/CSharp.csproj
index e3e85fe5304..80d335c5b6d 100644
--- a/snippets/csharp/System.Windows.Navigation/NavigatingCancelEventArgs/Overview/CSharp.csproj
+++ b/snippets/csharp/System.Windows.Navigation/NavigatingCancelEventArgs/Overview/CSharp.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Navigation/NavigationService/GetNavigationService/CSharp.csproj b/snippets/csharp/System.Windows.Navigation/NavigationService/GetNavigationService/CSharp.csproj
index e3e85fe5304..80d335c5b6d 100644
--- a/snippets/csharp/System.Windows.Navigation/NavigationService/GetNavigationService/CSharp.csproj
+++ b/snippets/csharp/System.Windows.Navigation/NavigationService/GetNavigationService/CSharp.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
diff --git a/snippets/csharp/System.Windows.Navigation/NavigationService/Navigate/CSharp.csproj b/snippets/csharp/System.Windows.Navigation/NavigationService/Navigate/CSharp.csproj
index e3e85fe5304..80d335c5b6d 100644
--- a/snippets/csharp/System.Windows.Navigation/NavigationService/Navigate/CSharp.csproj
+++ b/snippets/csharp/System.Windows.Navigation/NavigationService/Navigate/CSharp.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0-windows
+ net6.0-windows
true
From fb539961ba739019e6ae0f01aca136bbe717a1c9 Mon Sep 17 00:00:00 2001
From: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Date: Thu, 25 Jun 2026 15:36:33 -0700
Subject: [PATCH 4/7] delete netfx snippets
---
.../CPP/soapbindingstyle_rpc.cpp | 110 ----------
.../CPP/soapprotocol.cpp | 178 ---------------
.../SoapFaultBinding/CPP/soapfaultbinding.cpp | 68 ------
.../CPP/soapfaultbinding_ctor.cpp | 110 ----------
.../CPP/soapheaderbinding.cpp | 67 ------
.../CPP/soapheaderbinding_maptoproperty.cpp | 35 ---
.../CPP/soapheaderbinding_use.cpp | 87 --------
.../Overview/Project.csproj | 12 -
.../Overview/source.cs | 203 -----------------
.../SoapBinding/Style/AddNumbersInput_cs.wsdl | 85 -------
.../SoapBinding/Style/Project.csproj | 12 -
.../SoapBinding/Style/Service1_cs.asmx | 18 --
.../SoapBinding/Style/soapprotocol.cs | 172 ---------------
.../SoapBodyBinding/Encoding/Project.csproj | 12 -
.../Encoding/SoapBindingStyleInput_cs.wsdl | 59 -----
.../Encoding/soapbindingstyle_rpc.cs | 106 ---------
.../PartsString/Project.csproj | 12 -
.../PartsString/SoapFaultInput_cs.wsdl | 108 ---------
.../PartsString/soapfaultbinding_ctor.cs | 101 ---------
.../SoapFaultBinding/Overview/Project.csproj | 12 -
.../Overview/SoapFaultBindingInput_cs.wsdl | 117 ----------
.../Overview/soapfaultbinding.cs | 59 -----
.../MapToProperty/MapToProperty_cs.wsdl | 71 ------
.../MapToProperty/Project.csproj | 12 -
.../soapheaderbinding_maptoproperty.cs | 40 ----
.../SoapHeaderBinding/Message/Project.csproj | 12 -
.../Message/SoapHeaderBindingInput_cs.wsdl | 67 ------
.../Message/soapheaderbinding_use.cs | 83 -------
.../SoapHeaderBinding/Overview/Project.csproj | 12 -
.../Overview/SoapHeaderBindingInput_cs.wsdl | 67 ------
.../Overview/soapheaderbinding.cs | 70 ------
.../Overview/source.vb | 207 ------------------
.../SoapBinding/Style/AddNumbersInput_vb.wsdl | 85 -------
.../SoapBinding/Style/Service1_vb.asmx | 16 --
.../SoapBinding/Style/soapprotocol.vb | 166 --------------
.../Encoding/SoapBindingStyleInput_vb.wsdl | 59 -----
.../Encoding/soapbindingstyle_rpc.vb | 101 ---------
.../PartsString/SoapFaultInput_vb.wsdl | 108 ---------
.../PartsString/soapfaultbinding_ctor.vb | 89 --------
.../Overview/SoapFaultBindingInput_vb.wsdl | 117 ----------
.../Overview/soapfaultbinding.vb | 50 -----
.../MapToProperty/MapToProperty_vb.wsdl | 71 ------
.../soapheaderbinding_maptoproperty.vb | 36 ---
.../Message/SoapHeaderBindingInput_vb.wsdl | 67 ------
.../Message/soapheaderbinding_use.vb | 77 -------
.../Overview/SoapHeaderBindingInput_vb.wsdl | 67 ------
.../Overview/soapheaderbinding.vb | 64 ------
.../XmlFormatExtensionAttribute.xml | 20 --
.../XmlFormatExtensionPointAttribute.xml | 4 -
.../XmlFormatExtensionPrefixAttribute.xml | 16 --
.../SoapAddressBinding.xml | 3 -
.../SoapBinding.xml | 7 -
.../SoapBindingStyle.xml | 5 -
.../SoapBodyBinding.xml | 17 --
.../SoapFaultBinding.xml | 20 --
.../SoapHeaderBinding.xml | 22 --
.../SoapOperationBinding.xml | 7 -
57 files changed, 3678 deletions(-)
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/SoapBindingStyle_Rpc/CPP/soapbindingstyle_rpc.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/CPP/soapprotocol.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding/CPP/soapfaultbinding.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding_ctor/CPP/soapfaultbinding_ctor.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding/CPP/soapheaderbinding.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding_MapToProperty/CPP/soapheaderbinding_maptoproperty.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding_Use/CPP/soapheaderbinding_use.cpp
delete mode 100644 snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBinding/Style/AddNumbersInput_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBinding/Style/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBinding/Style/Service1_cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBinding/Style/soapprotocol.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/SoapBindingStyleInput_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/SoapFaultInput_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/SoapFaultBindingInput_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/MapToProperty_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/soapheaderbinding_maptoproperty.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/SoapHeaderBindingInput_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/SoapHeaderBindingInput_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.cs
delete mode 100644 snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/AddNumbersInput_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/Service1_vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/soapprotocol.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/SoapBindingStyleInput_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/SoapFaultInput_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/SoapFaultBindingInput_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/MapToProperty_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/soapheaderbinding_maptoproperty.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/SoapHeaderBindingInput_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/SoapHeaderBindingInput_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.vb
diff --git a/snippets/cpp/VS_Snippets_Remoting/SoapBindingStyle_Rpc/CPP/soapbindingstyle_rpc.cpp b/snippets/cpp/VS_Snippets_Remoting/SoapBindingStyle_Rpc/CPP/soapbindingstyle_rpc.cpp
deleted file mode 100644
index 477f2e9539d..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/SoapBindingStyle_Rpc/CPP/soapbindingstyle_rpc.cpp
+++ /dev/null
@@ -1,110 +0,0 @@
-// System::Web::Services::Description.SoapBindingStyle::Rpc
-// System::Web::Services::Description.SoapBindingUse::Encoded
-// System::Web::Services::Description.SoapBodyBinding::Encoding
-// System::Web::Services::Description.SoapBodyBinding::Namespace
-// System::Web::Services::Description.SoapHeaderBinding::Encoding
-// System::Web::Services::Description.SoapHeaderBinding::Namespace
-
-/*
-The following example demonstrates the 'Rpc' member of 'SoapBindingStyle'
-enumeration , 'Encoded' member of 'SoapBindingUse' enumeration , 'Encoding'
-and 'Namespace' properties of 'SoapBodyBinding' class and 'Encoding'
-and 'Namespace' properties of 'SoapHeaderBinding' class.
-It takes as input a wsdl file which does not contain a binding for SOAP.
-By using the 'Read' method of 'ServiceDescription' class it gets a 'ServiceDescription' Object*.
-It uses the SOAP protocol related classes and creates 'Binding' element
-of 'SOAP' protocol which are then added to the 'ServiceDescription' Object*.
-An output wsdl file is generated from 'ServiceDescription' Object* which
-could be used for generating a proxy.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- ServiceDescription^ myServiceDescription =
- ServiceDescription::Read( "SoapBindingStyleInput_cpp.wsdl" );
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "SOAPSvrMgr_SOAPBinding";
- myBinding->Type = gcnew XmlQualifiedName( "tns:SOAPSvrMgr_portType" );
-
-//
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
- // Message to be transmitted contains parameters to call a procedure.
- mySoapBinding->Style = SoapBindingStyle::Rpc;
- myBinding->Extensions->Add( mySoapBinding );
-//
-
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "GetServerStats";
-
- SoapOperationBinding^ mySoapOperationBinding =
- gcnew SoapOperationBinding;
- mySoapOperationBinding->SoapAction =
- "http://tempuri.org/soapsvcmgr/GetServerStats";
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
-
- // Create InputBinding for operation for the 'SOAP' protocol.
- InputBinding^ myInputBinding = gcnew InputBinding;
-
-//
-//
-//
- SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
- // Encode SOAP body using rules specified by the 'Encoding' property.
- mySoapBodyBinding->Use = SoapBindingUse::Encoded;
- // Set URI representing the encoding style for encoding the body.
- mySoapBodyBinding->Encoding = "http://schemas.xmlsoap.org/soap/encoding/";
- // Set the Uri representing the location of the specification
- // for encoding of content not defined by 'Encoding' property'.
- mySoapBodyBinding->Namespace = "http://tempuri.org/soapsvcmgr/";
- myInputBinding->Extensions->Add( mySoapBodyBinding );
-//
-//
-//
-
-//
-//
- SoapHeaderBinding^ mySoapHeaderBinding = gcnew SoapHeaderBinding;
- mySoapHeaderBinding->Message =
- gcnew XmlQualifiedName( "tns:Soapsvcmgr_Headers_Request" );
- mySoapHeaderBinding->Part = "AuthCS";
- // Encode SOAP header using rules specified by the 'Encoding' property.
- mySoapHeaderBinding->Use = SoapBindingUse::Encoded;
- // Set URI representing the encoding style for encoding the header.
- mySoapHeaderBinding->Encoding = "http://schemas.xmlsoap.org/soap/encoding/";
- // Set the Uri representing the location of the specification
- // for encoding of content not defined by 'Encoding' property'.
- mySoapHeaderBinding->Namespace = "http://tempuri.org/SOAPSvr/soapsvcmgr/headers.xsd";
- // Add mySoapHeaderBinding to the 'myInputBinding' Object*.
- myInputBinding->Extensions->Add( mySoapHeaderBinding );
-//
-//
-
- // Create OutputBinding for operation.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- myOutputBinding->Extensions->Add( mySoapBodyBinding );
- mySoapHeaderBinding->Part = "AuthSC";
- mySoapHeaderBinding->Message =
- gcnew XmlQualifiedName( "tns:Soapsvcmgr_Headers_Response" );
- myOutputBinding->Extensions->Add( mySoapHeaderBinding );
-
- // Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInputBinding;
- myOperationBinding->Output = myOutputBinding;
- myBinding->Operations->Add( myOperationBinding );
-
- myServiceDescription->Bindings->Add( myBinding );
- myServiceDescription->Write( "SoapBindingStyleOutput_cpp.wsdl" );
- Console::WriteLine( "'SoapBindingStyleOutput_cpp.wsdl' file is generated." );
- Console::WriteLine( "Proxy could be created using command" +
- " 'wsdl SoapBindingStyleOutput_cpp.wsdl'" );
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/CPP/soapprotocol.cpp b/snippets/cpp/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/CPP/soapprotocol.cpp
deleted file mode 100644
index 80ca9900bb5..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/CPP/soapprotocol.cpp
+++ /dev/null
@@ -1,178 +0,0 @@
-// System.Web.Services.Description.SoapBinding.ctor
-// System.Web.Services.Description.SoapBinding.Transport
-// System.Web.Services.Description.SoapBinding.Style
-// System.Web.Services.Description.SoapBindingStyle.Document
-// System.Web.Services.Description.SoapOperationBinding.ctor
-// System.Web.Services.Description.SoapOperationBinding.SoapAction
-// System.Web.Services.Description.SoapOperationBinding.Style
-// System.Web.Services.Description.SoapBodyBinding.ctor
-// System.Web.Services.Description.SoapBodyBinding.Use
-// System.Web.Services.Description.SoapBindingUse.Literal
-// System.Web.Services.Description.SoapAddressBinding.ctor
-// System.Web.Services.Description.SoapAddressBinding.Location
-
-/*
-The following example demonstrates the 'SoapBinding' constructor,'Transport','Style'
-properties of 'SoapBinding' class,'Document' member of 'SoapBindingStyle' enum,
-'SoapOperationBinding' constructor,'SoapAction','Style' properties of 'SoapOperationBinding'
-class, 'SoapBodyBinding' contructor,'Use' property of 'SoapBodyBinding' class,
-'Literal' member of 'SoapBindingUse' enum and 'SoapAddressBinding' constructor, 'Location'
-property of class 'SoapAddressBinding'.
-
-It takes as input a wsdl file which supports two protocols 'HttpGet' and 'HttpPost' .
-By using the 'Read' method of 'ServiceDescription' class it gets a 'ServiceDescription'
-object. It uses the SOAP protocol related classes and creates 'Binding','Port',
-'PortType' and 'Message' elements of 'SOAP' protocol. It adds all these elements to
-the 'ServiceDescription' object. The 'ServiceDescription' object creates another
-wsdl file which supports 'SOAP' also. This wsdl file is used to generate a proxy
-which is used by the .aspx file.
-Note: To run the example run the makefile provided and open the '.aspx' file in browser.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- ServiceDescription^ myDescription = ServiceDescription::Read( "AddNumbersInput_cs.wsdl" );
-
- // Create a 'Binding' object for the 'SOAP' protocol.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "Service1Soap";
- XmlQualifiedName^ qualifiedName = gcnew XmlQualifiedName( "s0:Service1Soap" );
- myBinding->Type = qualifiedName;
-
- //
- //
- //
- //
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
- mySoapBinding->Style = SoapBindingStyle::Document;
-
- // Add the 'SoapBinding' object to the 'Binding' object.
- myBinding->Extensions->Add( mySoapBinding );
- //
- //
- //
- //
-
- // Create the 'OperationBinding' object for the 'SOAP' protocol.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
-
- //
- //
- //
- // Create the 'SoapOperationBinding' object for the 'SOAP' protocol.
- SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
- mySoapOperationBinding->SoapAction = "http://tempuri.org/AddNumbers";
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
-
- // Add the 'SoapOperationBinding' object to 'OperationBinding' object.
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
- //
- //
- //
-
- //
- //
- //
- // Create the 'InputBinding' object for the 'SOAP' protocol.
- InputBinding^ myInput = gcnew InputBinding;
- SoapBodyBinding^ mySoapBinding1 = gcnew SoapBodyBinding;
- mySoapBinding1->Use = SoapBindingUse::Literal;
- myInput->Extensions->Add( mySoapBinding1 );
-
- // Add the 'InputBinding' object to 'OperationBinding' object.
- myOperationBinding->Input = myInput;
-
- // Create the 'OutputBinding' object'.
- OutputBinding^ myOutput = gcnew OutputBinding;
- myOutput->Extensions->Add( mySoapBinding1 );
-
- // Add the 'OutputBinding' object to 'OperationBinding' object.
- myOperationBinding->Output = myOutput;
-
- // Add the 'OperationBinding' object to 'Binding' object.
- myBinding->Operations->Add( myOperationBinding );
-
- // Add the 'Binding' object to the ServiceDescription instance.
- myDescription->Bindings->Add( myBinding );
- //
- //
- //
-
- //
- //
- Port^ soapPort = gcnew Port;
- soapPort->Name = "Service1Soap";
- soapPort->Binding = gcnew XmlQualifiedName( "s0:Service1Soap" );
-
- // Create a 'SoapAddressBinding' object for the 'SOAP' protocol.
- SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
- mySoapAddressBinding->Location = "http://localhost/Service1_cs.asmx";
-
- // Add the 'SoapAddressBinding' object to the 'Port'.
- soapPort->Extensions->Add( mySoapAddressBinding );
-
- // Add the 'Port' object to the ServiceDescription instance.
- myDescription->Services[ 0 ]->Ports->Add( soapPort );
- //
- //
-
- // Create a 'PortType' object. for SOAP protocol.
- PortType^ soapPortType = gcnew PortType;
- soapPortType->Name = "Service1Soap";
- Operation^ soapOperation = gcnew Operation;
- soapOperation->Name = "AddNumbers";
- OperationMessage^ soapInput = (OperationMessage^)(gcnew OperationInput);
- soapInput->Message = gcnew XmlQualifiedName( "s0:AddNumbersSoapIn" );
- OperationMessage^ soapOutput = (OperationMessage^)(gcnew OperationOutput);
- soapOutput->Message = gcnew XmlQualifiedName( "s0:AddNumbersSoapOut" );
- soapOperation->Messages->Add( soapInput );
- soapOperation->Messages->Add( soapOutput );
-
- // Add the 'Operation' object to 'PortType' object.
- soapPortType->Operations->Add( soapOperation );
-
- // Add the 'PortType' object first to 'PortTypeCollection' object
- // and then to 'ServiceDescription' object.
- myDescription->PortTypes->Add( soapPortType );
-
- // Create the 'Message' object.
- Message^ soapMessage1 = gcnew Message;
- soapMessage1->Name = "AddNumbersSoapIn";
-
- // Create the 'MessageParts' object.
- MessagePart^ soapMessagePart1 = gcnew MessagePart;
- soapMessagePart1->Name = "parameters";
- soapMessagePart1->Element = gcnew XmlQualifiedName( "s0:AddNumbers" );
-
- // Add the 'MessagePart' object to 'Messages' object.
- soapMessage1->Parts->Add( soapMessagePart1 );
-
- // Create another 'Message' object.
- Message^ soapMessage2 = gcnew Message;
- soapMessage2->Name = "AddNumbersSoapOut";
- MessagePart^ soapMessagePart2 = gcnew MessagePart;
- soapMessagePart2->Name = "parameters";
- soapMessagePart2->Element = gcnew XmlQualifiedName( "s0:AddNumbersResponse" );
-
- // Add the 'MessagePart' object to second 'Message' object.
- soapMessage2->Parts->Add( soapMessagePart2 );
-
- // Add the 'Message' objects to 'ServiceDescription'.
- myDescription->Messages->Add( soapMessage1 );
- myDescription->Messages->Add( soapMessage2 );
-
- // Write the 'ServiceDescription' object as a WSDL file.
- myDescription->Write( "AddNumbersOut_cs.wsdl" );
- Console::WriteLine( " 'AddNumbersOut_cs.Wsdl' file was generated" );
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding/CPP/soapfaultbinding.cpp b/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding/CPP/soapfaultbinding.cpp
deleted file mode 100644
index cd2422d09e2..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding/CPP/soapfaultbinding.cpp
+++ /dev/null
@@ -1,68 +0,0 @@
-// System::Web::Services::Description.SoapFaultBinding
-
-/*
-The following example demonstrates 'SoapFaultBinding' class.
-It creates an instance of 'ServiceDescription' class by reading an existing
-wsdl file. Then it creates an instance of 'SoapFaultBinding' and adds it to
-the collection object of 'Binding' class. It generates a new wsdl file where
-the properties of 'SoapFaultBinding' objects are reflected and which could be
-used for generating a proxy.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- try
- {
- // Input wsdl file.
- String^ myInputWsdlFile = "SoapFaultBindingInput_cpp.wsdl";
-
- // Output wsdl file.
- String^ myOutputWsdlFile = "SoapFaultBindingOutput_cpp.wsdl";
-
- // Initialize an instance of a 'ServiceDescription' object.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( myInputWsdlFile );
-
- // Get a SOAP binding object with binding name S"MyService1Soap".
- Binding^ myBinding = myServiceDescription->Bindings[ "MyService1Soap" ];
-
- // Create a new instance of 'SoapFaultBinding' class.
- SoapFaultBinding^ mySoapFaultBinding = gcnew SoapFaultBinding;
-
- // Encode fault message using rules specified by 'Encoding' property.
- mySoapFaultBinding->Use = SoapBindingUse::Encoded;
-
- // Set the URI representing the encoding style.
- mySoapFaultBinding->Encoding = "http://tempuri.org/stockquote";
-
- // Set the URI representing the location of the specification
- // for encoding of content not defined by 'Encoding' property'.
- mySoapFaultBinding->Namespace = "http://tempuri.org/stockquote";
-
- // Create a new instance of 'FaultBinding'.
- FaultBinding^ myFaultBinding = gcnew FaultBinding;
- myFaultBinding->Name = "AddFaultbinding";
- myFaultBinding->Extensions->Add( mySoapFaultBinding );
-
- // Get existing 'OperationBinding' object.
- OperationBinding^ myOperationBinding = myBinding->Operations[ 0 ];
- myOperationBinding->Faults->Add( myFaultBinding );
-
- // Create a new wsdl file.
- myServiceDescription->Write( myOutputWsdlFile );
- Console::WriteLine( "The new wsdl file created is : {0}", myOutputWsdlFile );
- Console::WriteLine( "Proxy could be created using command : wsdl {0}", myOutputWsdlFile );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Error occurred : {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding_ctor/CPP/soapfaultbinding_ctor.cpp b/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding_ctor/CPP/soapfaultbinding_ctor.cpp
deleted file mode 100644
index 0c69f5c1ea8..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding_ctor/CPP/soapfaultbinding_ctor.cpp
+++ /dev/null
@@ -1,110 +0,0 @@
-// System::Web::Services::Description.SoapBodyBinding::PartsString
-// System::Web::Services::Description.SoapFaultBinding::ctor
-// System::Web::Services::Description.SoapFaultBinding::Use
-// System::Web::Services::Description.SoapFaultBinding::Encoding
-// System::Web::Services::Description.SoapFaultBinding::NameSpace
-
-/*
-The following example demonstrates the 'PartsString' property of 'SoapBodyBinding' class
-and constructor, 'Encoding', 'NameSpace' and 'Use'properties of 'SoapFaultBinding' class.
-
-It creates an instance of 'ServiceDescription' class by reading an existing
-wsdl file. Then it creates an instance of 'SoapFaultBinding' and adds it to
-the collection object of 'Binding' class. It generates a new wsdl file where
-the properties of 'SoapFaultBinding' objects are reflected and which could be
-used for generating a proxy.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-int main()
-{
- try
- {
- // Input wsdl file.
- String^ myInputWsdlFile = "SoapFaultInput_cpp.wsdl";
-
- // Output wsdl file.
- String^ myOutputWsdlFile = "SoapFaultOutput_cpp.wsdl";
-
- // Initialize an instance of a 'ServiceDescription' object.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( myInputWsdlFile );
-
- // Get a SOAP binding object with binding name S"MyService1Soap".
- Binding^ myBinding = myServiceDescription->Bindings[ "MyService1Soap" ];
-
- // Create the 'OperationBinding' object for the 'SOAP' protocol.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "Add";
-
- // Create the 'SoapOperationBinding' object for the 'SOAP' protocol.
- SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
- mySoapOperationBinding->SoapAction = "http://tempuri.org/Add";
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
-
- // Add the 'SoapOperationBinding' object to 'OperationBinding' object.
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
-
- //
- // Create the 'InputBinding' object for the 'SOAP' protocol.
- InputBinding^ myInput = gcnew InputBinding;
- SoapBodyBinding^ mySoapBinding1 = gcnew SoapBodyBinding;
- mySoapBinding1->PartsString = "parameters";
- mySoapBinding1->Use = SoapBindingUse::Literal;
- myInput->Extensions->Add( mySoapBinding1 );
-
- // Assign the 'InputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInput;
-
- // Create the 'OutputBinding' object' for the 'SOAP' protocol..
- OutputBinding^ myOutput = gcnew OutputBinding;
- myOutput->Extensions->Add( mySoapBinding1 );
-
- // Assign the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutput;
- //
-
- //
- //
- //
- //
- // Create a new instance of 'SoapFaultBinding' class.
- SoapFaultBinding^ mySoapFaultBinding = gcnew SoapFaultBinding;
-
- // Encode fault message using rules specified by 'Encoding' property.
- mySoapFaultBinding->Use = SoapBindingUse::Encoded;
-
- // Set the URI representing the encoding style.
- mySoapFaultBinding->Encoding = "http://tempuri.org/stockquote";
-
- // Set the URI representing the location of the specification
- // for encoding of content not defined by 'Encoding' property'.
- mySoapFaultBinding->Namespace = "http://tempuri.org/stockquote";
-
- // Create a new instance of 'FaultBinding'.
- FaultBinding^ myFaultBinding = gcnew FaultBinding;
- myFaultBinding->Name = "AddFaultbinding";
- myFaultBinding->Extensions->Add( mySoapFaultBinding );
-
- // Get existing 'OperationBinding' object.
- myOperationBinding->Faults->Add( myFaultBinding );
- myBinding->Operations->Add( myOperationBinding );
-
- //
- //
- //
- //
- // Create a new wsdl file.
- myServiceDescription->Write( myOutputWsdlFile );
- Console::WriteLine( "The new wsdl file created is : {0}", myOutputWsdlFile );
- Console::WriteLine( "Proxy could be created using command : wsdl {0}", myOutputWsdlFile );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Error occurred : {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding/CPP/soapheaderbinding.cpp b/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding/CPP/soapheaderbinding.cpp
deleted file mode 100644
index ff5d56ef650..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding/CPP/soapheaderbinding.cpp
+++ /dev/null
@@ -1,67 +0,0 @@
-// System::Web::Services::Description.SoapHeaderBinding
-
-/*
-The following example demonstrates the class 'SoapHeaderBinding'.
-It takes as input a wsdl file. By using the 'Read' method
-of 'ServiceDescription' class it gets a 'ServiceDescription' object.
-It uses the SOAP protocol related classes and creates 'Binding' element
-of 'SOAP' protocol which are then added to the 'ServiceDescription' object.
-An output wsdl file is generated from 'ServiceDescription' object which
-could be used for generating a proxy.
-
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "SoapHeaderBindingInput_cpp.wsdl" );
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "MyWebServiceSoap";
- myBinding->Type = gcnew XmlQualifiedName( "s0:MyWebServiceSoap" );
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
- mySoapBinding->Style = SoapBindingStyle::Document;
- myBinding->Extensions->Add( mySoapBinding );
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "Hello";
- SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
- mySoapOperationBinding->SoapAction = "http://tempuri.org/Hello";
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
-
- // Create InputBinding for operation for the 'SOAP' protocol.
- InputBinding^ myInputBinding = gcnew InputBinding;
- SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
- mySoapBodyBinding->Use = SoapBindingUse::Literal;
- myInputBinding->Extensions->Add( mySoapBodyBinding );
- SoapHeaderBinding^ mySoapHeaderBinding = gcnew SoapHeaderBinding;
- mySoapHeaderBinding->Message = gcnew XmlQualifiedName( "s0:HelloMyHeader" );
- mySoapHeaderBinding->Part = "MyHeader";
- mySoapHeaderBinding->Use = SoapBindingUse::Literal;
-
- // Add mySoapHeaderBinding to 'myInputBinding' object.
- myInputBinding->Extensions->Add( mySoapHeaderBinding );
-
- // Create OutputBinding for operation for the 'SOAP' protocol.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- myOutputBinding->Extensions->Add( mySoapBodyBinding );
-
- // Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInputBinding;
- myOperationBinding->Output = myOutputBinding;
- myBinding->Operations->Add( myOperationBinding );
- myServiceDescription->Bindings->Add( myBinding );
- myServiceDescription->Write( "SoapHeaderBindingOut_cpp.wsdl" );
- Console::WriteLine( "'SoapHeaderBindingOut_cpp.wsdl' file is generated." );
- Console::WriteLine( "Proxy could be created using 'wsdl SoapHeaderBindingOut_cpp.wsdl'." );
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding_MapToProperty/CPP/soapheaderbinding_maptoproperty.cpp b/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding_MapToProperty/CPP/soapheaderbinding_maptoproperty.cpp
deleted file mode 100644
index 094bfdc3008..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding_MapToProperty/CPP/soapheaderbinding_maptoproperty.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-// System::Web::Services::Description.SoapHeaderBinding::MapToProperty
-
-/*
-The following example demonstrates the 'MapToProperty' property of class 'SoapHeaderBinding'.
-It reads an existing wsdl file and gets 'SoapHeaderBinding' instance from it.
-'MapToProperty' property of this instance is checked to see whether this instance
-is mapped to a specific property in proxy class or not.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- //
- // Read from an existing wsdl file.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MapToProperty_cpp.wsdl" );
-
- // Get the existing binding
- Binding^ myBinding = myServiceDescription->Bindings[ "MyWebServiceSoap" ];
- OperationBinding^ myOperationBinding = (OperationBinding^)(myBinding->Operations[ 0 ]);
- InputBinding^ myInputBinding = myOperationBinding->Input;
-
- // Get the 'SoapHeaderBinding' instance from 'myInputBinding'.
- SoapHeaderBinding^ mySoapHeaderBinding = (SoapHeaderBinding^)(myInputBinding->Extensions[ 1 ]);
- if ( mySoapHeaderBinding->MapToProperty )
- Console::WriteLine( "'SoapHeaderBinding' instance is mapped to a specific property in proxy generated class" );
- else
- Console::WriteLine( "'SoapHeaderBinding' instance is not mapped to a specific property in proxy generated class" );
- //
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding_Use/CPP/soapheaderbinding_use.cpp b/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding_Use/CPP/soapheaderbinding_use.cpp
deleted file mode 100644
index 0223ff8c500..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding_Use/CPP/soapheaderbinding_use.cpp
+++ /dev/null
@@ -1,87 +0,0 @@
-// System::Web::Services::Description.SoapHeaderBinding::ctor
-// System::Web::Services::Description.SoapHeaderBinding::Message
-// System::Web::Services::Description.SoapHeaderBinding::Part
-// System::Web::Services::Description.SoapHeaderBinding::Use
-
-/*
-The following example demonstrates the constructor, 'Message' , 'Part'
-and 'Use' properties of the class 'SoapHeaderBinding'.
-It takes as input a wsdl file. The binding element corresponding to
-SOAP protocol is removed from the input file. By using the 'Read' method
-of 'ServiceDescription' class it gets a 'ServiceDescription' Object*.
-It uses the SOAP protocol related classes and creates 'Binding' element
-of 'SOAP' protocol which are then added to the 'ServiceDescription' Object*.
-An output wsdl file is generated from 'ServiceDescription' Object* which
-could be used for generating a proxy.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Collections;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-
-int main()
-{
- ServiceDescription^ myServiceDescription =
- ServiceDescription::Read( "SoapHeaderBindingInput_cpp.wsdl" );
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "MyWebServiceSoap";
- myBinding->Type = gcnew XmlQualifiedName( "s0:MyWebServiceSoap" );
-
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
- mySoapBinding->Style = SoapBindingStyle::Document;
- myBinding->Extensions->Add( mySoapBinding );
-
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "Hello";
-
- SoapOperationBinding^ mySoapOperationBinding =
- gcnew SoapOperationBinding;
- mySoapOperationBinding->SoapAction = "http://tempuri.org/Hello";
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
-
- // Create InputBinding for operation for the 'SOAP' protocol.
- InputBinding^ myInputBinding = gcnew InputBinding;
- SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
- mySoapBodyBinding->Use = SoapBindingUse::Literal;
- myInputBinding->Extensions->Add( mySoapBodyBinding );
-
-//
-//
-//
-//
- SoapHeaderBinding^ mySoapHeaderBinding = gcnew SoapHeaderBinding;
- // Set the Message within the XML Web service to which the
- // 'SoapHeaderBinding' applies.
- mySoapHeaderBinding->Message =
- gcnew XmlQualifiedName( "s0:HelloMyHeader" );
- mySoapHeaderBinding->Part = "MyHeader";
- mySoapHeaderBinding->Use = SoapBindingUse::Literal;
- // Add mySoapHeaderBinding to the 'myInputBinding' object.
- myInputBinding->Extensions->Add( mySoapHeaderBinding );
-//
-//
-//
-//
-
- // Create OutputBinding for operation for the 'SOAP' protocol.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- myOutputBinding->Extensions->Add( mySoapBodyBinding );
-
- // Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInputBinding;
- myOperationBinding->Output = myOutputBinding;
- myBinding->Operations->Add( myOperationBinding );
-
- myServiceDescription->Bindings->Add( myBinding );
- myServiceDescription->Write( "SoapHeaderBindingOut_cpp.wsdl" );
- Console::WriteLine( "'SoapHeaderBindingOut_cpp.wsdl' file is generated." );
- Console::WriteLine( "Proxy could be created using " +
- "'wsdl SoapHeaderBindingOut_cpp.wsdl'." );
-}
diff --git a/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/Project.csproj
deleted file mode 100644
index 300dabafd35..00000000000
--- a/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/Project.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Library
- net472
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs b/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs
deleted file mode 100644
index 18b89ba463a..00000000000
--- a/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs
+++ /dev/null
@@ -1,203 +0,0 @@
-//
-using System;
-using System.Security.Permissions;
-using System.CodeDom;
-using System.IO;
-using System.Text;
-using System.Web.Services.Configuration;
-using System.Web.Services.Description;
-using System.Web.Services.Protocols;
-using System.Xml.Serialization;
-
-// The YMLAttribute allows a developer to specify that the YML SOAP
-// extension run on a per-method basis. The Disabled property
-// turns reversing the XML on and off.
-
-[AttributeUsage(AttributeTargets.Method, AllowMultiple=false)]
-public class YMLAttribute : SoapExtensionAttribute {
- int priority = 0;
- bool disabled = false;
-
- public YMLAttribute() : this(false) {}
- public YMLAttribute(bool disabled)
- {
- this.disabled = disabled;
- }
-
- public override Type ExtensionType
- {
- get { return typeof(YMLExtension); }
- }
- public override int Priority
- {
- get { return priority; }
- set { priority = value; }
- }
-
- public bool Disabled
- {
- get { return disabled; }
- set { disabled = value; }
- }
-}
-
-public class YMLExtension : SoapExtension {
- bool disabled = false;
- Stream oldStream;
- Stream newStream;
-
- public override object GetInitializer(LogicalMethodInfo methodInfo,
- SoapExtensionAttribute attribute)
- {
- YMLAttribute attr = attribute as YMLAttribute;
- if (attr != null) return attr.Disabled;
- return false;
- }
-
- public override object GetInitializer(Type serviceType)
- {
- return false;
- }
-
- public override void Initialize(object initializer)
- {
- if (initializer is Boolean) disabled = (bool)initializer;
- }
-
- public override Stream ChainStream(Stream stream)
- {
- if (disabled) return base.ChainStream(stream);
- oldStream = stream;
- newStream = new MemoryStream();
- return newStream;
- }
-
- public override void ProcessMessage(SoapMessage message)
- {
- if (disabled) return;
- switch (message.Stage)
- {
- case SoapMessageStage.BeforeSerialize:
- Encode(message);
- break;
- case SoapMessageStage.AfterSerialize:
- newStream.Position = 0;
- Reverse(newStream, oldStream);
- break;
- case SoapMessageStage.BeforeDeserialize:
- Decode(message);
- break;
- case SoapMessageStage.AfterDeserialize:
- break;
- }
- }
-
- void Encode(SoapMessage message)
- {
- message.ContentType = "text/yml";
- }
-
- void Decode(SoapMessage message)
- {
- if (message.ContentType != "text/yml")
- throw new Exception(
- "invalid content type:" + message.ContentType);
- Reverse(oldStream, newStream);
- newStream.Position = 0;
- message.ContentType = "text/xml";
- }
-
- void Reverse(Stream from, Stream to)
- {
- TextReader reader = new StreamReader(from);
- TextWriter writer = new StreamWriter(to);
- string line;
- while ((line = reader.ReadLine()) != null)
- {
- StringBuilder builder = new StringBuilder();
- for (int i = line.Length - 1; i >= 0; i--)
- {
- builder.Append(line[i]);
- }
- writer.WriteLine(builder.ToString());
- }
- writer.Flush();
- }
-}
-// The YMLReflector class is part of the YML SDFE, as it is
-// called during the service description generation process.
-[PermissionSet(SecurityAction.Demand, Name="FullTrust")]
-public class YMLReflector : SoapExtensionReflector
-{
- public override void ReflectMethod()
- {
- ProtocolReflector reflector = ReflectionContext;
- YMLAttribute attr =
- (YMLAttribute)reflector.Method.GetCustomAttribute(
- typeof(YMLAttribute));
- // If the YMLAttribute has been applied to this XML Web service
- // method, add the XML defined in the YMLOperationBinding class.
- if (attr != null)
- {
- YMLOperationBinding yml = new YMLOperationBinding();
- yml.Reverse = !(attr.Disabled);
- reflector.OperationBinding.Extensions.Add(yml);
- }
- }
-}
-
-// The YMLImporter class is part of the YML SDFE, as it is called when a
-// proxy class is generated for each XML Web service method the proxy class
-// communicates with. The class checks whether the service description
-// contains the XML that this SDFE adds to a service description. If it
-// exists, then the YMLExtension is applied to the method in the proxy class.
-[PermissionSet(SecurityAction.Demand, Name="FullTrust")]
-public class YMLImporter : SoapExtensionImporter
-{
- public override void ImportMethod(
- CodeAttributeDeclarationCollection metadata)
- {
- SoapProtocolImporter importer = ImportContext;
- // Check whether the XML specified in the YMLOperationBinding
- // is in the service description.
- YMLOperationBinding yml =
- (YMLOperationBinding)importer.OperationBinding.Extensions.Find(
- typeof(YMLOperationBinding));
- if (yml != null)
- {
- // Only apply the YMLAttribute to the method when the XML should
- // be reversed.
- if (yml.Reverse)
- {
- CodeAttributeDeclaration attr =
- new CodeAttributeDeclaration(typeof(YMLAttribute).FullName);
- attr.Arguments.Add(
- new CodeAttributeArgument(new CodePrimitiveExpression(true)));
- metadata.Add(attr);
- }
- }
- }
-}
-
-//
-// The YMLOperationBinding class is part of the YML SDFE, as it is the
-// class that is serialized into XML and is placed in the service
-// description.
-[XmlFormatExtension("action", YMLOperationBinding.YMLNamespace,
- typeof(OperationBinding))]
-[XmlFormatExtensionPrefix("yml", YMLOperationBinding.YMLNamespace)]
-public class YMLOperationBinding : ServiceDescriptionFormatExtension
-{
- private Boolean reverse;
-
- public const string YMLNamespace = "http://www.contoso.com/yml";
-
- [XmlElement("Reverse")]
- public Boolean Reverse
- {
- get { return reverse; }
- set { reverse = value; }
- }
-}
-//
-//
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/AddNumbersInput_cs.wsdl b/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/AddNumbersInput_cs.wsdl
deleted file mode 100644
index 1bd09a36bee..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/AddNumbersInput_cs.wsdl
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/Project.csproj
deleted file mode 100644
index 300dabafd35..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/Project.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Library
- net472
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/Service1_cs.asmx b/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/Service1_cs.asmx
deleted file mode 100644
index 5d5d939864f..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/Service1_cs.asmx
+++ /dev/null
@@ -1,18 +0,0 @@
-<%@ WebService Language="C#" Class="Service1" %>
-using System;
-using System.Collections;
-using System.ComponentModel;
-using System.Data;
-using System.Diagnostics;
-using System.Web;
-using System.Web.Services;
-
- public class Service1:WebService
- {
- [WebMethod]
- public int AddNumbers(int firstNumber,int secondNumber)
- {
- return firstNumber+secondNumber;
- }
- }
-
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/soapprotocol.cs b/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/soapprotocol.cs
deleted file mode 100644
index f7d63125033..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/soapprotocol.cs
+++ /dev/null
@@ -1,172 +0,0 @@
-// System.Web.Services.Description.SoapBinding.ctor
-// System.Web.Services.Description.SoapBinding.Transport
-// System.Web.Services.Description.SoapBinding.Style
-// System.Web.Services.Description.SoapBindingStyle.Document
-// System.Web.Services.Description.SoapOperationBinding.ctor
-// System.Web.Services.Description.SoapOperationBinding.SoapAction
-// System.Web.Services.Description.SoapOperationBinding.Style
-// System.Web.Services.Description.SoapBodyBinding.ctor
-// System.Web.Services.Description.SoapBodyBinding.Use
-// System.Web.Services.Description.SoapBindingUse.Literal
-// System.Web.Services.Description.SoapAddressBinding.ctor
-// System.Web.Services.Description.SoapAddressBinding.Location
-
-/*
-The following example demonstrates the 'SoapBinding' constructor,'Transport','Style'
-properties of 'SoapBinding' class,'Document' member of 'SoapBindingStyle' enum,
-'SoapOperationBinding' constructor,'SoapAction','Style' properties of 'SoapOperationBinding'
-class, 'SoapBodyBinding' contructor,'Use' property of 'SoapBodyBinding' class,
-'Literal' member of 'SoapBindingUse' enum and 'SoapAddressBinding' constructor, 'Location'
-property of class 'SoapAddressBinding'.
-
-It takes as input a wsdl file which supports two protocols 'HttpGet' and 'HttpPost' .
-By using the 'Read' method of 'ServiceDescription' class it gets a 'ServiceDescription'
-object. It uses the SOAP protocol related classes and creates 'Binding','Port',
-'PortType' and 'Message' elements of 'SOAP' protocol. It adds all these elements to
-the 'ServiceDescription' object. The 'ServiceDescription' object creates another
-wsdl file which supports 'SOAP' also. This wsdl file is used to generate a proxy
-which is used by the .aspx file.
-Note: To run the example run the makefile provided and open the '.aspx' file in browser.
-*/
-
-using System;
-using System.Web.Services.Description;
-using System.Collections;
-using System.Xml;
-
- class MySoapClass
- {
- public static void Main()
- {
- ServiceDescription myDescription =
- ServiceDescription.Read("AddNumbersInput_cs.wsdl");
- // Create a 'Binding' object for the 'SOAP' protocol.
- Binding myBinding = new Binding();
- myBinding.Name = "Service1Soap";
- XmlQualifiedName qualifiedName =
- new XmlQualifiedName("s0:Service1Soap");
- myBinding.Type = qualifiedName;
-
-//
-//
-//
-//
- SoapBinding mySoapBinding = new SoapBinding();
- mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http";
- mySoapBinding.Style = SoapBindingStyle.Document;
- // Add the 'SoapBinding' object to the 'Binding' object.
- myBinding.Extensions.Add(mySoapBinding);
-//
-//
-//
-//
-
- // Create the 'OperationBinding' object for the 'SOAP' protocol.
- OperationBinding myOperationBinding = new OperationBinding();
- myOperationBinding.Name = "AddNumbers";
-
-//
-//
-//
- // Create the 'SoapOperationBinding' object for the 'SOAP' protocol.
- SoapOperationBinding mySoapOperationBinding =
- new SoapOperationBinding();
- mySoapOperationBinding.SoapAction = "http://tempuri.org/AddNumbers";
- mySoapOperationBinding.Style = SoapBindingStyle.Document;
- // Add the 'SoapOperationBinding' object to 'OperationBinding' object.
- myOperationBinding.Extensions.Add(mySoapOperationBinding);
-//
-//
-//
-
-//
-//
-//
- // Create the 'InputBinding' object for the 'SOAP' protocol.
- InputBinding myInput = new InputBinding();
- SoapBodyBinding mySoapBinding1 = new SoapBodyBinding();
- mySoapBinding1.Use= SoapBindingUse.Literal;
- myInput.Extensions.Add(mySoapBinding1);
- // Add the 'InputBinding' object to 'OperationBinding' object.
- myOperationBinding.Input = myInput;
- // Create the 'OutputBinding' object'.
- OutputBinding myOutput = new OutputBinding();
- myOutput.Extensions.Add(mySoapBinding1);
- // Add the 'OutputBinding' object to 'OperationBinding' object.
- myOperationBinding.Output = myOutput;
- // Add the 'OperationBinding' object to 'Binding' object.
- myBinding.Operations.Add(myOperationBinding);
- // Add the 'Binding' object to the ServiceDescription instance.
- myDescription.Bindings.Add(myBinding);
-//
-//
-//
-
-//
-//
- Port soapPort = new Port();
- soapPort.Name = "Service1Soap";
- soapPort.Binding = new XmlQualifiedName("s0:Service1Soap");
- // Create a 'SoapAddressBinding' object for the 'SOAP' protocol.
- SoapAddressBinding mySoapAddressBinding =
- new SoapAddressBinding();
- mySoapAddressBinding.Location = "http://localhost/Service1_cs.asmx";
- // Add the 'SoapAddressBinding' object to the 'Port'.
- soapPort.Extensions.Add(mySoapAddressBinding);
- // Add the 'Port' object to the ServiceDescription instance.
- myDescription.Services[0].Ports.Add(soapPort);
-//
-//
-
- // Create a 'PortType' object. for SOAP protocol.
- PortType soapPortType = new PortType();
- soapPortType.Name = "Service1Soap";
- Operation soapOperation = new Operation();
- soapOperation.Name = "AddNumbers";
-
- OperationMessage soapInput =(OperationMessage)new OperationInput();
- soapInput.Message =new XmlQualifiedName("s0:AddNumbersSoapIn");
- OperationMessage soapOutput =(OperationMessage)new OperationOutput();
- soapOutput.Message =new XmlQualifiedName("s0:AddNumbersSoapOut");
-
- soapOperation.Messages.Add(soapInput);
- soapOperation.Messages.Add(soapOutput);
-
- // Add the 'Operation' object to 'PortType' object.
- soapPortType.Operations.Add(soapOperation);
-
- // Add the 'PortType' object first to 'PortTypeCollection' object
- // and then to 'ServiceDescription' object.
- myDescription.PortTypes.Add(soapPortType);
-
- // Create the 'Message' object.
- Message soapMessage1 = new Message();
- soapMessage1.Name="AddNumbersSoapIn";
- // Create the 'MessageParts' object.
- MessagePart soapMessagePart1 = new MessagePart();
- soapMessagePart1.Name = "parameters";
- soapMessagePart1.Element = new XmlQualifiedName("s0:AddNumbers");
-
- // Add the 'MessagePart' object to 'Messages' object.
- soapMessage1.Parts.Add(soapMessagePart1);
-
- // Create another 'Message' object.
- Message soapMessage2 = new Message();
- soapMessage2.Name = "AddNumbersSoapOut";
-
- MessagePart soapMessagePart2 = new MessagePart();
- soapMessagePart2.Name = "parameters";
- soapMessagePart2.Element =
- new XmlQualifiedName("s0:AddNumbersResponse");
- // Add the 'MessagePart' object to second 'Message' object.
- soapMessage2.Parts.Add(soapMessagePart2);
-
- // Add the 'Message' objects to 'ServiceDescription'.
- myDescription.Messages.Add(soapMessage1);
- myDescription.Messages.Add(soapMessage2);
-
- // Write the 'ServiceDescription' object as a WSDL file.
- myDescription.Write("AddNumbersOut_cs.wsdl");
- Console.WriteLine(" 'AddNumbersOut_cs.Wsdl' file was generated");
- }
-}
\ No newline at end of file
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/Project.csproj
deleted file mode 100644
index 300dabafd35..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/Project.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Library
- net472
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/SoapBindingStyleInput_cs.wsdl b/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/SoapBindingStyleInput_cs.wsdl
deleted file mode 100644
index bd5b05fd1aa..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/SoapBindingStyleInput_cs.wsdl
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.cs b/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.cs
deleted file mode 100644
index 52a3e55c30e..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-// System.Web.Services.Description.SoapBindingStyle.Rpc
-// System.Web.Services.Description.SoapBindingUse.Encoded
-// System.Web.Services.Description.SoapBodyBinding.Encoding
-// System.Web.Services.Description.SoapBodyBinding.Namespace
-// System.Web.Services.Description.SoapHeaderBinding.Encoding
-// System.Web.Services.Description.SoapHeaderBinding.Namespace
-
-/*
-The following example demonstrates the 'Rpc' member of 'SoapBindingStyle'
-enumeration ,'Encoded' member of 'SoapBindingUse' enumeration ,'Encoding'
-and 'Namespace' properties of 'SoapBodyBinding' class and 'Encoding'
-and 'Namespace' properties of 'SoapHeaderBinding' class.
-It takes as input a wsdl file which does not contain a binding for SOAP.
-By using the 'Read' method of 'ServiceDescription' class it gets a 'ServiceDescription' object.
-It uses the SOAP protocol related classes and creates 'Binding' element
-of 'SOAP' protocol which are then added to the 'ServiceDescription' object.
-An output wsdl file is generated from 'ServiceDescription' object which
-could be used for generating a proxy.
-*/
-
-using System;
-using System.Web.Services.Description;
-using System.Collections;
-using System.Xml;
- public class MySoapBindingClass
- {
- public static void Main()
- {
- ServiceDescription myServiceDescription =
- ServiceDescription.Read("SoapBindingStyleInput_cs.wsdl");
- Binding myBinding = new Binding();
- myBinding.Name = "SOAPSvrMgr_SOAPBinding";
- myBinding.Type =new XmlQualifiedName("tns:SOAPSvrMgr_portType");
-
-//
- SoapBinding mySoapBinding =new SoapBinding();
- mySoapBinding.Transport="http://schemas.xmlsoap.org/soap/http";
- // Message to be transmitted contains parameters to call a procedure.
- mySoapBinding.Style=SoapBindingStyle.Rpc;
- myBinding.Extensions.Add(mySoapBinding);
-//
-
- OperationBinding myOperationBinding = new OperationBinding();
- myOperationBinding.Name = "GetServerStats";
-
- SoapOperationBinding mySoapOperationBinding =
- new SoapOperationBinding();
- mySoapOperationBinding.SoapAction =
- "http://tempuri.org/soapsvcmgr/GetServerStats";
- myOperationBinding.Extensions.Add(mySoapOperationBinding);
-
- // Create InputBinding for operation for the 'SOAP' protocol.
- InputBinding myInputBinding = new InputBinding();
-//
-//
-//
- SoapBodyBinding mySoapBodyBinding = new SoapBodyBinding();
- // Encode SOAP body using rules specified by the 'Encoding' property.
- mySoapBodyBinding.Use = SoapBindingUse.Encoded;
- // Set URI representing the encoding style for encoding the body.
- mySoapBodyBinding.Encoding="http://schemas.xmlsoap.org/soap/encoding/";
- // Set the Uri representing the location of the specification
- // for encoding of content not defined by 'Encoding' property'.
- mySoapBodyBinding.Namespace="http://tempuri.org/soapsvcmgr/";
- myInputBinding.Extensions.Add(mySoapBodyBinding);
-//
-//
-//
-
-//
-//
- SoapHeaderBinding mySoapHeaderBinding=new SoapHeaderBinding();
- mySoapHeaderBinding.Message=
- new XmlQualifiedName("tns:Soapsvcmgr_Headers_Request");
- mySoapHeaderBinding.Part="AuthCS";
- // Encode SOAP header using rules specified by the 'Encoding' property.
- mySoapHeaderBinding.Use=SoapBindingUse.Encoded;
- // Set URI representing the encoding style for encoding the header.
- mySoapHeaderBinding.Encoding = "http://schemas.xmlsoap.org/soap/encoding/";
- // Set the Uri representing the location of the specification
- // for encoding of content not defined by 'Encoding' property'.
- mySoapHeaderBinding.Namespace = "http://tempuri.org/SOAPSvr/soapsvcmgr/headers.xsd";
- // Add mySoapHeaderBinding to the 'myInputBinding' object.
- myInputBinding.Extensions.Add(mySoapHeaderBinding);
-//
-//
- // Create OutputBinding for operation.
- OutputBinding myOutputBinding = new OutputBinding();
- myOutputBinding.Extensions.Add(mySoapBodyBinding);
- mySoapHeaderBinding.Part="AuthSC";
- mySoapHeaderBinding.Message=
- new XmlQualifiedName("tns:Soapsvcmgr_Headers_Response");
- myOutputBinding.Extensions.Add(mySoapHeaderBinding);
-
- // Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding.Input = myInputBinding;
- myOperationBinding.Output = myOutputBinding;
- myBinding.Operations.Add(myOperationBinding);
-
- myServiceDescription.Bindings.Add(myBinding);
- myServiceDescription.Write("SoapBindingStyleOutput_cs.wsdl");
- Console.WriteLine("'SoapBindingStyleOutput_cs.wsdl' file is generated.");
- Console.WriteLine("Proxy could be created using command"+
- " 'wsdl SoapBindingStyleOutput_cs.wsdl'");
- }
- }
\ No newline at end of file
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/Project.csproj
deleted file mode 100644
index 300dabafd35..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/Project.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Library
- net472
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/SoapFaultInput_cs.wsdl b/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/SoapFaultInput_cs.wsdl
deleted file mode 100644
index 03b34dee9a3..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/SoapFaultInput_cs.wsdl
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.cs b/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.cs
deleted file mode 100644
index 45b8d31700a..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-// System.Web.Services.Description.SoapBodyBinding.PartsString
-// System.Web.Services.Description.SoapFaultBinding.ctor
-// System.Web.Services.Description.SoapFaultBinding.Use
-// System.Web.Services.Description.SoapFaultBinding.Encoding
-// System.Web.Services.Description.SoapFaultBinding.NameSpace
-
-/*
- The following example demonstrates the 'PartsString' property of 'SoapBodyBinding' class
- and constructor, 'Encoding', 'NameSpace' and 'Use'properties of 'SoapFaultBinding' class.
-
- It creates an instance of 'ServiceDescription' class by reading an existing
- wsdl file. Then it creates an instance of 'SoapFaultBinding' and adds it to
- the collection object of 'Binding' class. It generates a new wsdl file where
- the properties of 'SoapFaultBinding' objects are reflected and which could be
- used for generating a proxy.
-*/
-
- using System;
- using System.Web.Services.Description;
- public class MySoapFaultBindingSample
- {
- public static void Main()
- {
- try
- {
- // Input wsdl file.
- string myInputWsdlFile="SoapFaultInput_cs.wsdl";
- // Output wsdl file.
- string myOutputWsdlFile="SoapFaultOutput_cs.wsdl";
- // Initialize an instance of a 'ServiceDescription' object.
- ServiceDescription myServiceDescription =
- ServiceDescription.Read(myInputWsdlFile);
- // Get a SOAP binding object with binding name "MyService1Soap".
- Binding myBinding=myServiceDescription.Bindings["MyService1Soap"];
- // Create the 'OperationBinding' object for the 'SOAP' protocol.
- OperationBinding myOperationBinding = new OperationBinding();
- myOperationBinding.Name = "Add";
-
- // Create the 'SoapOperationBinding' object for the 'SOAP' protocol.
- SoapOperationBinding mySoapOperationBinding =
- new SoapOperationBinding();
- mySoapOperationBinding.SoapAction = "http://tempuri.org/Add";
- mySoapOperationBinding.Style = SoapBindingStyle.Document;
- // Add the 'SoapOperationBinding' object to 'OperationBinding' object.
- myOperationBinding.Extensions.Add(mySoapOperationBinding);
-//
- // Create the 'InputBinding' object for the 'SOAP' protocol.
- InputBinding myInput = new InputBinding();
- SoapBodyBinding mySoapBinding1 = new SoapBodyBinding();
- mySoapBinding1.PartsString = "parameters";
- mySoapBinding1.Use= SoapBindingUse.Literal;
- myInput.Extensions.Add(mySoapBinding1);
- // Assign the 'InputBinding' to 'OperationBinding'.
- myOperationBinding.Input = myInput;
- // Create the 'OutputBinding' object' for the 'SOAP' protocol..
- OutputBinding myOutput = new OutputBinding();
- myOutput.Extensions.Add(mySoapBinding1);
- // Assign the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding.Output = myOutput;
-//
-
-//
-//
-//
-//
-
- // Create a new instance of 'SoapFaultBinding' class.
- SoapFaultBinding mySoapFaultBinding=new SoapFaultBinding();
- // Encode fault message using rules specified by 'Encoding' property.
- mySoapFaultBinding.Use=SoapBindingUse.Encoded;
- // Set the URI representing the encoding style.
- mySoapFaultBinding.Encoding="http://tempuri.org/stockquote";
- // Set the URI representing the location of the specification
- // for encoding of content not defined by 'Encoding' property'.
- mySoapFaultBinding.Namespace="http://tempuri.org/stockquote";
- // Create a new instance of 'FaultBinding'.
- FaultBinding myFaultBinding=new FaultBinding();
- myFaultBinding.Name="AddFaultbinding";
- myFaultBinding.Extensions.Add(mySoapFaultBinding);
- // Get existing 'OperationBinding' object.
- myOperationBinding.Faults.Add(myFaultBinding);
- myBinding.Operations.Add(myOperationBinding);
-
-//
-//
-//
-//
-
- // Create a new wsdl file.
- myServiceDescription.Write(myOutputWsdlFile);
- Console.WriteLine("The new wsdl file created is :"
- +myOutputWsdlFile);
- Console.WriteLine("Proxy could be created using command : wsdl "
- + myOutputWsdlFile);
- }
- catch(Exception e)
- {
- Console.WriteLine("Error occurred : "+e.Message);
- }
- }
- }
diff --git a/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/Project.csproj
deleted file mode 100644
index 300dabafd35..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/Project.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Library
- net472
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/SoapFaultBindingInput_cs.wsdl b/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/SoapFaultBindingInput_cs.wsdl
deleted file mode 100644
index de9a64d0e51..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/SoapFaultBindingInput_cs.wsdl
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.cs b/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.cs
deleted file mode 100644
index e8755c374fd..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-// System.Web.Services.Description.SoapFaultBinding
-
-/*
- The following example demonstrates 'SoapFaultBinding' class.
- It creates an instance of 'ServiceDescription' class by reading an existing
- wsdl file. Then it creates an instance of 'SoapFaultBinding' and adds it to
- the collection object of 'Binding' class. It generates a new wsdl file where
- the properties of 'SoapFaultBinding' objects are reflected and which could be
- used for generating a proxy.
-*/
-
-//
- using System;
- using System.Web.Services.Description;
- public class MySoapFaultBindingSample
- {
- public static void Main()
- {
- try
- {
- // Input wsdl file.
- string myInputWsdlFile="SoapFaultBindingInput_cs.wsdl";
- // Output wsdl file.
- string myOutputWsdlFile="SoapFaultBindingOutput_cs.wsdl";
- // Initialize an instance of a 'ServiceDescription' object.
- ServiceDescription myServiceDescription =
- ServiceDescription.Read(myInputWsdlFile);
- // Get a SOAP binding object with binding name "MyService1Soap".
- Binding myBinding=myServiceDescription.Bindings["MyService1Soap"];
- // Create a new instance of 'SoapFaultBinding' class.
- SoapFaultBinding mySoapFaultBinding=new SoapFaultBinding();
- // Encode fault message using rules specified by 'Encoding' property.
- mySoapFaultBinding.Use=SoapBindingUse.Encoded;
- // Set the URI representing the encoding style.
- mySoapFaultBinding.Encoding="http://tempuri.org/stockquote";
- // Set the URI representing the location of the specification
- // for encoding of content not defined by 'Encoding' property'.
- mySoapFaultBinding.Namespace="http://tempuri.org/stockquote";
- // Create a new instance of 'FaultBinding'.
- FaultBinding myFaultBinding=new FaultBinding();
- myFaultBinding.Name="AddFaultbinding";
- myFaultBinding.Extensions.Add(mySoapFaultBinding);
- // Get existing 'OperationBinding' object.
- OperationBinding myOperationBinding=myBinding.Operations[0];
- myOperationBinding.Faults.Add(myFaultBinding);
- // Create a new wsdl file.
- myServiceDescription.Write(myOutputWsdlFile);
- Console.WriteLine("The new wsdl file created is :"
- +myOutputWsdlFile);
- Console.WriteLine("Proxy could be created using command : wsdl "
- + myOutputWsdlFile);
- }
- catch(Exception e)
- {
- Console.WriteLine("Error occurred : "+e.Message);
- }
- }
- }
-//
diff --git a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/MapToProperty_cs.wsdl b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/MapToProperty_cs.wsdl
deleted file mode 100644
index 72f8aa485d7..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/MapToProperty_cs.wsdl
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This Web Service method requires a client to send the MyHeader SOAP header.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/Project.csproj
deleted file mode 100644
index 300dabafd35..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/Project.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Library
- net472
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/soapheaderbinding_maptoproperty.cs b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/soapheaderbinding_maptoproperty.cs
deleted file mode 100644
index 6d212f0795b..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/soapheaderbinding_maptoproperty.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-// System.Web.Services.Description.SoapHeaderBinding.MapToProperty
-
-/*
-The following example demonstrates the 'MapToProperty' property of class 'SoapHeaderBinding'.
-It reads an existing wsdl file and gets 'SoapHeaderBinding' instance from it.
-'MapToProperty' property of this instance is checked to see whether this instance
-is mapped to a specific property in proxy class or not.
-*/
- using System;
- using System.Web.Services.Description;
-
- public class MapToPropertySample
- {
- public static void Main()
- {
-//
- // Read from an existing wsdl file.
- ServiceDescription myServiceDescription =
- ServiceDescription.Read("MapToProperty_cs.wsdl");
- // Get the existing binding
- Binding myBinding=myServiceDescription.Bindings["MyWebServiceSoap"];
- OperationBinding myOperationBinding =
- (OperationBinding)myBinding.Operations[0];
- InputBinding myInputBinding = myOperationBinding.Input;
- // Get the 'SoapHeaderBinding' instance from 'myInputBinding'.
- SoapHeaderBinding mySoapHeaderBinding =
- (SoapHeaderBinding)myInputBinding.Extensions[1];
- if(mySoapHeaderBinding.MapToProperty)
- {
- Console.WriteLine("'SoapHeaderBinding' instance is mapped to a "+
- "specific property in proxy generated class");
- }
- else
- {
- Console.WriteLine("'SoapHeaderBinding' instance is not mapped to "+
- "a specific property in proxy generated class");
- }
-//
- }
-}
diff --git a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/Project.csproj
deleted file mode 100644
index 300dabafd35..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/Project.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Library
- net472
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/SoapHeaderBindingInput_cs.wsdl b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/SoapHeaderBindingInput_cs.wsdl
deleted file mode 100644
index 94df6f76cf5..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/SoapHeaderBindingInput_cs.wsdl
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This Web Service method requires a client to send the MyHeader SOAP header.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.cs b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.cs
deleted file mode 100644
index ed3fd11df31..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.cs
+++ /dev/null
@@ -1,83 +0,0 @@
-// System.Web.Services.Description.SoapHeaderBinding.ctor
-// System.Web.Services.Description.SoapHeaderBinding.Message
-// System.Web.Services.Description.SoapHeaderBinding.Part
-// System.Web.Services.Description.SoapHeaderBinding.Use
-
-/*
-The following example demonstrates the constructor, 'Message' , 'Part'
-and 'Use' properties of the class 'SoapHeaderBinding'.
-It takes as input a wsdl file. The binding element corresponding to
-SOAP protocol is removed from the input file. By using the 'Read' method
-of 'ServiceDescription' class it gets a 'ServiceDescription' object.
-It uses the SOAP protocol related classes and creates 'Binding' element
-of 'SOAP' protocol which are then added to the 'ServiceDescription' object.
-An output wsdl file is generated from 'ServiceDescription' object which
-could be used for generating a proxy.
-*/
-
-using System;
-using System.Web.Services.Description;
-using System.Collections;
-using System.Xml;
- public class MySampleClass
- {
- public static void Main()
- {
- ServiceDescription myServiceDescription =
- ServiceDescription.Read("SoapHeaderBindingInput_cs.wsdl");
- Binding myBinding = new Binding();
- myBinding.Name = "MyWebServiceSoap";
- myBinding.Type =new XmlQualifiedName("s0:MyWebServiceSoap");
-
- SoapBinding mySoapBinding =new SoapBinding();
- mySoapBinding.Transport="http://schemas.xmlsoap.org/soap/http";
- mySoapBinding.Style=SoapBindingStyle.Document;
- myBinding.Extensions.Add(mySoapBinding);
-
- OperationBinding myOperationBinding = new OperationBinding();
- myOperationBinding.Name = "Hello";
-
- SoapOperationBinding mySoapOperationBinding =
- new SoapOperationBinding();
- mySoapOperationBinding.SoapAction = "http://tempuri.org/Hello";
- mySoapOperationBinding.Style=SoapBindingStyle.Document;
- myOperationBinding.Extensions.Add(mySoapOperationBinding);
-
- // Create InputBinding for operation for the 'SOAP' protocol.
- InputBinding myInputBinding = new InputBinding();
- SoapBodyBinding mySoapBodyBinding = new SoapBodyBinding();
- mySoapBodyBinding.Use = SoapBindingUse.Literal;
- myInputBinding.Extensions.Add(mySoapBodyBinding);
-//
-//
-//
-//
- SoapHeaderBinding mySoapHeaderBinding=new SoapHeaderBinding();
- // Set the Message within the XML Web service to which the
- // 'SoapHeaderBinding' applies.
- mySoapHeaderBinding.Message=
- new XmlQualifiedName("s0:HelloMyHeader");
- mySoapHeaderBinding.Part="MyHeader";
- mySoapHeaderBinding.Use=SoapBindingUse.Literal;
- // Add mySoapHeaderBinding to the 'myInputBinding' object.
- myInputBinding.Extensions.Add(mySoapHeaderBinding);
-//
-//
-//
-//
- // Create OutputBinding for operation for the 'SOAP' protocol.
- OutputBinding myOutputBinding = new OutputBinding();
- myOutputBinding.Extensions.Add(mySoapBodyBinding);
-
- // Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding.Input = myInputBinding;
- myOperationBinding.Output = myOutputBinding;
- myBinding.Operations.Add(myOperationBinding);
-
- myServiceDescription.Bindings.Add(myBinding);
- myServiceDescription.Write("SoapHeaderBindingOut_cs.wsdl");
- Console.WriteLine("'SoapHeaderBindingOut_cs.wsdl' file is generated.");
- Console.WriteLine("Proxy could be created using "
- +"'wsdl SoapHeaderBindingOut_cs.wsdl'.");
- }
- }
\ No newline at end of file
diff --git a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/Project.csproj
deleted file mode 100644
index 300dabafd35..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/Project.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Library
- net472
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/SoapHeaderBindingInput_cs.wsdl b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/SoapHeaderBindingInput_cs.wsdl
deleted file mode 100644
index 94df6f76cf5..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/SoapHeaderBindingInput_cs.wsdl
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This Web Service method requires a client to send the MyHeader SOAP header.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.cs b/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.cs
deleted file mode 100644
index 779dfdc2efa..00000000000
--- a/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-// System.Web.Services.Description.SoapHeaderBinding
-
-/*
-The following example demonstrates the class 'SoapHeaderBinding'.
-It takes as input a wsdl file. By using the 'Read' method
-of 'ServiceDescription' class it gets a 'ServiceDescription' object.
-It uses the SOAP protocol related classes and creates 'Binding' element
-of 'SOAP' protocol which are then added to the 'ServiceDescription' object.
-An output wsdl file is generated from 'ServiceDescription' object which
-could be used for generating a proxy.
-*/
-
-//
- using System;
- using System.Web.Services.Description;
- using System.Collections;
- using System.Xml;
-
- public class MySampleClass
- {
- public static void Main()
- {
- ServiceDescription myServiceDescription =
- ServiceDescription.Read("SoapHeaderBindingInput_cs.wsdl");
- Binding myBinding = new Binding();
- myBinding.Name = "MyWebServiceSoap";
- myBinding.Type =new XmlQualifiedName("s0:MyWebServiceSoap");
-
- SoapBinding mySoapBinding =new SoapBinding();
- mySoapBinding.Transport="http://schemas.xmlsoap.org/soap/http";
- mySoapBinding.Style=SoapBindingStyle.Document;
- myBinding.Extensions.Add(mySoapBinding);
-
- OperationBinding myOperationBinding = new OperationBinding();
- myOperationBinding.Name = "Hello";
-
- SoapOperationBinding mySoapOperationBinding =
- new SoapOperationBinding();
- mySoapOperationBinding.SoapAction = "http://tempuri.org/Hello";
- mySoapOperationBinding.Style=SoapBindingStyle.Document;
- myOperationBinding.Extensions.Add(mySoapOperationBinding);
-
- // Create InputBinding for operation for the 'SOAP' protocol.
- InputBinding myInputBinding = new InputBinding();
- SoapBodyBinding mySoapBodyBinding = new SoapBodyBinding();
- mySoapBodyBinding.Use = SoapBindingUse.Literal;
- myInputBinding.Extensions.Add(mySoapBodyBinding);
- SoapHeaderBinding mySoapHeaderBinding=new SoapHeaderBinding();
- mySoapHeaderBinding.Message=new XmlQualifiedName("s0:HelloMyHeader");
- mySoapHeaderBinding.Part="MyHeader";
- mySoapHeaderBinding.Use=SoapBindingUse.Literal;
- // Add mySoapHeaderBinding to 'myInputBinding' object.
- myInputBinding.Extensions.Add(mySoapHeaderBinding);
- // Create OutputBinding for operation for the 'SOAP' protocol.
- OutputBinding myOutputBinding = new OutputBinding();
- myOutputBinding.Extensions.Add(mySoapBodyBinding);
-
- // Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding.Input = myInputBinding;
- myOperationBinding.Output = myOutputBinding;
- myBinding.Operations.Add(myOperationBinding);
-
- myServiceDescription.Bindings.Add(myBinding);
- myServiceDescription.Write("SoapHeaderBindingOut_cs.wsdl");
- Console.WriteLine("'SoapHeaderBindingOut_cs.wsdl' file is generated.");
- Console.WriteLine("Proxy could be created using "
- +"'wsdl SoapHeaderBindingOut_cs.wsdl'.");
- }
-}
-//
diff --git a/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb b/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb
deleted file mode 100644
index 82697b6ff1f..00000000000
--- a/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb
+++ /dev/null
@@ -1,207 +0,0 @@
-'
-Imports System.Security.Permissions
-Imports System.Web.Services
-Imports System.Web.Services.Protocols
-Imports System.IO
-Imports System.Text
-Imports System.Web.Services.Configuration
-Imports System.Web.Services.Description
-Imports System.Xml.Serialization
-Imports System.CodeDom
-
-' The YMLAttribute allows a developer to specify that the YML SOAP
-' extension run on a per-method basis. The disabled property
-' turns reversing the XML on and off.
-
- _
-Public Class YMLAttribute
- Inherits SoapExtensionAttribute
- Dim _priority As Integer = 0
- Dim _disabled As Boolean = False
-
- Public Sub New()
- Me.New(False)
- End Sub
-
- Public Sub New(ByVal Disabled As Boolean)
- _disabled = Disabled
- End Sub
-
- Public Overrides ReadOnly Property ExtensionType() As Type
- Get
- Return GetType(YMLExtension)
- End Get
- End Property
-
- Public Overrides Property Priority() As Integer
- Get
- Return _priority
- End Get
- Set(ByVal Value As Integer)
- _priority = Value
- End Set
- End Property
-
- Public Property Disabled() As Boolean
- Get
- Return _disabled
- End Get
- Set(ByVal Value As Boolean)
- _disabled = Value
- End Set
- End Property
-End Class
-
-Public Class YMLExtension
- Inherits SoapExtension
- Dim _disabled As Boolean = False
- Dim oldStream As Stream
- Dim newStream As Stream
-
- Public Overloads Overrides Function GetInitializer( _
- ByVal methodInfo As LogicalMethodInfo, _
- ByVal attribute As SoapExtensionAttribute) As Object
-
- Dim attr As YMLAttribute = attribute
- If (Not attr Is Nothing) Then
- Return attr.Disabled
- End If
- Return False
- End Function
-
- Public Overloads Overrides Function GetInitializer( _
- ByVal WebServiceType As Type) As Object
- Return False
- End Function
-
- Public Overrides Sub Initialize(ByVal initializer As Object)
- If (TypeOf initializer Is Boolean) Then
- _disabled = CBool(initializer)
- End If
- End Sub
-
- Public Overrides Function ChainStream(ByVal streamref As Stream) As Stream
- If (_disabled) Then
- Return CType(Me, SoapExtension).ChainStream(streamref)
- End If
- oldStream = streamref
- newStream = New MemoryStream()
- Return newStream
- End Function
-
- Public Overrides Sub ProcessMessage(ByVal message As SoapMessage)
- If (_disabled) Then Return
- Select Case (message.Stage)
- Case SoapMessageStage.BeforeSerialize
- Encode(message)
- Case SoapMessageStage.AfterSerialize
- newStream.Position = 0
- Reverse(newStream, oldStream)
- Case SoapMessageStage.BeforeDeserialize
- Decode(message)
- Case SoapMessageStage.AfterDeserialize
- End Select
- End Sub
-
- Sub Encode(ByRef message As SoapMessage)
- message.ContentType = "text/yml"
- End Sub
-
- Sub Decode(ByVal message As SoapMessage)
- If (message.ContentType <> "text/yml") Then
- Throw New Exception("invalid content type:" & message.ContentType)
- End If
- Reverse(oldStream, newStream)
- newStream.Position = 0
- message.ContentType = "text/xml"
- End Sub
-
- Sub Reverse(ByVal source As Stream, ByVal dest As Stream)
- Dim reader As TextReader = New StreamReader(source)
- Dim writer As TextWriter = New StreamWriter(dest)
- Dim line As String
- line = reader.ReadLine()
- While (Not line Is Nothing)
- writer.WriteLine(StrReverse(line))
- line = reader.ReadLine()
- End While
- writer.Flush()
- End Sub
-End Class
-
-
-' The YMLReflector class is part of the YML SDFE, as it is
-' called during the service description generation process.
- _
-Public Class YMLReflector
- Inherits SoapExtensionReflector
- Public Overrides Sub ReflectMethod()
- Dim reflector As ProtocolReflector = ReflectionContext
- Dim attr As YMLAttribute = _
- reflector.Method.GetCustomAttribute(GetType(YMLAttribute))
- ' If the YMLAttribute has been applied to this XML Web service
- ' method, add the XML defined in the YMLOperationBinding class.
- If (Not attr Is Nothing) Then
- Dim yml As YMLOperationBinding = New YMLOperationBinding()
- yml.Reverse = Not attr.Disabled
- reflector.OperationBinding.Extensions.Add(yml)
- End If
- End Sub
-End Class
-
-' The YMLImporter class is part of the YML SDFE, as it is called when a
-' proxy class is generated for each XML Web service method the proxy class
-' communicates with. The class checks whether the service description
-' contains the XML that this SDFE adds to a service description. If it
-' exists, then the YMLExtension is applied to the method in the proxy class.
- _
-Public Class YMLImporter
- Inherits SoapExtensionImporter
- Public Overrides Sub ImportMethod( _
- ByVal metadata As CodeAttributeDeclarationCollection)
- Dim importer As SoapProtocolImporter = ImportContext
- ' Check whether the XML specified in the YMLOperationBinding is
- ' in the service description.
- Dim yml As YMLOperationBinding = _
- importer.OperationBinding.Extensions.Find( _
- GetType(YMLOperationBinding))
- If (Not yml Is Nothing) Then
- ' Only apply the YMLAttribute to the method when the XML
- ' should be reversed.
- If (yml.Reverse) Then
- Dim attr As CodeAttributeDeclaration = _
- New CodeAttributeDeclaration(GetType(YMLAttribute).FullName)
- attr.Arguments.Add( _
- New CodeAttributeArgument(New CodePrimitiveExpression(True)))
- metadata.Add(attr)
- End If
- End If
- End Sub
-End Class
-
-'
-' The YMLOperationBinding class is part of the YML SDFE, as it is the
-' class that is serialized into XML and is placed in the service
-' description.
- _
-Public Class YMLOperationBinding
- Inherits ServiceDescriptionFormatExtension
- Private _reverse As Boolean
- Public Const YMLNamespace As String = "http://www.contoso.com/yml"
-
- _
- Public Property Reverse() As Boolean
- Get
- Return _reverse
- End Get
- Set(ByVal Value As Boolean)
- _reverse = Value
- End Set
- End Property
-
-End Class
-'
-'
-
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/AddNumbersInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/AddNumbersInput_vb.wsdl
deleted file mode 100644
index 2c93e30884e..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/AddNumbersInput_vb.wsdl
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/Service1_vb.asmx b/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/Service1_vb.asmx
deleted file mode 100644
index 40d6454911e..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/Service1_vb.asmx
+++ /dev/null
@@ -1,16 +0,0 @@
-<%@ WebService Language="VB" Class="Service1" %>
-Imports System
-Imports System.Collections
-Imports System.ComponentModel
-Imports System.Data
-Imports System.Diagnostics
-Imports System.Web
-Imports System.Web.Services
-
-Public Class Service1
- Inherits WebService
- _
- Public Function AddNumbers(firstNumber As Integer, secondNumber As Integer) As Integer
- Return firstNumber + secondNumber
- End Function 'AddNumbers
-End Class 'Service1
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/soapprotocol.vb b/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/soapprotocol.vb
deleted file mode 100644
index 3011a7cef7f..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/soapprotocol.vb
+++ /dev/null
@@ -1,166 +0,0 @@
-' System.Web.Services.Description.SoapBinding.ctor
-' System.Web.Services.Description.SoapBinding.Transport
-' System.Web.Services.Description.SoapBinding.Style
-' System.Web.Services.Description.SoapBindingStyle.Document
-' System.Web.Services.Description.SoapOperationBinding.ctor
-' System.Web.Services.Description.SoapOperationBinding.SoapAction
-' System.Web.Services.Description.SoapOperationBinding.Style
-' System.Web.Services.Description.SoapBodyBinding.ctor
-' System.Web.Services.Description.SoapBodyBinding.Use
-' System.Web.Services.Description.SoapBindingUse.Literal
-' System.Web.Services.Description.SoapAddressBinding.ctor
-' System.Web.Services.Description.SoapAddressBinding.Location
-
-' The following example demonstrates the 'SoapBinding' constructor,'Transport','Style'
-' properties of 'SoapBinding' class,'Document' member of 'SoapBindingStyle' enum,
-' 'SoapOperationBinding' constructor,'SoapAction','Style' properties of 'SoapOperationBinding'
-' class, 'SoapBodyBinding' contructor,'Use' property of 'SoapBodyBinding' class,
-' 'Literal' member of 'SoapBindingUse' enum and 'SoapAddressBinding' constructor, 'Location'
-' property of class 'SoapAddressBinding'.
-
-' It takes as input a wsdl file which supports two protocols 'HttpGet' and 'HttpPost' .
-' By using the 'Read' method of 'ServiceDescription' class it gets a 'ServiceDescription'
-' object. It uses the SOAP protocol related classes and creates 'Binding','Port',
-' 'PortType' and 'Message' elements of 'SOAP' protocol. It adds all these elements to
-' the 'ServiceDescription' object. The 'ServiceDescription' object creates another
-' wsdl file which supports 'SOAP' also. This wsdl file is used to generate a proxy
-' which is used by the .aspx file.
-' Note: To run the example run the make file provided and open the '.aspx' file in browser.
-
-Imports System.Web.Services.Description
-Imports System.Collections
-Imports System.Xml
-
-Class MySoapClass
-
- Public Shared Sub Main()
- Dim myDescription As ServiceDescription = _
- ServiceDescription.Read("AddNumbersInput_vb.wsdl")
- ' Create a 'Binding' object for the 'SOAP' protocol.
- Dim myBinding As New Binding()
- myBinding.Name = "Service1Soap"
- Dim qualifiedName As New XmlQualifiedName("s0:Service1Soap")
- myBinding.Type = qualifiedName
-
-'
-'
-'
-'
- Dim mySoapBinding As New SoapBinding()
- mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http"
- mySoapBinding.Style = SoapBindingStyle.Document
- ' Add the 'SoapBinding' object to the 'Binding' object.
- myBinding.Extensions.Add(mySoapBinding)
-'
-'
-'
-'
-
- ' Create the 'OperationBinding' object for the 'SOAP' protocol.
- Dim myOperationBinding As New OperationBinding()
- myOperationBinding.Name = "AddNumbers"
-
-'
-'
-'
- ' Create the 'SoapOperationBinding' object for the 'SOAP' protocol.
- Dim mySoapOperationBinding As New SoapOperationBinding()
- mySoapOperationBinding.SoapAction = "http://tempuri.org/AddNumbers"
- mySoapOperationBinding.Style = SoapBindingStyle.Document
- ' Add the 'SoapOperationBinding' object to 'OperationBinding' object.
- myOperationBinding.Extensions.Add(mySoapOperationBinding)
-'
-'
-'
-
-'
-'
-'
- ' Create the 'InputBinding' object for the 'SOAP' protocol.
- Dim myInput As New InputBinding()
- Dim mySoapBinding1 As New SoapBodyBinding()
- mySoapBinding1.Use = SoapBindingUse.Literal
- myInput.Extensions.Add(mySoapBinding1)
- ' Add the 'InputBinding' object to 'OperationBinding' object.
- myOperationBinding.Input = myInput
- ' Create the 'OutputBinding' object'.
- Dim myOutput As New OutputBinding()
- myOutput.Extensions.Add(mySoapBinding1)
- ' Add the 'OutputBinding' object to 'OperationBinding' object.
- myOperationBinding.Output = myOutput
- ' Add the 'OperationBinding' object to 'Binding' object.
- myBinding.Operations.Add(myOperationBinding)
- ' Add the 'Binding' object to the ServiceDescription instance.
- myDescription.Bindings.Add(myBinding)
-'
-'
-'
-
-'
-'
- Dim soapPort As New Port()
- soapPort.Name = "Service1Soap"
- soapPort.Binding = New XmlQualifiedName("s0:Service1Soap")
- ' Create a 'SoapAddressBinding' object for the 'SOAP' protocol.
- Dim mySoapAddressBinding As New SoapAddressBinding()
- mySoapAddressBinding.Location = "http://localhost/Service1_vb.asmx"
- ' Add the 'SoapAddressBinding' object to the 'Port'.
- soapPort.Extensions.Add(mySoapAddressBinding)
- ' Add the 'Port' object to the ServiceDescription instance.
- myDescription.Services(0).Ports.Add(soapPort)
-'
-'
-
- ' Create a 'PortType' object. for SOAP protocol.
- Dim soapPortType As New PortType()
- soapPortType.Name = "Service1Soap"
- Dim soapOperation As New Operation()
- soapOperation.Name = "AddNumbers"
-
- Dim soapInput As OperationMessage = _
- CType(New OperationInput(), OperationMessage)
- soapInput.Message = New XmlQualifiedName("s0:AddNumbersSoapIn")
- Dim soapOutput As OperationMessage = _
- CType(New OperationOutput(), OperationMessage)
- soapOutput.Message = New XmlQualifiedName("s0:AddNumbersSoapOut")
-
- soapOperation.Messages.Add(soapInput)
- soapOperation.Messages.Add(soapOutput)
-
- ' Add the 'Operation' object to 'PortType' object.
- soapPortType.Operations.Add(soapOperation)
-
- ' Add the 'PortType' object first to 'PortTypeCollection' object
- ' and then to 'ServiceDescription' object.
- myDescription.PortTypes.Add(soapPortType)
-
- ' Create the 'Message' object.
- Dim soapMessage1 As New Message()
- soapMessage1.Name = "AddNumbersSoapIn"
- ' Create the 'MessageParts' object.
- Dim soapMessagePart1 As New MessagePart()
- soapMessagePart1.Name = "parameters"
- soapMessagePart1.Element = New XmlQualifiedName("s0:AddNumbers")
-
- ' Add the 'MessagePart' object to 'Messages' object.
- soapMessage1.Parts.Add(soapMessagePart1)
-
- ' Create another 'Message' object.
- Dim soapMessage2 As New Message()
- soapMessage2.Name = "AddNumbersSoapOut"
-
- Dim soapMessagePart2 As New MessagePart()
- soapMessagePart2.Name = "parameters"
- soapMessagePart2.Element = New XmlQualifiedName("s0:AddNumbersResponse")
- ' Add the 'MessagePart' object to second 'Message' object.
- soapMessage2.Parts.Add(soapMessagePart2)
-
- ' Add the 'Message' objects to 'ServiceDescription'.
- myDescription.Messages.Add(soapMessage1)
- myDescription.Messages.Add(soapMessage2)
-
- ' Write the 'ServiceDescription' object as a WSDL file.
- myDescription.Write("AddNumbersOut_vb.wsdl")
- Console.WriteLine(" 'AddNumbersOut.Wsdl' file was generated")
- End Sub
-End Class
\ No newline at end of file
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/SoapBindingStyleInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/SoapBindingStyleInput_vb.wsdl
deleted file mode 100644
index c6c686f671b..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/SoapBindingStyleInput_vb.wsdl
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.vb b/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.vb
deleted file mode 100644
index de22a5ca592..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.vb
+++ /dev/null
@@ -1,101 +0,0 @@
-' System.Web.Services.Description.SoapBindingStyle.Rpc
-' System.Web.Services.Description.SoapBindingUse.Encoded
-' System.Web.Services.Description.SoapBodyBinding.Encoding
-' System.Web.Services.Description.SoapBodyBinding.Namespace
-' System.Web.Services.Description.SoapHeaderBinding.Encoding
-' System.Web.Services.Description.SoapHeaderBinding.Namespace
-
-' The following example demonstrates the 'Rpc' member of 'SoapBindingStyle'
-' enumeration ,'Encoded' member of 'SoapBindingUse' enumeration ,'Encoding'
-' and 'Namespace' properties of 'SoapBodyBinding' class and 'Encoding'
-' and 'Namespace' properties of 'SoapHeaderBinding' class.
-' It takes as input a wsdl file which does not contain a binding for SOAP.
-' By using the 'Read' method of 'ServiceDescription' class it gets a 'ServiceDescription' object.
-' It uses the SOAP protocol related classes and creates 'Binding' element
-' of 'SOAP' protocol which are then added to the 'ServiceDescription' object.
-' An output wsdl file is generated from 'ServiceDescription' object which
-' could be used for generating a proxy.
-
-Imports System.Web.Services.Description
-Imports System.Collections
-Imports System.Xml
-
-Public Class MySoapBindingClass
-
- Public Shared Sub Main()
- Dim myServiceDescription As ServiceDescription = _
- ServiceDescription.Read("SoapBindingStyleInput_vb.wsdl")
- Dim myBinding As New Binding()
- myBinding.Name = "SOAPSvrMgr_SOAPBinding"
- myBinding.Type = New XmlQualifiedName("tns:SOAPSvrMgr_portType")
-
-'
- Dim mySoapBinding As New SoapBinding()
- mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http"
- ' Message to be transmitted contains parameters to call a procedure.
- mySoapBinding.Style = SoapBindingStyle.Rpc
- myBinding.Extensions.Add(mySoapBinding)
-'
-
- Dim myOperationBinding As New OperationBinding()
- myOperationBinding.Name = "GetServerStats"
-
- Dim mySoapOperationBinding As New SoapOperationBinding()
- mySoapOperationBinding.SoapAction = "http://tempuri.org/soapsvcmgr/GetServerStats"
- myOperationBinding.Extensions.Add(mySoapOperationBinding)
-
- ' Create InputBinding for operation for the 'SOAP' protocol.
- Dim myInputBinding As New InputBinding()
-'
-'
-'
- Dim mySoapBodyBinding As New SoapBodyBinding()
- ' Encode SOAP body using rules specified by the 'Encoding' property.
- mySoapBodyBinding.Use = SoapBindingUse.Encoded
- ' Set URI representing the encoding style for encoding the body.
- mySoapBodyBinding.Encoding = "http://schemas.xmlsoap.org/soap/encoding/"
- ' Set the Uri representing the location of the specification
- ' for encoding of content not defined by 'Encoding' property'.
- mySoapBodyBinding.Namespace = "http://tempuri.org/soapsvcmgr/"
- myInputBinding.Extensions.Add(mySoapBodyBinding)
-'
-'
-'
-
-'
-'
- Dim mySoapHeaderBinding As New SoapHeaderBinding()
- mySoapHeaderBinding.Message = New XmlQualifiedName("tns:Soapsvcmgr_Headers_Request")
- mySoapHeaderBinding.Part = "AuthCS"
- ' Encode SOAP header using rules specified by the 'Encoding' property.
- mySoapHeaderBinding.Use = SoapBindingUse.Encoded
- ' Set URI representing the encoding style for encoding the header.
- mySoapHeaderBinding.Encoding = "http://schemas.xmlsoap.org/soap/encoding/"
- ' Set the Uri representing the location of the specification
- ' for encoding of content not defined by 'Encoding' property'.
- mySoapHeaderBinding.Namespace = "http://tempuri.org/SOAPSvr/soapsvcmgr/headers.xsd"
- ' Add mySoapHeaderBinding to the 'myInputBinding' object.
- myInputBinding.Extensions.Add(mySoapHeaderBinding)
-'
-'
-
- ' Create OutputBinding for operation.
- Dim myOutputBinding As New OutputBinding()
- myOutputBinding.Extensions.Add(mySoapBodyBinding)
- mySoapHeaderBinding.Part = "AuthSC"
- mySoapHeaderBinding.Message = _
- New XmlQualifiedName("tns:Soapsvcmgr_Headers_Response")
- myOutputBinding.Extensions.Add(mySoapHeaderBinding)
-
- ' Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding.Input = myInputBinding
- myOperationBinding.Output = myOutputBinding
- myBinding.Operations.Add(myOperationBinding)
-
- myServiceDescription.Bindings.Add(myBinding)
- myServiceDescription.Write("SoapBindingStyleOutput_vb.wsdl")
- Console.WriteLine("'SoapBindingStyleOutput_vb.wsdl' file is generated.")
- Console.WriteLine("Proxy could be created using command" + _
- " 'wsdl /language:VB SoapBindingStyleOutput_vb.wsdl'")
- End Sub
-End Class
\ No newline at end of file
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/SoapFaultInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/SoapFaultInput_vb.wsdl
deleted file mode 100644
index 03b34dee9a3..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/SoapFaultInput_vb.wsdl
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb b/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb
deleted file mode 100644
index 194a399fe1e..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb
+++ /dev/null
@@ -1,89 +0,0 @@
-' System.Web.Services.Description.SoapBodyBinding.PartsString
-' System.Web.Services.Description.SoapFaultBinding.ctor
-' System.Web.Services.Description.SoapFaultBinding.Use
-' System.Web.Services.Description.SoapFaultBinding.Encoding
-' System.Web.Services.Description.SoapFaultBinding.NameSpace
-
-' The following example demonstrates the 'PartsString' property of 'SoapBodyBinding' class.
-' and constructor, 'Encoding', 'NameSpace' and 'Use'properties of 'SoapFaultBinding' class and
-
-' It creates an instance of 'ServiceDescription' class by reading an existing
-' wsdl file. Then it creates an instance of 'SoapFaultBinding' and adds it to
-' the collection object of 'Binding' class. It generates a new wsdl file where
-' the properties of 'SoapFaultBinding' objects are reflected and which could be
-' used for generating a proxy.
-
-Imports System.Web.Services.Description
-
-Public Class MySoapFaultBindingSample
- Public Shared Sub Main()
- Try
- ' Input wsdl file.
- Dim myInputWsdlFile As String = "SoapFaultInput_vb.wsdl"
- ' Output wsdl file.
- Dim myOutputWsdlFile As String = "SoapFaultOutput_vb.wsdl"
- ' Initialize an instance of a 'ServiceDescription' object.
- Dim myServiceDescription As ServiceDescription = _
- ServiceDescription.Read(myInputWsdlFile)
- ' Get a SOAP binding object with binding name "MyService1Soap".
- Dim myBinding As Binding = myServiceDescription.Bindings("MyService1Soap")
- ' Create the 'OperationBinding' object for the 'SOAP' protocol.
- Dim myOperationBinding As New OperationBinding()
- myOperationBinding.Name = "Add"
-
- ' Create the 'SoapOperationBinding' object for the 'SOAP' protocol.
- Dim mySoapOperationBinding As New SoapOperationBinding()
- mySoapOperationBinding.SoapAction = "http://tempuri.org/Add"
- mySoapOperationBinding.Style = SoapBindingStyle.Document
- ' Add the 'SoapOperationBinding' object to 'OperationBinding' object.
- myOperationBinding.Extensions.Add(mySoapOperationBinding)
-'
- ' Create the 'InputBinding' object for the 'SOAP' protocol.
- Dim myInput As New InputBinding()
- Dim mySoapBinding1 As New SoapBodyBinding()
- mySoapBinding1.PartsString = "parameters"
- mySoapBinding1.Use = SoapBindingUse.Literal
- myInput.Extensions.Add(mySoapBinding1)
- ' Assign the 'InputBinding' to 'OperationBinding'.
- myOperationBinding.Input = myInput
- ' Create the 'OutputBinding' object' for the 'SOAP' protocol..
- Dim myOutput As New OutputBinding()
- myOutput.Extensions.Add(mySoapBinding1)
- ' Assign the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding.Output = myOutput
-'
-
-'
-'
-'
-'
- ' Create a new instance of 'SoapFaultBinding' class.
- Dim mySoapFaultBinding As New SoapFaultBinding()
- ' Encode fault message using rules specified by 'Encoding' property.
- mySoapFaultBinding.Use = SoapBindingUse.Encoded
- ' Set the URI representing the encoding style.
- mySoapFaultBinding.Encoding = "http://tempuri.org/stockquote"
- ' Set the URI representing the location of the specification
- ' for encoding of content not defined by 'Encoding' property'.
- mySoapFaultBinding.Namespace = "http://tempuri.org/stockquote"
- ' Create a new instance of 'FaultBinding'.
- Dim myFaultBinding As New FaultBinding()
- myFaultBinding.Name = "AddFaultbinding"
- myFaultBinding.Extensions.Add(mySoapFaultBinding)
- ' Get existing 'OperationBinding' object.
- myOperationBinding.Faults.Add(myFaultBinding)
- myBinding.Operations.Add(myOperationBinding)
-'
-'
-'
-'
- ' Create a new wsdl file.
- myServiceDescription.Write(myOutputWsdlFile)
- Console.WriteLine("The new wsdl file created is :" + myOutputWsdlFile)
- Console.WriteLine("Proxy could be created using command : wsdl /language:VB " + _
- myOutputWsdlFile)
- Catch e As Exception
- Console.WriteLine("Error occurred : " + e.Message)
- End Try
- End Sub
-End Class
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/SoapFaultBindingInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/SoapFaultBindingInput_vb.wsdl
deleted file mode 100644
index de9a64d0e51..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/SoapFaultBindingInput_vb.wsdl
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.vb b/snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.vb
deleted file mode 100644
index 4e5804d53d1..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.vb
+++ /dev/null
@@ -1,50 +0,0 @@
-' System.Web.Services.Description.SoapFaultBinding
-
-' The following example demonstrates 'SoapFaultBinding' class.
-' It creates an instance of 'ServiceDescription' class by reading an existing
-' wsdl file. Then it creates an instance of 'SoapFaultBinding' and adds it to
-' the collection object of 'Binding' class. It generates a new wsdl file where
-' the properties of 'SoapFaultBinding' objects are reflected and which could be
-' used for generating a proxy.
-
-'
-Imports System.Web.Services.Description
-
-Public Class MySoapFaultBindingSample
-
- Public Shared Sub Main()
- Try
- ' Input wsdl file.
- Dim myInputWsdlFile As String = "SoapFaultBindingInput_vb.wsdl"
- ' Output wsdl file.
- Dim myOutputWsdlFile As String = "SoapFaultBindingOutput_vb.wsdl"
- ' Initialize an instance of a 'ServiceDescription' object.
- Dim myServiceDescription As ServiceDescription = ServiceDescription.Read(myInputWsdlFile)
- ' Get a SOAP binding object with binding name "MyService1Soap".
- Dim myBinding As Binding = myServiceDescription.Bindings("MyService1Soap")
- ' Create a new instance of 'SoapFaultBinding' class.
- Dim mySoapFaultBinding As New SoapFaultBinding()
- ' Encode fault message using rules specified by 'Encoding' property.
- mySoapFaultBinding.Use = SoapBindingUse.Encoded
- ' Set the URI representing the encoding style.
- mySoapFaultBinding.Encoding = "http://tempuri.org/stockquote"
- ' Set the URI representing the location of the specification
- ' for encoding of content not defined by 'Encoding' property'.
- mySoapFaultBinding.Namespace = "http://tempuri.org/stockquote"
- ' Create a new instance of 'FaultBinding'.
- Dim myFaultBinding As New FaultBinding()
- myFaultBinding.Name = "AddFaultbinding"
- myFaultBinding.Extensions.Add(mySoapFaultBinding)
- ' Get existing 'OperationBinding' object.
- Dim myOperationBinding As OperationBinding = myBinding.Operations(0)
- myOperationBinding.Faults.Add(myFaultBinding)
- ' Create a new wsdl file.
- myServiceDescription.Write(myOutputWsdlFile)
- Console.WriteLine("The new wsdl file created is :" + myOutputWsdlFile)
- Console.WriteLine("Proxy could be created using command : wsdl /language:VB " + myOutputWsdlFile)
- Catch e As Exception
- Console.WriteLine("Error occurred : " + e.Message.ToString())
- End Try
- End Sub
-End Class
-'
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/MapToProperty_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/MapToProperty_vb.wsdl
deleted file mode 100644
index 72f8aa485d7..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/MapToProperty_vb.wsdl
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This Web Service method requires a client to send the MyHeader SOAP header.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/soapheaderbinding_maptoproperty.vb b/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/soapheaderbinding_maptoproperty.vb
deleted file mode 100644
index e5ca6c53112..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/soapheaderbinding_maptoproperty.vb
+++ /dev/null
@@ -1,36 +0,0 @@
-' System.Web.Services.Description.SoapHeaderBinding.MapToProperty
-'
-' The following example demonstrates the 'MapToProperty' property of class 'SoapHeaderBinding'.
-' It reads an existing wsdl file and gets 'SoapHeaderBinding' instance from it.
-' 'MapToProperty' property of this instance is checked to see whether this instance
-' is mapped to a specific property in proxy class or not.
-'
-Option Explicit On
-Option Strict On
-Imports System.Web.Services.Description
-
-Public Class MapToPropertySample
-
- Public Shared Sub Main()
-'
- ' Read from an existing wsdl file.
- Dim myServiceDescription As ServiceDescription = ServiceDescription.Read( _
- "MapToProperty_vb.wsdl")
- ' Get the existing binding
- Dim myBinding As Binding = myServiceDescription.Bindings("MyWebServiceSoap")
- Dim myOperationBinding As OperationBinding = CType(myBinding.Operations(0), _
- OperationBinding)
- Dim myInputBinding As InputBinding = myOperationBinding.Input
- ' Get the 'SoapHeaderBinding' instance from 'myInputBinding'.
- Dim mySoapHeaderBinding As SoapHeaderBinding = CType(myInputBinding.Extensions(1), _
- SoapHeaderBinding)
- If mySoapHeaderBinding.MapToProperty Then
- Console.WriteLine("'SoapHeaderBinding' instance is mapped to a " & _
- "specific property in proxy generated class")
- Else
- Console.WriteLine("'SoapHeaderBinding' instance is not mapped to " & _
- "a specific property in proxy generated class")
- End If
-'
- End Sub
-End Class
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/SoapHeaderBindingInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/SoapHeaderBindingInput_vb.wsdl
deleted file mode 100644
index 94df6f76cf5..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/SoapHeaderBindingInput_vb.wsdl
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This Web Service method requires a client to send the MyHeader SOAP header.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.vb b/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.vb
deleted file mode 100644
index 1e8835fc46d..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.vb
+++ /dev/null
@@ -1,77 +0,0 @@
-' System.Web.Services.Description.SoapHeaderBinding.SoapHeaderBinding
-' System.Web.Services.Description.SoapHeaderBinding.Message
-' System.Web.Services.Description.SoapHeaderBinding.Part
-' System.Web.Services.Description.SoapHeaderBinding.Use
-
-' The following example demonstrates the constructor, 'Message' , 'Part'
-' and 'Use' properties of the class 'SoapHeaderBinding'.
-' It takes as input a wsdl file. The binding element corresponding to
-' SOAP protocol is removed from the input file. By using the 'Read' method
-' of 'ServiceDescription' class it gets a 'ServiceDescription' object.
-' It uses the SOAP protocol related classes and creates 'Binding' element
-' of 'SOAP' protocol which are then added to the 'ServiceDescription' object.
-' An output wsdl file is generated from 'ServiceDescription' object which
-' could be used for generating a proxy.
-
-Imports System.Web.Services.Description
-Imports System.Collections
-Imports System.Xml
-
-Public Class MySampleClass
- Public Shared Sub Main()
- Dim myServiceDescription As ServiceDescription = _
- ServiceDescription.Read("SoapHeaderBindingInput_vb.wsdl")
- Dim myBinding As New Binding()
- myBinding.Name = "MyWebServiceSoap"
- myBinding.Type = New XmlQualifiedName("s0:MyWebServiceSoap")
-
- Dim mySoapBinding As New SoapBinding()
- mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http"
- mySoapBinding.Style = SoapBindingStyle.Document
- myBinding.Extensions.Add(mySoapBinding)
-
- Dim myOperationBinding As New OperationBinding()
- myOperationBinding.Name = "Hello"
-
- Dim mySoapOperationBinding As New SoapOperationBinding()
- mySoapOperationBinding.SoapAction = "http://tempuri.org/Hello"
- mySoapOperationBinding.Style = SoapBindingStyle.Document
- myOperationBinding.Extensions.Add(mySoapOperationBinding)
-
- ' Create InputBinding for operation for the 'SOAP' protocol.
- Dim myInputBinding As New InputBinding()
- Dim mySoapBodyBinding As New SoapBodyBinding()
- mySoapBodyBinding.Use = SoapBindingUse.Literal
- myInputBinding.Extensions.Add(mySoapBodyBinding)
-'
-'
-'
-'
- Dim mySoapHeaderBinding As New SoapHeaderBinding()
- ' Set the Message within the XML Web service to which the
- ' 'SoapHeaderBinding' applies.
- mySoapHeaderBinding.Message = New XmlQualifiedName("s0:HelloMyHeader")
- mySoapHeaderBinding.Part = "MyHeader"
- mySoapHeaderBinding.Use = SoapBindingUse.Literal
- ' Add mySoapHeaderBinding to the 'myInputBinding' object.
- myInputBinding.Extensions.Add(mySoapHeaderBinding)
-'
-'
-'
-'
- ' Create OutputBinding for operation for the 'SOAP' protocol.
- Dim myOutputBinding As New OutputBinding()
- myOutputBinding.Extensions.Add(mySoapBodyBinding)
-
- ' Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding.Input = myInputBinding
- myOperationBinding.Output = myOutputBinding
- myBinding.Operations.Add(myOperationBinding)
-
- myServiceDescription.Bindings.Add(myBinding)
- myServiceDescription.Write("SoapHeaderBindingOut_vb.wsdl")
- Console.WriteLine("'SoapHeaderBindingOut_vb.wsdl' file is generated.")
- Console.WriteLine("Proxy could be created using " + _
- "'wsdl /language:VB SoapHeaderBindingOut_vb.wsdl'.")
- End Sub
-End Class
\ No newline at end of file
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/SoapHeaderBindingInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/SoapHeaderBindingInput_vb.wsdl
deleted file mode 100644
index 94df6f76cf5..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/SoapHeaderBindingInput_vb.wsdl
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This Web Service method requires a client to send the MyHeader SOAP header.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.vb b/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.vb
deleted file mode 100644
index 89114350be3..00000000000
--- a/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.vb
+++ /dev/null
@@ -1,64 +0,0 @@
-' System.Web.Services.Description.SoapHeaderBinding
-
-' The following example demonstrates the class 'SoapHeaderBinding'.
-' It takes as input a wsdl file. By using the 'Read' method
-' of 'ServiceDescription' class it gets a 'ServiceDescription' object.
-' It uses the SOAP protocol related classes and creates 'Binding' element
-' of 'SOAP' protocol which are then added to the 'ServiceDescription' object.
-' An output wsdl file is generated from 'ServiceDescription' object which
-' could be used for generating a proxy.
-
-'
-Imports System.Web.Services.Description
-Imports System.Collections
-Imports System.Xml
-
-Public Class MySampleClass
- Public Shared Sub Main()
- Dim myServiceDescription As ServiceDescription = _
- ServiceDescription.Read("SoapHeaderBindingInput_vb.wsdl")
- Dim myBinding As New Binding()
- myBinding.Name = "MyWebServiceSoap"
- myBinding.Type = New XmlQualifiedName("s0:MyWebServiceSoap")
-
- Dim mySoapBinding As New SoapBinding()
- mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http"
- mySoapBinding.Style = SoapBindingStyle.Document
- myBinding.Extensions.Add(mySoapBinding)
-
- Dim myOperationBinding As New OperationBinding()
- myOperationBinding.Name = "Hello"
-
- Dim mySoapOperationBinding As New SoapOperationBinding()
- mySoapOperationBinding.SoapAction = "http://tempuri.org/Hello"
- mySoapOperationBinding.Style = SoapBindingStyle.Document
- myOperationBinding.Extensions.Add(mySoapOperationBinding)
-
- ' Create InputBinding for operation for the 'SOAP' protocol.
- Dim myInputBinding As New InputBinding()
- Dim mySoapBodyBinding As New SoapBodyBinding()
- mySoapBodyBinding.Use = SoapBindingUse.Literal
- myInputBinding.Extensions.Add(mySoapBodyBinding)
- Dim mySoapHeaderBinding As New SoapHeaderBinding()
- mySoapHeaderBinding.Message = New XmlQualifiedName("s0:HelloMyHeader")
- mySoapHeaderBinding.Part = "MyHeader"
- mySoapHeaderBinding.Use = SoapBindingUse.Literal
- ' Add mySoapHeaderBinding to 'myInputBinding' object.
- myInputBinding.Extensions.Add(mySoapHeaderBinding)
- ' Create OutputBinding for operation for the 'SOAP' protocol.
- Dim myOutputBinding As New OutputBinding()
- myOutputBinding.Extensions.Add(mySoapBodyBinding)
-
- ' Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding.Input = myInputBinding
- myOperationBinding.Output = myOutputBinding
- myBinding.Operations.Add(myOperationBinding)
-
- myServiceDescription.Bindings.Add(myBinding)
- myServiceDescription.Write("SoapHeaderBindingOut_vb.wsdl")
- Console.WriteLine("'SoapHeaderBindingOut_vb.wsdl' file is generated.")
- Console.WriteLine("Proxy could be created using " + _
- "'wsdl /language:VB SoapHeaderBindingOut_vb.wsdl'.")
- End Sub
-End Class
-'
\ No newline at end of file
diff --git a/xml/System.Web.Services.Configuration/XmlFormatExtensionAttribute.xml b/xml/System.Web.Services.Configuration/XmlFormatExtensionAttribute.xml
index f17517c23d1..56bc153bfe8 100644
--- a/xml/System.Web.Services.Configuration/XmlFormatExtensionAttribute.xml
+++ b/xml/System.Web.Services.Configuration/XmlFormatExtensionAttribute.xml
@@ -57,10 +57,6 @@
-## Examples
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet1":::
-
]]>
@@ -141,10 +137,6 @@
@@ -332,10 +324,6 @@
@@ -396,10 +384,6 @@
-## Examples
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet2":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet2":::
-
]]>
@@ -435,10 +419,6 @@
diff --git a/xml/System.Web.Services.Configuration/XmlFormatExtensionPointAttribute.xml b/xml/System.Web.Services.Configuration/XmlFormatExtensionPointAttribute.xml
index 603296c5ae4..2eb1228b978 100644
--- a/xml/System.Web.Services.Configuration/XmlFormatExtensionPointAttribute.xml
+++ b/xml/System.Web.Services.Configuration/XmlFormatExtensionPointAttribute.xml
@@ -57,10 +57,6 @@
-## Examples
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet1":::
-
]]>
diff --git a/xml/System.Web.Services.Configuration/XmlFormatExtensionPrefixAttribute.xml b/xml/System.Web.Services.Configuration/XmlFormatExtensionPrefixAttribute.xml
index 4c9492a3a92..b53d89b5dbf 100644
--- a/xml/System.Web.Services.Configuration/XmlFormatExtensionPrefixAttribute.xml
+++ b/xml/System.Web.Services.Configuration/XmlFormatExtensionPrefixAttribute.xml
@@ -57,10 +57,6 @@
-## Examples
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet1":::
-
]]>
@@ -137,10 +133,6 @@
@@ -176,10 +168,6 @@
@@ -215,10 +203,6 @@
diff --git a/xml/System.Web.Services.Description/SoapAddressBinding.xml b/xml/System.Web.Services.Description/SoapAddressBinding.xml
index 8f7e7bd058f..21c0d6d2226 100644
--- a/xml/System.Web.Services.Description/SoapAddressBinding.xml
+++ b/xml/System.Web.Services.Description/SoapAddressBinding.xml
@@ -119,9 +119,6 @@
diff --git a/xml/System.Web.Services.Description/SoapBinding.xml b/xml/System.Web.Services.Description/SoapBinding.xml
index 6fd3e780c60..3924feb6225 100644
--- a/xml/System.Web.Services.Description/SoapBinding.xml
+++ b/xml/System.Web.Services.Description/SoapBinding.xml
@@ -252,11 +252,6 @@
@@ -303,8 +298,6 @@
-## Examples
- SoapBinding_SoapOperationBinding#2
]]>
diff --git a/xml/System.Web.Services.Description/SoapBindingStyle.xml b/xml/System.Web.Services.Description/SoapBindingStyle.xml
index f7ea47b1d88..c6ada0feb89 100644
--- a/xml/System.Web.Services.Description/SoapBindingStyle.xml
+++ b/xml/System.Web.Services.Description/SoapBindingStyle.xml
@@ -38,11 +38,6 @@
-## Examples
- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/CPP/soapprotocol.cpp" id="Snippet3":::
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/soapprotocol.cs" id="Snippet3":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/soapprotocol.vb" id="Snippet3":::
-
]]>
diff --git a/xml/System.Web.Services.Description/SoapBodyBinding.xml b/xml/System.Web.Services.Description/SoapBodyBinding.xml
index 2594d35c4e7..66d9ddc53c0 100644
--- a/xml/System.Web.Services.Description/SoapBodyBinding.xml
+++ b/xml/System.Web.Services.Description/SoapBodyBinding.xml
@@ -129,11 +129,6 @@
-## Examples
- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapBindingStyle_Rpc/CPP/soapbindingstyle_rpc.cpp" id="Snippet3":::
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.cs" id="Snippet3":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.vb" id="Snippet3":::
-
]]>
@@ -184,11 +179,6 @@
-## Examples
- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapBindingStyle_Rpc/CPP/soapbindingstyle_rpc.cpp" id="Snippet4":::
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.cs" id="Snippet4":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.vb" id="Snippet4":::
-
]]>
@@ -290,11 +280,6 @@
-## Examples
- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding_ctor/CPP/soapfaultbinding_ctor.cpp" id="Snippet1":::
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb" id="Snippet1":::
-
]]>
@@ -345,8 +330,6 @@
-## Examples
- SoapBinding_SoapOperationBinding#9
]]>
diff --git a/xml/System.Web.Services.Description/SoapFaultBinding.xml b/xml/System.Web.Services.Description/SoapFaultBinding.xml
index b0f015c6cbf..4f6c5460452 100644
--- a/xml/System.Web.Services.Description/SoapFaultBinding.xml
+++ b/xml/System.Web.Services.Description/SoapFaultBinding.xml
@@ -47,11 +47,6 @@
-## Examples
- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding/CPP/soapfaultbinding.cpp" id="Snippet1":::
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.vb" id="Snippet1":::
-
]]>
@@ -129,11 +124,6 @@
-## Examples
- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding_ctor/CPP/soapfaultbinding_ctor.cpp" id="Snippet4":::
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.cs" id="Snippet4":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb" id="Snippet4":::
-
]]>
@@ -217,11 +207,6 @@
-## Examples
- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding_ctor/CPP/soapfaultbinding_ctor.cpp" id="Snippet5":::
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.cs" id="Snippet5":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb" id="Snippet5":::
-
]]>
@@ -267,11 +252,6 @@
diff --git a/xml/System.Web.Services.Description/SoapHeaderBinding.xml b/xml/System.Web.Services.Description/SoapHeaderBinding.xml
index c5825a342b1..cd7d5534d03 100644
--- a/xml/System.Web.Services.Description/SoapHeaderBinding.xml
+++ b/xml/System.Web.Services.Description/SoapHeaderBinding.xml
@@ -45,11 +45,6 @@
-## Examples
- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding/CPP/soapheaderbinding.cpp" id="Snippet1":::
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.vb" id="Snippet1":::
-
]]>
@@ -212,11 +207,6 @@
@@ -263,11 +253,6 @@
-## Examples
- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding_Use/CPP/soapheaderbinding_use.cpp" id="Snippet2":::
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.cs" id="Snippet2":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.vb" id="Snippet2":::
-
]]>
@@ -357,11 +342,6 @@
@@ -407,8 +387,6 @@
diff --git a/xml/System.Web.Services.Description/SoapOperationBinding.xml b/xml/System.Web.Services.Description/SoapOperationBinding.xml
index a74d6898209..96e928e88a1 100644
--- a/xml/System.Web.Services.Description/SoapOperationBinding.xml
+++ b/xml/System.Web.Services.Description/SoapOperationBinding.xml
@@ -125,11 +125,6 @@
-## Examples
- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/CPP/soapprotocol.cpp" id="Snippet6":::
- :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/soapprotocol.cs" id="Snippet6":::
- :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/soapprotocol.vb" id="Snippet6":::
-
]]>
@@ -175,8 +170,6 @@
From 43ac923c852adfc4ccdcdbc0ed86914f4084cbe1 Mon Sep 17 00:00:00 2001
From: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Date: Thu, 25 Jun 2026 16:15:44 -0700
Subject: [PATCH 5/7] delete netfx snippets
---
.../CPP/bindingcollectionsample2.cpp | 170 ----
.../CPP/bindingcollectionsample1.cpp | 62 --
.../CPP/bindingcollectionsample3.cpp | 51 -
.../CPP/MathService_input_cpp.wsdl | 491 ----------
.../CPP/descriptionnamespacesample1.cpp | 213 ----
.../CPP/MathService_cpp.wsdl | 352 -------
.../CPP/documentableitemsample.cpp | 48 -
.../CPP/faultbindingcollection_add.cpp | 217 -----
.../CPP/faultbindingcollection_item.cpp | 47 -
.../CPP/faultbindingcollection_remove.cpp | 89 --
.../CPP/HttpBinding_ctor_Input_CPP.wsdl | 93 --
.../CPP/httpbinding_ctor.cpp | 93 --
.../CPP/StockQuoteService_cpp.wsdl | 24 -
.../CPP/importcollection_6.cpp | 71 --
.../Importsample/CPP/importsample.cpp | 88 --
.../CPP/messagebinding_sample.cpp | 85 --
.../CPP/messagecollection.cpp | 80 --
.../CPP/messagepartcollection.cpp | 106 --
.../Message_Samples3/CPP/message_samples3.cpp | 58 --
.../CPP/mimecontentbinding_part_4.cpp | 53 -
.../CPP/MimeMultiPartRelatedSample_cpp.wsdl | 121 ---
.../mimemultipartrelatedbinding_parts_2.cpp | 55 --
.../CPP/MimePartCollection_1_Input_cpp.wsdl | 112 ---
.../CPP/mimepartcollection_1.cpp | 66 --
.../CPP/mimepartcollection_8.cpp | 146 ---
.../MimePart_3/CPP/MimePart_3_Input_cpp.wsdl | 107 --
.../MimePart_3/CPP/mimepart_3.cpp | 60 --
.../CPP/MimeTextMatch_5_Input_CPP.wsdl | 96 --
.../MimeTextMatch_5/CPP/mimetextmatch_5.cpp | 138 ---
.../MimeText_Binding_Match_8_Input_CPP.wsdl | 96 --
.../CPP/mimetext_binding_match_8.cpp | 128 ---
.../MimeText_Match_MatchColl_9_Input_CPP.wsdl | 96 --
.../CPP/mimetext_match_matchcoll_9.cpp | 180 ----
.../CPP/MimeXmlBinding_Part_3_Input_CPP.wsdl | 96 --
.../CPP/mimexmlbinding_part_3.cpp | 93 --
.../CPP/MathService_input_cpp.wsdl | 312 ------
...gcollection_operationbindingcollection.cpp | 134 ---
.../CPP/operationbinding_operationbinding.cpp | 127 ---
.../CPP/operationcollection_methods.cpp | 92 --
.../CPP/operationfaultcollection_7.cpp | 114 ---
.../CPP/operationfaultcollection_add.cpp | 54 -
.../CPP/operationfaultcollection_item.cpp | 53 -
.../CPP/operationfault_operationfault.cpp | 55 --
.../CPP/operationflow_enum.cpp | 141 ---
.../CPP/operationinput_operationinput.cpp | 127 ---
.../CPP/operationmessagecollection_sample.cpp | 129 ---
.../CPP/operationmessage_properties.cpp | 64 --
.../CPP/operationoutput_operationoutput.cpp | 127 ---
.../Operation_2/CPP/operation_2.cpp | 155 ---
.../Operation_5/CPP/operation_5.cpp | 72 --
.../Operation_Faults/CPP/operation_faults.cpp | 47 -
.../CPP/operation_isboundby.cpp | 95 --
.../PortClass/CPP/portclass.cpp | 166 ----
.../CPP/portcollection_add.cpp | 67 --
.../CPP/portcollection_copyto.cpp | 71 --
.../CPP/portcollection_item.cpp | 71 --
.../PortType/CPP/porttype.cpp | 75 --
.../CPP/porttypecollection_1.cpp | 59 --
.../CPP/porttypecollection_2.cpp | 68 --
.../CPP/porttypecollection_class.cpp | 64 --
.../CPP/porttypecollection_copyto.cpp | 50 -
.../PortType_Class/CPP/porttype_class.cpp | 71 --
.../ServiceClass/CPP/serviceclass.cpp | 84 --
.../CPP/servicecollection_copyto.cpp | 111 ---
.../CPP/servicecollection_item.cpp | 80 --
.../CPP/servicedescription.cpp | 84 --
.../CPP/servicedescriptionbasecollection.cpp | 192 ----
.../CPP/servicedescriptioncollection.cpp | 57 --
.../CPP/sdcollection_constructor_add_item.cpp | 50 -
...ervicedescriptioncollection_getbinding.cpp | 52 -
...ervicedescriptioncollection_getmessage.cpp | 52 -
...rvicedescriptioncollection_getporttype.cpp | 53 -
...ervicedescriptioncollection_getservice.cpp | 53 -
.../CPP/sdcollection_insert_item_copyto.cpp | 62 --
.../servicedescriptionformatextension_13.cpp | 142 ---
.../CPP/servicedescription_bindings.cpp | 85 --
.../CPP/servicedescription_constructor_4.cpp | 59 --
.../CPP/servicedescription_extensions_2.cpp | 42 -
.../CPP/servicedescription_imports.cpp | 42 -
.../CPP/servicedescription_namespace.cpp | 30 -
.../CPP/servicedescription_porttypes_2.cpp | 69 --
.../CPP/servicedescription_read.cpp | 85 --
.../CPP/servicedescription_read1.cpp | 44 -
.../CPP/servicedescription_read2.cpp | 44 -
.../CPP/servicedescription_types.cpp | 101 --
.../Service_Class4/CPP/service_class.cpp | 95 --
.../CPP/soapbodybinding_parts.cpp | 89 --
.../CPP/soapoperationbinding.cpp | 104 --
.../CPP/httpbinding.cpp | 151 ---
.../Binding/Extensions/Project.csproj | 12 -
.../Extensions/bindingcollectionsample2.cs | 149 ---
.../Binding/Overview/Project.csproj | 12 -
.../Overview/bindingcollectionsample1.cs | 54 -
.../BindingCollection/Add/Project.csproj | 12 -
.../Add/bindingcollectionsample3.cs | 44 -
.../Documentation/MathService_cs.wsdl | 352 -------
.../Documentation/Project.csproj | 12 -
.../Documentation/documentableitemsample.cs | 38 -
.../FaultBinding/Overview/Project.csproj | 12 -
.../Overview/faultbindingcollection_add.cs | 212 ----
.../Contains/Project.csproj | 12 -
.../Contains/faultbindingcollection_remove.cs | 84 --
.../Item/Project.csproj | 12 -
.../Item/faultbindingcollection_item.cs | 42 -
.../Overview/Project.csproj | 12 -
.../Overview/StockQuoteService_cs.wsdl | 23 -
.../Overview/StockQuote_cs.wsdl | 17 -
.../Overview/StockQuote_cs.xsd | 17 -
.../Overview/importsample.cs | 94 --
.../Overview/Project.csproj | 12 -
.../Overview/httpbinding.cs | 152 ---
.../Namespace/HttpBinding_ctor_Client.cs.aspx | 31 -
.../Namespace/HttpBinding_ctor_Input_CS.wsdl | 93 --
.../HttpBinding_ctor_Service.cs.asmx | 15 -
.../HttpBinding/Namespace/Project.csproj | 12 -
.../HttpBinding/Namespace/httpbinding_ctor.cs | 75 --
.../ImportCollection/Overview/Project.csproj | 12 -
.../Overview/StockQuoteService_cs.wsdl | 24 -
.../Overview/importcollection_6.cs | 68 --
.../InputBinding/Overview/MathService.cs.asmx | 35 -
.../Overview/MathService_input_cs.wsdl | 491 ----------
.../InputBinding/Overview/Project.csproj | 12 -
.../Overview/descriptionnamespacesample1.cs | 235 -----
.../Overview/mathserviceclient.cs.aspx | 50 -
.../FindPartByName/MathService_cs.wsdl | 352 -------
.../Message/FindPartByName/Project.csproj | 12 -
.../FindPartByName/message_samples3.cs | 58 --
.../MessageBinding/Overview/Project.csproj | 12 -
.../Overview/messagebinding_sample.cs | 86 --
.../MessageCollection/Contains/Project.csproj | 12 -
.../Contains/messagecollection.cs | 80 --
.../MessagePart/Message/Project.csproj | 12 -
.../Message/messagepartcollection.cs | 119 ---
.../Overview/MimeContentSample_cs.wsdl | 73 --
.../Overview/Project.csproj | 12 -
.../Overview/mimecontentbinding_part_4.cs | 56 --
.../MimeMultiPartRelatedSample_cs.wsdl | 121 ---
.../Overview/Project.csproj | 12 -
.../mimemultipartrelatedbinding_parts_2.cs | 60 --
.../Overview/MimePart_3_Input_cs.wsdl | 107 --
.../MimePart/Overview/Project.csproj | 12 -
.../MimePart/Overview/mimepart_3.cs | 63 --
.../Add/MimePartCollection_8_Input_cs.wsdl | 112 ---
.../MimePartCollection/Add/Project.csproj | 12 -
.../Add/mimepartcollection_8.cs | 149 ---
.../MimePartCollection_1_Input_cs.wsdl | 112 ---
.../Overview/Project.csproj | 12 -
.../Overview/mimepartcollection_1.cs | 71 --
.../MimeText_Binding_MatchService.CS.asmx | 18 -
.../MimeText_Binding_Match_8_Input_CS.wsdl | 96 --
.../MimeTextBinding/Overview/Project.csproj | 12 -
.../Overview/mimetext_binding_match_8.cs | 130 ---
.../Capture/MimeTextMatchService.CS.asmx | 18 -
.../Capture/MimeTextMatch_5_Input_CS.wsdl | 96 --
.../MimeTextMatch/Capture/Project.csproj | 12 -
.../MimeTextMatch/Capture/mimetextmatch_5.cs | 121 ---
.../MimeText_Match_MatchCollService.CS.asmx | 18 -
.../MimeText_Match_MatchColl_9_Input_CS.wsdl | 96 --
.../Overview/Project.csproj | 12 -
.../Overview/mimetext_match_matchcoll_9.cs | 160 ---
.../MimeXmlBinding_Part_3_Input_CS.wsdl | 96 --
.../MimeXmlBinding_Part_3_Service.CS.asmx | 18 -
.../MimeXmlBinding/Overview/Project.csproj | 12 -
.../makefile_MimeXmlBinding_Part_3_cs.dat | 18 -
.../Overview/mimexmlbinding_part_3.cs | 82 --
.../Faults/Operation_Faults_Input_CS.wsdl | 75 --
.../Operation/Faults/Project.csproj | 12 -
.../Operation/Faults/operation_faults.cs | 46 -
.../Operation_IsBoundBy_Input_CS.wsdl | 90 --
.../Operation_IsBoundBy_Service.cs.asmx | 20 -
.../Operation/IsBoundBy/Project.csproj | 12 -
.../IsBoundBy/operation_isboundby.cs | 88 --
.../Overview/Operation_5_Input_CS.wsdl | 102 --
.../Overview/Operation_5_Service.cs.asmx | 18 -
.../Operation/Overview/Project.csproj | 12 -
.../Operation/Overview/operation_5.cs | 67 --
.../ParameterOrder/Operation_2_Input_CS.wsdl | 80 --
.../Operation_2_Service.cs.asmx | 16 -
.../Operation/ParameterOrder/Project.csproj | 12 -
.../Operation/ParameterOrder/operation_2.cs | 144 ---
.../Overview/MathService_cs.asmx | 33 -
.../Overview/MathService_input_cs.wsdl | 312 ------
.../OperationBinding/Overview/Project.csproj | 12 -
.../operationbinding_operationbinding.cs | 132 ---
.../Overview/MathService_cs.asmx | 33 -
.../Overview/MathService_input_cs.wsdl | 312 ------
.../Overview/Project.csproj | 12 -
...ngcollection_operationbindingcollection.cs | 141 ---
.../Overview/MathService.cs.asmx | 33 -
.../Overview/MathService_input_cs.wsdl | 326 -------
.../Overview/Project.csproj | 12 -
.../Overview/operationcollection_methods.cs | 99 --
.../OperationFault/Overview/Project.csproj | 12 -
.../Overview/operationfault_operationfault.cs | 60 --
.../Overview/stockquote_cs.wsdl | 67 --
.../Add/Project.csproj | 12 -
.../Add/operationfaultcollection_add.cs | 58 --
.../Add/stockquote_cs.wsdl | 67 --
.../Item/Project.csproj | 12 -
.../Item/operationfaultcollection_item.cs | 68 --
.../Item/stockquote_cs.wsdl | 75 --
.../Overview/Project.csproj | 12 -
.../Overview/operationfaultcollection_7.cs | 146 ---
.../Overview/stockquote_cs.wsdl | 75 --
.../Overview/MathService.cs.asmx | 33 -
.../Overview/MathService_input_cs.wsdl | 328 -------
.../OperationFlow/Overview/Project.csproj | 12 -
.../Overview/operationflow_enum.cs | 148 ---
.../Overview/AddNumbersIn_cs.wsdl | 82 --
.../OperationInput/Overview/Project.csproj | 12 -
.../OperationInput/Overview/Service.cs.asmx | 17 -
.../Overview/operationinput_operationinput.cs | 133 ---
.../Overview/MathService_cs.asmx | 33 -
.../Overview/MathService_input_cs.wsdl | 329 -------
.../OperationMessage/Overview/Project.csproj | 12 -
.../Overview/operationmessage_properties.cs | 69 --
.../Overview/MathService_cs.asmx | 33 -
.../Overview/MathService_input_cs.wsdl | 329 -------
.../Overview/Project.csproj | 12 -
.../operationmessagecollection_sample.cs | 139 ---
.../Overview/AddNumbersIn_cs.wsdl | 82 --
.../OperationOutput/Overview/Project.csproj | 12 -
.../OperationOutput/Overview/Service_cs.asmx | 17 -
.../operationoutput_operationoutput.cs | 133 ---
.../Port/Overview/AddNumbers_cs.wsdl | 82 --
.../Port/Overview/Project.csproj | 12 -
.../Port/Overview/portclass.cs | 151 ---
.../PortCollection/Add/MathServiceAdd_cs.wsdl | 330 -------
.../PortCollection/Add/Project.csproj | 12 -
.../PortCollection/Add/portcollection_add.cs | 81 --
.../CopyTo/MathServiceCopyTo_cs.wsdl | 330 -------
.../PortCollection/CopyTo/Project.csproj | 12 -
.../CopyTo/portcollection_copyto.cs | 77 --
.../Overview/MathServiceItem_cs.wsdl | 330 -------
.../PortCollection/Overview/Project.csproj | 12 -
.../Overview/portcollection_item.cs | 85 --
.../PortType/Operations/MathService_CS.wsdl | 330 -------
.../PortType/Operations/Project.csproj | 12 -
.../PortType/Operations/porttype.cs | 82 --
.../PortType/Overview/MathService_CS.wsdl | 330 -------
.../PortType/Overview/Project.csproj | 12 -
.../PortType/Overview/porttype_class.cs | 76 --
.../Add/MathService_CS.wsdl | 330 -------
.../PortTypeCollection/Add/Project.csproj | 12 -
.../Add/porttypecollection_1.cs | 67 --
.../Contains/MathService_CS.wsdl | 330 -------
.../Contains/Project.csproj | 12 -
.../Contains/porttypecollection_2.cs | 77 --
.../CopyTo/MathService.CS.asmx | 33 -
.../CopyTo/MathService_CS.wsdl | 330 -------
.../PortTypeCollection/CopyTo/Project.csproj | 12 -
.../CopyTo/mathserviceclient.cs.aspx | 105 --
.../CopyTo/porttypecollection_copyto.cs | 47 -
.../Overview/MathService_CS.asmx | 33 -
.../Overview/MathService_CS.wsdl | 330 -------
.../Overview/Project.csproj | 12 -
.../Overview/porttypecollection_class.cs | 71 --
.../Service/Extensions/MathService_CS.asmx | 33 -
.../Service/Extensions/MathService_CS.wsdl | 330 -------
.../Service/Extensions/Project.csproj | 12 -
.../Service/Extensions/service_class.cs | 103 --
.../Service/Overview/MathService_CS.asmx | 33 -
.../Service/Overview/MathService_CS.wsdl | 330 -------
.../Service/Overview/Project.csproj | 12 -
.../Service/Overview/serviceclass.cs | 93 --
.../ServiceCollection/Add/AddSub_CS.asmx | 19 -
.../ServiceCollection/Add/Input_CS.wsdl | 182 ----
.../ServiceCollection/Add/Project.csproj | 12 -
.../Add/servicecollection_item.cs | 89 --
.../Contains/AddService.CS.asmx | 13 -
.../Contains/AddService_CS.wsdl | 108 --
.../Contains/AddSubtractService_CS.wsdl | 208 ----
.../ServiceCollection/Contains/Project.csproj | 12 -
.../Contains/SubtractService.CS.asmx | 14 -
.../Contains/SubtractService_CS.wsdl | 108 --
.../Contains/servicecollection_copyto.cs | 118 ---
.../Insert/AddService_CS.wsdl | 108 --
.../ServiceCollection/Insert/All_CS.wsdl | 208 ----
.../ServiceCollection/Insert/Project.csproj | 12 -
.../Insert/SubtractService_CS.wsdl | 108 --
.../Insert/servicedescription_read.cs | 91 --
.../Bindings/MyWsdl_CS.wsdl | 108 --
.../Bindings/Project.csproj | 12 -
.../Bindings/Service1_CS.asmx | 16 -
.../Bindings/servicedescription_bindings.cs | 87 --
.../ServiceDescription/CanRead/MyWsdl_CS.wsdl | 108 --
.../ServiceDescription/CanRead/Project.csproj | 12 -
.../CanRead/Service1_CS.asmx | 16 -
.../CanRead/servicedescription_porttypes_2.cs | 75 --
.../Extensions/Project.csproj | 12 -
.../ServiceDescription_Extensions_CS.asmx | 14 -
...erviceDescription_Extensions_Input_cs.wsdl | 108 --
.../servicedescription_extensions_2.cs | 46 -
.../ServiceDescription/Imports/Project.csproj | 12 -
.../ServiceDescription_Imports_Input_CS.wsdl | 108 --
...ServiceDescription_Imports_Service.cs.asmx | 13 -
.../Imports/servicedescription_imports.cs | 44 -
.../Messages/MyWsdl_CS.wsdl | 108 --
.../Messages/Project.csproj | 12 -
.../Messages/Service1_CS.asmx | 16 -
.../servicedescription_constructor_4.cs | 61 --
.../Namespace/MyWsdl_CS.wsdl | 108 --
.../Namespace/Project.csproj | 12 -
.../Namespace/servicedescription_namespace.cs | 30 -
.../Overview/MyWsdl_CS.wsdl | 108 --
.../Overview/Project.csproj | 12 -
.../Overview/Service1_CS.asmx | 16 -
.../makefile_ServiceDescription_cs.dat | 17 -
.../Overview/servicedescription.cs | 83 --
.../Read/servicedescription_read1.cs | 41 -
.../Read/servicedescription_read2.cs | 40 -
.../ServiceDescription/Types/Input_CS.wsdl | 182 ----
.../ServiceDescription/Types/Project.csproj | 12 -
.../Types/servicedescription_types.cs | 121 ---
.../Overview/Input_CS.wsdl | 182 ----
.../Overview/Project.csproj | 12 -
.../servicedescriptionbasecollection.cs | 190 ----
.../.ctor/DataTypes_CS.wsdl | 919 ------------------
.../.ctor/MathService_CS.wsdl | 659 -------------
...criptioncollection_constructor_add_item.cs | 50 -
.../Contains/DataTypes_CS.wsdl | 919 ------------------
.../Contains/MathService_CS.wsdl | 659 -------------
...ptioncollection_contains_indexof_remove.cs | 61 --
.../CopyTo/DataTypes_CS.wsdl | 919 ------------------
.../CopyTo/MathService_CS.wsdl | 659 -------------
...escriptioncollection_insert_item_copyto.cs | 57 --
.../GetBinding/DataTypes_CS.wsdl | 919 ------------------
.../GetBinding/MathService_CS.wsdl | 659 -------------
.../GetBinding/Project.csproj | 12 -
...servicedescriptioncollection_getbinding.cs | 48 -
.../GetMessage/DataTypes_CS.wsdl | 919 ------------------
.../GetMessage/MathService_CS.wsdl | 659 -------------
.../GetMessage/Project.csproj | 12 -
...servicedescriptioncollection_getmessage.cs | 49 -
.../GetPortType/DataTypes_CS.wsdl | 919 ------------------
.../GetPortType/MathService_CS.wsdl | 659 -------------
.../GetPortType/Project.csproj | 12 -
...ervicedescriptioncollection_getporttype.cs | 48 -
.../GetService/DataTypes_CS.wsdl | 919 ------------------
.../GetService/MathService_CS.wsdl | 659 -------------
.../GetService/Project.csproj | 12 -
...servicedescriptioncollection_getservice.cs | 48 -
.../Overview/DataTypes_CS.wsdl | 919 ------------------
.../Overview/MathService_CS.wsdl | 659 -------------
.../Overview/Project.csproj | 12 -
.../Overview/servicedescriptioncollection.cs | 65 --
.../Overview/Project.csproj | 12 -
.../Overview/Sample_CS.WSDL | 255 -----
.../servicedescriptionformatextension_13.cs | 149 ---
.../Overview/Project.csproj | 12 -
.../Overview/import.cs | 68 --
.../Overview/AddNumbersInput_cs.wsdl | 97 --
.../Overview/Project.csproj | 12 -
.../Overview/soapoperationbinding.cs | 104 --
.../Namespace/AddNumbersInput_cs.wsdl | 97 --
.../SoapBinding/Namespace/Project.csproj | 12 -
.../SoapBinding/Namespace/Service1_cs.asmx | 18 -
.../Namespace/soapbodybinding_parts.cs | 85 --
.../Extensions/bindingcollectionsample2.vb | 150 ---
.../Overview/bindingcollectionsample1.vb | 54 -
.../Add/bindingcollectionsample3.vb | 43 -
.../Documentation/MathService_vb.wsdl | 352 -------
.../Documentation/documentableitemsample.vb | 35 -
.../Overview/faultbindingcollection_add.vb | 210 ----
.../Contains/faultbindingcollection_remove.vb | 89 --
.../Item/faultbindingcollection_item.vb | 40 -
.../Overview/StockQuoteService_vb.wsdl | 24 -
.../Overview/StockQuote_vb.wsdl | 18 -
.../Overview/StockQuote_vb.xsd | 19 -
.../Overview/importsample.vb | 92 --
.../Overview/httpbinding.vb | 148 ---
.../Namespace/HttpBinding_ctor_Input_VB.wsdl | 93 --
.../HttpBinding_ctor_Service.vb.asmx | 13 -
.../HttpBinding/Namespace/httpbinding_ctor.vb | 76 --
.../Overview/StockQuoteService_vb.wsdl | 23 -
.../Overview/importcollection_6.vb | 76 --
.../InputBinding/Overview/MathService.vb.asmx | 26 -
.../Overview/MathService_input_vb.wsdl | 491 ----------
.../Overview/descriptionnamespacesample1.vb | 233 -----
.../FindPartByName/MathService_vb.wsdl | 352 -------
.../FindPartByName/message_samples3.vb | 54 -
.../Overview/messagebinding_sample.vb | 78 --
.../Contains/messagecollection.vb | 76 --
.../Message/messagepartcollection.vb | 115 ---
.../Overview/MimeContentSample_vb.wsdl | 73 --
.../Overview/mimecontentbinding_part_4.vb | 54 -
.../MimeMultiPartRelatedSample_vb.wsdl | 121 ---
.../mimemultipartrelatedbinding_parts_2.vb | 62 --
.../Overview/MimePart_3_Input_vb.wsdl | 107 --
.../MimePart/Overview/mimepart_3.vb | 56 --
.../Add/MimePartCollection_8_Input_vb.wsdl | 112 ---
.../Add/mimepartcollection_8.vb | 139 ---
.../MimePartCollection_1_Input_vb.wsdl | 112 ---
.../Overview/mimepartcollection_1.vb | 63 --
.../MimeText_Binding_MatchService.vb.asmx | 18 -
.../MimeText_Binding_Match_8_Input_vb.wsdl | 96 --
.../Overview/mimetext_binding_match_8.vb | 122 ---
.../Capture/MimeTextMatchService.VB.asmx | 18 -
.../Capture/MimeTextMatch_5_Input_VB.wsdl | 96 --
.../MimeTextMatch/Capture/mimetextmatch_5.vb | 113 ---
.../MimeText_Match_MatchCollService.vb.asmx | 18 -
.../MimeText_Match_MatchColl_9_Input_vb.wsdl | 96 --
.../Overview/mimetext_match_matchcoll_9.vb | 146 ---
.../MimeXmlBinding_Part_3_Input_VB.wsdl | 96 --
.../MimeXmlBinding_Part_3_Service.vb.asmx | 18 -
.../Overview/mimexmlbinding_part_3.vb | 75 --
.../Faults/Operation_Faults_Input_VB.wsdl | 75 --
.../Operation/Faults/operation_faults.vb | 45 -
.../Operation_IsBoundBy_Input_VB.wsdl | 90 --
.../Operation_IsBoundBy_Service.vb.asmx | 17 -
.../IsBoundBy/operation_isboundby.vb | 87 --
.../Overview/Operation_5_Input_VB.wsdl | 102 --
.../Overview/Operation_5_Service.vb.asmx | 18 -
.../Operation/Overview/operation_5.vb | 68 --
.../ParameterOrder/Operation_2_Input_VB.wsdl | 80 --
.../Operation_2_Service.vb.asmx | 17 -
.../Operation/ParameterOrder/operation_2.vb | 137 ---
.../Overview/MathService_input_vb.wsdl | 312 ------
.../Overview/MathService_vb.asmx | 31 -
.../operationbinding_operationbinding.vb | 127 ---
.../Overview/MathService_input_vb.wsdl | 312 ------
.../Overview/MathService_vb.asmx | 31 -
...ngcollection_operationbindingcollection.vb | 138 ---
.../Overview/MathService.vb.asmx | 31 -
.../Overview/MathService_input_vb.wsdl | 326 -------
.../Overview/operationcollection_methods.vb | 91 --
.../Overview/operationfault_operationfault.vb | 54 -
.../Overview/stockquote_vb.wsdl | 67 --
.../Add/operationfaultcollection_add.vb | 53 -
.../Add/stockquote_vb.wsdl | 67 --
.../Item/operationfaultcollection_item.vb | 57 --
.../Item/stockquote_vb.wsdl | 75 --
.../Overview/operationfaultcollection_7.vb | 137 ---
.../Overview/stockquote_vb.wsdl | 75 --
.../Overview/MathService.vb.asmx | 31 -
.../Overview/MathService_input_vb.wsdl | 328 -------
.../Overview/operationflow_enum.vb | 131 ---
.../Overview/AddNumbersIn_vb.wsdl | 82 --
.../OperationInput/Overview/Service.vb.asmx | 17 -
.../Overview/operationinput_operationinput.vb | 123 ---
.../Overview/MathService_input_vb.wsdl | 329 -------
.../Overview/MathService_vb.asmx | 31 -
.../Overview/operationmessage_properties.vb | 62 --
.../Overview/MathService_input_vb.wsdl | 329 -------
.../Overview/MathService_vb.asmx | 31 -
.../operationmessagecollection_sample.vb | 131 ---
.../Overview/AddNumbersIn_vb.wsdl | 82 --
.../OperationOutput/Overview/Service_vb.asmx | 16 -
.../operationoutput_operationoutput.vb | 122 ---
.../Port/Overview/AddNumbers.vb.wsdl | 82 --
.../Port/Overview/portclass.vb | 149 ---
.../PortCollection/Add/MathServiceAdd_vb.wsdl | 330 -------
.../PortCollection/Add/portcollection_add.vb | 73 --
.../CopyTo/MathServiceCopyTo_vb.wsdl | 330 -------
.../CopyTo/portcollection_copyto.vb | 67 --
.../Overview/MathServiceItem_vb.wsdl | 330 -------
.../Overview/portcollection_item.vb | 76 --
.../PortType/Operations/MathService_VB.wsdl | 330 -------
.../PortType/Operations/porttype.vb | 77 --
.../PortType/Overview/MathService_vb.wsdl | 330 -------
.../PortType/Overview/porttype_class.vb | 75 --
.../Add/MathService_VB.wsdl | 330 -------
.../Add/porttypecollection_1.vb | 64 --
.../Contains/MathService_VB.wsdl | 330 -------
.../Contains/porttypecollection_2.vb | 71 --
.../CopyTo/MathService.VB.asmx | 34 -
.../CopyTo/MathService_VB.wsdl | 330 -------
.../CopyTo/porttypecollection_copyto.vb | 41 -
.../Overview/MathService.vb.asmx | 31 -
.../Overview/MathService_vb.wsdl | 330 -------
.../Overview/porttypecollection_class.vb | 70 --
.../Service/Extensions/MathService_VB.asmx | 34 -
.../Service/Extensions/MathService_VB.wsdl | 330 -------
.../Service/Extensions/service_class.vb | 100 --
.../Service/Overview/MathService.vb.asmx | 31 -
.../Service/Overview/MathService_vb.wsdl | 330 -------
.../Service/Overview/serviceclass.vb | 92 --
.../ServiceCollection/Add/AddSub.vb.asmx | 17 -
.../ServiceCollection/Add/Input.vb.wsdl | 182 ----
.../Add/servicecollection_item.vb | 86 --
.../Contains/AddService.vb.asmx | 12 -
.../Contains/AddService_vb.wsdl | 108 --
.../Contains/AddSubtractService_vb.wsdl | 208 ----
.../Contains/SubtractService.vb.asmx | 12 -
.../Contains/SubtractService_vb.wsdl | 108 --
.../Contains/servicecollection_copyto.vb | 101 --
.../Insert/AddService_VB.wsdl | 108 --
.../ServiceCollection/Insert/All_VB.wsdl | 208 ----
.../Insert/SubtractService_VB.wsdl | 108 --
.../Insert/servicedescription_read.vb | 83 --
.../Bindings/MyWsdl_VB.wsdl | 108 --
.../Bindings/Service1_VB.asmx | 16 -
.../Bindings/servicedescription_bindings.vb | 79 --
.../ServiceDescription/CanRead/MyWsdl_VB.wsdl | 108 --
.../CanRead/Service1_VB.asmx | 16 -
.../CanRead/servicedescription_porttypes_2.vb | 72 --
...erviceDescription_Extensions_Input_vb.wsdl | 108 --
.../ServiceDescription_Extensions_VB.asmx | 14 -
.../servicedescription_extensions_2.vb | 43 -
.../ServiceDescription_Imports_Input_VB.wsdl | 108 --
...ServiceDescription_Imports_Service.vb.asmx | 13 -
.../Imports/servicedescription_imports.vb | 42 -
.../Messages/MyWsdl_VB.wsdl | 108 --
.../Messages/Service1_VB.asmx | 16 -
.../servicedescription_constructor_4.vb | 56 --
.../Namespace/MyWsdl_VB.wsdl | 108 --
.../Namespace/servicedescription_namespace.vb | 25 -
.../Overview/MyWsdl_VB.wsdl | 108 --
.../Overview/Service1_VB.asmx | 16 -
.../Overview/servicedescription.vb | 75 --
.../Read/servicedescription_read1.vb | 34 -
.../Read/servicedescription_read2.vb | 33 -
.../ServiceDescription/Types/Input_VB.wsdl | 182 ----
.../Types/servicedescription_types.vb | 113 ---
.../Overview/Input_VB.wsdl | 182 ----
.../servicedescriptionbasecollection.vb | 189 ----
.../.ctor/DataTypes_VB.wsdl | 919 ------------------
.../.ctor/MathService_VB.wsdl | 659 -------------
...criptioncollection_constructor_add_item.vb | 44 -
.../Contains/DataTypes_VB.wsdl | 919 ------------------
.../Contains/MathService_VB.wsdl | 659 -------------
...ptioncollection_contains_indexof_remove.vb | 53 -
.../CopyTo/DataTypes_VB.wsdl | 919 ------------------
.../CopyTo/MathService_VB.wsdl | 659 -------------
...escriptioncollection_insert_item_copyto.vb | 55 --
.../GetBinding/DataTypes_VB.wsdl | 919 ------------------
.../GetBinding/MathService_VB.wsdl | 659 -------------
...servicedescriptioncollection_getbinding.vb | 44 -
.../GetMessage/DataTypes_VB.wsdl | 919 ------------------
.../GetMessage/MathService_VB.wsdl | 659 -------------
...servicedescriptioncollection_getmessage.vb | 43 -
.../GetPortType/DataTypes_VB.wsdl | 919 ------------------
.../GetPortType/MathService_VB.wsdl | 659 -------------
...ervicedescriptioncollection_getporttype.vb | 42 -
.../GetService/DataTypes_VB.wsdl | 919 ------------------
.../GetService/MathService_VB.wsdl | 659 -------------
...servicedescriptioncollection_getservice.vb | 44 -
.../Overview/DataTypes_VB.wsdl | 919 ------------------
.../Overview/MathService_VB.wsdl | 659 -------------
.../Overview/servicedescriptioncollection.vb | 61 --
.../Overview/Sample_VB.WSDL | 255 -----
.../servicedescriptionformatextension_13.vb | 138 ---
.../Overview/Sample_vb.wsdl | 105 --
.../Overview/AddNumbersInput_vb.wsdl | 97 --
.../Overview/soapoperationbinding.vb | 98 --
.../Namespace/AddNumbersInput_vb.wsdl | 97 --
.../SoapBinding/Namespace/Service1_vb.asmx | 18 -
.../Namespace/soapbodybinding_parts.vb | 79 --
.../Binding.xml | 15 -
.../BindingCollection.xml | 24 -
.../DocumentableItem.xml | 3 -
.../FaultBinding.xml | 3 -
.../FaultBindingCollection.xml | 27 -
.../HttpAddressBinding.xml | 3 -
.../HttpBinding.xml | 6 -
.../Import.xml | 9 -
.../ImportCollection.xml | 24 -
.../InputBinding.xml | 3 -
.../Message.xml | 12 -
.../MessageBinding.xml | 3 -
.../MessageCollection.xml | 27 -
.../MessagePart.xml | 9 -
.../MessagePartCollection.xml | 27 -
.../MimeContentBinding.xml | 9 -
.../MimeMultipartRelatedBinding.xml | 3 -
.../MimePart.xml | 3 -
.../MimePartCollection.xml | 21 -
.../MimeTextBinding.xml | 6 -
.../MimeTextMatch.xml | 27 -
.../MimeTextMatchCollection.xml | 21 -
.../MimeXmlBinding.xml | 3 -
.../Operation.xml | 18 -
.../OperationBinding.xml | 15 -
.../OperationBindingCollection.xml | 24 -
.../OperationCollection.xml | 24 -
.../OperationFault.xml | 3 -
.../OperationFaultCollection.xml | 27 -
.../OperationFlow.xml | 3 -
.../OperationInput.xml | 3 -
.../OperationMessage.xml | 6 -
.../OperationMessageCollection.xml | 33 -
.../OperationOutput.xml | 3 -
.../OutputBinding.xml | 3 -
xml/System.Web.Services.Description/Port.xml | 9 -
.../PortCollection.xml | 27 -
.../PortType.xml | 6 -
.../PortTypeCollection.xml | 27 -
.../Service.xml | 9 -
.../ServiceCollection.xml | 24 -
.../ServiceDescription.xml | 54 -
.../ServiceDescriptionBaseCollection.xml | 3 -
.../ServiceDescriptionCollection.xml | 39 -
...ceDescriptionFormatExtensionCollection.xml | 39 -
.../SoapAddressBinding.xml | 3 -
.../SoapBinding.xml | 9 -
.../SoapBodyBinding.xml | 6 -
.../SoapOperationBinding.xml | 3 -
597 files changed, 73783 deletions(-)
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/BindingCollectionSample2/CPP/bindingcollectionsample2.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample1/CPP/bindingcollectionsample1.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample3/CPP/bindingcollectionsample3.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/MathService_input_cpp.wsdl
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/DocumentableItemsample/CPP/MathService_cpp.wsdl
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/DocumentableItemsample/CPP/documentableitemsample.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Add/CPP/faultbindingcollection_add.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Item/CPP/faultbindingcollection_item.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Remove/CPP/faultbindingcollection_remove.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/HttpBinding_HttpBinding/CPP/HttpBinding_ctor_Input_CPP.wsdl
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/HttpBinding_HttpBinding/CPP/httpbinding_ctor.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/StockQuoteService_cpp.wsdl
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/importcollection_6.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/Importsample/CPP/importsample.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MessageBinding_sample/CPP/messagebinding_sample.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MessageCollection/CPP/messagecollection.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MessagePartCollection/CPP/messagepartcollection.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/Message_Samples3/CPP/message_samples3.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimeContentBinding_Part_4/CPP/mimecontentbinding_part_4.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/CPP/MimeMultiPartRelatedSample_cpp.wsdl
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/CPP/mimemultipartrelatedbinding_parts_2.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimePartCollection_1/CPP/MimePartCollection_1_Input_cpp.wsdl
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimePartCollection_1/CPP/mimepartcollection_1.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimePartCollection_8/CPP/mimepartcollection_8.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimePart_3/CPP/MimePart_3_Input_cpp.wsdl
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimePart_3/CPP/mimepart_3.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimeTextMatch_5/CPP/MimeTextMatch_5_Input_CPP.wsdl
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimeTextMatch_5/CPP/mimetextmatch_5.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/MimeText_Binding_Match_8_Input_CPP.wsdl
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/mimetext_binding_match_8.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/MimeText_Match_MatchColl_9_Input_CPP.wsdl
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimeXmlBinding_Part_3/CPP/MimeXmlBinding_Part_3_Input_CPP.wsdl
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/MimeXmlBinding_Part_3/CPP/mimexmlbinding_part_3.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/MathService_input_cpp.wsdl
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/operationbindingcollection_operationbindingcollection.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationBinding_OperationBinding/CPP/operationbinding_operationbinding.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationCollection_Methods/CPP/operationcollection_methods.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_7/CPP/operationfaultcollection_7.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_Add/CPP/operationfaultcollection_add.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_Item/CPP/operationfaultcollection_item.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationFault_OperationFault/CPP/operationfault_operationfault.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationFlow_Enum/CPP/operationflow_enum.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationInput_OperationInput/CPP/operationinput_operationinput.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationMessage_Properties/CPP/operationmessage_properties.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/OperationOutput_OperationOutput/CPP/operationoutput_operationoutput.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/Operation_2/CPP/operation_2.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/Operation_5/CPP/operation_5.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/Operation_Faults/CPP/operation_faults.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/Operation_IsBoundBy/CPP/operation_isboundby.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/PortClass/CPP/portclass.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/PortCollection_Add/CPP/portcollection_add.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/PortCollection_CopyTo/CPP/portcollection_copyto.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/PortCollection_Item/CPP/portcollection_item.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/PortType/CPP/porttype.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_1/CPP/porttypecollection_1.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_2/CPP/porttypecollection_2.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_Class/CPP/porttypecollection_class.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_CopyTo/CPP/porttypecollection_copyto.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/PortType_Class/CPP/porttype_class.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceClass/CPP/serviceclass.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceCollection_CopyTo/CPP/servicecollection_copyto.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceCollection_Item/CPP/servicecollection_item.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescription/CPP/servicedescription.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionBaseCollection/CPP/servicedescriptionbasecollection.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection/CPP/servicedescriptioncollection.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/CPP/sdcollection_constructor_add_item.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetBinding/CPP/servicedescriptioncollection_getbinding.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetMessage/CPP/servicedescriptioncollection_getmessage.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetPortType/CPP/servicedescriptioncollection_getporttype.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetService/CPP/servicedescriptioncollection_getservice.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/CPP/sdcollection_insert_item_copyto.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Bindings/CPP/servicedescription_bindings.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Constructor_4/CPP/servicedescription_constructor_4.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/CPP/servicedescription_extensions_2.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Imports_Service/CPP/servicedescription_imports.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Namespace/CPP/servicedescription_namespace.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/CPP/servicedescription_porttypes_2.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read/CPP/servicedescription_read.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read1/CPP/servicedescription_read1.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read2/CPP/servicedescription_read2.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Types/CPP/servicedescription_types.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/Service_Class4/CPP/service_class.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/SoapBodyBinding_Parts/CPP/soapbodybinding_parts.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/SoapOperationBinding/CPP/soapoperationbinding.cpp
delete mode 100644 snippets/cpp/VS_Snippets_Remoting/WebServices_HttpBinding/CPP/httpbinding.cpp
delete mode 100644 snippets/csharp/System.Web.Services.Description/Binding/Extensions/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/Binding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/BindingCollection/Add/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/DocumentableItem/Documentation/MathService_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/DocumentableItem/Documentation/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/DocumentableItem/Documentation/documentableitemsample.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/FaultBinding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/FaultBinding/Overview/faultbindingcollection_add.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Contains/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Item/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Item/faultbindingcollection_item.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/StockQuoteService_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/StockQuote_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/StockQuote_cs.xsd
delete mode 100644 snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/HttpAddressBinding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/HttpAddressBinding/Overview/httpbinding.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/HttpBinding/Namespace/HttpBinding_ctor_Client.cs.aspx
delete mode 100644 snippets/csharp/System.Web.Services.Description/HttpBinding/Namespace/HttpBinding_ctor_Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/HttpBinding/Namespace/HttpBinding_ctor_Service.cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/HttpBinding/Namespace/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/HttpBinding/Namespace/httpbinding_ctor.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/StockQuoteService_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/InputBinding/Overview/MathService.cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/InputBinding/Overview/MathService_input_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/InputBinding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/InputBinding/Overview/mathserviceclient.cs.aspx
delete mode 100644 snippets/csharp/System.Web.Services.Description/Message/FindPartByName/MathService_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/Message/FindPartByName/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/Message/FindPartByName/message_samples3.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/MessageBinding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/MessageBinding/Overview/messagebinding_sample.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/MessageCollection/Contains/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/MessageCollection/Contains/messagecollection.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/MessagePart/Message/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/MessagePart/Message/messagepartcollection.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeContentBinding/Overview/MimeContentSample_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeContentBinding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeContentBinding/Overview/mimecontentbinding_part_4.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/MimeMultiPartRelatedSample_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/mimemultipartrelatedbinding_parts_2.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimePart/Overview/MimePart_3_Input_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimePart/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimePart/Overview/mimepart_3.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/MimePartCollection_8_Input_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimePartCollection/Overview/MimePartCollection_1_Input_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimePartCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimePartCollection/Overview/mimepartcollection_1.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/MimeText_Binding_MatchService.CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/MimeText_Binding_Match_8_Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeTextMatch/Capture/MimeTextMatchService.CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeTextMatch/Capture/MimeTextMatch_5_Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeTextMatch/Capture/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeTextMatch/Capture/mimetextmatch_5.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/MimeText_Match_MatchCollService.CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/MimeText_Match_MatchColl_9_Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeXmlBinding/Overview/MimeXmlBinding_Part_3_Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeXmlBinding/Overview/MimeXmlBinding_Part_3_Service.CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeXmlBinding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeXmlBinding/Overview/makefile_MimeXmlBinding_Part_3_cs.dat
delete mode 100644 snippets/csharp/System.Web.Services.Description/MimeXmlBinding/Overview/mimexmlbinding_part_3.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/Faults/Operation_Faults_Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/Faults/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/Faults/operation_faults.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/IsBoundBy/Operation_IsBoundBy_Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/IsBoundBy/Operation_IsBoundBy_Service.cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/IsBoundBy/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/IsBoundBy/operation_isboundby.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/Overview/Operation_5_Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/Overview/Operation_5_Service.cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/Overview/operation_5.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/ParameterOrder/Operation_2_Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/ParameterOrder/Operation_2_Service.cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/ParameterOrder/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/Operation/ParameterOrder/operation_2.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/MathService_cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/MathService_input_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/MathService_cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/MathService_input_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/MathService.cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/MathService_input_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFault/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFault/Overview/operationfault_operationfault.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFault/Overview/stockquote_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Add/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Add/operationfaultcollection_add.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Add/stockquote_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Item/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Item/operationfaultcollection_item.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Item/stockquote_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/stockquote_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFlow/Overview/MathService.cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFlow/Overview/MathService_input_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFlow/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationFlow/Overview/operationflow_enum.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationInput/Overview/AddNumbersIn_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationInput/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationInput/Overview/Service.cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationInput/Overview/operationinput_operationinput.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationMessage/Overview/MathService_cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationMessage/Overview/MathService_input_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationMessage/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationMessage/Overview/operationmessage_properties.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/MathService_cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/MathService_input_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationOutput/Overview/AddNumbersIn_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationOutput/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationOutput/Overview/Service_cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/OperationOutput/Overview/operationoutput_operationoutput.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/Port/Overview/AddNumbers_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/Port/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/Port/Overview/portclass.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortCollection/Add/MathServiceAdd_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortCollection/Add/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortCollection/Add/portcollection_add.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortCollection/CopyTo/MathServiceCopyTo_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortCollection/CopyTo/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortCollection/CopyTo/portcollection_copyto.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortCollection/Overview/MathServiceItem_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortCollection/Overview/portcollection_item.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortType/Operations/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortType/Operations/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortType/Operations/porttype.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortType/Overview/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortType/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortType/Overview/porttype_class.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/Add/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/Add/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/Add/porttypecollection_1.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/Contains/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/Contains/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/Contains/porttypecollection_2.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/CopyTo/MathService.CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/CopyTo/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/CopyTo/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/CopyTo/mathserviceclient.cs.aspx
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/CopyTo/porttypecollection_copyto.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/Overview/MathService_CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/Overview/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/PortTypeCollection/Overview/porttypecollection_class.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/Service/Extensions/MathService_CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/Service/Extensions/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/Service/Extensions/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/Service/Extensions/service_class.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/Service/Overview/MathService_CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/Service/Overview/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/Service/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/Service/Overview/serviceclass.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/AddSub_CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/AddService.CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/AddService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/AddSubtractService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/SubtractService.CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/SubtractService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/servicecollection_copyto.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Insert/AddService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Insert/All_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Insert/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Insert/SubtractService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceCollection/Insert/servicedescription_read.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Bindings/MyWsdl_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Bindings/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Bindings/Service1_CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Bindings/servicedescription_bindings.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/CanRead/MyWsdl_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/CanRead/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/CanRead/Service1_CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/CanRead/servicedescription_porttypes_2.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Extensions/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Extensions/ServiceDescription_Extensions_CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Extensions/ServiceDescription_Extensions_Input_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Extensions/servicedescription_extensions_2.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Imports/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Imports/ServiceDescription_Imports_Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Imports/ServiceDescription_Imports_Service.cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Imports/servicedescription_imports.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Messages/MyWsdl_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Messages/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Messages/Service1_CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Messages/servicedescription_constructor_4.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Namespace/MyWsdl_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Namespace/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Namespace/servicedescription_namespace.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Overview/MyWsdl_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Overview/Service1_CS.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Overview/makefile_ServiceDescription_cs.dat
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Overview/servicedescription.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Read/servicedescription_read1.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Read/servicedescription_read2.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Types/Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Types/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescription/Types/servicedescription_types.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/Input_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/servicedescriptionbasecollection.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/DataTypes_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/servicedescriptioncollection_constructor_add_item.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Contains/DataTypes_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Contains/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Contains/servicedescriptioncollection_contains_indexof_remove.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/DataTypes_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/servicedescriptioncollection_insert_item_copyto.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/DataTypes_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/servicedescriptioncollection_getbinding.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/DataTypes_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/servicedescriptioncollection_getmessage.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/DataTypes_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/servicedescriptioncollection_getporttype.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetService/DataTypes_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetService/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetService/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetService/servicedescriptioncollection_getservice.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Overview/DataTypes_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Overview/MathService_CS.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Overview/servicedescriptioncollection.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/Sample_CS.WSDL
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionImporter/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/ServiceDescriptionImporter/Overview/import.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapAddressBinding/Overview/AddNumbersInput_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapAddressBinding/Overview/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.cs
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBinding/Namespace/AddNumbersInput_cs.wsdl
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBinding/Namespace/Project.csproj
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBinding/Namespace/Service1_cs.asmx
delete mode 100644 snippets/csharp/System.Web.Services.Description/SoapBinding/Namespace/soapbodybinding_parts.cs
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/DocumentableItem/Documentation/MathService_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/DocumentableItem/Documentation/documentableitemsample.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/FaultBinding/Overview/faultbindingcollection_add.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Item/faultbindingcollection_item.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/StockQuoteService_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/StockQuote_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/StockQuote_vb.xsd
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/HttpAddressBinding/Overview/httpbinding.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/HttpBinding/Namespace/HttpBinding_ctor_Input_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/HttpBinding/Namespace/HttpBinding_ctor_Service.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/HttpBinding/Namespace/httpbinding_ctor.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ImportCollection/Overview/StockQuoteService_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/MathService.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/MathService_input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Message/FindPartByName/MathService_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Message/FindPartByName/message_samples3.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MessageBinding/Overview/messagebinding_sample.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MessageCollection/Contains/messagecollection.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MessagePart/Message/messagepartcollection.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeContentBinding/Overview/MimeContentSample_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeContentBinding/Overview/mimecontentbinding_part_4.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/MimeMultiPartRelatedSample_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/mimemultipartrelatedbinding_parts_2.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimePart/Overview/MimePart_3_Input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimePart/Overview/mimepart_3.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Add/MimePartCollection_8_Input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Overview/MimePartCollection_1_Input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Overview/mimepartcollection_1.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/MimeText_Binding_MatchService.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/MimeText_Binding_Match_8_Input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/MimeTextMatchService.VB.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/MimeTextMatch_5_Input_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/mimetextmatch_5.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/MimeText_Match_MatchCollService.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/MimeText_Match_MatchColl_9_Input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeXmlBinding/Overview/MimeXmlBinding_Part_3_Input_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeXmlBinding/Overview/MimeXmlBinding_Part_3_Service.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/MimeXmlBinding/Overview/mimexmlbinding_part_3.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Operation/Faults/Operation_Faults_Input_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Operation/Faults/operation_faults.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Operation/IsBoundBy/Operation_IsBoundBy_Input_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Operation/IsBoundBy/Operation_IsBoundBy_Service.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Operation/IsBoundBy/operation_isboundby.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Operation/Overview/Operation_5_Input_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Operation/Overview/Operation_5_Service.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Operation/Overview/operation_5.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Operation/ParameterOrder/Operation_2_Input_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Operation/ParameterOrder/Operation_2_Service.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Operation/ParameterOrder/operation_2.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/MathService_input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/MathService_vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/MathService_input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/MathService_vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/MathService.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/MathService_input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationFault/Overview/operationfault_operationfault.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationFault/Overview/stockquote_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Add/operationfaultcollection_add.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Add/stockquote_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Item/operationfaultcollection_item.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Item/stockquote_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/stockquote_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationFlow/Overview/MathService.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationFlow/Overview/MathService_input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationFlow/Overview/operationflow_enum.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationInput/Overview/AddNumbersIn_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationInput/Overview/Service.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationInput/Overview/operationinput_operationinput.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationMessage/Overview/MathService_input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationMessage/Overview/MathService_vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationMessage/Overview/operationmessage_properties.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/MathService_input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/MathService_vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationOutput/Overview/AddNumbersIn_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationOutput/Overview/Service_vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/OperationOutput/Overview/operationoutput_operationoutput.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Port/Overview/AddNumbers.vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Port/Overview/portclass.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortCollection/Add/MathServiceAdd_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortCollection/Add/portcollection_add.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortCollection/CopyTo/MathServiceCopyTo_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortCollection/CopyTo/portcollection_copyto.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortCollection/Overview/MathServiceItem_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortCollection/Overview/portcollection_item.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortType/Operations/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortType/Operations/porttype.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortType/Overview/MathService_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortType/Overview/porttype_class.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Add/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Add/porttypecollection_1.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Contains/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Contains/porttypecollection_2.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/CopyTo/MathService.VB.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/CopyTo/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/CopyTo/porttypecollection_copyto.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Overview/MathService.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Overview/MathService_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Overview/porttypecollection_class.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Service/Extensions/MathService_VB.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Service/Extensions/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Service/Extensions/service_class.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Service/Overview/MathService.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Service/Overview/MathService_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/Service/Overview/serviceclass.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/AddSub.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/Input.vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/AddService.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/AddService_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/AddSubtractService_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/SubtractService.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/SubtractService_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/servicecollection_copyto.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/AddService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/All_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/SubtractService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/servicedescription_read.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Bindings/MyWsdl_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Bindings/Service1_VB.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Bindings/servicedescription_bindings.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/CanRead/MyWsdl_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/CanRead/Service1_VB.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/CanRead/servicedescription_porttypes_2.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Extensions/ServiceDescription_Extensions_Input_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Extensions/ServiceDescription_Extensions_VB.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Extensions/servicedescription_extensions_2.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Imports/ServiceDescription_Imports_Input_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Imports/ServiceDescription_Imports_Service.vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Imports/servicedescription_imports.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Messages/MyWsdl_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Messages/Service1_VB.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Messages/servicedescription_constructor_4.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Namespace/MyWsdl_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Namespace/servicedescription_namespace.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Overview/MyWsdl_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Overview/Service1_VB.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Overview/servicedescription.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Read/servicedescription_read1.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Read/servicedescription_read2.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Types/Input_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Types/servicedescription_types.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/Input_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/servicedescriptionbasecollection.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/DataTypes_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/servicedescriptioncollection_constructor_add_item.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Contains/DataTypes_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Contains/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Contains/servicedescriptioncollection_contains_indexof_remove.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/DataTypes_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/servicedescriptioncollection_insert_item_copyto.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/DataTypes_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/servicedescriptioncollection_getbinding.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/DataTypes_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/servicedescriptioncollection_getmessage.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/DataTypes_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/servicedescriptioncollection_getporttype.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetService/DataTypes_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetService/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetService/servicedescriptioncollection_getservice.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Overview/DataTypes_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Overview/MathService_VB.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Overview/servicedescriptioncollection.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/Sample_VB.WSDL
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionImportStyle/Overview/Sample_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapAddressBinding/Overview/AddNumbersInput_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.vb
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/AddNumbersInput_vb.wsdl
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/Service1_vb.asmx
delete mode 100644 snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/soapbodybinding_parts.vb
diff --git a/snippets/cpp/VS_Snippets_Remoting/BindingCollectionSample2/CPP/bindingcollectionsample2.cpp b/snippets/cpp/VS_Snippets_Remoting/BindingCollectionSample2/CPP/bindingcollectionsample2.cpp
deleted file mode 100644
index 6bc8503b66d..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/BindingCollectionSample2/CPP/bindingcollectionsample2.cpp
+++ /dev/null
@@ -1,170 +0,0 @@
-// System.Web.Services.Description.Binding.Binding();System.Web.Services.Description.Binding.Name;
-// System.Web.Services.Description.Binding.Type;System.Web.Services.Description.Binding.Extensions;System.Web.Services.Description.Binding.Operations;
-// System.Web.Services.Description.BindingCollection.Insert;
-// System.Web.Services.Description.Binding.ServiceDescription;
-
-// Grouping Clause : Snippet5 and Snippet8 go together.
-
-/* The following example demonstrates the constructor 'Binding()' and properties 'Extensions','Name','Operations',
- 'ServiceDescription' and 'Type' property of 'Binding' class AND method 'Insert' of 'BindingCollection' class.
- The input to the program is a WSDL file 'MathService_input.wsdl' with all information related to SOAP protocol
- removed from it. In a way, it tries to simulate a scenario wherein a service initially did not support a protocol, however later
- on happen to support it.
- In this example, the WSDL file is modified to insert a new Binding for SOAP. The binding is populated based on
- WSDL document structure defined in WSDL specification. The ServiceDescription instance is loaded with values
- for 'Messages', 'PortTypes','Bindings', and 'Port'. The instance is then written to an external file 'MathService_new.wsdl'.
- * */
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Collections;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-
-ref class MyClass
-{
-public:
- // Creates a Message with name ="messageName" having one MessagePart with name = "partName".
- static Message^ CreateMessage( String^ messageName, String^ partName, String^ element, String^ targetNamespace )
- {
- Message^ myMessage = gcnew Message;
- myMessage->Name = messageName;
- MessagePart^ myMessagePart = gcnew MessagePart;
- myMessagePart->Name = partName;
- myMessagePart->Element = gcnew XmlQualifiedName( element,targetNamespace );
- myMessage->Parts->Add( myMessagePart );
- return myMessage;
- }
-
- // Used to create Operations under PortType.
- static Operation^ CreateOperation( String^ operationName, String^ inputMessage, String^ outputMessage, String^ targetNamespace )
- {
- Operation^ myOperation = gcnew Operation;
- myOperation->Name = operationName;
- OperationMessage^ input = (OperationMessage^)( gcnew OperationInput );
- input->Message = gcnew XmlQualifiedName( inputMessage,targetNamespace );
- OperationMessage^ output = (OperationMessage^)( gcnew OperationOutput );
- output->Message = gcnew XmlQualifiedName( outputMessage,targetNamespace );
- myOperation->Messages->Add( input );
- myOperation->Messages->Add( output );
- return myOperation;
- }
-
-//
- // Used to create OperationBinding instances within 'Binding'.
-public:
- static OperationBinding^ CreateOperationBinding( String^ operation, String^ targetNamespace )
- {
- // Create OperationBinding instance for operation.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = operation;
- // Create InputBinding for operation.
- InputBinding^ myInputBinding = gcnew InputBinding;
- SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
- mySoapBodyBinding->Use = SoapBindingUse::Literal;
- myInputBinding->Extensions->Add( mySoapBodyBinding );
- // Create OutputBinding for operation.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- myOutputBinding->Extensions->Add( mySoapBodyBinding );
- // Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInputBinding;
- myOperationBinding->Output = myOutputBinding;
- // Create extensibility element for 'SoapOperationBinding'.
- SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
- mySoapOperationBinding->SoapAction = String::Concat( targetNamespace, operation );
- // Add extensibility element 'SoapOperationBinding' to 'OperationBinding'.
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
- return myOperationBinding;
- }
-//
-
- static void Main()
- {
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_input.wsdl" );
- // Create SOAP Messages.
- myServiceDescription->Messages->Add( CreateMessage( "AddSoapIn", "parameters", "Add", myServiceDescription->TargetNamespace ) );
- myServiceDescription->Messages->Add( CreateMessage( "AddSoapOut", "parameters", "AddResponse", myServiceDescription->TargetNamespace ) );
- myServiceDescription->Messages->Add( CreateMessage( "SubtractSoapIn", "parameters", "Subtract", myServiceDescription->TargetNamespace ) );
- myServiceDescription->Messages->Add( CreateMessage( "SubtractSoapOut", "parameters", "SubtractResponse", myServiceDescription->TargetNamespace ) );
- myServiceDescription->Messages->Add( CreateMessage( "MultiplySoapIn", "parameters", "Multiply", myServiceDescription->TargetNamespace ) );
- myServiceDescription->Messages->Add( CreateMessage( "MultiplySoapOut", "parameters", "MultiplyResponse", myServiceDescription->TargetNamespace ) );
- myServiceDescription->Messages->Add( CreateMessage( "DivideSoapIn", "parameters", "Divide", myServiceDescription->TargetNamespace ) );
- myServiceDescription->Messages->Add( CreateMessage( "DivideSoapOut", "parameters", "DivideResponse", myServiceDescription->TargetNamespace ) );
-
- // Create a new PortType.
- PortType^ soapPortType = gcnew PortType;
- soapPortType->Name = "MathServiceSoap";
- soapPortType->Operations->Add( CreateOperation( "Add", "AddSoapIn", "AddSoapOut", myServiceDescription->TargetNamespace ) );
- soapPortType->Operations->Add( CreateOperation( "Subtract", "SubtractSoapIn", "SubtractSoapOut", myServiceDescription->TargetNamespace ) );
- soapPortType->Operations->Add( CreateOperation( "Multiply", "MultiplySoapIn", "MultiplySoapOut", myServiceDescription->TargetNamespace ) );
- soapPortType->Operations->Add( CreateOperation( "Divide", "DivideSoapIn", "DivideSoapOut", myServiceDescription->TargetNamespace ) );
- myServiceDescription->PortTypes->Add( soapPortType );
-
-//
-//
-//
- // Create a new Binding for SOAP Protocol.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = String::Concat( myServiceDescription->Services->default[ 0 ]->Name, "Soap" );
-//
-
-//
- // Pass the name of the existing porttype 'MathServiceSoap' and the Xml targetNamespace attribute of the Descriptions tag.
- myBinding->Type = gcnew XmlQualifiedName( "MathServiceSoap",myServiceDescription->TargetNamespace );
-//
-
-//
- // Create SOAP Extensibility element.
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- // SOAP over HTTP.
- mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
- mySoapBinding->Style = SoapBindingStyle::Document;
- // Add tag soap:binding as an extensibility element.
- myBinding->Extensions->Add( mySoapBinding );
-//
-
-//
- // Create OperationBindings for each of the operations defined in asmx file.
- OperationBinding^ addOperationBinding = CreateOperationBinding( "Add", myServiceDescription->TargetNamespace );
- myBinding->Operations->Add( addOperationBinding );
- OperationBinding^ subtractOperationBinding = CreateOperationBinding( "Subtract", myServiceDescription->TargetNamespace );
- myBinding->Operations->Add( subtractOperationBinding );
- OperationBinding^ multiplyOperationBinding = CreateOperationBinding( "Multiply", myServiceDescription->TargetNamespace );
- myBinding->Operations->Add( multiplyOperationBinding );
- OperationBinding^ divideOperationBinding = CreateOperationBinding( "Divide", myServiceDescription->TargetNamespace );
- myBinding->Operations->Add( divideOperationBinding );
-//
-
- myServiceDescription->Bindings->Insert( 0, myBinding );
-//
-//
-
-//
- Console::WriteLine( "\nTarget Namespace of the Service Description to which the binding was added is:{0}", myServiceDescription->Bindings->default[ 0 ]->ServiceDescription->TargetNamespace );
-//
-
- // Create Port.
- Port^ soapPort = gcnew Port;
- soapPort->Name = "MathServiceSoap";
- soapPort->Binding = gcnew XmlQualifiedName( myBinding->Name,myServiceDescription->TargetNamespace );
- // Create SoapAddress extensibility element to add to port.
- SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
- mySoapAddressBinding->Location = "http://localhost/BindingCollectionSample/MathService.asmx";
- soapPort->Extensions->Add( mySoapAddressBinding );
- // Add port to the MathService which is the first service in the Service Collection.
- myServiceDescription->Services->default[ 0 ]->Ports->Add( soapPort );
- // Save the ServiceDescription instance to an external file.
- myServiceDescription->Write( "MathService_new.wsdl" );
- Console::WriteLine( "\nSuccessfully added bindings for SOAP protocol and saved results in file MathService_new.wsdl" );
- Console::WriteLine( "\n This file should be passed to wsdl tool as input to generate proxy" );
- }
-};
-
-int main()
-{
- MyClass::Main();
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample1/CPP/bindingcollectionsample1.cpp b/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample1/CPP/bindingcollectionsample1.cpp
deleted file mode 100644
index 1e66ce14ccb..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample1/CPP/bindingcollectionsample1.cpp
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-// System::Web::Services::Description.BindingCollection;System::Web::Services::Description.BindingCollection::Item->Item[Int32];
-// System::Web::Services::Description.BindingCollection::Item->Item[String];System::Web::Services::Description.BindingCollection::CopyTo
-/* The program reads a wsdl document S"MathService::wsdl" and instantiates a
-// ServiceDescription instance from the WSDL document.A BindingCollection instance
-// is then retrieved from this ServiceDescription instance and it's members are demonstrated.
-*/
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- Binding^ myBinding;
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_input.wsdl" );
- Console::WriteLine( "Total Number of bindings : {0}", myServiceDescription->Bindings->Count );
-
- //
- for ( int i = 0; i < myServiceDescription->Bindings->Count; ++i )
- {
- Console::WriteLine( "\nBinding {0}", i );
-
- // Get Binding at index i.
- myBinding = myServiceDescription->Bindings[ i ];
- Console::WriteLine( "\t Name : {0}", myBinding->Name );
- Console::WriteLine( "\t Type : {0}", myBinding->Type );
- }
- //
-
- //
- array^myBindings = gcnew array(myServiceDescription->Bindings->Count);
-
- // Copy BindingCollection to an Array.
- myServiceDescription->Bindings->CopyTo( myBindings, 0 );
- Console::WriteLine( "\n\n Displaying array copied from BindingCollection" );
- for ( int i = 0; i < myServiceDescription->Bindings->Count; ++i )
- {
- Console::WriteLine( "\nBinding {0}", i );
- Console::WriteLine( "\t Name : {0}", myBindings[ i ]->Name );
- Console::WriteLine( "\t Type : {0}", myBindings[ i ]->Type );
- }
- //
-
- //
- // Get Binding Name = S"MathServiceSoap".
- myBinding = myServiceDescription->Bindings[ "MathServiceHttpGet" ];
- if ( myBinding != nullptr )
- {
- Console::WriteLine( "\n\nName : {0}", myBinding->Name );
- Console::WriteLine( "Type : {0}", myBinding->Type );
- }
- //
-
- myServiceDescription = nullptr;
- myBinding = nullptr;
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample3/CPP/bindingcollectionsample3.cpp b/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample3/CPP/bindingcollectionsample3.cpp
deleted file mode 100644
index 3be2280b84d..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample3/CPP/bindingcollectionsample3.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-// System::Web::Services::Description.BindingCollection;System::Web::Services::Description.Remove;System::Web::Services::Description.Add;
-// System::Web::Services::Description.Contains;System::Web::Services::Description.IndexOf
-/*The following example reads the contents of a file 'MathService::wsdl' into a ServiceDescription instance.
-Removes first binding in the BindingCollection of the ServiceDescription instance and writes the current
-'ServiceDescription' instance into a temporary file.
-Adds the same binding back again into the instance and writes to another temporary file.
-*/
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- Binding^ myBinding;
-
- //
- //
- //
- //
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_input.wsdl" );
- Console::WriteLine( "Total Number of bindings defined are: {0}", myServiceDescription->Bindings->Count );
- myBinding = myServiceDescription->Bindings[ 0 ];
-
- // Remove the first binding in the collection.
- myServiceDescription->Bindings->Remove( myBinding );
- Console::WriteLine( "Successfully removed binding {0}", myBinding->Name );
- Console::WriteLine( "Total Number of bindings defined now are: {0}", myServiceDescription->Bindings->Count );
- myServiceDescription->Write( "MathService_temp.wsdl" );
- //
-
- // Add binding to the ServiceDescription instance.
- myServiceDescription->Bindings->Add( myBinding );
- //
-
- if ( myServiceDescription->Bindings->Contains( myBinding ) )
- Console::WriteLine( "Successfully added binding {0}", myBinding->Name );
- //
-
- Console::WriteLine( "Binding was added at index {0}", myServiceDescription->Bindings->IndexOf( myBinding ) );
- Console::WriteLine( "Total Number of bindings defined now are: {0}", myServiceDescription->Bindings->Count );
- myServiceDescription->Write( "MathService_temp1.wsdl" );
- //
- * myServiceDescription = 0;
-
- myBinding = nullptr;
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/MathService_input_cpp.wsdl b/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/MathService_input_cpp.wsdl
deleted file mode 100644
index 556e7526dd4..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/MathService_input_cpp.wsdl
+++ /dev/null
@@ -1,491 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp b/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp
deleted file mode 100644
index 94ef69ae84a..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp
+++ /dev/null
@@ -1,213 +0,0 @@
-// System.Web.Services.Description.InputBinding.InputBinding();
-// System.Web.Services.Description.InputBinding.Extensions
-// System.Web.Services.Description.InputBinding
-// System.Web.Services.Description.Message.Message();
-// System.Web.Services.Description.Message.Name;
-// System.Web.Services.Description.Message.Parts;
-// System.Web.Services.Description.MessageCollection.Add;
-// System.Web.Services.Description.MessageCollection.Insert;
-// System.Web.Services.Description.MessageCollection;
-// System.Web.Services.Description.MessagePart.MessagePart();
-// System.Web.Services.Description.MessagePart.Element;
-// System.Web.Services.Description.MessagePart.Name;
-// System.Web.Services.Description.MessagePart;
-// System.Web.Services.Description.MessagePartCollection.Add;
-// System.Web.Services.Description.MessagePartCollection.Insert;
-
-/*
- The following program takes input a WSDL file 'MathService_input.wsdl' with all information related to SOAP protocol
- removed from it.In a way it tries to simulate a scenario wherein a service initially did not support a protocol, however later
- on happen to support it.
- In this example, the WSDL file is modified to insert a new Binding for SOAP. The binding is populated based on
- WSDL document structure defined in WSDL specification. The ServiceDescription instance is loaded with values
- for 'Messages', 'PortTypes','Bindings', and 'Port'. The instance is then written to an external file 'MathService_new.wsdl'.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-ref class MyClass1
-{
- //
- // Creates a Message with name = messageName having one MessagePart
- // with name = partName.
-public:
- static Message^ CreateMessage( String^ messageName, String^ partName, String^ element, String^ targetNamespace )
- {
- //
- //
- Message^ myMessage = gcnew Message;
- myMessage->Name = messageName;
- //
- //
- //
- //
- //
- MessagePart^ myMessagePart = gcnew MessagePart;
- myMessagePart->Name = partName;
- myMessagePart->Element = gcnew XmlQualifiedName( element,targetNamespace );
- myMessage->Parts->Add( myMessagePart );
- //
- //
- //
- //
- //
- return myMessage;
- }
- //
-
- //
- // Used to create OperationBinding instances within 'Binding'.
- static OperationBinding^ CreateOperationBinding( String^ operation, String^ targetNamespace )
- {
- // Create OperationBinding for operation.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = operation;
-
- //
- //
- // Create InputBinding for operation.
- InputBinding^ myInputBinding = gcnew InputBinding;
- SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
- mySoapBodyBinding->Use = SoapBindingUse::Literal;
- myInputBinding->Extensions->Add( mySoapBodyBinding );
-
- //
- //
- // Create OutputBinding for operation.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- myOutputBinding->Extensions->Add( mySoapBodyBinding );
-
- // Add InputBinding and OutputBinding to OperationBinding.
- myOperationBinding->Input = myInputBinding;
- myOperationBinding->Output = myOutputBinding;
-
- // Create an extensibility element for SoapOperationBinding.
- SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
- mySoapOperationBinding->SoapAction = String::Concat( targetNamespace, operation );
-
- // Add the extensibility element SoapOperationBinding to OperationBinding.
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
- return myOperationBinding;
- }
- //
-
- // Used to create Operations under PortType.
- static Operation^ CreateOperation( String^ operationName, String^ inputMessage, String^ outputMessage, String^ targetNamespace )
- {
- Operation^ myOperation = gcnew Operation;
- myOperation->Name = operationName;
- OperationMessage^ input = dynamic_cast(gcnew OperationInput);
- input->Message = gcnew XmlQualifiedName( inputMessage,targetNamespace );
- OperationMessage^ output = dynamic_cast(gcnew OperationOutput);
- output->Message = gcnew XmlQualifiedName( outputMessage,targetNamespace );
- myOperation->Messages->Add( input );
- myOperation->Messages->Add( output );
- return myOperation;
- }
-
- static void main()
- {
- //
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_input_cpp.wsdl" );
- // Create SOAP messages.
- //
- Message^ myMessage = gcnew Message;
- myMessage->Name = "AddSoapOut";
- //
- MessagePart^ myMessagePart = gcnew MessagePart;
- myMessagePart->Name = "parameters";
- myMessagePart->Element = gcnew XmlQualifiedName( "AddResponse",myServiceDescription->TargetNamespace );
- myMessage->Parts->Add( myMessagePart );
- //
- myServiceDescription->Messages->Add( myMessage );
- //
- //
- //
- Message^ myMessage1 = gcnew Message;
- myMessage1->Name = "AddSoapIn";
- //
- MessagePart^ myMessagePart1 = gcnew MessagePart;
- myMessagePart1->Name = "parameters";
- myMessagePart1->Element = gcnew XmlQualifiedName( "Add",myServiceDescription->TargetNamespace );
- myMessage1->Parts->Insert( 0, myMessagePart1 );
- //
- myServiceDescription->Messages->Insert( 16, myMessage1 );
- //
- myServiceDescription->Messages->Add( CreateMessage( "SubtractSoapIn", "parameters", "Subtract", myServiceDescription->TargetNamespace ) );
- myServiceDescription->Messages->Add( CreateMessage( "SubtractSoapOut", "parameters", "SubtractResponse", myServiceDescription->TargetNamespace ) );
- myServiceDescription->Messages->Add( CreateMessage( "MultiplySoapIn", "parameters", "Multiply", myServiceDescription->TargetNamespace ) );
- myServiceDescription->Messages->Add( CreateMessage( "MultiplySoapOut", "parameters", "MultiplyResponse", myServiceDescription->TargetNamespace ) );
- myServiceDescription->Messages->Add( CreateMessage( "DivideSoapIn", "parameters", "Divide", myServiceDescription->TargetNamespace ) );
- myServiceDescription->Messages->Add( CreateMessage( "DivideSoapOut", "parameters", "DivideResponse", myServiceDescription->TargetNamespace ) );
-
- // Create a new PortType.
- PortType^ soapPortType = gcnew PortType;
- soapPortType->Name = "MathServiceSoap";
- soapPortType->Operations->Add( CreateOperation( "Add", "AddSoapIn", "AddSoapOut", myServiceDescription->TargetNamespace ) );
- soapPortType->Operations->Add( CreateOperation( "Subtract", "SubtractSoapIn", "SubtractSoapOut", myServiceDescription->TargetNamespace ) );
- soapPortType->Operations->Add( CreateOperation( "Multiply", "MultiplySoapIn", "MultiplySoapOut", myServiceDescription->TargetNamespace ) );
- soapPortType->Operations->Add( CreateOperation( "Divide", "DivideSoapIn", "DivideSoapOut", myServiceDescription->TargetNamespace ) );
- myServiceDescription->PortTypes->Add( soapPortType );
-
- // Create a new Binding for the SOAP protocol.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = String::Concat( myServiceDescription->Services[ 0 ]->Name, "Soap" );
-
- // Pass the name of the existing PortType MathServiceSoap and the
- // Xml TargetNamespace attribute of the Descriptions tag.
- myBinding->Type = gcnew XmlQualifiedName( "MathServiceSoap",myServiceDescription->TargetNamespace );
-
- // Create a SOAP extensibility element.
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
- mySoapBinding->Style = SoapBindingStyle::Document;
-
- // Add tag soap:binding as an extensibility element.
- myBinding->Extensions->Add( mySoapBinding );
-
- // Create OperationBindings for each of the operations defined
- // in the .asmx file.
- OperationBinding^ addOperationBinding = CreateOperationBinding( "Add", myServiceDescription->TargetNamespace );
- myBinding->Operations->Add( addOperationBinding );
- OperationBinding^ subtractOperationBinding = CreateOperationBinding( "Subtract", myServiceDescription->TargetNamespace );
- myBinding->Operations->Add( subtractOperationBinding );
- OperationBinding^ multiplyOperationBinding = CreateOperationBinding( "Multiply", myServiceDescription->TargetNamespace );
- myBinding->Operations->Add( multiplyOperationBinding );
- OperationBinding^ divideOperationBinding = CreateOperationBinding( "Divide", myServiceDescription->TargetNamespace );
- myBinding->Operations->Add( divideOperationBinding );
- myServiceDescription->Bindings->Insert( 0, myBinding );
- Console::WriteLine( "\nTarget namespace of the service description to which the binding was added is: {0}", myServiceDescription->Bindings[ 0 ]->ServiceDescription->TargetNamespace );
-
- // Create a Port.
- Port^ soapPort = gcnew Port;
- soapPort->Name = "MathServiceSoap";
- soapPort->Binding = gcnew XmlQualifiedName( myBinding->Name,myServiceDescription->TargetNamespace );
-
- // Create a SoapAddress extensibility element to add to the port.
- SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
- mySoapAddressBinding->Location = "http://localhost/MathService.cs.asmx";
- soapPort->Extensions->Add( mySoapAddressBinding );
-
- // Add the port to the MathService, which is the first service in
- // the service collection.
- myServiceDescription->Services[ 0 ]->Ports->Add( soapPort );
-
- // Save the ServiceDescription to an external file.
- myServiceDescription->Write( "MathService_new.wsdl" );
- Console::WriteLine( "\nSuccessfully added bindings for SOAP protocol and saved results in the file MathService_new.wsdl" );
- Console::WriteLine( "\n This file should be passed to the WSDL tool as input to generate the proxy" );
- }
-};
-
-int main()
-{
- MyClass1::main();
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/DocumentableItemsample/CPP/MathService_cpp.wsdl b/snippets/cpp/VS_Snippets_Remoting/DocumentableItemsample/CPP/MathService_cpp.wsdl
deleted file mode 100644
index 9aa220c7ed2..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/DocumentableItemsample/CPP/MathService_cpp.wsdl
+++ /dev/null
@@ -1,352 +0,0 @@
-
-
-
-
- All types have been defined here
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Port Type "MathServiceHttpGet" is defined here
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Port Type "MathServiceHttpPost" is defined here
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Port Type "MathServiceSoap" is defined here
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Binding "MathServiceSoap" is defined here
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Binding "MathServiceHttpGet" is defined here
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Binding "MathServiceHttpPost" is defined here
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/cpp/VS_Snippets_Remoting/DocumentableItemsample/CPP/documentableitemsample.cpp b/snippets/cpp/VS_Snippets_Remoting/DocumentableItemsample/CPP/documentableitemsample.cpp
deleted file mode 100644
index 16ae3564724..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/DocumentableItemsample/CPP/documentableitemsample.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-// System::Web::Services::Description.DocumentableItem::Documentation;
-/*
-The following program demonstrates the property 'Documentation' of abstract class 'DocumentableItem'
-The program reads a wsdl document S"MathService::wsdl" and instantiates a ServiceDescription instance
-from the WSDL document.
-This program demonstrates a generic utility function which can accept any of Types, PortType and Binding
-classes as parameters.
-*/
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Xml;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-
-// Prints documentation associated with a wsdl element.
-void PrintDocumentation( DocumentableItem^ myItem )
-{
- Console::WriteLine( "\t {0}", myItem->Documentation );
-}
-
-int main()
-{
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_cpp.wsdl" );
- Console::WriteLine( "Documentation Element for type is " );
- PrintDocumentation( myServiceDescription->Types );
- IEnumerator^ myEnum = myServiceDescription->PortTypes->GetEnumerator();
- while ( myEnum->MoveNext() )
- {
- PortType^ myPortType = safe_cast(myEnum->Current);
- Console::WriteLine( "Documentation Element for Port Type {0} is ", myPortType->Name );
- PrintDocumentation( myPortType );
- }
-
- myEnum = myServiceDescription->Bindings->GetEnumerator();
- while ( myEnum->MoveNext() )
- {
- Binding^ myBinding = safe_cast(myEnum->Current);
- Console::WriteLine( "Documentation Element for Port Type {0} is ", myBinding->Name );
- PrintDocumentation( myBinding );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Add/CPP/faultbindingcollection_add.cpp b/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Add/CPP/faultbindingcollection_add.cpp
deleted file mode 100644
index fbcca70719e..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Add/CPP/faultbindingcollection_add.cpp
+++ /dev/null
@@ -1,217 +0,0 @@
-/* The following example demonstrates the 'Add' method of the 'FaultBindingCollection' class
-* and constructor and 'Extensions' property of 'FaultBinding'class and 'Documentation'
-* property of 'DocumentableItem' class.
-*
-* This program generates a WSDL file for a service called StockQuote. The StockQuote service
-* provides one method called 'GetTradePrice'. The 'GetTradePrice' method takes two arguments,
-* a 'tickerSymbol' and 'time' strings. The 'tickerSymbol' is a unique representation of a
-* stock and 'time' is the time for which the trading price is to be returned for the stock
-* specified. The WSDL file generated for the service supports the SOAP protocol only.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-using namespace System::Xml::Schema;
-using namespace System::Xml::Serialization;
-
-XmlSchemaElement^ CreateComplexTypeXmlElement( String^ minoccurs, String^ maxoccurs, String^ name, bool isNillable, XmlQualifiedName^ schemaTypeName )
-{
- XmlSchemaElement^ myXmlSchemaElement = gcnew XmlSchemaElement;
- myXmlSchemaElement->MinOccursString = minoccurs;
- myXmlSchemaElement->MaxOccursString = maxoccurs;
- myXmlSchemaElement->Name = name;
- myXmlSchemaElement->IsNillable = true;
- myXmlSchemaElement->SchemaTypeName = schemaTypeName;
- return myXmlSchemaElement;
-}
-
-XmlSchemaElement^ CreateOtherXmlElement( String^ name, XmlQualifiedName^ SchemaTypeName )
-{
- XmlSchemaElement^ myXmlSchemaElement = gcnew XmlSchemaElement;
- myXmlSchemaElement->Name = name;
- myXmlSchemaElement->SchemaTypeName = SchemaTypeName;
- return myXmlSchemaElement;
-}
-
-// Creates a Message with name =S"messageName" having one MessagePart with name = S"partName".
-Message^ CreateMessage( String^ messageName, String^ partName, String^ element, String^ targetNamespace )
-{
- Message^ myMessage = gcnew Message;
- myMessage->Name = messageName;
- MessagePart^ myMessagePart = gcnew MessagePart;
- myMessagePart->Name = partName;
- myMessagePart->Element = gcnew XmlQualifiedName( element,targetNamespace );
- myMessage->Parts->Add( myMessagePart );
- return myMessage;
-}
-
-int main()
-{
- ServiceDescription^ myServiceDescription = gcnew ServiceDescription;
- myServiceDescription->Name = "StockQuote";
- myServiceDescription->TargetNamespace = "http://www.contoso.com/stockquote.wsdl";
-
- // Generate the 'Types' element.
- XmlSchema^ myXmlSchema = gcnew XmlSchema;
- myXmlSchema->AttributeFormDefault = XmlSchemaForm::Qualified;
- myXmlSchema->ElementFormDefault = XmlSchemaForm::Qualified;
- myXmlSchema->TargetNamespace = "http://www.contoso.com/stockquote.wsdl";
-
- //XmlSchemaElement myXmlSchemaElement;
- XmlSchemaComplexType^ myXmlSchemaComplexType = gcnew XmlSchemaComplexType;
- myXmlSchemaComplexType->Name = "GetTradePriceInputType";
- XmlSchemaSequence^ myXmlSchemaSequence = gcnew XmlSchemaSequence;
- myXmlSchemaSequence->Items->Add( CreateComplexTypeXmlElement( "1", "1", "tickerSymbol", true, gcnew XmlQualifiedName( "s:string" ) ) );
- myXmlSchemaSequence->Items->Add( CreateComplexTypeXmlElement( "1", "1", "time", true, gcnew XmlQualifiedName( "s:string" ) ) );
- myXmlSchemaComplexType->Particle = myXmlSchemaSequence;
- myXmlSchema->Items->Add( myXmlSchemaComplexType );
-
- myXmlSchemaComplexType = gcnew XmlSchemaComplexType;
- myXmlSchemaComplexType->Name = "GetTradePriceOutputType";
- myXmlSchemaSequence = gcnew XmlSchemaSequence;
- myXmlSchemaSequence->Items->Add( CreateComplexTypeXmlElement( "1", "1", "result", true, gcnew XmlQualifiedName( "s:string" ) ) );
- myXmlSchemaComplexType->Particle = myXmlSchemaSequence;
- myXmlSchema->Items->Add( myXmlSchemaComplexType );
-
- myXmlSchemaComplexType = gcnew XmlSchemaComplexType;
- myXmlSchemaComplexType->Name = "GetTradePriceStringFaultType";
- myXmlSchemaSequence = gcnew XmlSchemaSequence;
- myXmlSchemaSequence->Items->Add( CreateComplexTypeXmlElement( "1", "1", "error", true, gcnew XmlQualifiedName( "s:string" ) ) );
- myXmlSchemaComplexType->Particle = myXmlSchemaSequence;
- myXmlSchema->Items->Add( myXmlSchemaComplexType );
-
- myXmlSchemaComplexType = gcnew XmlSchemaComplexType;
- myXmlSchemaComplexType->Name = "GetTradePriceStringIntType";
- myXmlSchemaSequence = gcnew XmlSchemaSequence;
- myXmlSchemaSequence->Items->Add( CreateComplexTypeXmlElement( "1", "1", "error", true, gcnew XmlQualifiedName( "s:int" ) ) );
- myXmlSchemaComplexType->Particle = myXmlSchemaSequence;
- myXmlSchema->Items->Add( myXmlSchemaComplexType );
-
- myXmlSchema->Items->Add( CreateOtherXmlElement( "GetTradePriceSoapIn", gcnew XmlQualifiedName( "s0:GetTradePriceInputType" ) ) );
- myXmlSchema->Items->Add( CreateOtherXmlElement( "GetTradePriceSoapOut", gcnew XmlQualifiedName( "s0:GetTradePriceOutputType" ) ) );
- myXmlSchema->Items->Add( CreateOtherXmlElement( "GetTradePriceSoapStringFault", gcnew XmlQualifiedName( "s0:GetTradePriceStringFaultType" ) ) );
- myXmlSchema->Items->Add( CreateOtherXmlElement( "GetTradePriceSoapIntFault", gcnew XmlQualifiedName( "s0:GetTradePriceIntFaultType" ) ) );
-
- myServiceDescription->Types->Schemas->Add( myXmlSchema );
-
- // Generate the 'Message' element.
- MessageCollection^ myMessageCollection = myServiceDescription->Messages;
- myMessageCollection->Add( CreateMessage( "GetTradePriceInput", "parameters", "GetTradePriceSoapIn", myServiceDescription->TargetNamespace ) );
- myMessageCollection->Add( CreateMessage( "GetTradePriceOutput", "parameters", "GetTradePriceSoapOut", myServiceDescription->TargetNamespace ) );
- myMessageCollection->Add( CreateMessage( "GetTradePriceStringFault", "parameters", "GetTradePriceStringSoapFault", myServiceDescription->TargetNamespace ) );
- myMessageCollection->Add( CreateMessage( "GetTradePriceIntFault", "parameters", "GetTradePriceIntSoapFault", myServiceDescription->TargetNamespace ) );
-
- // Generate the 'Port Type' element.
- PortTypeCollection^ myPortTypeCollection = myServiceDescription->PortTypes;
- PortType^ myPortType = gcnew PortType;
- myPortType->Name = "StockQuotePortType";
- OperationCollection^ myOperationCollection = myPortType->Operations;
- Operation^ myOperation = gcnew Operation;
- myOperation->Name = "GetTradePrice";
- OperationMessage^ myOperationMessage;
- OperationMessageCollection^ myOperationMessageCollection = myOperation->Messages;
- myOperationMessage = dynamic_cast(gcnew OperationInput);
- myOperationMessage->Message = gcnew XmlQualifiedName( "s0:GetTradePriceInput" );
- myOperationMessageCollection->Add( myOperationMessage );
- myOperationMessage = dynamic_cast(gcnew OperationOutput);
- myOperationMessage->Message = gcnew XmlQualifiedName( "s0:GetTradePriceOutput" );
- myOperationMessageCollection->Add( myOperationMessage );
- OperationFault^ myOperationFault = gcnew OperationFault;
- myOperationFault->Name = "ErrorString";
- myOperationFault->Message = gcnew XmlQualifiedName( "s0:GetTradePriceStringFault" );
- myOperation->Faults->Add( myOperationFault );
- myOperationFault = gcnew OperationFault;
- myOperationFault->Name = "ErrorInt";
- myOperationFault->Message = gcnew XmlQualifiedName( "s0:GetTradePriceIntFault" );
- myOperation->Faults->Add( myOperationFault );
- myOperationCollection->Add( myOperation );
- myPortTypeCollection->Add( myPortType );
-
- // Generate the 'Binding' element.
- ServiceDescriptionFormatExtensionCollection^ myExtensions;
- BindingCollection^ myBindingCollection = myServiceDescription->Bindings;
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "StockQuoteSoapBinding";
- myBinding->Type = gcnew XmlQualifiedName( "s0:StockQuotePortType" );
- myExtensions = myBinding->Extensions;
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- mySoapBinding->Style = SoapBindingStyle::Document;
- mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
- myExtensions->Add( mySoapBinding );
- OperationBindingCollection^ myOperationBindingCollection = myBinding->Operations;
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myExtensions = myOperationBinding->Extensions;
- SoapOperationBinding^ mySoapBindingOperation = gcnew SoapOperationBinding;
- mySoapBindingOperation->SoapAction = "http://www.contoso.com/GetTradePrice";
- myExtensions->Add( mySoapBindingOperation );
- myOperationBinding->Name = "GetTradePrice";
- myOperationBinding->Input = gcnew InputBinding;
- myExtensions = myOperationBinding->Input->Extensions;
- SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
- mySoapBodyBinding->Use = SoapBindingUse::Literal;
- mySoapBodyBinding->Namespace = "http://www.contoso.com/stockquote";
- myExtensions->Add( mySoapBodyBinding );
- myOperationBinding->Output = gcnew OutputBinding;
- myExtensions = myOperationBinding->Output->Extensions;
- mySoapBodyBinding = gcnew SoapBodyBinding;
- mySoapBodyBinding->Use = SoapBindingUse::Literal;
- mySoapBodyBinding->Namespace = "http://www.contoso.com/stockquote";
- myExtensions->Add( mySoapBodyBinding );
-
-//
-//
-//
- FaultBindingCollection^ myFaultBindingCollection = myOperationBinding->Faults;
- FaultBinding^ myFaultBinding = gcnew FaultBinding;
- myFaultBinding->Name = "ErrorString";
- // Associate SOAP fault binding to the fault binding of the operation.
- myExtensions = myFaultBinding->Extensions;
- SoapFaultBinding^ mySoapFaultBinding = gcnew SoapFaultBinding;
- mySoapFaultBinding->Use = SoapBindingUse::Literal;
- mySoapFaultBinding->Namespace = "http://www.contoso.com/stockquote";
- myExtensions->Add( mySoapFaultBinding );
- myFaultBindingCollection->Add( myFaultBinding );
-//
-//
-//
-
- myFaultBinding = gcnew FaultBinding;
- myFaultBinding->Name = "ErrorInt";
- // Associate SOAP fault binding to the fault binding of the operation.
- myExtensions = myFaultBinding->Extensions;
- mySoapFaultBinding = gcnew SoapFaultBinding;
- mySoapFaultBinding->Use = SoapBindingUse::Literal;
- mySoapFaultBinding->Namespace = "http://www.contoso.com/stockquote";
- myExtensions->Add( mySoapFaultBinding );
- myFaultBindingCollection->Add( myFaultBinding );
- myOperationBindingCollection->Add( myOperationBinding );
- myBindingCollection->Add( myBinding );
-
- // Generate the 'Service' element.
- ServiceCollection^ myServiceCollection = myServiceDescription->Services;
-
-//
- Service^ myService = gcnew Service;
- // Add a simple documentation for the service to ease the readability of the generated WSDL file.
- myService->Documentation = "A Simple Stock Quote Service";
- myService->Name = "StockQuoteService";
- PortCollection^ myPortCollection = myService->Ports;
- Port^ myPort = gcnew Port;
- myPort->Name = "StockQuotePort";
- myPort->Binding = gcnew XmlQualifiedName( "s0:StockQuoteSoapBinding" );
- myExtensions = myPort->Extensions;
- SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
- mySoapAddressBinding->Location = "http://www.contoso.com/stockquote";
- myExtensions->Add( mySoapAddressBinding );
- myPortCollection->Add( myPort );
- //
- myServiceCollection->Add( myService );
-
- // Display the WSDL generated to the console.
- myServiceDescription->Write( Console::Out );
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Item/CPP/faultbindingcollection_item.cpp b/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Item/CPP/faultbindingcollection_item.cpp
deleted file mode 100644
index 5084e6fa169..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Item/CPP/faultbindingcollection_item.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
-* The following example demonstrates the 'Item[String*]' property of
-FaultBindingCollection class
-* The program removes a fault binding with the name 'ErrorString'
-from the WSDL file. It also removes a operation fault with the name
-'ErrorString' and displays the resultant WSDL file to the console.
-*
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Xml;
-using namespace System::Web::Services::Description;
-
-int main()
-{
-
- // Read the 'StockQuote::wsdl' file as input.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "StockQuote.wsdl" );
-
- // Get the operation fault collection and remove the operation fault with the name 'ErrorString'.
- PortTypeCollection^ myPortTypeCollection = myServiceDescription->PortTypes;
- PortType^ myPortType = myPortTypeCollection[ 0 ];
- OperationCollection^ myOperationCollection = myPortType->Operations;
- Operation^ myOperation = myOperationCollection[ 0 ];
- OperationFaultCollection^ myOperationFaultCollection = myOperation->Faults;
- if ( myOperationFaultCollection->Contains( myOperationFaultCollection[ "ErrorString" ] ) )
- myOperationFaultCollection->Remove( myOperationFaultCollection[ "ErrorString" ] );
-
-
- // Get the fault binding collection and remove the fault binding with the name 'ErrorString'.
- //
- BindingCollection^ myBindingCollection = myServiceDescription->Bindings;
- Binding^ myBinding = myBindingCollection[ 0 ];
- OperationBindingCollection^ myOperationBindingCollection = myBinding->Operations;
- OperationBinding^ myOperationBinding = myOperationBindingCollection[ 0 ];
- FaultBindingCollection^ myFaultBindingCollection = myOperationBinding->Faults;
- if ( myFaultBindingCollection->Contains( myFaultBindingCollection[ "ErrorString" ] ) )
- myFaultBindingCollection->Remove( myFaultBindingCollection[ "ErrorString" ] );
-
-
- //
- myServiceDescription->Write( Console::Out );
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Remove/CPP/faultbindingcollection_remove.cpp b/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Remove/CPP/faultbindingcollection_remove.cpp
deleted file mode 100644
index 5d0f962f077..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Remove/CPP/faultbindingcollection_remove.cpp
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
-* The following example demonstrates the 'Remove', 'CopyTo', 'Insert',
-'Contains', 'IndexOf' method and 'Item[int]' property of FaultBindingCollection
-class
-The program reverses the fault bindings that appear in the WSDL file.
-It also reverses the operation faults and displays the resultant WSDL file
-to the console.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Xml;
-using namespace System::Web::Services::Description;
-
-int main()
-{
-
- // Read the 'StockQuote::wsdl' file as input.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "StockQuote.wsdl" );
- PortTypeCollection^ myPortTypeCollection = myServiceDescription->PortTypes;
- PortType^ myPortType = myPortTypeCollection[ 0 ];
- OperationCollection^ myOperationCollection = myPortType->Operations;
- Operation^ myOperation = myOperationCollection[ 0 ];
- OperationFaultCollection^ myOperationFaultCollection = myOperation->Faults;
-
- // Reverse the operation fault order.
- if ( myOperationFaultCollection->Count > 1 )
- {
- array^myOperationFaultArray = gcnew array(myOperationFaultCollection->Count);
-
- // Copy the operation fault to a temporary array.
- myOperationFaultCollection->CopyTo( myOperationFaultArray, 0 );
-
- // Remove all the operation fault instances in the fault binding collection.
- for ( int i = 0; i < myOperationFaultArray->Length; i++ )
- myOperationFaultCollection->Remove( myOperationFaultArray[ i ] );
-
- // Insert the operation fault instance in the reverse order.
- for ( int i = 0,j = (myOperationFaultArray->Length - 1); i < myOperationFaultArray->Length; i++,j-- )
- myOperationFaultCollection->Insert( i, myOperationFaultArray[ j ] );
- }
-
- //
- //
- //
- //
- //
- //
- BindingCollection^ myBindingCollection = myServiceDescription->Bindings;
- Binding^ myBinding = myBindingCollection[ 0 ];
- OperationBindingCollection^ myOperationBindingCollection = myBinding->Operations;
- OperationBinding^ myOperationBinding = myOperationBindingCollection[ 0 ];
- FaultBindingCollection^ myFaultBindingCollection = myOperationBinding->Faults;
-
- // Reverse the fault bindings order.
- if ( myFaultBindingCollection->Count > 1 )
- {
- FaultBinding^ myFaultBinding = myFaultBindingCollection[ 0 ];
- array^myFaultBindingArray = gcnew array(myFaultBindingCollection->Count);
-
- // Copy the fault bindings to a temporary array.
- myFaultBindingCollection->CopyTo( myFaultBindingArray, 0 );
-
- // Remove all the fault binding instances in the fault binding collection.
- for ( int i = 0; i < myFaultBindingArray->Length; i++ )
- myFaultBindingCollection->Remove( myFaultBindingArray[ i ] );
-
- // Insert the fault binding instance in the reverse order.
- for ( int i = 0,j = (myFaultBindingArray->Length - 1); i < myFaultBindingArray->Length; i++,j-- )
- myFaultBindingCollection->Insert( i, myFaultBindingArray[ j ] );
-
- // Check if the first element in the collection before the reversal is now the last element.
- if ( myFaultBindingCollection->Contains( myFaultBinding ) && myFaultBindingCollection->IndexOf( myFaultBinding ) == (myFaultBindingCollection->Count - 1) )
-
- // Display the WSDL generated to the console.
- myServiceDescription->Write( Console::Out );
- else
- Console::WriteLine( "Error while reversing" );
- }
- //
- //
- //
- //
- //
- //
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/HttpBinding_HttpBinding/CPP/HttpBinding_ctor_Input_CPP.wsdl b/snippets/cpp/VS_Snippets_Remoting/HttpBinding_HttpBinding/CPP/HttpBinding_ctor_Input_CPP.wsdl
deleted file mode 100644
index 5adc74e5609..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/HttpBinding_HttpBinding/CPP/HttpBinding_ctor_Input_CPP.wsdl
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/cpp/VS_Snippets_Remoting/HttpBinding_HttpBinding/CPP/httpbinding_ctor.cpp b/snippets/cpp/VS_Snippets_Remoting/HttpBinding_HttpBinding/CPP/httpbinding_ctor.cpp
deleted file mode 100644
index 6e09ece8126..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/HttpBinding_HttpBinding/CPP/httpbinding_ctor.cpp
+++ /dev/null
@@ -1,93 +0,0 @@
-// System.Web.Services.Description.HttpBinding.HttpBinding()
-// System.Web.Services.Description.HttpBinding.Namespace
-// System.Web.Services.Description.HttpAddressBinding.HttpAddressBinding()
-
-/* The following program demonstrates the constructor, field 'Namespace' of
- class 'HttpBinding' and constructor of class 'HttpAddressBinding'. This program writes all 'HttpPost' binding related information to the input wsdl file and genrates an output file which is later on compiled using wsdl tool.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- ServiceDescription^ myDescription = ServiceDescription::Read( "HttpBinding_ctor_Input_CPP.wsdl" );
-
- //
- //
- // Create 'Binding' object.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "MyHttpBindingServiceHttpPost";
- XmlQualifiedName^ qualifiedName = gcnew XmlQualifiedName( "s0:MyHttpBindingServiceHttpPost" );
- myBinding->Type = qualifiedName;
-
- // Create 'HttpBinding' object.
- HttpBinding^ myHttpBinding = gcnew HttpBinding;
- myHttpBinding->Verb = "POST";
- Console::WriteLine( "HttpBinding Namespace : {0}", HttpBinding::Namespace );
- //
-
- // Add 'HttpBinding' to 'Binding'.
- myBinding->Extensions->Add( myHttpBinding );
- //
-
- // Create 'OperationBinding' object.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
- HttpOperationBinding^ myOperation = gcnew HttpOperationBinding;
- myOperation->Location = "/AddNumbers";
-
- // Add 'HttpOperationBinding' to 'OperationBinding'.
- myOperationBinding->Extensions->Add( myOperation );
-
- // Create 'InputBinding' object.
- InputBinding^ myInput = gcnew InputBinding;
- MimeContentBinding^ postMimeContentbinding = gcnew MimeContentBinding;
- postMimeContentbinding->Type = "application/x-www-form-urlencoded";
- myInput->Extensions->Add( postMimeContentbinding );
-
- // Add 'InputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInput;
-
- // Create 'OutputBinding' object.
- OutputBinding^ myOutput = gcnew OutputBinding;
- MimeXmlBinding^ postMimeXmlbinding = gcnew MimeXmlBinding;
- postMimeXmlbinding->Part = "Body";
- myOutput->Extensions->Add( postMimeXmlbinding );
-
- // Add 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutput;
-
- // Add 'OperationBinding' to 'Binding'.
- myBinding->Operations->Add( myOperationBinding );
-
- // Add 'Binding' to 'BindingCollection' of 'ServiceDescription'.
- myDescription->Bindings->Add( myBinding );
-
- //
- // Create a 'Port' object.
- Port^ postPort = gcnew Port;
- postPort->Name = "MyHttpBindingServiceHttpPost";
- postPort->Binding = gcnew XmlQualifiedName( "s0:MyHttpBindingServiceHttpPost" );
-
- // Create 'HttpAddressBinding' object.
- HttpAddressBinding^ postAddressBinding = gcnew HttpAddressBinding;
- postAddressBinding->Location = "http://localhost/HttpBinding_ctor/HttpBinding_ctor_Service.cs.asmx";
-
- // Add 'HttpAddressBinding' to 'Port'.
- postPort->Extensions->Add( postAddressBinding );
- //
-
- // Add 'Port' to 'PortCollection' of 'ServiceDescription'.
- myDescription->Services[ 0 ]->Ports->Add( postPort );
-
- // Write 'ServiceDescription' as a WSDL file.
- myDescription->Write( "HttpBinding_ctor_Output_CPP.wsdl" );
- Console::WriteLine( "WSDL file with name 'HttpBinding_ctor_Output_CPP.wsdl' file created Successfully" );
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/StockQuoteService_cpp.wsdl b/snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/StockQuoteService_cpp.wsdl
deleted file mode 100644
index ba2aaa247d1..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/StockQuoteService_cpp.wsdl
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- My first service
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/importcollection_6.cpp b/snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/importcollection_6.cpp
deleted file mode 100644
index a896ff5bdcf..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/importcollection_6.cpp
+++ /dev/null
@@ -1,71 +0,0 @@
-// System::Web::Services::Description.ImportCollection
-// System::Web::Services::Description.ImportCollection::Item
-// System::Web::Services::Description.ImportCollection::CopyTo
-// System::Web::Services::Description.ImportCollection::Contains
-// System::Web::Services::Description.ImportCollection::IndexOf
-// System::Web::Services::Description.ImportCollection::Remove
-
-/* The following program demonstrates the methods 'CopyTo', 'Contains', 'IndexOf', 'Remove'
-and property 'Item' of class 'ImportCollection'.
-The program reads a 'WSDL' document and gets a 'ServiceDescription' instance
-An 'ImportCollection' instance is then retrieved from this 'ServiceDescription'
-instance and its members have been demonstrated.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-int main()
-{
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "StockQuoteService_cpp.wsdl" );
- Console::WriteLine( " ImportCollection Sample " );
-
- //
- // Get Import Collection.
- ImportCollection^ myImportCollection = myServiceDescription->Imports;
- Console::WriteLine( "Total Imports in the document = {0}", myServiceDescription->Imports->Count );
-
- // Print 'Import' properties to console.
- for ( int i = 0; i < myImportCollection->Count; ++i )
- Console::WriteLine( "\tImport Namespace : {0} Import Location : {1} ",
- myImportCollection[ i ]->Namespace, myImportCollection[ i ]->Location );
- //
-
- //
- array^myImports = gcnew array(myServiceDescription->Imports->Count);
-
- // Copy 'ImportCollection' to an array.
- myServiceDescription->Imports->CopyTo( myImports, 0 );
- Console::WriteLine( "Imports that are copied to Importarray ..." );
- for ( int i = 0; i < myImports->Length; ++i )
- Console::WriteLine( "\tImport Namespace : {0} Import Location : {1} ",
- myImports[ i ]->Namespace, myImports[ i ]->Location );
- //
-
- //
- //
- //
- // Get Import by Index.
- Import^ myImport = myServiceDescription->Imports[ myServiceDescription->Imports->Count - 1 ];
- Console::WriteLine( "Import by Index..." );
- if ( myImportCollection->Contains( myImport ) )
- {
- Console::WriteLine( "Import Namespace ' {0} ' is found in 'ImportCollection'.", myImport->Namespace );
- Console::WriteLine( "Index of '{0}' in 'ImportCollection' = {1}",
- myImport->Namespace, myImportCollection->IndexOf( myImport ) );
- Console::WriteLine( "Deleting Import from 'ImportCollection'..." );
- myImportCollection->Remove( myImport );
- if ( myImportCollection->IndexOf( myImport ) == -1 )
- Console::WriteLine( "Import is successfully removed from Import Collection." );
- }
- //
- //
- //
-}
-
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/Importsample/CPP/importsample.cpp b/snippets/cpp/VS_Snippets_Remoting/Importsample/CPP/importsample.cpp
deleted file mode 100644
index 84b92d63c6b..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/Importsample/CPP/importsample.cpp
+++ /dev/null
@@ -1,88 +0,0 @@
-// System::Web::Services::Description.ImportCollection->Add;
-// System::Web::Services::Description.ImportCollection::Insert;
-// System::Web::Services::Description.Import::Import();
-// System::Web::Services::Description.Import::Location;
-// System::Web::Services::Description.Import::Namespace;
-// System::Web::Services::Description.Import::ServiceDescription;
-// System::Web::Services::Description.Import;
-
-/* The following example demonstrates the constructor 'Import()' and properties 'Namespace', 'Location', 'Namespace',
-'ServiceDescription' of Import Class. Methods 'Add' and 'Insert' of Class 'ImportCollection' are also demonstrated.
-This example uses a sample provided in WSDL specification to explain Import and ImportCollection.
-It adds import instances to ImportCollection as suggested in the specification sample and enumerates the same to the console.
-Note: This is an illustrative sample using an example from WSDL specification. The real world web service has been assumed.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-//
-//
-//
-// Creates an Import object with namespace and location.
-Import^ CreateImport( String^ targetNamespace, String^ targetlocation )
-{
- Import^ myImport = gcnew Import;
- myImport->Location = targetlocation;
- myImport->Namespace = targetNamespace;
- return myImport;
-}
-//
-//
-//
-
-//
-void PrintImportCollection( String^ fileName_wsdl )
-{
- // Read import collection properties from generated WSDL file.
- ServiceDescription^ myServiceDescription1 = ServiceDescription::Read( fileName_wsdl );
- ImportCollection^ myImportCollection = myServiceDescription1->Imports;
- Console::WriteLine( "Enumerating Import Collection for file ' {0}'...", fileName_wsdl );
-
- // Print Import properties to console.
- for ( int i = 0; i < myImportCollection->Count; ++i )
- {
- Console::WriteLine( "Namespace : {0}", myImportCollection[ i ]->Namespace );
- Console::WriteLine( "Location : {0}", myImportCollection[ i ]->Location );
- Console::WriteLine( "ServiceDescription : {0}", myImportCollection[ i ]->ServiceDescription->Name );
- }
-}
-//
-
-int main()
-{
- Console::WriteLine( "Import Sample" );
-
- //
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "StockQuote_cpp.wsdl" );
- myServiceDescription->Imports->Add( CreateImport( "http://localhost/stockquote/schemas", "http://localhost/stockquote/stockquote_cpp.xsd" ) );
- //
-
- // Save the ServiceDescripition to an external file.
- myServiceDescription->Write( "StockQuote_cpp.wsdl" );
- Console::WriteLine( "document 'StockQuote_cpp.wsdl'" );
-
- // Print the import collection to the console.
- PrintImportCollection( "StockQuote_cpp.wsdl" );
-
- //
- myServiceDescription = ServiceDescription::Read( "StockQuoteService_cpp.wsdl" );
- myServiceDescription->Imports->Insert( 0, CreateImport( "http://localhost/stockquote/definitions", "http://localhost/stockquote/stockquote_cpp.wsdl" ) );
- //
-
- // Save the ServiceDescripition to an external file.
- myServiceDescription->Write( "StockQuoteService_cs::wsdl" );
- Console::WriteLine( "" );
- Console::WriteLine( "document 'StockQuoteService_cpp.wsdl'" );
-
- //Print the import collection to the console.
- PrintImportCollection( "StockQuoteService_cpp.wsdl" );
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/MessageBinding_sample/CPP/messagebinding_sample.cpp b/snippets/cpp/VS_Snippets_Remoting/MessageBinding_sample/CPP/messagebinding_sample.cpp
deleted file mode 100644
index 5210e7417e5..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MessageBinding_sample/CPP/messagebinding_sample.cpp
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-// System::Web::Services::Description.MessageBinding::MessageBinding();
-// System::Web::Services::Description.MessageBinding::Extensions;
-// System::Web::Services::Description.MessageBinding::Name;
-/* The following program demonstrates the abstract class 'MessageBinding', it's constructor MessageBinding()
-and properties 'Extensions' and 'Name'.
-'MessageBinding' is an abstract class from which 'InputBinding' , 'OutputBinding' are derived.
-The program contains a utility function which could be used to create either an InputBinding or OutputBinding.
-This generic nature is achieved by returning an instance of 'MessageBinding'.
-*/
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-MessageBinding^ CreateInputOutputBinding( String^ myBindName, bool isInputBinding )
-{
-
- //
- // Value isInputBinding = true ---> return type = InputBinding.
- // Value isInputBinding = false --> return type = OutputBinding.
- //
- //
- MessageBinding^ myMessageBinding = nullptr;
- switch ( isInputBinding )
- {
- case true:
- myMessageBinding = gcnew InputBinding;
- Console::WriteLine( "Added an InputBinding" );
- break;
-
- case false:
- myMessageBinding = gcnew OutputBinding;
- Console::WriteLine( "Added an OutputBinding" );
- break;
- }
- //
- myMessageBinding->Name = myBindName;
- SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
- mySoapBodyBinding->Use = SoapBindingUse::Literal;
- myMessageBinding->Extensions->Add( mySoapBodyBinding );
- Console::WriteLine( "Added extensibility element of type : {0}", mySoapBodyBinding->GetType() );
- //
- //
-
- return myMessageBinding;
-}
-
-
-// Used to create OperationBinding instances within Binding.
-OperationBinding^ CreateOperationBinding( String^ myOperation, String^ targetNamespace )
-{
- // Create OperationBinding for Operation.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = myOperation;
-
- // Create InputBinding for operation.
- InputBinding^ myInputBinding = dynamic_cast(CreateInputOutputBinding( nullptr, true ));
-
- // Create OutputBinding for operation.
- OutputBinding^ myOutputBinding = dynamic_cast(CreateInputOutputBinding( nullptr, false ));
-
- // Add InputBinding and OutputBinding to OperationBinding.
- myOperationBinding->Input = myInputBinding;
- myOperationBinding->Output = myOutputBinding;
-
- // Create an extensibility element for SoapOperationBinding.
- SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
- mySoapOperationBinding->SoapAction = String::Concat( targetNamespace, myOperation );
-
- // Add the extensibility element SoapOperationBinding to OperationBinding.
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
- return myOperationBinding;
-}
-
-int main()
-{
- /* OperationBinding* addOperationBinding = */
- CreateOperationBinding( "Add", "http://tempuri.org/" );
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/MessageCollection/CPP/messagecollection.cpp b/snippets/cpp/VS_Snippets_Remoting/MessageCollection/CPP/messagecollection.cpp
deleted file mode 100644
index 078f4450a48..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MessageCollection/CPP/messagecollection.cpp
+++ /dev/null
@@ -1,80 +0,0 @@
-// System::Web::Services::Description.MessageCollection::CopyTo;
-// System::Web::Services::Description.MessageCollection::Item Property(Int32);
-// System::Web::Services::Description.MessageCollection::Item Property (String);
-// System::Web::Services::Description.MessageCollection::Contains;
-// System::Web::Services::Description.MessageCollection::IndexOf;
-// System::Web::Services::Description.MessageCollection::Remove;
-
-/* The program reads a WSDL document S"MathService::wsdl" and gets a ServiceDescription instance.
-A MessageCollection instance is then retrieved from this ServiceDescription instance and it's
-members are demonstrated.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_1.wsdl" );
- Console::WriteLine( "" );
- Console::WriteLine( "MessageCollection Sample" );
- Console::WriteLine( "========================" );
- Console::WriteLine( "" );
-
- //
- // Get Message Collection.
- MessageCollection^ myMessageCollection = myServiceDescription->Messages;
- Console::WriteLine( "Total Messages in the document = {0}", myServiceDescription->Messages->Count );
- Console::WriteLine( "" );
- Console::WriteLine( "Enumerating Messages..." );
- Console::WriteLine( "" );
-
- // Print messages to console.
- for ( int i = 0; i < myMessageCollection->Count; ++i )
- Console::WriteLine( "Message Name : {0}", myMessageCollection[ i ]->Name );
- //
-
- //
- // Create a Message Array.
- array^myMessages = gcnew array(myServiceDescription->Messages->Count);
-
- // Copy MessageCollection to an array.
- myServiceDescription->Messages->CopyTo( myMessages, 0 );
- Console::WriteLine( "" );
- Console::WriteLine( "Displaying Messages that were copied to Messagearray ..." );
- Console::WriteLine( "" );
- for ( int i = 0; i < myServiceDescription->Messages->Count; ++i )
- Console::WriteLine( "Message Name : {0}", myMessages[ i ]->Name );
- //
-
- //
- //
- //
- //
- // Get Message by Name = S"AddSoapIn".
- Message^ myMessage = myServiceDescription->Messages[ "AddSoapIn" ];
- Console::WriteLine( "" );
- Console::WriteLine( "Getting Message = 'AddSoapIn' {by Name}" );
- if ( myMessageCollection->Contains( myMessage ) )
- {
- Console::WriteLine( "" );
-
- // Get Message Name = S"AddSoapIn" Index.
- Console::WriteLine( "Message 'AddSoapIn' was found in Message Collection." );
- Console::WriteLine( "Index of 'AddSoapIn' in Message Collection = {0}", myMessageCollection->IndexOf( myMessage ) );
- Console::WriteLine( "Deleting Message from Message Collection..." );
- myMessageCollection->Remove( myMessage );
- if ( myMessageCollection->IndexOf( myMessage ) == -1 )
- Console::WriteLine( "Message 'AddSoapIn' was successfully removed from Message Collection." );
- }
- //
- //
- //
- //
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/MessagePartCollection/CPP/messagepartcollection.cpp b/snippets/cpp/VS_Snippets_Remoting/MessagePartCollection/CPP/messagepartcollection.cpp
deleted file mode 100644
index 1b626e5d6ee..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MessagePartCollection/CPP/messagepartcollection.cpp
+++ /dev/null
@@ -1,106 +0,0 @@
-// System::Web::Services::Description.MessagePartCollection::Item Property(Int32);
-// System::Web::Services::Description.MessagePart::Message;
-// System::Web::Services::Description.MessagePartCollection::CopyTo;
-// System::Web::Services::Description.MessagePartCollection::Item Property (String);
-// System::Web::Services::Description.MessagePartCollection::Contains;
-// System::Web::Services::Description.MessagePartCollection::IndexOf;
-// System::Web::Services::Description.MessagePartCollection::Remove;
-// System::Web::Services::Description.MessagePartCollection;
-
-/* The program reads a wsdl document S"MathService::wsdl" and gets ServiceDescription instance.
-A MessagePartCollection instance is then retrieved from each Message and it's members are demonstrated.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-int main()
-{
- Console::WriteLine( "" );
- Console::WriteLine( "MessagePartCollection Sample" );
- Console::WriteLine( "============================" );
- Console::WriteLine( "" );
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService.wsdl" );
-
- // Get the message collection.
- MessageCollection^ myMessageCollection = myServiceDescription->Messages;
- Console::WriteLine( "Total Messages in the document = {0}", myServiceDescription->Messages->Count );
- Console::WriteLine( "" );
- Console::WriteLine( "Enumerating PartCollection for each message..." );
- Console::WriteLine( "" );
-
- //
- //
- // Get the message part collection for each message.
- for ( int i = 0; i < myMessageCollection->Count; ++i )
- {
- Console::WriteLine( "Message : {0}", myMessageCollection[ i ]->Name );
-
- // Get the message part collection.
- MessagePartCollection^ myMessagePartCollection = myMessageCollection[ i ]->Parts;
-
- // Display the part collection.
- for ( int k = 0; k < myMessagePartCollection->Count; k++ )
- {
- Console::WriteLine( "\t Part Name : {0}", myMessagePartCollection[ k ]->Name );
- Console::WriteLine( "\t Message Name : {0}", myMessagePartCollection[ k ]->Message->Name );
- }
- Console::WriteLine( "" );
- }
- //
- //
-
- Console::WriteLine( "MessagePartCollection for the message AddHttpGetIn." );
- //
- //
- Message^ myLocalMessage = myServiceDescription->Messages[ "AddHttpPostOut" ];
- if ( myMessageCollection->Contains( myLocalMessage ) )
- {
- Console::WriteLine( "Message : {0}", myLocalMessage->Name );
-
- // Get the message part collection.
- MessagePartCollection^ myMessagePartCollection = myLocalMessage->Parts;
- array^myMessagePart = gcnew array(myMessagePartCollection->Count);
-
- // Copy the MessagePartCollection to an array.
- myMessagePartCollection->CopyTo( myMessagePart, 0 );
- for ( int k = 0; k < myMessagePart->Length; k++ )
- Console::WriteLine( "\t Part Name : {0}", myMessagePartCollection[ k ]->Name );
- Console::WriteLine( "" );
- }
- //
- //
-
- //
- //
- //
- Console::WriteLine( "Checking if message is AddHttpPostOut..." );
- Message^ myMessage = myServiceDescription->Messages[ "AddHttpPostOut" ];
- if ( myMessageCollection->Contains( myMessage ) )
- {
- // Get the mssage part collection.
- MessagePartCollection^ myMessagePartCollection = myMessage->Parts;
-
- // Get the part named Body.
- MessagePart^ myMessagePart = myMessage->Parts[ "Body" ];
- if ( myMessagePartCollection->Contains( myMessagePart ) )
- {
- // Get the part named Body.
- Console::WriteLine( "Index of Body in MessagePart collection = {0}", myMessagePartCollection->IndexOf( myMessagePart ) );
- Console::WriteLine( "Deleting Body from MessagePart collection..." );
- myMessagePartCollection->Remove( myMessagePart );
- if ( myMessagePartCollection->IndexOf( myMessagePart ) == -1 )
- Console::WriteLine( "from the message AddHttpPostOut." );
- }
- }
- //
- //
- //
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/Message_Samples3/CPP/message_samples3.cpp b/snippets/cpp/VS_Snippets_Remoting/Message_Samples3/CPP/message_samples3.cpp
deleted file mode 100644
index ec5c5a7a240..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/Message_Samples3/CPP/message_samples3.cpp
+++ /dev/null
@@ -1,58 +0,0 @@
-// System::Web::Services::Description.Message::FindPartsByName
-// System::Web::Services::Description.Message::ServiceDescription
-// System::Web::Services::Description.Message::FindPartByName
-
-/* The following program demonstrates the property ' ServiceDescription' and
-methods 'FindPartsByName', 'FindPartByName' of class 'Message'. The program
-reads a wsdl document S"MathService::wsdl" and instantiates a
-ServiceDescription instance from WSDL document.
-The program invokes 'FindPartsByName' to obtain an array of MessageParts and also invokes
-'FindPartByName' to retrieve a specific 'MessagePart'.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-int main()
-{
- try
- {
- //
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_cpp.wsdl" );
-
- //
- // Get message from ServiceDescription.
- Message^ myMessage1 = myServiceDescription->Messages[ "AddHttpPostIn" ];
- Console::WriteLine( "ServiceDescription : {0}", myMessage1->ServiceDescription );
-
- //
- array^myParts = gcnew array(2);
- myParts[ 0 ] = "a";
- myParts[ 1 ] = "b";
- array^myMessageParts = myMessage1->FindPartsByName( myParts );
- Console::WriteLine( "Results of FindPartsByName operation:" );
- for ( int i = 0; i < myMessageParts->Length; ++i )
- {
- Console::WriteLine( "Part Name: {0}", myMessageParts[ i ]->Name );
- Console::WriteLine( "Part Type: {0}", myMessageParts[ i ]->Type );
- }
- //
- //
- // Get another message from ServiceDescription.
- Message^ myMessage2 = myServiceDescription->Messages[ "DivideHttpGetOut" ];
- MessagePart^ myMessagePart = myMessage2->FindPartByName( "Body" );
- Console::WriteLine( "Results of FindPartByName operation:" );
- Console::WriteLine( "Part Name: {0}", myMessagePart->Name );
- Console::WriteLine( "Part Element: {0}", myMessagePart->Element );
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimeContentBinding_Part_4/CPP/mimecontentbinding_part_4.cpp b/snippets/cpp/VS_Snippets_Remoting/MimeContentBinding_Part_4/CPP/mimecontentbinding_part_4.cpp
deleted file mode 100644
index 0623e5a713a..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimeContentBinding_Part_4/CPP/mimecontentbinding_part_4.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-// System::Web::Services::Description.MimeContentBinding::Type
-// System::Web::Services::Description.MimeContentBinding::Part
-// System::Web::Services::Description.MimeContentBinding::NameSpace
-// System::Web::Services::Description.MimeContentBinding
-
-/* The following program demonstrates the 'Type' and 'Part' properties
-and the 'NameSpace' field of the 'MimeContentBinding' class. It reads the 'MimeContentSample_cs::wsdl' file
-and instantiates a ServiceDescription Object*. 'MimeContentBinding' objects are retrieved from Extension
-points of OutputBinding for one of the Binding Object* and its 'Type' and 'Part' properties are displayed. It also
-displays 'NameSpace' of the 'MimeContentBinding' Object*.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-
-int main()
-{
- //
- //
- //
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MimeContentSample_cpp.wsdl" );
-
- // Get the Binding.
- Binding^ myBinding = myServiceDescription->Bindings[ "b1" ];
-
- // Get the first OperationBinding.
- OperationBinding^ myOperationBinding = myBinding->Operations[ 0 ];
- OutputBinding^ myOutputBinding = myOperationBinding->Output;
- ServiceDescriptionFormatExtensionCollection ^ myServiceDescriptionFormatExtensionCollection = myOutputBinding->Extensions;
-
- // Find all MimeContentBinding objects in extensions.
- array^myMimeContentBindings = (array^)myServiceDescriptionFormatExtensionCollection->FindAll( MimeContentBinding::typeid );
-
- // Enumerate the array and display MimeContentBinding properties.
- IEnumerator^ myEnum = myMimeContentBindings->GetEnumerator();
- while ( myEnum->MoveNext() )
- {
- MimeContentBinding^ myMimeContentBinding = safe_cast(myEnum->Current);
- Console::WriteLine( "Type: {0}", myMimeContentBinding->Type );
- Console::WriteLine( "Part: {0}", myMimeContentBinding->Part );
- }
- //
- //
- Console::WriteLine( "Namespace: {0}", MimeContentBinding::Namespace );
- //
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/CPP/MimeMultiPartRelatedSample_cpp.wsdl b/snippets/cpp/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/CPP/MimeMultiPartRelatedSample_cpp.wsdl
deleted file mode 100644
index 4ad0d84133f..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/CPP/MimeMultiPartRelatedSample_cpp.wsdl
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/CPP/mimemultipartrelatedbinding_parts_2.cpp b/snippets/cpp/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/CPP/mimemultipartrelatedbinding_parts_2.cpp
deleted file mode 100644
index f7387c482ad..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/CPP/mimemultipartrelatedbinding_parts_2.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
-// System::Web::Services::Description.MimeMultipartRelatedBinding
-// System::Web::Services::Description.MimeMultipartRelatedBinding::Parts;
-
-/* The following program demonstrates the property 'Parts' of class 'MimeMultipartRelatedBinding'.
-It reads 'MimeMultiPartRelatedSample_cpp.wsdl'file and instantiates a ServiceDescription Object*.
-'MimeMultipartRelatedBinding' Object* is retrieved from Extension
-points of OutputBinding for one of the Binding Object* and its property'Parts' has been demonstrated.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-
-int main()
-{
- //
- ServiceDescription^ myServicDescription = ServiceDescription::Read( "MimeMultiPartRelatedSample_cpp.wsdl" );
-
- // Get the binding collection.
- BindingCollection^ myBindingCollection = myServicDescription->Bindings;
- int index = 0;
- for ( int i = 0; i < myBindingCollection->Count; i++ )
- // Get the collection for MimeServiceHttpPost.
- if ( String::Compare( myBindingCollection[ i ]->Name, "MimeServiceHttpPost" ) == 0 )
- {
- OperationBindingCollection^ myOperationBindingCollection = myBindingCollection[ i ]->Operations;
- OutputBinding^ myOutputBinding = myOperationBindingCollection[ 0 ]->Output;
- ServiceDescriptionFormatExtensionCollection ^ myServiceDescriptionFormatExtensionCollection = myOutputBinding->Extensions;
- MimeMultipartRelatedBinding^ myMimeMultipartRelatedBinding = dynamic_cast(myServiceDescriptionFormatExtensionCollection->Find( MimeMultipartRelatedBinding::typeid ));
- MimePartCollection^ myMimePartCollection = myMimeMultipartRelatedBinding->Parts;
- IEnumerator^ myEnum = myMimePartCollection->GetEnumerator();
- while ( myEnum->MoveNext() )
- {
- MimePart^ myMimePart = dynamic_cast(myEnum->Current);
- Console::WriteLine( "Extension Types added to MimePart: {0}", index++ );
- Console::WriteLine( "----------------------------" );
- IEnumerator^ myEnum2 = myMimePart->Extensions->GetEnumerator();
- while ( myEnum2->MoveNext() )
- {
- Console::WriteLine( myEnum2->Current->GetType() );
- }
-
- Console::WriteLine( "" );
- }
-
- break;
- }
- //
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_1/CPP/MimePartCollection_1_Input_cpp.wsdl b/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_1/CPP/MimePartCollection_1_Input_cpp.wsdl
deleted file mode 100644
index 745bfd01aee..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_1/CPP/MimePartCollection_1_Input_cpp.wsdl
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_1/CPP/mimepartcollection_1.cpp b/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_1/CPP/mimepartcollection_1.cpp
deleted file mode 100644
index 5648074bf2a..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_1/CPP/mimepartcollection_1.cpp
+++ /dev/null
@@ -1,66 +0,0 @@
-// System::Web::Services::Description.MimePartCollection
-
-/* The following program demostrates 'MimePartCollection' class. It
-takes 'MimePartCollection_1_Input_cpp.wsdl' as input which
-contains one 'MimePart' Object* that supports 'HttpPost'.
-A mimepartcollection Object* is created and mimepart is added to the
-mimepartcollection at the specified location, finally writes
-into the file'MimePartCollection_1_Output_cpp.wsdl'.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Collections;
-using namespace System::Xml;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MimePartCollection_1_Input_cpp.wsdl" );
- ServiceDescriptionCollection^ myServiceDescriptionCol = gcnew ServiceDescriptionCollection;
- myServiceDescriptionCol->Add( myServiceDescription );
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "MimeServiceHttpPost","http://tempuri.org/" );
-
- // Create a 'Binding' object.
- Binding^ myBinding = myServiceDescriptionCol->GetBinding( myXmlQualifiedName );
- OperationBinding^ myOperationBinding = nullptr;
- for ( int i = 0; i < myBinding->Operations->Count; i++ )
- if ( myBinding->Operations[ i ]->Name->Equals( "AddNumbers" ) )
- myOperationBinding = myBinding->Operations[ i ];
-
- OutputBinding^ myOutputBinding = myOperationBinding->Output;
- MimeMultipartRelatedBinding^ myMimeMultipartRelatedBinding = nullptr;
- IEnumerator^ myIEnumerator = myOutputBinding->Extensions->GetEnumerator();
- while ( myIEnumerator->MoveNext() )
- myMimeMultipartRelatedBinding = dynamic_cast(myIEnumerator->Current);
-
- // Create an instances of 'MimePartCollection'.
- MimePartCollection^ myMimePartCollection = gcnew MimePartCollection;
- myMimePartCollection = myMimeMultipartRelatedBinding->Parts;
- Console::WriteLine( "Total number of mimepart elements initially is: {0}", myMimePartCollection->Count );
-
- // Create an instance of 'MimePart'.
- MimePart^ myMimePart = gcnew MimePart;
-
- // Create an instance of 'MimeXmlBinding'.
- MimeXmlBinding^ myMimeXmlBinding = gcnew MimeXmlBinding;
- myMimeXmlBinding->Part = "body";
- myMimePart->Extensions->Add( myMimeXmlBinding );
-
- // Insert a mimepart at first position.
- myMimePartCollection->Insert( 0, myMimePart );
- Console::WriteLine( "Inserting a mimepart object..." );
- if ( myMimePartCollection->Contains( myMimePart ) )
- {
- Console::WriteLine( "'MimePart' is succesffully added at position: {0}", myMimePartCollection->IndexOf( myMimePart ) );
- Console::WriteLine( "Total number of mimepart elements after inserting is: {0}", myMimePartCollection->Count );
- }
-
- myServiceDescription->Write( "MimePartCollection_1_Output_cpp.wsdl" );
- Console::WriteLine( "MimePartCollection_1_Output_cpp.wsdl has been generated successfully." );
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_8/CPP/mimepartcollection_8.cpp b/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_8/CPP/mimepartcollection_8.cpp
deleted file mode 100644
index dcd7449eeb1..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_8/CPP/mimepartcollection_8.cpp
+++ /dev/null
@@ -1,146 +0,0 @@
-// System::Web::Services::Description.MimePartCollection::MimePartCollection()
-// System::Web::Services::Description.MimePartCollection::Item->Item[System::Int32 index]
-// System::Web::Services::Description.MimePartCollection::Insert
-// System::Web::Services::Description.MimePartCollection::IndexOf
-// System::Web::Services::Description.MimePartCollection->Add
-// System::Web::Services::Description.MimePartCollection::Contains
-// System::Web::Services::Description.MimePartCollection::CopyTo
-// System::Web::Services::Description.MimePartCollection::Remove
-
-/* This program demonstrates the constructor, the 'Item' property , the 'Insert', 'IndexOf', 'Add',
-'Contains', 'CopyTo', and 'Remove' methods of the 'MimePartCollection' class.
-It takes 'MimePartCollection_8_Input_cpp.wsdl' as an input file which contains
-one 'MimePart' object that supports 'HttpPost'. A MimePartCollection object is
-created and new MimePart objects are added to MimePartCollection using the 'Insert'
-and 'Add' methods. A MimePart object is removed from the MimePartCollection using the
-'Remove' method. The ServiceDescription is finally written into an output wsdl file
-'MimePartCollection_8_out_CS::wsdl'.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Collections;
-using namespace System::Xml;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MimePartCollection_8_Input_cpp.wsdl" );
- ServiceDescriptionCollection^ myServiceDescriptionCol = gcnew ServiceDescriptionCollection;
- myServiceDescriptionCol->Add( myServiceDescription );
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "MimeServiceHttpPost","http://tempuri.org/" );
-
- // Create a binding object.
- Binding^ myBinding = myServiceDescriptionCol->GetBinding( myXmlQualifiedName );
- OperationBinding^ myOperationBinding = nullptr;
- for ( int i = 0; i < myBinding->Operations->Count; i++ )
- if ( myBinding->Operations[ i ]->Name->Equals( "AddNumbers" ) )
- myOperationBinding = myBinding->Operations[ i ];
-
- OutputBinding^ myOutputBinding = myOperationBinding->Output;
-
- //
- //
- //
- //
- MimeMultipartRelatedBinding^ myMimeMultipartRelatedBinding = nullptr;
- IEnumerator^ myIEnumerator = myOutputBinding->Extensions->GetEnumerator();
- while ( myIEnumerator->MoveNext() )
- myMimeMultipartRelatedBinding = (MimeMultipartRelatedBinding^)myIEnumerator->Current;
-
- // Create an instance of 'MimePartCollection'.
- MimePartCollection^ myMimePartCollection = gcnew MimePartCollection;
- myMimePartCollection = myMimeMultipartRelatedBinding->Parts;
- Console::WriteLine( "Total number of mimepart elements in the collection initially is: {0}", myMimePartCollection->Count );
-
- // Get the type of first 'Item' in collection.
- Console::WriteLine( "The first object in collection is of type: {0}", myMimePartCollection[ 0 ] );
- MimePart^ myMimePart1 = gcnew MimePart;
-
- // Create an instance of 'MimeXmlBinding'.
- MimeXmlBinding^ myMimeXmlBinding1 = gcnew MimeXmlBinding;
- myMimeXmlBinding1->Part = "body";
- myMimePart1->Extensions->Add( myMimeXmlBinding1 );
-
- // a mimepart at first position.
- myMimePartCollection->Insert( 0, myMimePart1 );
- Console::WriteLine( "Inserting a mimepart object..." );
-
- // Check whether 'Insert' was successful or not.
- if ( myMimePartCollection->Contains( myMimePart1 ) )
- {
- // Display the index of inserted 'MimePart'.
- Console::WriteLine( "'MimePart' is successfully inserted at position: {0}", myMimePartCollection->IndexOf( myMimePart1 ) );
- }
- //
- //
- //
- //
-
- Console::WriteLine( "Total number of mimepart elements after inserting is: {0}", myMimePartCollection->Count );
-
- //
- //
- MimePart^ myMimePart2 = gcnew MimePart;
- MimeXmlBinding^ myMimeXmlBinding2 = gcnew MimeXmlBinding;
- myMimeXmlBinding2->Part = "body";
- myMimePart2->Extensions->Add( myMimeXmlBinding2 );
-
- // Add a mimepart to the mimepartcollection.
- myMimePartCollection->Add( myMimePart2 );
- Console::WriteLine( "Adding a mimepart object..." );
-
- // Check if collection contains added mimepart object.
- if ( myMimePartCollection->Contains( myMimePart2 ) )
- Console::WriteLine( "'MimePart' is successfully added at position: {0}", myMimePartCollection->IndexOf( myMimePart2 ) );
- //
- //
-
- Console::WriteLine( "Total number of mimepart elements after adding is: {0}", myMimePartCollection->Count );
-
- //
- array^myArray = gcnew array(myMimePartCollection->Count);
-
- // Copy the mimepartcollection to an array.
- myMimePartCollection->CopyTo( myArray, 0 );
- Console::WriteLine( "Displaying the array copied from mimepartcollection" );
- for ( int j = 0; j < myMimePartCollection->Count; j++ )
- {
- Console::WriteLine( "Mimepart object at position : {0}", j );
- for ( int i = 0; i < myArray[ j ]->Extensions->Count; i++ )
- {
- MimeXmlBinding^ myMimeXmlBinding3 = (MimeXmlBinding^)(myArray[ j ]->Extensions[ i ]);
- Console::WriteLine( "Part: {0}", (myMimeXmlBinding3->Part) );
- }
- }
- //
- //
- Console::WriteLine( "Removing a mimepart object..." );
-
- // Remove the mimepart from the mimepartcollection.
- myMimePartCollection->Remove( myMimePart1 );
-
- // Check whether the mimepart is removed or not.
- if ( !myMimePartCollection->Contains( myMimePart1 ) )
- Console::WriteLine( "Mimepart is successfully removed from mimepartcollection" );
- //
-
- Console::WriteLine( "Total number of elements in collection after removing is: {0}", myMimePartCollection->Count );
- array^myArray1 = gcnew array(myMimePartCollection->Count);
- myMimePartCollection->CopyTo( myArray1, 0 );
- Console::WriteLine( "Dispalying the 'MimePartCollection' after removing" );
- for ( int j = 0; j < myMimePartCollection->Count; j++ )
- {
- Console::WriteLine( "Mimepart object at position : {0}", j );
- for ( int i = 0; i < myArray1[ j ]->Extensions->Count; i++ )
- {
- MimeXmlBinding^ myMimeXmlBinding3 = (MimeXmlBinding^)(myArray1[ j ]->Extensions[ i ]);
- Console::WriteLine( "part: {0}", (myMimeXmlBinding3->Part) );
- }
- }
- myServiceDescription->Write( "MimePartCollection_8_output.wsdl" );
- Console::WriteLine( "MimePartCollection_8_output.wsdl has been generated successfully." );
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimePart_3/CPP/MimePart_3_Input_cpp.wsdl b/snippets/cpp/VS_Snippets_Remoting/MimePart_3/CPP/MimePart_3_Input_cpp.wsdl
deleted file mode 100644
index 64548b47a64..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimePart_3/CPP/MimePart_3_Input_cpp.wsdl
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimePart_3/CPP/mimepart_3.cpp b/snippets/cpp/VS_Snippets_Remoting/MimePart_3/CPP/mimepart_3.cpp
deleted file mode 100644
index 78518047dc2..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimePart_3/CPP/mimepart_3.cpp
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-// System.Web.Services.Description.MimePart
-// System.Web.Services.Description.MimePart.ctor()
-// System.Web.Services.Description.MimePart.Extensions
-/* The following program demonstrates the 'MimePart' class, constructor
-and 'Extensions' property of 'MimePart' class. It reads
-'MimePart_3_Input_cpp.wsdl' file which does not have 'MimePart' object
-supporting 'OutPut' of 'HttpPost'. It adds the 'MimePart' and finally
-writes into 'MimePart_3_OutPut_cpp.wsdl' file.
-*/
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Xml;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MimePart_3_Input_cpp.wsdl" );
- ServiceDescriptionCollection^ myServiceDescriptionCol = gcnew ServiceDescriptionCollection;
- myServiceDescriptionCol->Add( myServiceDescription );
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "MimeServiceHttpPost","http://tempuri.org/" );
-
- // Create the Binding.
- Binding^ myBinding = myServiceDescriptionCol->GetBinding( myXmlQualifiedName );
- OperationBinding^ myOperationBinding = nullptr;
- for ( int i = 0; i < myBinding->Operations->Count; i++ )
- {
- if ( myBinding->Operations[ i ]->Name->Equals( "AddNumbers" ) )
- {
- myOperationBinding = myBinding->Operations[ i ];
- }
- }
-
- //
- //
- // Create the OutputBinding.
- OutputBinding^ myOutputBinding = myOperationBinding->Output;
- MimeXmlBinding^ myMimeXmlBinding = gcnew MimeXmlBinding;
- myMimeXmlBinding->Part = "body";
-
- // Create the MimePart.
- MimePart^ myMimePart = gcnew MimePart;
- myMimePart->Extensions->Add( myMimeXmlBinding );
- MimeMultipartRelatedBinding^ myMimePartRelatedBinding = gcnew MimeMultipartRelatedBinding;
-
- // Add the MimePart to the MimePartRelatedBinding.
- myMimePartRelatedBinding->Parts->Add( myMimePart );
- myOutputBinding->Extensions->Add( myMimePartRelatedBinding );
- //
- //
-
- myServiceDescription->Write( "MimePart_3_Output_CPP.wsdl" );
- Console::WriteLine( "MimePart_3_Output_CPP.wsdl has been generated successfully." );
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimeTextMatch_5/CPP/MimeTextMatch_5_Input_CPP.wsdl b/snippets/cpp/VS_Snippets_Remoting/MimeTextMatch_5/CPP/MimeTextMatch_5_Input_CPP.wsdl
deleted file mode 100644
index b0b37666a68..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimeTextMatch_5/CPP/MimeTextMatch_5_Input_CPP.wsdl
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimeTextMatch_5/CPP/mimetextmatch_5.cpp b/snippets/cpp/VS_Snippets_Remoting/MimeTextMatch_5/CPP/mimetextmatch_5.cpp
deleted file mode 100644
index a1904f5cf88..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimeTextMatch_5/CPP/mimetextmatch_5.cpp
+++ /dev/null
@@ -1,138 +0,0 @@
-
-
-// System.Web.Services.Description.MimeTextMatch
-// System.Web.Services.Description.MimeTextMatch.Capture
-// System.Web.Services.Description.MimeTextMatch.Group
-// System.Web.Services.Description.MimeTextMatch.Repeats
-// System.Web.Services.Description.MimeTextMatch.RepeatsString
-/* The following program demostrates constructor, 'Capture', 'Group',
- 'Repeats' and 'RepeatsString' properties of 'MimeTextMatch'class.
- It takes 'MimeTextMatch_5_Input_CPP.wsdl' as input which does not
- contain 'Binding' object supporting 'HttpPost'. A text pattern
- ''TITLE>(.*?)<' with text name as 'Title' and type
- name set which is to be searched in a HTTP transmission is added to the ServiceDescription.
- The modified ServiceDescription is written into 'MimeTextMatch_5_Output_CPP.wsdl'.
-*/
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- try
- {
- int myInt = 0;
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MimeTextMatch_5_Input_CPP.wsdl" );
-
- // Create the 'Binding' object.
- Binding^ myBinding = gcnew Binding;
-
- // Initialize 'Name' property of 'Binding' class.
- myBinding->Name = "MimeTextMatchServiceHttpPost";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:MimeTextMatchServiceHttpPost" );
- myBinding->Type = myXmlQualifiedName;
-
- // Create the 'HttpBinding' object.
- HttpBinding^ myHttpBinding = gcnew HttpBinding;
- myHttpBinding->Verb = "POST";
-
- // Add the 'HttpBinding' to the 'Binding'.
- myBinding->Extensions->Add( myHttpBinding );
-
- // Create the 'OperationBinding' object.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
- HttpOperationBinding^ myHttpOperationBinding = gcnew HttpOperationBinding;
- myHttpOperationBinding->Location = "/AddNumbers";
-
- // Add the 'HttpOperationBinding' object to 'OperationBinding'.
- myOperationBinding->Extensions->Add( myHttpOperationBinding );
-
- //
- //
- //
- //
- // Create an InputBinding.
- InputBinding^ myInputBinding = gcnew InputBinding;
- MimeTextBinding^ myMimeTextBinding = gcnew MimeTextBinding;
- MimeTextMatchCollection^ myMimeTextMatchCollection1 = gcnew MimeTextMatchCollection;
- array^myMimeTextMatch = gcnew array(3);
- myMimeTextMatchCollection1 = myMimeTextBinding->Matches;
-
- // Intialize the MimeTextMatch.
- for ( myInt = 0; myInt < 3; myInt++ )
- {
- // Get a new MimeTextMatch.
- myMimeTextMatch[ myInt ] = gcnew MimeTextMatch;
-
- // Assign values to properties of the MimeTextMatch.
- myMimeTextMatch[ myInt ]->Name = String::Format( "Title{0}", Convert::ToString( myInt ) );
- myMimeTextMatch[ myInt ]->Type = "*/*";
- myMimeTextMatch[ myInt ]->Pattern = "TITLE>(.*?)<";
- myMimeTextMatch[ myInt ]->IgnoreCase = true;
- myMimeTextMatch[ myInt ]->Capture = 2;
- myMimeTextMatch[ myInt ]->Group = 2;
- if ( myInt != 0 )
- {
-
- // Assign the Repeats property if the index is not 0.
- myMimeTextMatch[ myInt ]->Repeats = 2;
- }
- else
- {
-
- // Assign the RepeatsString property if the index is 0.
- myMimeTextMatch[ myInt ]->RepeatsString = "4";
- }
- myMimeTextMatchCollection1->Add( myMimeTextMatch[ myInt ] );
-
- }
- //
- //
- //
- //
-
- myInputBinding->Extensions->Add( myMimeTextBinding );
-
- // Add the 'InputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInputBinding;
-
- // Create the 'OutputBinding' instance.
- OutputBinding^ myOutput = gcnew OutputBinding;
- MimeXmlBinding^ postMimeXmlbinding = gcnew MimeXmlBinding;
-
- // Initialize 'Part' property of 'MimeXmlBinding' class.
- postMimeXmlbinding->Part = "Body";
-
- // Add 'MimeXmlBinding' instance to 'OutputBinding' instance.
- myOutput->Extensions->Add( postMimeXmlbinding );
-
- // Add the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutput;
-
- // Add the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutput;
-
- // Add the 'OperationBinding' to 'Binding'.
- myBinding->Operations->Add( myOperationBinding );
-
- // Add the 'Binding' to 'BindingCollection' of 'ServiceDescription'.
- myServiceDescription->Bindings->Add( myBinding );
-
- // Write the 'ServiceDescription' as a WSDL file.
- myServiceDescription->Write( "MimeTextMatch_5_Output_CPP.wsdl" );
- Console::WriteLine( "WSDL file with name 'MimeTextMatch_5_Output_CPP.wsdl' is"
- " created successfully." );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/MimeText_Binding_Match_8_Input_CPP.wsdl b/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/MimeText_Binding_Match_8_Input_CPP.wsdl
deleted file mode 100644
index 521d34c6e62..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/MimeText_Binding_Match_8_Input_CPP.wsdl
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/mimetext_binding_match_8.cpp b/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/mimetext_binding_match_8.cpp
deleted file mode 100644
index 495d3ca8b82..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/mimetext_binding_match_8.cpp
+++ /dev/null
@@ -1,128 +0,0 @@
-
-
-// System.Web.Services.Description.MimeTextBinding
-// System.Web.Services.Description.MimeTextBinding()
-// System.Web.Services.Description.MimeTextMatch()
-// System.Web.Services.Description.MimeTextMatch.Name
-// System.Web.Services.Description.MimeTextMatch.Type
-// System.Web.Services.Description.MimeTextMatch.Pattern
-// System.Web.Services.Description.MimeTextMatch.IgnoreCase
-// System.Web.Services.Description.MimeTextBinding.Matches
-/* This program demostrates constructor and 'Matches' property
-of 'MimeTextBinding' class and 'Name', 'Type', 'Pattern',
-'IgnoreCase' properties of 'MimeTextMatch' class.
-It takes 'MimeText_Binding_Match_8_Input_CPP.wsdl' as an
-input file which does not contain 'Binding' object that supports
-'HttpPost'. A text pattern ''TITLE>(.*?)<' with text name
-as 'Title' and with type name set, is added to the wsdl file. Finally the
-' modified ServiceDescription is written to 'MimeText_Binding_Match_8_Output_CPP.wsdl'.
-*/
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- try
- {
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MimeText_Binding_Match_8_Input_CPP.wsdl" );
-
- // Create a Binding.
- Binding^ myBinding = gcnew Binding;
-
- // Initialize the Name property of the Binding.
- myBinding->Name = "MimeText_Binding_MatchServiceHttpPost";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:MimeText_Binding_MatchServiceHttpPost" );
- myBinding->Type = myXmlQualifiedName;
-
- // Create an HttpBinding.
- HttpBinding^ myHttpBinding = gcnew HttpBinding;
- myHttpBinding->Verb = "POST";
-
- // Add the HttpBinding to the Binding.
- myBinding->Extensions->Add( myHttpBinding );
-
- // Create an OperationBinding.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
- HttpOperationBinding^ myHttpOperationBinding = gcnew HttpOperationBinding;
- myHttpOperationBinding->Location = "/AddNumbers";
-
- // Add the HttpOperationBinding to the OperationBinding.
- myOperationBinding->Extensions->Add( myHttpOperationBinding );
-
- // Create an InputBinding.
- InputBinding^ myInputBinding = gcnew InputBinding;
- MimeContentBinding^ postMimeContentbinding = gcnew MimeContentBinding;
- postMimeContentbinding->Type = "application/x-www-form-urlencoded";
- myInputBinding->Extensions->Add( postMimeContentbinding );
-
- // Add the InputBinding to the OperationBinding.
- myOperationBinding->Input = myInputBinding;
-
- //
- //
- //
- //
- //
- //
- //
- // Create an OutputBinding.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
-
- // Create a MimeTextBinding.
- MimeTextBinding^ myMimeTextBinding = gcnew MimeTextBinding;
-
- // Create a MimeTextMatch.
- MimeTextMatch^ myMimeTextMatch = gcnew MimeTextMatch;
- MimeTextMatchCollection^ myMimeTextMatchCollection;
-
- // Initialize properties of the MimeTextMatch.
- myMimeTextMatch->Name = "Title";
- myMimeTextMatch->Type = "*/*";
- myMimeTextMatch->Pattern = "'TITLE>(.*?)<";
- myMimeTextMatch->IgnoreCase = true;
-
- // Initialize a MimeTextMatchCollection.
- myMimeTextMatchCollection = myMimeTextBinding->Matches;
-
- // Add the MimeTextMatch to the MimeTextMatchCollection.
- myMimeTextMatchCollection->Add( myMimeTextMatch );
- myOutputBinding->Extensions->Add( myMimeTextBinding );
-
- // Add the OutputBinding to the OperationBinding.
- myOperationBinding->Output = myOutputBinding;
- //
- //
- //
- //
- //
- //
- //
-
- // Add the OutputBinding to the OperationBinding.
- myOperationBinding->Output = myOutputBinding;
-
- // Add the OperationBinding to the Binding.
- myBinding->Operations->Add( myOperationBinding );
-
- // Add the Binding to the BindingCollection of the ServiceDescription.
- myServiceDescription->Bindings->Add( myBinding );
-
- // Write the ServiceDescription as a WSDL file.
- myServiceDescription->Write( "MimeText_Binding_Match_8_Output_CPP.wsdl" );
- Console::WriteLine( "WSDL file named 'MimeText_Binding_Match_8_Output_CPP.wsdl' was"
- " created successfully." );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/MimeText_Match_MatchColl_9_Input_CPP.wsdl b/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/MimeText_Match_MatchColl_9_Input_CPP.wsdl
deleted file mode 100644
index f547e501386..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/MimeText_Match_MatchColl_9_Input_CPP.wsdl
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp b/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp
deleted file mode 100644
index c488a6fea49..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp
+++ /dev/null
@@ -1,180 +0,0 @@
-// System.Web.Services.Description.MimeTextMatchCollection
-// System.Web.Services.Description.MimeTextMatchCollection()
-// System.Web.Services.Description.MimeTextMatchCollection.Contains
-// System.Web.Services.Description.MimeTextMatchCollection.Add
-// System.Web.Services.Description.MimeTextMatchCollection.CopyTo
-// System.Web.Services.Description.MimeTextMatchCollection.Remove
-// System.Web.Services.Description.MimeTextMatchCollection.Item
-// System.Web.Services.Description.MimeTextMatchCollection.IndexOf
-// System.Web.Services.Description.MimeTextMatchCollection.Insert
-
-/* This program demostrates constructor, Contains, Add, Item,
- IndexOf, Insert and Remove property of 'MimeTextMatchCollection'.
- This program takes 'MimeText_Match_MatchColl_9_Input_CPP.wsdl' as an
- input file which does not contain 'Binding' object that supports
- 'HttpPost'. A name, type, Group and Capture properties are set
- which are to be searched in a HTTP transmission and
- 'MimeTextMatchCollection' collection object is created
- for input and output of 'HttpPost' and finally writes into
- 'MimeText_Match_MatchColl_9_Output_CPP.wsdl'.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- try
- {
- int myInt = 0;
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MimeText_Match_MatchColl_9_Input_CPP.wsdl" );
-
- // Create the 'Binding' object.
- Binding^ myBinding = gcnew Binding;
-
- // Initialize 'Name' property of 'Binding' class.
- myBinding->Name = "MimeText_Match_MatchCollServiceHttpPost";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:MimeText_Match_MatchCollServiceHttpPost" );
- myBinding->Type = myXmlQualifiedName;
-
- // Create the 'HttpBinding' object.
- HttpBinding^ myHttpBinding = gcnew HttpBinding;
- myHttpBinding->Verb = "POST";
-
- // Add the 'HttpBinding' to the 'Binding'.
- myBinding->Extensions->Add( myHttpBinding );
-
- // Create the 'OperationBinding' object.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
- HttpOperationBinding^ myHttpOperationBinding = gcnew HttpOperationBinding;
- myHttpOperationBinding->Location = "/AddNumbers";
-
- // Add the 'HttpOperationBinding' to 'OperationBinding'.
- myOperationBinding->Extensions->Add( myHttpOperationBinding );
-
- //
- // Create the 'InputBinding' object.
- InputBinding^ myInputBinding = gcnew InputBinding;
- MimeTextBinding^ myMimeTextBinding = gcnew MimeTextBinding;
- MimeTextMatchCollection^ myMimeTextMatchCollection;
-
- //
- //
- //
- // Get an array instance of 'MimeTextMatch' class.
- array^myMimeTextMatch = gcnew array(4);
- myMimeTextMatchCollection = myMimeTextBinding->Matches;
-
- // Initialize properties of 'MimeTextMatch' class.
- for ( myInt = 0; myInt < 4; myInt++ )
- {
- // Create the 'MimeTextMatch' instance.
- myMimeTextMatch[ myInt ] = gcnew MimeTextMatch;
- myMimeTextMatch[ myInt ]->Name = "Title";
- myMimeTextMatch[ myInt ]->Type = "*/*";
- myMimeTextMatch[ myInt ]->IgnoreCase = true;
- if ( true == myMimeTextMatchCollection->Contains( myMimeTextMatch[ 0 ] ) )
- {
- myMimeTextMatch[ myInt ]->Name = String::Format( "Title{0}", Convert::ToString( myInt ) );
- myMimeTextMatch[ myInt ]->Capture = 2;
- myMimeTextMatch[ myInt ]->Group = 2;
- myMimeTextMatchCollection->Add( myMimeTextMatch[ myInt ] );
- }
- else
- {
- myMimeTextMatchCollection->Add( myMimeTextMatch[ myInt ] );
- myMimeTextMatchCollection[ myInt ]->RepeatsString = "2";
- }
- }
- myMimeTextMatchCollection = myMimeTextBinding->Matches;
-
- // Copy collection to 'MimeTextMatch' array instance.
- myMimeTextMatchCollection->CopyTo( myMimeTextMatch, 0 );
- //
- //
- //
-
- myInputBinding->Extensions->Add( myMimeTextBinding );
-
- // Add the 'InputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInputBinding;
-
- // Create the 'OutputBinding' instance.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
-
- // Create the 'MimeTextBinding' instance.
- MimeTextBinding^ myMimeTextBinding1 = gcnew MimeTextBinding;
-
- //
- //
- //
- //
- //
- // Get an instance of 'MimeTextMatchCollection'.
- MimeTextMatchCollection^ myMimeTextMatchCollection1 = gcnew MimeTextMatchCollection;
- array^myMimeTextMatch1 = gcnew array(5);
- myMimeTextMatchCollection1 = myMimeTextBinding1->Matches;
- for ( myInt = 0; myInt < 4; myInt++ )
- {
- myMimeTextMatch1[ myInt ] = gcnew MimeTextMatch;
- myMimeTextMatch1[ myInt ]->Name = String::Format( "Title{0}", Convert::ToString( myInt ) );
- if ( myInt != 0 )
- {
- myMimeTextMatch1[ myInt ]->RepeatsString = "7";
- }
- myMimeTextMatchCollection1->Add( myMimeTextMatch1[ myInt ] );
- }
- myMimeTextMatch1[ 4 ] = gcnew MimeTextMatch;
-
- // Remove 'MimeTextMatch' instance from collection.
- myMimeTextMatchCollection1->Remove( myMimeTextMatch1[ 1 ] );
-
- // Using MimeTextMatchCollection.Item indexer to comapre.
- if ( myMimeTextMatch1[ 2 ] == myMimeTextMatchCollection1[ 1 ] )
- {
- // Check whether 'MimeTextMatch' instance exists.
- myInt = myMimeTextMatchCollection1->IndexOf( myMimeTextMatch1[ 2 ] );
-
- // Insert 'MimeTextMatch' instance at a desired position.
- myMimeTextMatchCollection1->Insert( 1, myMimeTextMatch1[ myInt ] );
- myMimeTextMatchCollection1[ 1 ]->RepeatsString = "5";
- myMimeTextMatchCollection1->Insert( 4, myMimeTextMatch1[ myInt ] );
- }
- //
- //
- //
- //
- //
- //
-
- myOutputBinding->Extensions->Add( myMimeTextBinding1 );
-
- // Add the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutputBinding;
-
- // Add the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutputBinding;
-
- // Add the 'OperationBinding' to 'Binding'.
- myBinding->Operations->Add( myOperationBinding );
-
- // Add the 'Binding' to 'BindingCollection' of 'ServiceDescription'.
- myServiceDescription->Bindings->Add( myBinding );
-
- // Write the 'ServiceDescription' as a WSDL file.
- myServiceDescription->Write( "MimeText_Match_MatchColl_9_Output_CPP.wsdl" );
- Console::WriteLine( "WSDL file with name 'MimeText_Match_MatchColl_9_Output_CPP.wsdl' is"
- " created successfully." );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimeXmlBinding_Part_3/CPP/MimeXmlBinding_Part_3_Input_CPP.wsdl b/snippets/cpp/VS_Snippets_Remoting/MimeXmlBinding_Part_3/CPP/MimeXmlBinding_Part_3_Input_CPP.wsdl
deleted file mode 100644
index 6f44c8aff5f..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimeXmlBinding_Part_3/CPP/MimeXmlBinding_Part_3_Input_CPP.wsdl
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/cpp/VS_Snippets_Remoting/MimeXmlBinding_Part_3/CPP/mimexmlbinding_part_3.cpp b/snippets/cpp/VS_Snippets_Remoting/MimeXmlBinding_Part_3/CPP/mimexmlbinding_part_3.cpp
deleted file mode 100644
index 0cb0a7cb654..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/MimeXmlBinding_Part_3/CPP/mimexmlbinding_part_3.cpp
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-// System.Web.Services.Description.MimeXmlBinding
-// System.Web.Services.Description.MimeXmlBinding.MimeXmlBinding()
-// System.Web.Services.Description.MimeXmlBinding.Part
-/* The following program demonstrates constructor and 'Part'property
-of 'MimeXmlBinding' class. This program takes 'MimeXmlBinding_Part_3_Input_CPP.wsdl'
-as input, which does not contain 'Binding' object that supports 'HttpPost'.
-It sets message part property to 'Body' on which 'MimeXmlBinding' is
-applied and finally writes into 'MimeXmlBinding_Part_3_Output_CPP.wsdl'.
-*/
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-int main()
-{
- try
- {
- ServiceDescription^ myDescription = ServiceDescription::Read( "MimeXmlBinding_Part_3_Input_CPP.wsdl" );
-
- // Create the 'Binding' object.
- Binding^ myBinding = gcnew Binding;
-
- // Initialize 'Name' property of 'Binding' class.
- myBinding->Name = "MimeXmlBinding_Part_3_ServiceHttpPost";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:MimeXmlBinding_Part_3_ServiceHttpPost" );
- myBinding->Type = myXmlQualifiedName;
-
- // Create the 'HttpBinding' object.
- HttpBinding^ myHttpBinding = gcnew HttpBinding;
- myHttpBinding->Verb = "POST";
-
- // Add the 'HttpBinding' to the 'Binding'.
- myBinding->Extensions->Add( myHttpBinding );
-
- // Create the 'OperationBinding' object.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
- HttpOperationBinding^ myHttpOperationBinding = gcnew HttpOperationBinding;
- myHttpOperationBinding->Location = "/AddNumbers";
-
- // Add the 'HttpOperationBinding' to 'OperationBinding'.
- myOperationBinding->Extensions->Add( myHttpOperationBinding );
-
- // Create the 'InputBinding' object.
- InputBinding^ myInputBinding = gcnew InputBinding;
- MimeContentBinding^ myMimeContentBinding = gcnew MimeContentBinding;
- myMimeContentBinding->Type = "application/x-www-form-urlencoded";
- myInputBinding->Extensions->Add( myMimeContentBinding );
-
- // Add the 'InputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInputBinding;
-
- //
- //
- // Create an OutputBinding.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- MimeXmlBinding^ myMimeXmlBinding = gcnew MimeXmlBinding;
-
- // Initialize the Part property of the MimeXmlBinding.
- myMimeXmlBinding->Part = "Body";
-
- // Add the MimeXmlBinding to the OutputBinding.
- myOutputBinding->Extensions->Add( myMimeXmlBinding );
- //
- //
-
- // Add the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutputBinding;
-
- // Add the 'OperationBinding' to 'Binding'.
- myBinding->Operations->Add( myOperationBinding );
-
- // Add the 'Binding' to 'BindingCollection' of 'ServiceDescription'.
- myDescription->Bindings->Add( myBinding );
-
- // Write the 'ServiceDescription' as a WSDL file.
- myDescription->Write( "MimeXmlBinding_Part_3_Output_CPP.wsdl" );
- Console::WriteLine( "WSDL file with name 'MimeXmlBinding_Part_3_Output_CPP.wsdl' is"
- " created successfully." );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/MathService_input_cpp.wsdl b/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/MathService_input_cpp.wsdl
deleted file mode 100644
index fa9de60ff9a..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/MathService_input_cpp.wsdl
+++ /dev/null
@@ -1,312 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/operationbindingcollection_operationbindingcollection.cpp b/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/operationbindingcollection_operationbindingcollection.cpp
deleted file mode 100644
index 73662f4cd66..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/operationbindingcollection_operationbindingcollection.cpp
+++ /dev/null
@@ -1,134 +0,0 @@
-// System.Web.Services.Description.OperationBindingCollection
-// System.Web.Services.Description.OperationBindingCollection.Contains
-// System.Web.Services.Description.OperationBindingCollection.Add
-// System.Web.Services.Description.OperationBindingCollection.Item
-// System.Web.Services.Description.OperationBindingCollection.Remove
-// System.Web.Services.Description.OperationBindingCollection.Insert
-// System.Web.Services.Description.OperationBindingCollection.IndexOf
-// System.Web.Services.Description.OperationBindingCollection.CopyTo
-
-/*
-The following example demonstrates the usage of the
-'OperationBindingCollection' class, the 'Item' property and various methods of the
-class. The input to the program is a WSDL file 'MathService_input_cpp.wsdl' without
-the add operation binding of SOAP protocol. In this example the WSDL file
-is modified to insert a new 'OperationBinding' for SOAP. The
-'OperationBindingCollection' is populated based on WSDL document
-structure defined in WSDL specification. The updated instance is then
-written to 'MathService_new_cpp.wsdl'.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-int main()
-{
- try
- {
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_input_cpp.wsdl" );
-
- // Add the OperationBinding for the Add operation.
- OperationBinding^ addOperationBinding = gcnew OperationBinding;
- String^ addOperation = "Add";
- String^ myTargetNamespace = myServiceDescription->TargetNamespace;
- addOperationBinding->Name = addOperation;
-
- // Add the InputBinding for the operation.
- InputBinding^ myInputBinding = gcnew InputBinding;
- SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
- mySoapBodyBinding->Use = SoapBindingUse::Literal;
- myInputBinding->Extensions->Add( mySoapBodyBinding );
- addOperationBinding->Input = myInputBinding;
-
- // Add the OutputBinding for the operation.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- myOutputBinding->Extensions->Add( mySoapBodyBinding );
- addOperationBinding->Output = myOutputBinding;
-
- // Add the extensibility element for the SoapOperationBinding.
- SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
- mySoapOperationBinding->SoapAction = String::Concat( myTargetNamespace, addOperation );
- addOperationBinding->Extensions->Add( mySoapOperationBinding );
-
- // Get the BindingCollection from the ServiceDescription.
- BindingCollection^ myBindingCollection = myServiceDescription->Bindings;
-
- // Get the OperationBindingCollection of SOAP binding from
- // the BindingCollection.
- OperationBindingCollection^ myOperationBindingCollection = myBindingCollection[ 0 ]->Operations;
-
- //
- // Check for the Add OperationBinding in the collection.
- bool contains = myOperationBindingCollection->Contains( addOperationBinding );
- Console::WriteLine( "\nWhether the collection contains the Add OperationBinding : {0}", contains );
- //
-
- //
- // Add the Add OperationBinding to the collection.
- myOperationBindingCollection->Add( addOperationBinding );
- Console::WriteLine( "\nAdded the OperationBinding of the Add"
- " operation to the collection." );
- //
-
- //
- //
- // Get the OperationBinding of the Add operation from the collection.
- OperationBinding^ myOperationBinding = myOperationBindingCollection[ 3 ];
-
- // Remove the OperationBinding of the Add operation from
- // the collection.
- myOperationBindingCollection->Remove( myOperationBinding );
- Console::WriteLine( "\nRemoved the OperationBinding of the "
- "Add operation from the collection." );
- //
- //
-
- //
- //
- // Insert the OperationBinding of the Add operation at index 0.
- myOperationBindingCollection->Insert( 0, addOperationBinding );
- Console::WriteLine( "\nInserted the OperationBinding of the "
- "Add operation in the collection." );
-
- // Get the index of the OperationBinding of the Add
- // operation from the collection.
- int index = myOperationBindingCollection->IndexOf( addOperationBinding );
- Console::WriteLine( "\nThe index of the OperationBinding of the Add operation : {0}", index );
- //
- //
-
- Console::WriteLine( "" );
-
- //
- array^operationBindingArray =
- gcnew array(myOperationBindingCollection->Count);
-
- // Copy this collection to the OperationBinding array.
- myOperationBindingCollection->CopyTo( operationBindingArray, 0 );
- Console::WriteLine( "The operations supported by this service "
- "are :" );
-
- for each(OperationBinding^ myOperationBinding1 in operationBindingArray)
- {
- Binding^ myBinding = myOperationBinding1->Binding;
- Console::WriteLine(" Binding : "+ myBinding->Name + " Name of " +
- "operation : " + myOperationBinding1->Name);
- }
- //
-
- // Save the ServiceDescription to an external file.
- myServiceDescription->Write( "MathService_new_cpp.wsdl" );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception caught!!!" );
- Console::WriteLine( "Source : {0}", e->Source );
- Console::WriteLine( "Message : {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationBinding_OperationBinding/CPP/operationbinding_operationbinding.cpp b/snippets/cpp/VS_Snippets_Remoting/OperationBinding_OperationBinding/CPP/operationbinding_operationbinding.cpp
deleted file mode 100644
index 275e1d9fc9a..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationBinding_OperationBinding/CPP/operationbinding_operationbinding.cpp
+++ /dev/null
@@ -1,127 +0,0 @@
-// System.Web.Services.Description.OperationBinding
-// System.Web.Services.Description.OperationBinding.OperationBinding
-// System.Web.Services.Description.OperationBinding.Name
-// System.Web.Services.Description.OperationBinding.Input
-// System.Web.Services.Description.OperationBinding.Output
-// System.Web.Services.Description.OperationBinding.Extensions
-// System.Web.Services.Description.OperationBinding.Faults
-// System.Web.Services.Description.OperationBinding.Binding
-
-/*
-The following example demonstrates the usage of the 'OperationBinding'
-class, the 'OperationBinding()' constructor, and various properties of the class. The
-input to the program is a WSDL file 'MathService_input_cs.wsdl' without the
-add operation binding for SOAP protocol. In the example, the WSDL file is modified to insert
-a new 'OperationBinding' instance for SOAP. The 'OperationBinding' instance
-is populated based on the WSDL document structure defined in the WSDL specification. The updated
-instance is then written to 'MathService_new_cs.wsdl'.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- try
- {
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_input_cs.wsdl" );
- String^ myTargetNamespace = myServiceDescription->TargetNamespace;
-
- //
- //
- // Create an OperationBinding for the Add operation.
- OperationBinding^ addOperationBinding = gcnew OperationBinding;
- String^ addOperation = "Add";
- addOperationBinding->Name = addOperation;
- //
-
- //
- // Create an InputBinding for the Add operation.
- InputBinding^ myInputBinding = gcnew InputBinding;
- SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
- mySoapBodyBinding->Use = SoapBindingUse::Literal;
- myInputBinding->Extensions->Add( mySoapBodyBinding );
-
- // Add the InputBinding to the OperationBinding.
- addOperationBinding->Input = myInputBinding;
- //
-
- //
- // Create an OutputBinding for the Add operation.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- myOutputBinding->Extensions->Add( mySoapBodyBinding );
-
- // Add the OutputBinding to the OperationBinding.
- addOperationBinding->Output = myOutputBinding;
- //
-
- //
- // Create an extensibility element for a SoapOperationBinding.
- SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
- mySoapOperationBinding->SoapAction = String::Concat( myTargetNamespace, addOperation );
-
- // Add the extensibility element SoapOperationBinding to
- // the OperationBinding.
- addOperationBinding->Extensions->Add( mySoapOperationBinding );
- //
- //
-
- //
- ServiceDescriptionFormatExtensionCollection^ myExtensions;
-
- // Get the FaultBindingCollection from the OperationBinding.
- FaultBindingCollection^ myFaultBindingCollection = addOperationBinding->Faults;
- FaultBinding^ myFaultBinding = gcnew FaultBinding;
- myFaultBinding->Name = "ErrorFloat";
-
- // Associate SOAP fault binding to the fault binding of the operation.
- myExtensions = myFaultBinding->Extensions;
- SoapFaultBinding^ mySoapFaultBinding = gcnew SoapFaultBinding;
- mySoapFaultBinding->Use = SoapBindingUse::Literal;
- mySoapFaultBinding->Namespace = myTargetNamespace;
- myExtensions->Add( mySoapFaultBinding );
- myFaultBindingCollection->Add( myFaultBinding );
- //
-
- // Get the BindingCollection from the ServiceDescription.
- BindingCollection^ myBindingCollection = myServiceDescription->Bindings;
-
- // Get the OperationBindingCollection of SOAP binding
- // from the BindingCollection.
- OperationBindingCollection^ myOperationBindingCollection = myBindingCollection[ 0 ]->Operations;
- myOperationBindingCollection->Add( addOperationBinding );
- Console::WriteLine( "The operations supported by this service are:" );
- System::Collections::IEnumerator^ myEnum = myOperationBindingCollection->GetEnumerator();
- while ( myEnum->MoveNext() )
- {
- OperationBinding^ myOperationBinding = safe_cast(myEnum->Current);
-
- //
- Binding^ myBinding = myOperationBinding->Binding;
- Console::WriteLine( " Binding : {0} :: Name of operation : {1}", myBinding->Name, myOperationBinding->Name );
- //
-
- FaultBindingCollection^ myFaultBindingCollection1 = myOperationBinding->Faults;
- System::Collections::IEnumerator^ myEnum1 = myFaultBindingCollection1->GetEnumerator();
- while ( myEnum1->MoveNext() )
- {
- FaultBinding^ myFaultBinding1 = safe_cast(myEnum1->Current);
- Console::WriteLine( " Fault : {0}", myFaultBinding1->Name );
- }
- }
- myServiceDescription->Write( "MathService_new_cs.wsdl" );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception caught!!!" );
- Console::WriteLine( "Source : {0}", e->Source );
- Console::WriteLine( "Message : {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationCollection_Methods/CPP/operationcollection_methods.cpp b/snippets/cpp/VS_Snippets_Remoting/OperationCollection_Methods/CPP/operationcollection_methods.cpp
deleted file mode 100644
index 6dc493cb959..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationCollection_Methods/CPP/operationcollection_methods.cpp
+++ /dev/null
@@ -1,92 +0,0 @@
-// System.Web.Sevices.Description.OperationCollection
-// System.Web.Sevices.Description.OperationCollection.Add
-// System.Web.Sevices.Description.OperationCollection.Contains
-// System.Web.Sevices.Description.OperationCollection.IndexOf
-// System.Web.Sevices.Description.OperationCollection.Remove
-// System.Web.Sevices.Description.OperationCollection.Insert
-// System.Web.Sevices.Description.OperationCollection.Item
-// System.Web.Sevices.Description.OperationCollection.CopyTo
-
-/*
-The following example demonstrates the usage of the
-'OperationCollection' class , its property 'Item' and its methods
-'Add', 'Contains', 'CopyTo', 'IndexOf', 'Insert' and 'Remove'.
-The input to the program is a WSDL file 'MathService_input_cs.wsdl'with
-information related to the 'Add' operation for the SOAP protocol,
-removed from it. It creates a new file 'MathService_new_cs.wsdl' with
-the added information about the 'Add' method.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services;
-using namespace System::Xml;
-using namespace System::Web::Services::Description;
-int main()
-{
- try
- {
- // Read the 'MathService_Input_cs.wsdl' file.
- ServiceDescription^ myDescription = ServiceDescription::Read( "MathService_Input_cs.wsdl" );
- PortTypeCollection^ myPortTypeCollection = myDescription->PortTypes;
-
- // Get the 'OperationCollection' for 'SOAP' protocol.
-
- //
- OperationCollection^ myOperationCollection = myPortTypeCollection[ 0 ]->Operations;
- Operation^ myOperation = gcnew Operation;
- myOperation->Name = "Add";
- OperationMessage^ myOperationMessageInput = (OperationMessage^)(gcnew OperationInput);
- myOperationMessageInput->Message = gcnew XmlQualifiedName( "AddSoapIn",myDescription->TargetNamespace );
- OperationMessage^ myOperationMessageOutput = (OperationMessage^)(gcnew OperationOutput);
- myOperationMessageOutput->Message = gcnew XmlQualifiedName( "AddSoapOut",myDescription->TargetNamespace );
- myOperation->Messages->Add( myOperationMessageInput );
- myOperation->Messages->Add( myOperationMessageOutput );
- myOperationCollection->Add( myOperation );
- //
-
- //
- //
- if ( myOperationCollection->Contains( myOperation ))
- {
- Console::WriteLine( "The index of the added 'myOperation' operation is : {0}", myOperationCollection->IndexOf( myOperation ) );
- }
- //
- //
-
- //
- //
- //
- myOperationCollection->Remove( myOperation );
-
- // Insert the 'myOpearation' operation at the index '0'.
- myOperationCollection->Insert( 0, myOperation );
- Console::WriteLine( "The operation at index '0' is : {0}", myOperationCollection[ 0 ]->Name );
- //
- //
- //
-
- //
- array^myOperationArray = gcnew array(myOperationCollection->Count);
- myOperationCollection->CopyTo( myOperationArray, 0 );
- Console::WriteLine( "The operation(s) in the collection are :" );
- for ( int i = 0; i < myOperationCollection->Count; i++ )
- {
- Console::WriteLine( " {0}", myOperationArray[ i ]->Name );
- }
- //
-
- myDescription->Write( "MathService_New_cs.wsdl" );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception caught!!!" );
- Console::WriteLine( "Source : {0}", e->Source );
- Console::WriteLine( "Message : {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_7/CPP/operationfaultcollection_7.cpp b/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_7/CPP/operationfaultcollection_7.cpp
deleted file mode 100644
index ad166a97219..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_7/CPP/operationfaultcollection_7.cpp
+++ /dev/null
@@ -1,114 +0,0 @@
-// System::Web::Services::Description.OperationFaultCollection
-// System::Web::Services::Description.OperationFaultCollection::Contains
-// System::Web::Services::Description.OperationFaultCollection::CopyTo
-// System::Web::Services::Description.OperationFaultCollection::IndexOf
-// System::Web::Services::Description.OperationFaultCollection::Insert
-// System::Web::Services::Description.OperationFaultCollection::Item
-// System::Web::Services::Description.OperationFaultCollection::Remove
-
-/*
-The following example demonstrates the usage of the
-'OperationFaultCollection' class, the 'Contains', 'CopyTo', 'IndexOf',
-'Insert', 'Remove', methods and the 'Item' property of the class.
-The program reverses the fault bindings that appear in the WSDL file.
-It also reverses the operation faults and writes the resultant WSDL
-file.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-int main()
-{
- try
- {
- // Read the StockQuote.wsdl file as input.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "StockQuote_cpp.wsdl" );
-
- //
- //
- //
- //
- //
- //
- PortTypeCollection^ myPortTypeCollection = myServiceDescription->PortTypes;
- PortType^ myPortType = myPortTypeCollection[ 0 ];
- OperationCollection^ myOperationCollection = myPortType->Operations;
- Operation^ myOperation = myOperationCollection[ 0 ];
- OperationFaultCollection^ myOperationFaultCollection = myOperation->Faults;
-
- // Reverse the operation fault order.
- if ( myOperationFaultCollection->Count > 1 )
- {
- OperationFault^ myOperationFault = myOperationFaultCollection[ 0 ];
- array^myOperationFaultArray = gcnew array(myOperationFaultCollection->Count);
-
- // Copy the operation fault to a temporary array.
- myOperationFaultCollection->CopyTo( myOperationFaultArray, 0 );
-
- // Remove all the operation faults from the collection.
- for ( int i = 0; i < myOperationFaultArray->Length; i++ )
- myOperationFaultCollection->Remove( myOperationFaultArray[ i ] );
-
- // Insert the operation faults in the reverse order.
- for ( int i = 0,j = (myOperationFaultArray->Length - 1); i < myOperationFaultArray->Length; i++,j-- )
- myOperationFaultCollection->Insert( i, myOperationFaultArray[ j ] );
- if ( myOperationFaultCollection->Contains( myOperationFault ) && (myOperationFaultCollection->IndexOf( myOperationFault ) == myOperationFaultCollection->Count - 1) )
- Console::WriteLine( "Succeeded in reversing the operation faults." );
- else
- Console::WriteLine( "Error while reversing the faults." );
- }
- //
- //
- //
- //
- //
- //
-
- BindingCollection^ myBindingCollection = myServiceDescription->Bindings;
- Binding^ myBinding = myBindingCollection[ 0 ];
- OperationBindingCollection^ myOperationBindingCollection = myBinding->Operations;
- OperationBinding^ myOperationBinding = myOperationBindingCollection[ 0 ];
- FaultBindingCollection^ myFaultBindingCollection = myOperationBinding->Faults;
-
- // Reverse the fault binding order.
- if ( myFaultBindingCollection->Count > 1 )
- {
- FaultBinding^ myFaultBinding = myFaultBindingCollection[ 0 ];
- array^myFaultBindingArray = gcnew array(myFaultBindingCollection->Count);
-
- // Copy the fault bindings to a temporary array.
- myFaultBindingCollection->CopyTo( myFaultBindingArray, 0 );
-
- // Remove all the fault bindings.
- for ( int i = 0; i < myFaultBindingArray->Length; i++ )
- myFaultBindingCollection->Remove( myFaultBindingArray[ i ] );
-
- // Insert the fault bindings in the reverse order.
- for ( int i = 0,j = (myFaultBindingArray->Length - 1); i < myFaultBindingArray->Length; i++,j-- )
- myFaultBindingCollection->Insert( i, myFaultBindingArray[ j ] );
-
- // Check whether the first element before the reversal
- // is now the last element.
- if ( myFaultBindingCollection->Contains( myFaultBinding ) && myFaultBindingCollection->IndexOf( myFaultBinding ) == (myFaultBindingCollection->Count - 1) )
- {
- // Write the WSDL generated to a file.
- myServiceDescription->Write( "StockQuoteOut_cpp.wsdl" );
- Console::WriteLine( "The file StockQuoteOut_cpp.wsdl was successfully written" );
- }
- else
- Console::WriteLine( "An error occurred while reversing the input WSDL file." );
- }
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception caught!!!" );
- Console::WriteLine( "Source : {0}", e->Source );
- Console::WriteLine( "Message : {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_Add/CPP/operationfaultcollection_add.cpp b/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_Add/CPP/operationfaultcollection_add.cpp
deleted file mode 100644
index 82de5e660ad..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_Add/CPP/operationfaultcollection_add.cpp
+++ /dev/null
@@ -1,54 +0,0 @@
-// System::Web::Services::Description.OperationFaultCollection->Add
-
-/*
-The following example demonstrates the 'Add' method of the
-'OperationFaultCollection' class. Based on 'StockQuote_cs::wsdl', the program generates a WSDL file
-'StockQuoteNew_cs::wsdl' which contains 'Fault' information written out.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-using namespace System::Xml::Schema;
-using namespace System::Xml::Serialization;
-
-int main()
-{
- try
- {
- // Read the 'StockQuote::wsdl' file as input.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "StockQuote_cpp.wsdl" );
- PortTypeCollection^ myPortTypeCollection = myServiceDescription->PortTypes;
- PortType^ myPortType = myPortTypeCollection[ 0 ];
- OperationCollection^ myOperationCollection = myPortType->Operations;
- Operation^ myOperation = myOperationCollection[ 0 ];
-
- //
- OperationFaultCollection^ myOperationFaultCollection = myOperation->Faults;
- OperationFault^ myOperationFault = gcnew OperationFault;
- myOperationFault->Name = "ErrorString";
- myOperationFault->Message = gcnew XmlQualifiedName( "s0:GetTradePriceStringFault" );
- myOperationFaultCollection->Add( myOperationFault );
- //
-
- Console::WriteLine( "Added OperationFault with Name: {0}", myOperationFault->Name );
- myOperationFault = gcnew OperationFault;
- myOperationFault->Name = "ErrorInt";
- myOperationFault->Message = gcnew XmlQualifiedName( "s0:GetTradePriceIntFault" );
- myOperationFaultCollection->Add( myOperationFault );
- myOperationCollection->Add( myOperation );
- Console::WriteLine( "Added Second OperationFault with Name: {0}", myOperationFault->Name );
- myServiceDescription->Write( "StockQuoteNew_cpp.wsdl" );
- Console::WriteLine( "\nThe file 'StockQuoteNew_cpp.wsdl' is created successfully." );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception caught!!!" );
- Console::WriteLine( "Source : {0}", e->Source );
- Console::WriteLine( "Message : {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_Item/CPP/operationfaultcollection_item.cpp b/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_Item/CPP/operationfaultcollection_item.cpp
deleted file mode 100644
index 845e68c6164..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_Item/CPP/operationfaultcollection_item.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-// System::Web::Services::Description.OperationFaultCollection::Item->Item[String*]
-
-/*
-The following example demonstrates the 'Item' property of the
-'OperationFaultCollection' class. The program removes a fault binding
-with the name 'ErrorString' from the WSDL file. It also removes an
-operation fault with the name 'ErrorString' and generates a WSDL file.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-int main()
-{
- try
- {
- // Read the 'StockQuote::wsdl' file as input.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "StockQuote_cpp.wsdl" );
-
- // Remove the operation fault with the name 'ErrorString'.
- PortTypeCollection^ myPortTypeCollection = myServiceDescription->PortTypes;
- PortType^ myPortType = myPortTypeCollection[ 0 ];
- OperationCollection^ myOperationCollection = myPortType->Operations;
- Operation^ myOperation = myOperationCollection[ 0 ];
-
- //
- OperationFaultCollection^ myOperationFaultCollection = myOperation->Faults;
- OperationFault^ myOperationFault = myOperationFaultCollection[ "ErrorString" ];
- if ( myOperationFault != nullptr )
- myOperationFaultCollection->Remove( myOperationFault );
- //
-
- // Remove the fault binding with the name 'ErrorString'.
- BindingCollection^ myBindingCollection = myServiceDescription->Bindings;
- Binding^ myBinding = myBindingCollection[ 0 ];
- OperationBindingCollection^ myOperationBindingCollection = myBinding->Operations;
- OperationBinding^ myOperationBinding = myOperationBindingCollection[ 0 ];
- FaultBindingCollection^ myFaultBindingCollection = myOperationBinding->Faults;
- if ( myFaultBindingCollection->Contains( myFaultBindingCollection[ "ErrorString" ] ) )
- myFaultBindingCollection->Remove( myFaultBindingCollection[ "ErrorString" ] );
- myServiceDescription->Write( "OperationFaultCollection_out.wsdl" );
- Console::WriteLine( "WSDL file with name 'OperationFaultCollection_out.wsdl' created Successfully" );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception caught!!!" );
- Console::WriteLine( "Source : {0}", e->Source );
- Console::WriteLine( "Message : {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationFault_OperationFault/CPP/operationfault_operationfault.cpp b/snippets/cpp/VS_Snippets_Remoting/OperationFault_OperationFault/CPP/operationfault_operationfault.cpp
deleted file mode 100644
index b5f3b55eaa1..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationFault_OperationFault/CPP/operationfault_operationfault.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
-// System::Web::Services::Description.OperationFault
-// System::Web::Services::Description.OperationFault::OperationFault
-
-/* The following example demonstrates the usage of the 'OperationFault'
-class and its constructor. The program generates a WSDL file
-'StockQuoteNew_cs::wsdl' which contains 'Fault' information written
-out.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-using namespace System::Xml::Schema;
-using namespace System::Xml::Serialization;
-int main()
-{
- try
- {
- // Read the 'StockQuote_cpp.wsdl' file as input.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "StockQuote_cpp.wsdl" );
- PortTypeCollection^ myPortTypeCollection = myServiceDescription->PortTypes;
- PortType^ myPortType = myPortTypeCollection[ 0 ];
- OperationCollection^ myOperationCollection = myPortType->Operations;
- Operation^ myOperation = myOperationCollection[ 0 ];
-
- //
- OperationFault^ myOperationFault = gcnew OperationFault;
- myOperationFault->Name = "ErrorString";
- myOperationFault->Message = gcnew XmlQualifiedName( "s0:GetTradePriceStringFault" );
- myOperation->Faults->Add( myOperationFault );
- Console::WriteLine( "Added OperationFault with Name: {0}", myOperationFault->Name );
- myOperationFault = gcnew OperationFault;
- myOperationFault->Name = "ErrorInt";
- myOperationFault->Message = gcnew XmlQualifiedName( "s0:GetTradePriceIntFault" );
- myOperation->Faults->Add( myOperationFault );
- //
-
- myOperationCollection->Add( myOperation );
- Console::WriteLine( "Added Second OperationFault with Name: {0}", myOperationFault->Name );
- myServiceDescription->Write( "StockQuoteNew_cpp.wsdl" );
- Console::WriteLine( "\nThe file 'StockQuoteNew_cpp.wsdl' is created successfully." );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception caught!!!" );
- Console::WriteLine( "Source : {0}", e->Source );
- Console::WriteLine( "Message : {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationFlow_Enum/CPP/operationflow_enum.cpp b/snippets/cpp/VS_Snippets_Remoting/OperationFlow_Enum/CPP/operationflow_enum.cpp
deleted file mode 100644
index 200d1635e94..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationFlow_Enum/CPP/operationflow_enum.cpp
+++ /dev/null
@@ -1,141 +0,0 @@
-// System.Web.Sevices.Description.OperationFlow
-// System.Web.Sevices.Description.OperationFlow.None
-// System.Web.Sevices.Description.OperationFlow.OneWay
-// System.Web.Sevices.Description.OperationFlow.Notification
-// System.Web.Sevices.Description.OperationFlow.SolicitResponse
-// System.Web.Sevices.Description.OperationFlow.RequestResponse
-
-/*
-The following example demonstrates the usage of the 'OperationFlow'
-Enumeration, its members 'None', 'OneWay', 'Notification',
-'SolicitResponse', 'RequestResponse'. The input to the program is a
-WSDL file 'MathService_input_cs.wsdl' It creates a new file
-'MathService_new_cs.wsdl' by adding the operation messages
-'OperationInput' and 'OperationOutput' are added to the
-'OperationInput' and 'OperationOutput' in such way that all members of
-the 'OperationFlow' enumeration are generated.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Xml;
-using namespace System::Web::Services;
-using namespace System::Web::Services::Description;
-
-//
-//
-//
-//
-//
-void DisplayOperationFlowDescription( OperationFlow myOperationFlow )
-{
- switch ( myOperationFlow )
- {
- case OperationFlow::None:
- Console::WriteLine( "Indicates that the endpoint or service "
- "receives no transmissions (None)." );
- break;
-
- case OperationFlow::OneWay:
- Console::WriteLine( "Indicates that the endpoint or service "
- "receives a message (OneWay)." );
- break;
-
- case OperationFlow::Notification:
- Console::WriteLine( "Indicates that the endpoint or service "
- "sends a message (Notification)." );
- break;
-
- case OperationFlow::SolicitResponse:
- Console::WriteLine( "Indicates that the endpoint or service "
- "sends a message, then receives a "
- "correlated message (SolicitResponse)." );
- break;
-
- case OperationFlow::RequestResponse:
- Console::WriteLine( "Indicates that the endpoint or service "
- "receives a message, then sends a "
- "correlated message (RequestResponse)." );
- break;
- }
-}
-//
-//
-//
-//
-//
-
-int main()
-{
- try
- {
- ServiceDescription^ myDescription = ServiceDescription::Read( "MathService_Input_cs.wsdl" );
- PortTypeCollection^ myPortTypeCollection = myDescription->PortTypes;
-
- // Get the OperationCollection for SOAP protocol.
- OperationCollection^ myOperationCollection = myPortTypeCollection[ 0 ]->Operations;
-
- // Get the OperationMessageCollection for the Add operation.
- OperationMessageCollection^ myOperationMessageCollection = myOperationCollection[ 0 ]->Messages;
-
- // Indicate that the endpoint or service receives no
- // transmissions (None).
- Console::WriteLine( "myOperationMessageCollection does not "
- "contain any operation messages." );
- DisplayOperationFlowDescription( myOperationMessageCollection->Flow );
- Console::WriteLine();
-
- // Indicate that the endpoint or service receives a message (OneWay).
- OperationMessage^ myInputOperationMessage = dynamic_cast(gcnew OperationInput);
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "AddSoapIn",myDescription->TargetNamespace );
- myInputOperationMessage->Message = myXmlQualifiedName;
- myOperationMessageCollection->Add( myInputOperationMessage );
- Console::WriteLine( "myOperationMessageCollection contains "
- "only input operation messages." );
- DisplayOperationFlowDescription( myOperationMessageCollection->Flow );
- Console::WriteLine();
- myOperationMessageCollection->Remove( myInputOperationMessage );
-
- // Indicate that an endpoint or service sends a message (Notification).
- OperationMessage^ myOutputOperationMessage = dynamic_cast(gcnew OperationOutput);
- XmlQualifiedName^ myXmlQualifiedName1 = gcnew XmlQualifiedName( "AddSoapOut",myDescription->TargetNamespace );
- myOutputOperationMessage->Message = myXmlQualifiedName1;
- myOperationMessageCollection->Add( myOutputOperationMessage );
- Console::WriteLine( "myOperationMessageCollection contains "
- "only output operation messages." );
- DisplayOperationFlowDescription( myOperationMessageCollection->Flow );
- Console::WriteLine();
-
- // Indicate that an endpoint or service sends a message, then
- // receives a correlated message (SolicitResponse).
- myOperationMessageCollection->Add( myInputOperationMessage );
- Console::WriteLine( "'myOperationMessageCollection' contains "
- "an output operation message first, then "
- "an input operation message." );
- DisplayOperationFlowDescription( myOperationMessageCollection->Flow );
- Console::WriteLine();
-
- // Indicate that an endpoint or service receives a message,
- // then sends a correlated message (RequestResponse).
- myOperationMessageCollection->Remove( myInputOperationMessage );
- myOperationMessageCollection->Insert( 0, myInputOperationMessage );
- Console::WriteLine( "myOperationMessageCollection contains "
- "an input operation message first, then "
- "an output operation message." );
- DisplayOperationFlowDescription( myOperationMessageCollection->Flow );
- Console::WriteLine();
- myDescription->Write( "MathService_new_cs.wsdl" );
- Console::WriteLine( "The file MathService_new_cs.wsdl was successfully written." );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception caught!!!" );
- Console::WriteLine( "Source : {0}", e->Source );
- Console::WriteLine( "Message : {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationInput_OperationInput/CPP/operationinput_operationinput.cpp b/snippets/cpp/VS_Snippets_Remoting/OperationInput_OperationInput/CPP/operationinput_operationinput.cpp
deleted file mode 100644
index fdc4a94dd1d..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationInput_OperationInput/CPP/operationinput_operationinput.cpp
+++ /dev/null
@@ -1,127 +0,0 @@
-// System.Web.Services.Description.OperationInput
-// System.Web.Services.Description.OperationInput.OperationInput
-
-/*
-The following example demonstrates the usage of the 'OperationInput'
-class and its constructor 'OperationInput'. It instantiates the
-'ServiceDescription' object by reading a file 'AddNumbersIn_cs.wsdl'
-and then creates 'AddNumbersOut_cs.wsdl' file which corresponds to
-added attributes in the 'ServiceDescription' instance.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- try
- {
- ServiceDescription^ myDescription = ServiceDescription::Read( "AddNumbersIn_cs.wsdl" );
-
- // Add the ServiceHttpPost binding.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "ServiceHttpPost";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:ServiceHttpPost" );
- myBinding->Type = myXmlQualifiedName;
- HttpBinding^ myHttpBinding = gcnew HttpBinding;
- myHttpBinding->Verb = "POST";
- myBinding->Extensions->Add( myHttpBinding );
-
- // Add the operation name AddNumbers.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
- HttpOperationBinding^ myOperation = gcnew HttpOperationBinding;
- myOperation->Location = "/AddNumbers";
- myOperationBinding->Extensions->Add( myOperation );
-
- // Add the input binding.
- InputBinding^ myInput = gcnew InputBinding;
- MimeContentBinding^ postMimeContentbinding = gcnew MimeContentBinding;
- postMimeContentbinding->Type = "application/x-www-form-urlencoded";
- myInput->Extensions->Add( postMimeContentbinding );
-
- // Add the InputBinding to the OperationBinding.
- myOperationBinding->Input = myInput;
-
- // Add the ouput binding.
- OutputBinding^ myOutput = gcnew OutputBinding;
- MimeXmlBinding^ postMimeXmlBinding = gcnew MimeXmlBinding;
- postMimeXmlBinding->Part = "Body";
- myOutput->Extensions->Add( postMimeXmlBinding );
-
- // Add the OutputBinding to the OperationBinding.
- myOperationBinding->Output = myOutput;
- myBinding->Operations->Add( myOperationBinding );
- myDescription->Bindings->Add( myBinding );
-
- // Add the port definition.
- Port^ postPort = gcnew Port;
- postPort->Name = "ServiceHttpPost";
- postPort->Binding = gcnew XmlQualifiedName( "s0:ServiceHttpPost" );
- HttpAddressBinding^ postAddressBinding = gcnew HttpAddressBinding;
- postAddressBinding->Location = "http://localhost/Service.cs.asmx";
- postPort->Extensions->Add( postAddressBinding );
- myDescription->Services[ 0 ]->Ports->Add( postPort );
-
- // Add the post port type definition.
- PortType^ postPortType = gcnew PortType;
- postPortType->Name = "ServiceHttpPost";
- Operation^ postOperation = gcnew Operation;
- postOperation->Name = "AddNumbers";
- OperationMessage^ postOutput = dynamic_cast(gcnew OperationOutput);
- postOutput->Message = gcnew XmlQualifiedName( "s0:AddNumbersHttpPostOut" );
-
- //
- OperationInput^ postInput = gcnew OperationInput;
- postInput->Message = gcnew XmlQualifiedName( "s0:AddNumbersHttpPostIn" );
- postOperation->Messages->Add( postInput );
- postOperation->Messages->Add( postOutput );
- postPortType->Operations->Add( postOperation );
- //
-
- myDescription->PortTypes->Add( postPortType );
-
- // Add the first message information.
- Message^ postMessage1 = gcnew Message;
- postMessage1->Name = "AddNumbersHttpPostIn";
- MessagePart^ postMessagePart1 = gcnew MessagePart;
- postMessagePart1->Name = "firstnumber";
- postMessagePart1->Type = gcnew XmlQualifiedName( "s:string" );
-
- // Add the second message information.
- MessagePart^ postMessagePart2 = gcnew MessagePart;
- postMessagePart2->Name = "secondnumber";
- postMessagePart2->Type = gcnew XmlQualifiedName( "s:string" );
- postMessage1->Parts->Add( postMessagePart1 );
- postMessage1->Parts->Add( postMessagePart2 );
- Message^ postMessage2 = gcnew Message;
- postMessage2->Name = "AddNumbersHttpPostOut";
-
- // Add the third message information.
- MessagePart^ postMessagePart3 = gcnew MessagePart;
- postMessagePart3->Name = "Body";
- postMessagePart3->Element = gcnew XmlQualifiedName( "s0:int" );
- postMessage2->Parts->Add( postMessagePart3 );
- myDescription->Messages->Add( postMessage1 );
- myDescription->Messages->Add( postMessage2 );
-
- // Write the ServiceDescription as a WSDL file.
- myDescription->Write( "AddNumbersOut_cs.wsdl" );
- Console::WriteLine( "WSDL file named AddNumberOut_cs.Wsdl"
- " created successfully." );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception caught!!!" );
- Console::WriteLine( "Source : {0}", e->Source );
- Console::WriteLine( "Message : {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp b/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp
deleted file mode 100644
index 051aa44c1c0..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
-// System.Web.Services.Description.OperationMessageCollection
-// System.Web.Services.Description.OperationMessageCollection.Item
-// System.Web.Services.Description.OperationMessageCollection.CopyTo
-// System.Web.Services.Description.OperationMessageCollection.Add
-// System.Web.Services.Description.OperationMessageCollection.Contains
-// System.Web.Services.Description.OperationMessageCollection.IndexOf
-// System.Web.Services.Description.OperationMessageCollection.Remove
-// System.Web.Services.Description.OperationMessageCollection.Insert
-// System.Web.Services.Description.OperationMessageCollection.Flow
-// System.Web.Services.Description.OperationMessageCollection.Input
-// System.Web.Services.Description.OperationMessageCollection.Output
-
-/*
-The following example demonstrates the usage of the
-'OperationMessageCollection' class and various methods and properties of it.
-The input to the program is a WSDL file 'MathService_input_vb.wsdl' without
-the input message of 'Add' operation for the SOAP
-protocol. In a way, it tries to simulate a scenario
-wherein the operation flow was 'Notification', however later operation
-flow changed to 'Request-Response'. The WSDL file is
-modified by inserting a new input message for the 'Add' operation. The
-input message in the ServiceDescription instance is loaded with values for
-'Input Message'. The instance is then written to 'MathService_new_vb.wsdl'.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Xml;
-using namespace System::Web::Services;
-using namespace System::Web::Services::Description;
-
-//
-//
-//
-// Displays the properties of the OperationMessageCollection.
-void DisplayFlowInputOutput( OperationMessageCollection^ myOperationMessageCollection, String^ myOperation )
-{
- Console::WriteLine( "After {0}:", myOperation );
- Console::WriteLine( "Flow : {0}", myOperationMessageCollection->Flow );
- Console::WriteLine( "The first occurrence of operation Input in the collection {0}", myOperationMessageCollection->Input );
- Console::WriteLine( "The first occurrence of operation Output in the collection {0}", myOperationMessageCollection->Output );
- Console::WriteLine();
-}
-//
-//
-//
-
-int main()
-{
- try
- {
- ServiceDescription^ myDescription = ServiceDescription::Read( "MathService_input_cs.wsdl" );
- PortTypeCollection^ myPortTypeCollection = myDescription->PortTypes;
-
- // Get the OperationCollection for the SOAP protocol.
- OperationCollection^ myOperationCollection = myPortTypeCollection[ 0 ]->Operations;
-
- // Get the OperationMessageCollection for the Add operation.
- OperationMessageCollection^ myOperationMessageCollection = myOperationCollection[ 0 ]->Messages;
-
- // Display the Flow, Input, and Output properties.
- DisplayFlowInputOutput( myOperationMessageCollection, "Start" );
-
- //
- //
- // Get the operation message for the Add operation.
- OperationMessage^ myOperationMessage = myOperationMessageCollection[ 0 ];
- OperationMessage^ myInputOperationMessage = dynamic_cast(gcnew OperationInput);
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "AddSoapIn",myDescription->TargetNamespace );
- myInputOperationMessage->Message = myXmlQualifiedName;
-
- //
- array^myCollection = gcnew array(myOperationMessageCollection->Count);
- myOperationMessageCollection->CopyTo( myCollection, 0 );
- Console::WriteLine( "Operation name(s) :" );
- for ( int i = 0; i < myCollection->Length; i++ )
- {
- Console::WriteLine( " {0}", myCollection[ i ]->Operation->Name );
- }
- //
-
- // Add the OperationMessage to the collection.
- myOperationMessageCollection->Add( myInputOperationMessage );
-
- //
- DisplayFlowInputOutput( myOperationMessageCollection, "Add" );
-
- //
- //
- if ( myOperationMessageCollection->Contains( myOperationMessage ))
- {
- int myIndex = myOperationMessageCollection->IndexOf( myOperationMessage );
- Console::WriteLine( " The index of the Add operation message in the collection is : {0}", myIndex );
- }
- //
- //
- //
-
- //
- //
- myOperationMessageCollection->Remove( myInputOperationMessage );
-
- // Display Flow, Input, and Output after removing.
- DisplayFlowInputOutput( myOperationMessageCollection, "Remove" );
-
- // Insert the message at index 0 in the collection.
- myOperationMessageCollection->Insert( 0, myInputOperationMessage );
-
- // Display Flow, Input, and Output after inserting.
- DisplayFlowInputOutput( myOperationMessageCollection, "Insert" );
- //
- //
-
- myDescription->Write( "MathService_new_cs.wsdl" );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception caught!!!" );
- Console::WriteLine( "Source : {0}", e->Source );
- Console::WriteLine( "Message : {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationMessage_Properties/CPP/operationmessage_properties.cpp b/snippets/cpp/VS_Snippets_Remoting/OperationMessage_Properties/CPP/operationmessage_properties.cpp
deleted file mode 100644
index c7cd7a8b49c..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationMessage_Properties/CPP/operationmessage_properties.cpp
+++ /dev/null
@@ -1,64 +0,0 @@
-// System.Web.Services.Description.OperationMessage
-// System.Web.Services.Description.OperationMessage.OperationMessage
-// System.Web.Services.Description.OperationMessage.Message
-// System.Web.Services.Description.OperationMessage.Operation
-
-/*
-The following example demonstrates the usage of the 'OperationMessage'
-class, its constructor and the properties 'Message' and 'Operation'.
-The input to the program is a WSDL file 'MathService_input_cs.wsdl' without
-the input message of 'Add' operation for the SOAP
-protocol. In this example a new input message for the 'Add' operation is created.
-The input message in the ServiceDescription instance is loaded with values for
-'InputMessage'. The instance is then written to 'MathService_new_cs.wsdl'.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Xml;
-using namespace System::Web::Services;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- try
- {
- ServiceDescription^ myDescription = ServiceDescription::Read( "MathService_input_cs.wsdl" );
- PortTypeCollection^ myPortTypeCollection = myDescription->PortTypes;
-
- // Get the OperationCollection for the SOAP protocol.
- OperationCollection^ myOperationCollection = myPortTypeCollection[ 0 ]->Operations;
-
- // Get the OperationMessageCollection for the Add operation.
- OperationMessageCollection^ myOperationMessageCollection = myOperationCollection[ 0 ]->Messages;
-
- //
- //
- //
- OperationMessage^ myInputOperationMessage = (OperationMessage^)(gcnew OperationInput);
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "AddSoapIn",myDescription->TargetNamespace );
- myInputOperationMessage->Message = myXmlQualifiedName;
- //
-
- myOperationMessageCollection->Insert( 0, myInputOperationMessage );
-
- // Display the operation name of the InputMessage.
- Console::WriteLine( "The operation name is {0}", myInputOperationMessage->Operation->Name );
- //
- //
-
- // Add the OperationMessage to the collection.
- myDescription->Write( "MathService_new_cs.wsdl" );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception caught!!!" );
- Console::WriteLine( "Source : {0}", e->Source );
- Console::WriteLine( "Message : {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/OperationOutput_OperationOutput/CPP/operationoutput_operationoutput.cpp b/snippets/cpp/VS_Snippets_Remoting/OperationOutput_OperationOutput/CPP/operationoutput_operationoutput.cpp
deleted file mode 100644
index 9500f4f962e..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/OperationOutput_OperationOutput/CPP/operationoutput_operationoutput.cpp
+++ /dev/null
@@ -1,127 +0,0 @@
-// System.Web.Services.Description.OperationOutput
-// System.Web.Services.Description.OperationOutput.OperationOutput
-
-/*
-The following example demonstrates the usage of the 'OperationOutput'
-class and its constructor 'OperationOutput'. It creates a
-'ServiceDescription' object by reading the file 'AddNumbersIn_cs.wsdl' and
-then creates 'AddNumbersOut_cs.wsdl' file which corresponds to added
-attributes in the 'ServiceDescription' instance.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- try
- {
- ServiceDescription^ myDescription = ServiceDescription::Read( "AddNumbersIn_cs.wsdl" );
-
- // Add the ServiceHttpPost binding.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "ServiceHttpPost";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:ServiceHttpPost" );
- myBinding->Type = myXmlQualifiedName;
- HttpBinding^ myHttpBinding = gcnew HttpBinding;
- myHttpBinding->Verb = "POST";
- myBinding->Extensions->Add( myHttpBinding );
-
- // Add the operation name AddNumbers.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
- HttpOperationBinding^ myOperation = gcnew HttpOperationBinding;
- myOperation->Location = "/AddNumbers";
- myOperationBinding->Extensions->Add( myOperation );
-
- // Add the input binding.
- InputBinding^ myInput = gcnew InputBinding;
- MimeContentBinding^ postMimeContentbinding = gcnew MimeContentBinding;
- postMimeContentbinding->Type = "application/x-www-form-urlencoded";
- myInput->Extensions->Add( postMimeContentbinding );
-
- // Add the InputBinding to the OperationBinding.
- myOperationBinding->Input = myInput;
-
- // Add the ouput binding.
- OutputBinding^ myOutput = gcnew OutputBinding;
- MimeXmlBinding^ postMimeXmlbinding = gcnew MimeXmlBinding;
- postMimeXmlbinding->Part = "Body";
- myOutput->Extensions->Add( postMimeXmlbinding );
-
- // Add the OutPutBinding to the OperationBinding.
- myOperationBinding->Output = myOutput;
- myBinding->Operations->Add( myOperationBinding );
- myDescription->Bindings->Add( myBinding );
-
- // Add the port definition.
- Port^ postPort = gcnew Port;
- postPort->Name = "ServiceHttpPost";
- postPort->Binding = gcnew XmlQualifiedName( "s0:ServiceHttpPost" );
- HttpAddressBinding^ postAddressBinding = gcnew HttpAddressBinding;
- postAddressBinding->Location = "http://localhost/Service_cs.asmx";
- postPort->Extensions->Add( postAddressBinding );
- myDescription->Services[ 0 ]->Ports->Add( postPort );
-
- // Add the post port type definition.
- PortType^ postPortType = gcnew PortType;
- postPortType->Name = "ServiceHttpPost";
- Operation^ postOperation = gcnew Operation;
- postOperation->Name = "AddNumbers";
- OperationMessage^ postInput = dynamic_cast(gcnew OperationInput);
- postInput->Message = gcnew XmlQualifiedName( "s0:AddNumbersHttpPostIn" );
-
- //
- OperationOutput^ postOutput = gcnew OperationOutput;
- postOutput->Message = gcnew XmlQualifiedName( "s0:AddNumbersHttpPostOut" );
- postOperation->Messages->Add( postInput );
- postOperation->Messages->Add( postOutput );
- postPortType->Operations->Add( postOperation );
- //
-
- myDescription->PortTypes->Add( postPortType );
-
- // Add the first message information.
- Message^ postMessage1 = gcnew Message;
- postMessage1->Name = "AddNumbersHttpPostIn";
- MessagePart^ postMessagePart1 = gcnew MessagePart;
- postMessagePart1->Name = "firstnumber";
- postMessagePart1->Type = gcnew XmlQualifiedName( "s:string" );
-
- // Add the second message information.
- MessagePart^ postMessagePart2 = gcnew MessagePart;
- postMessagePart2->Name = "secondnumber";
- postMessagePart2->Type = gcnew XmlQualifiedName( "s:string" );
- postMessage1->Parts->Add( postMessagePart1 );
- postMessage1->Parts->Add( postMessagePart2 );
- Message^ postMessage2 = gcnew Message;
- postMessage2->Name = "AddNumbersHttpPostOut";
-
- // Add the third message information.
- MessagePart^ postMessagePart3 = gcnew MessagePart;
- postMessagePart3->Name = "Body";
- postMessagePart3->Element = gcnew XmlQualifiedName( "s0:int" );
- postMessage2->Parts->Add( postMessagePart3 );
- myDescription->Messages->Add( postMessage1 );
- myDescription->Messages->Add( postMessage2 );
-
- // Write the ServiceDescription as a WSDL file.
- myDescription->Write( "AddNumbersOut_cs.wsdl" );
- Console::WriteLine( "WSDL file named AddNumbersOut_cs.Wsdl"
- " created successfully." );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception caught!!!" );
- Console::WriteLine( "Source : {0}", e->Source );
- Console::WriteLine( "Message : {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/Operation_2/CPP/operation_2.cpp b/snippets/cpp/VS_Snippets_Remoting/Operation_2/CPP/operation_2.cpp
deleted file mode 100644
index 6af07a14872..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/Operation_2/CPP/operation_2.cpp
+++ /dev/null
@@ -1,155 +0,0 @@
-// System.Web.Services.Description Operation.ParameterOrderString
-// System.Web.Services.Description Operation.ParameterOrder
-
-/* The following program demonstrates the 'ParameterOrderString' and
- 'ParameterOrder' properties of 'Operation' class. It collects the
- message part names from the input WSDL file and sets to the
- 'ParameterOrderString'. It then displays the same using 'ParameterOrder'
- property.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- try
- {
- ServiceDescription^ myDescription = ServiceDescription::Read( "Operation_2_Input_CS.wsdl" );
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "Operation_2_ServiceHttpPost";
- XmlQualifiedName^ myQualifiedName = gcnew XmlQualifiedName( "s0:Operation_2_ServiceHttpPost" );
- myBinding->Type = myQualifiedName;
- HttpBinding^ myHttpBinding = gcnew HttpBinding;
- myHttpBinding->Verb = "POST";
-
- // Add the 'HttpBinding' to the 'Binding'.
- myBinding->Extensions->Add( myHttpBinding );
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
- HttpOperationBinding^ myHttpOperationBinding = gcnew HttpOperationBinding;
- myHttpOperationBinding->Location = "/AddNumbers";
-
- // Add the 'HttpOperationBinding' to 'OperationBinding'.
- myOperationBinding->Extensions->Add( myHttpOperationBinding );
- InputBinding^ myInputBinding = gcnew InputBinding;
- MimeContentBinding^ myPostMimeContentbinding = gcnew MimeContentBinding;
- myPostMimeContentbinding->Type = "application/x-www-form-urlencoded";
- myInputBinding->Extensions->Add( myPostMimeContentbinding );
-
- // Add the 'InputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInputBinding;
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- MimeXmlBinding^ myPostMimeXmlbinding = gcnew MimeXmlBinding;
- myPostMimeXmlbinding->Part = "Body";
- myOutputBinding->Extensions->Add( myPostMimeXmlbinding );
-
- // Add the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutputBinding;
-
- // Add the 'OperationBinding' to 'Binding'.
- myBinding->Operations->Add( myOperationBinding );
-
- // Add the 'Binding' to 'BindingCollection' of 'ServiceDescription'.
- myDescription->Bindings->Add( myBinding );
- Port^ myPostPort = gcnew Port;
- myPostPort->Name = "Operation_2_ServiceHttpPost";
- myPostPort->Binding = gcnew XmlQualifiedName( "s0:Operation_2_ServiceHttpPost" );
- HttpAddressBinding^ myPostAddressBinding = gcnew HttpAddressBinding;
- myPostAddressBinding->Location = "http://localhost/Operation_2/Operation_2_Service.cs.asmx";
-
- // Add the 'HttpAddressBinding' to the 'Port'.
- myPostPort->Extensions->Add( myPostAddressBinding );
-
- // Add the 'Port' to 'PortCollection' of 'ServiceDescription'.
- myDescription->Services[ 0 ]->Ports->Add( myPostPort );
- PortType^ myPostPortType = gcnew PortType;
- myPostPortType->Name = "Operation_2_ServiceHttpPost";
- Operation^ myPostOperation = gcnew Operation;
- myPostOperation->Name = "AddNumbers";
- OperationMessage^ myPostOperationInput = dynamic_cast(gcnew OperationInput);
- myPostOperationInput->Message = gcnew XmlQualifiedName( "s0:AddNumbersHttpPostIn" );
- OperationMessage^ myPostOperationOutput = dynamic_cast(gcnew OperationOutput);
- myPostOperationOutput->Message = gcnew XmlQualifiedName( "s0:AddNumbersHttpPostout" );
- myPostOperation->Messages->Add( myPostOperationInput );
- myPostOperation->Messages->Add( myPostOperationOutput );
-
- // Add the 'Operation' to 'PortType'.
- myPostPortType->Operations->Add( myPostOperation );
-
- // Adds the 'PortType' to 'PortTypeCollection' of 'ServiceDescription'.
- myDescription->PortTypes->Add( myPostPortType );
- Message^ myPostMessage1 = gcnew Message;
- myPostMessage1->Name = "AddNumbersHttpPostIn";
- MessagePart^ myPostMessagePart1 = gcnew MessagePart;
- myPostMessagePart1->Name = "firstnumber";
- myPostMessagePart1->Type = gcnew XmlQualifiedName( "s:string" );
- MessagePart^ myPostMessagePart2 = gcnew MessagePart;
- myPostMessagePart2->Name = "secondnumber";
- myPostMessagePart2->Type = gcnew XmlQualifiedName( "s:string" );
-
- // Add the 'MessagePart' objects to 'Messages'.
- myPostMessage1->Parts->Add( myPostMessagePart1 );
- myPostMessage1->Parts->Add( myPostMessagePart2 );
- Message^ myPostMessage2 = gcnew Message;
- myPostMessage2->Name = "AddNumbersHttpPostout";
- MessagePart^ myPostMessagePart3 = gcnew MessagePart;
- myPostMessagePart3->Name = "Body";
- myPostMessagePart3->Element = gcnew XmlQualifiedName( "s0:int" );
-
- // Add the 'MessagePart' to 'Message'.
- myPostMessage2->Parts->Add( myPostMessagePart3 );
-
- // Add the 'Message' objects to 'ServiceDescription'.
- myDescription->Messages->Add( myPostMessage1 );
- myDescription->Messages->Add( myPostMessage2 );
-
- // Write the 'ServiceDescription' as a WSDL file.
- myDescription->Write( "Operation_2_Output_CS.wsdl" );
- Console::WriteLine( " 'Operation_2_Output_CS.wsdl' file created Successfully" );
-
- //
- //
- String^ myString = nullptr;
- Operation^ myOperation = gcnew Operation;
- myDescription = ServiceDescription::Read( "Operation_2_Input_CS.wsdl" );
- array^myMessage = gcnew array(myDescription->Messages->Count);
-
- // Copy the messages from the service description.
- myDescription->Messages->CopyTo( myMessage, 0 );
- for ( int i = 0; i < myDescription->Messages->Count; i++ )
- {
- array^myMessagePart = gcnew array(myMessage[ i ]->Parts->Count);
-
- // Copy the message parts into a MessagePart.
- myMessage[ i ]->Parts->CopyTo( myMessagePart, 0 );
- for ( int j = 0; j < myMessage[ i ]->Parts->Count; j++ )
- {
- myString = String::Concat( myString, myMessagePart[ j ]->Name, " " );
- }
- }
-
- // message part names.
- myOperation->ParameterOrderString = myString;
- array^myString1 = myOperation->ParameterOrder;
- int k = 0;
- Console::WriteLine( "The list of message part names is as follows:" );
- while ( k < 5 )
- {
- Console::WriteLine( myString1[ k ] );
- k++;
- }
- //
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "The following Exception is raised : {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/Operation_5/CPP/operation_5.cpp b/snippets/cpp/VS_Snippets_Remoting/Operation_5/CPP/operation_5.cpp
deleted file mode 100644
index 13001d530c7..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/Operation_5/CPP/operation_5.cpp
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-// System.Web.Services.Description.Operation
-// System.Web.Services.Description.Operation.Operation
-// System.Web.Services.Description.Operation.Messages
-// System.Web.Services.Description.Operation.Name
-// System.Web.Services.Description.Operation.PortType
-/* The following program demonstrates 'Operation' class, its contructor
-and 'Messages','Name' and 'PortType' properties. It reads the file
-'Operation_5_Input_CS.wsdl' which does not have 'PortType' object that
-supports 'HttpPost'. It adds a 'PortType' object that supports 'HttpPost'
-protocol and writes into 'Operation_5_Output_CS.wsdl'.
-*/
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-Operation^ CreateOperation( String^ myOperationName, String^ myInputMesg, String^ myOutputMesg )
-{
-
- //
- //
- //
- // Create an Operation.
- Operation^ myOperation = gcnew Operation;
- myOperation->Name = myOperationName;
- OperationMessage^ myInput = dynamic_cast(gcnew OperationInput);
- myInput->Message = gcnew XmlQualifiedName( myInputMesg );
- OperationMessage^ myOutput = dynamic_cast(gcnew OperationOutput);
- myOutput->Message = gcnew XmlQualifiedName( myOutputMesg );
-
- // Add messages to the OperationMessageCollection.
- myOperation->Messages->Add( myInput );
- myOperation->Messages->Add( myOutput );
- Console::WriteLine( "Operation name is: {0}", myOperation->Name );
-
- //
- //
- //
- return myOperation;
-}
-
-int main()
-{
- ServiceDescription^ myDescription = ServiceDescription::Read( "Operation_5_Input_CS.wsdl" );
-
- // Create a 'PortType' object.
- PortType^ myPortType = gcnew PortType;
- myPortType->Name = "OperationServiceHttpPost";
- Operation^ myOperation = CreateOperation( "AddNumbers", "s0:AddNumbersHttpPostIn", "s0:AddNumbersHttpPostOut" );
- myPortType->Operations->Add( myOperation );
-
- //
- // Get the PortType of the Operation.
- PortType^ myPort = myOperation->PortType;
- Console::WriteLine( "The port type of the operation is: {0}", myPort->Name );
-
- //
- // Add the 'PortType's to 'PortTypeCollection' of 'ServiceDescription'.
- myDescription->PortTypes->Add( myPortType );
-
- // Write the 'ServiceDescription' as a WSDL file.
- myDescription->Write( "Operation_5_Output_CS.wsdl" );
- Console::WriteLine( "WSDL file with name 'Operation_5_Output_CS.wsdl' file created Successfully" );
-}
-
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/Operation_Faults/CPP/operation_faults.cpp b/snippets/cpp/VS_Snippets_Remoting/Operation_Faults/CPP/operation_faults.cpp
deleted file mode 100644
index 69a3b7c85e8..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/Operation_Faults/CPP/operation_faults.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-// System::Web::Services::Description.Operation::Faults
-
-/* The following program demonstrates the 'Faults' property of 'Operation'
-class. It reads from a 'Operation_Faults_Input_CS::wsdl' file removes fault
-binding and operation fault with the name 'ErrorString'. The modified
-ServiceDescriptor is written to 'Operation_Faults_Output_Cpp.wsdl' file.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- //
- // Read the 'Operation_Faults_Input_cpp.wsdl' file as input.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "Operation_Faults_Input_cpp.wsdl" );
-
- // Get the operation fault collection.
- PortTypeCollection^ myPortTypeCollection = myServiceDescription->PortTypes;
- PortType^ myPortType = myPortTypeCollection[ 0 ];
- OperationCollection^ myOperationCollection = myPortType->Operations;
-
- // Remove the operation fault with the name 'ErrorString'.
- Operation^ myOperation = myOperationCollection[ 0 ];
- OperationFaultCollection^ myOperationFaultCollection = myOperation->Faults;
- if ( myOperationFaultCollection->Contains( myOperationFaultCollection[ "ErrorString" ] ) )
- myOperationFaultCollection->Remove( myOperationFaultCollection[ "ErrorString" ] );
- //
-
- // Get the fault binding collection.
- BindingCollection^ myBindingCollection = myServiceDescription->Bindings;
- Binding^ myBinding = myBindingCollection[ 0 ];
- OperationBindingCollection^ myOperationBindingCollection = myBinding->Operations;
-
- // Remove the fault binding with the name 'ErrorString'.
- OperationBinding^ myOperationBinding = myOperationBindingCollection[ 0 ];
- FaultBindingCollection^ myFaultBindingCollection = myOperationBinding->Faults;
- if ( myFaultBindingCollection->Contains( myFaultBindingCollection[ "ErrorString" ] ) )
- myFaultBindingCollection->Remove( myFaultBindingCollection[ "ErrorString" ] );
-
- myServiceDescription->Write( "Operation_Faults_Output_cpp.wsdl" );
- Console::WriteLine( "WSDL file with name 'Operation_Faults_Output_cpp.wsdl' file created Successfully" );
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/Operation_IsBoundBy/CPP/operation_isboundby.cpp b/snippets/cpp/VS_Snippets_Remoting/Operation_IsBoundBy/CPP/operation_isboundby.cpp
deleted file mode 100644
index fab0c5d907a..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/Operation_IsBoundBy/CPP/operation_isboundby.cpp
+++ /dev/null
@@ -1,95 +0,0 @@
-// System.Web.Services.Description.Operation.IsBoundBy
-/* The following program demonstrates the 'IsBoundBy' method of
- 'Operation' class. It takes "Operation_IsBoundBy_Input_CS.wsdl"
- as input which does not contain 'PortType' and 'Binding' objects
- supporting 'HttpPost'. It then adds those objects and writes into
- 'Operation_IsBoundBy_Output_CS.wsdl'.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "Operation_IsBoundBy_Input_CS.wsdl" );
-
- // Create the 'Binding' object.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "MyOperationIsBoundByServiceHttpPost";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:OperationServiceHttpPost" );
- myBinding->Type = myXmlQualifiedName;
-
- // Create the 'HttpBinding' object.
- HttpBinding^ myHttpBinding = gcnew HttpBinding;
- myHttpBinding->Verb = "POST";
-
- // Add the 'HttpBinding' to the 'Binding'.
- myBinding->Extensions->Add( myHttpBinding );
-
- // Create the 'OperationBinding' object.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
- HttpOperationBinding^ myHttpOperationBinding = gcnew HttpOperationBinding;
- myHttpOperationBinding->Location = "/AddNumbers";
-
- // Add the 'HttpOperationBinding' to 'OperationBinding'.
- myOperationBinding->Extensions->Add( myHttpOperationBinding );
-
- // Create the 'InputBinding' object.
- InputBinding^ myInputBinding = gcnew InputBinding;
- MimeContentBinding^ myPostMimeContentBinding = gcnew MimeContentBinding;
- myPostMimeContentBinding->Type = "application/x-www-form-urlencoded";
- myInputBinding->Extensions->Add( myPostMimeContentBinding );
-
- // Add the 'InputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInputBinding;
-
- // Create the 'OutputBinding' object.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- MimeXmlBinding^ myPostMimeXmlBinding = gcnew MimeXmlBinding;
- myPostMimeXmlBinding->Part = "Body";
- myOutputBinding->Extensions->Add( myPostMimeXmlBinding );
-
- // Add the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutputBinding;
-
- // Add the 'OperationBinding' to 'Binding'.
- myBinding->Operations->Add( myOperationBinding );
-
- // Add the 'Binding' to 'BindingCollection' of 'ServiceDescription'.
- myServiceDescription->Bindings->Add( myBinding );
-
- // Create a 'PortType' object.
- PortType^ myPostPortType = gcnew PortType;
- myPostPortType->Name = "OperationServiceHttpPost";
-
-//
- Operation^ myPostOperation = gcnew Operation;
- myPostOperation->Name = myOperationBinding->Name;
- Console::WriteLine( "'Operation' instance uses 'OperationBinding': {0}",
- myPostOperation->IsBoundBy( myOperationBinding ) );
-//
-
- OperationMessage^ myOperationMessage = dynamic_cast(gcnew OperationInput);
- myOperationMessage->Message = gcnew XmlQualifiedName( "s0:AddNumbersHttpPostIn" );
- OperationMessage^ myOperationMessage1 = dynamic_cast(gcnew OperationOutput);
- myOperationMessage1->Message = gcnew XmlQualifiedName( "s0:AddNumbersHttpPostOut" );
- myPostOperation->Messages->Add( myOperationMessage );
- myPostOperation->Messages->Add( myOperationMessage1 );
-
- // Add the 'Operation' to 'PortType'.
- myPostPortType->Operations->Add( myPostOperation );
-
- // Adds the 'PortType' to 'PortTypeCollection' of 'ServiceDescription'.
- myServiceDescription->PortTypes->Add( myPostPortType );
-
- // Write the 'ServiceDescription' as a WSDL file.
- myServiceDescription->Write( "Operation_IsBoundBy_Output_CS.wsdl" );
- Console::WriteLine( "WSDL file with name 'Operation_IsBoundBy_Output_CS.wsdl' created Successfully" );
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/PortClass/CPP/portclass.cpp b/snippets/cpp/VS_Snippets_Remoting/PortClass/CPP/portclass.cpp
deleted file mode 100644
index 458ca2e8f8e..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/PortClass/CPP/portclass.cpp
+++ /dev/null
@@ -1,166 +0,0 @@
-
-
-// System.Web.Services.Description.Port.ctor().
-// System.Web.Services.Description.Port.Binding().
-// System.Web.Services.Description.Portt.Extensions.
-// System.Web.Services.Description.Port.Name.
-// System.Web.Services.Description.Port.Service.
-/* The following example demonstrates the constructor and the properties 'Binding',
- 'Extensions','Name', and 'Service' of the 'Port' class.
- The input to the program is a WSDL file 'AddNumbers_cs.wsdl'.
- It creates a 'ServiceDescription' instance by using the static read method
- of 'ServiceDescription' by passing the 'AddNumbers.wsdl' name as an argument.
- It creates a 'Binding' object and adds that binding object to
- 'ServiceDescription'. It adds the 'PortType',Messages to the 'ServiceDescription'
- object. Finally it writes the 'ServiceDescrption' as a WSDL file with
- name 'AddNumbersOne.wsdl.
- */
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Web;
-using namespace System::Collections;
-using namespace System::Xml;
-int main()
-{
- try
- {
- ServiceDescription^ myDescription = ServiceDescription::Read( "AddNumbers_cs.wsdl" );
-
- // Create the 'Binding' object.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "PortServiceHttpPost";
- XmlQualifiedName^ qualifiedName = gcnew XmlQualifiedName( "s0:PortServiceHttpPost" );
- myBinding->Type = qualifiedName;
-
- // Create the 'HttpBinding' object.
- HttpBinding^ myHttpBinding = gcnew HttpBinding;
- myHttpBinding->Verb = "POST";
-
- // Add the 'HttpBinding' to the 'Binding'.
- myBinding->Extensions->Add( myHttpBinding );
-
- // Create the 'OperationBinding' object.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
- HttpOperationBinding^ myOperation = gcnew HttpOperationBinding;
- myOperation->Location = "/AddNumbers";
-
- // Add the 'HttpOperationBinding' to 'OperationBinding'.
- myOperationBinding->Extensions->Add( myOperation );
-
- // Create the 'InputBinding' object.
- InputBinding^ myInput = gcnew InputBinding;
- MimeContentBinding^ postMimeContentbinding = gcnew MimeContentBinding;
- postMimeContentbinding->Type = "application/x-www-form-urlencoded";
- myInput->Extensions->Add( postMimeContentbinding );
-
- // Add the 'InputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInput;
-
- // Create the 'OutputBinding' object.
- OutputBinding^ myOutput = gcnew OutputBinding;
- MimeXmlBinding^ postMimeXmlbinding = gcnew MimeXmlBinding;
- postMimeXmlbinding->Part = "Body";
- myOutput->Extensions->Add( postMimeXmlbinding );
-
- // Add the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutput;
-
- // Add the 'OperationBinding' to 'Binding'.
- myBinding->Operations->Add( myOperationBinding );
-
- // Add the 'Binding' to 'BindingCollection' of 'ServiceDescription'.
- myDescription->Bindings->Add( myBinding );
-
- //
- //
- //
- //
- //
- // Create a Port.
- Port^ postPort = gcnew Port;
- postPort->Name = "PortServiceHttpPost";
- postPort->Binding = gcnew XmlQualifiedName( "s0:PortServiceHttpPost" );
- //
- //
-
- // Create an HttpAddressBinding.
- HttpAddressBinding^ postAddressBinding = gcnew HttpAddressBinding;
- postAddressBinding->Location = "http://localhost/PortClass/PortService_cs.asmx";
-
- // Add the HttpAddressBinding to the Port.
- postPort->Extensions->Add( postAddressBinding );
- //
-
- // Get the Service of the postPort.
- Service^ myService = postPort->Service;
-
- // Print the service name for the port.
- Console::WriteLine( "This is the service name of the postPort:*{0}*", myDescription->Services[ 0 ]->Ports[ 0 ]->Service->Name );
-
- // Add the Port to the PortCollection of the ServiceDescription.
- myDescription->Services[ 0 ]->Ports->Add( postPort );
- //
- //
-
- // Create a 'PortType' object.
- PortType^ postPortType = gcnew PortType;
- postPortType->Name = "PortServiceHttpPost";
- Operation^ postOperation = gcnew Operation;
- postOperation->Name = "AddNumbers";
- OperationMessage^ postInput = dynamic_cast(gcnew OperationInput);
- postInput->Message = gcnew XmlQualifiedName( "s0:AddNumbersHttpPostIn" );
- OperationMessage^ postOutput = dynamic_cast(gcnew OperationOutput);
- postOutput->Message = gcnew XmlQualifiedName( "s0:AddNumbersHttpPostOut" );
- postOperation->Messages->Add( postInput );
- postOperation->Messages->Add( postOutput );
-
- // Add the 'Operation' to 'PortType'.
- postPortType->Operations->Add( postOperation );
-
- // Adds the 'PortType' to 'PortTypeCollection' of 'ServiceDescription'.
- myDescription->PortTypes->Add( postPortType );
-
- // Create the 'Message' object.
- Message^ postMessage1 = gcnew Message;
- postMessage1->Name = "AddNumbersHttpPostIn";
-
- // Create the 'MessageParts'.
- MessagePart^ postMessagePart1 = gcnew MessagePart;
- postMessagePart1->Name = "firstnumber";
- postMessagePart1->Type = gcnew XmlQualifiedName( "s:string" );
- MessagePart^ postMessagePart2 = gcnew MessagePart;
- postMessagePart2->Name = "secondnumber";
- postMessagePart2->Type = gcnew XmlQualifiedName( "s:string" );
-
- // Add the 'MessagePart' objects to 'Messages'.
- postMessage1->Parts->Add( postMessagePart1 );
- postMessage1->Parts->Add( postMessagePart2 );
-
- // Create another 'Message' object.
- Message^ postMessage2 = gcnew Message;
- postMessage2->Name = "AddNumbersHttpPostOut";
- MessagePart^ postMessagePart3 = gcnew MessagePart;
- postMessagePart3->Name = "Body";
- postMessagePart3->Element = gcnew XmlQualifiedName( "s0:int" );
-
- // Add the 'MessagePart' to 'Message'
- postMessage2->Parts->Add( postMessagePart3 );
-
- // Add the 'Message' objects to 'ServiceDescription'.
- myDescription->Messages->Add( postMessage1 );
- myDescription->Messages->Add( postMessage2 );
-
- // Write the 'ServiceDescription' as a WSDL file.
- myDescription->Write( "AddNumbersOne.wsdl" );
- Console::WriteLine( "WSDL file with name 'AddNumbersOne.Wsdl' file created Successfully" );
- }
- catch ( Exception^ ex )
- {
- Console::WriteLine( "Exception {0} occurred", ex->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/PortCollection_Add/CPP/portcollection_add.cpp b/snippets/cpp/VS_Snippets_Remoting/PortCollection_Add/CPP/portcollection_add.cpp
deleted file mode 100644
index aea7134fd0b..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/PortCollection_Add/CPP/portcollection_add.cpp
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-// System.Web.Services.Description.PortCollection.Contains
-// System.Web.Services.Description.PortCollection.Add
-/*
- The following sample reads the contents of a file 'MathServiceAdd_cs.wsdl'
- into a 'ServiceDescription' instance. It gets the collection of Service
- instances from 'ServiceDescription'. It then adds a new port and checks
- whether a port exists. The programs writes a new web service description
- file.
-*/
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-int main()
-{
- try
- {
- Service^ myService;
- PortCollection^ myPortCollection;
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathServiceAdd_cs.wsdl" );
- Console::WriteLine( "\nTotal Number of Services :{0}", myServiceDescription->Services->Count );
- for ( int i = 0; i < myServiceDescription->Services->Count; ++i )
- {
- myService = myServiceDescription->Services[ i ];
- Console::WriteLine( "Name : {0}", myService->Name );
-
- //
- //
- myPortCollection = myService->Ports;
- Port^ myNewPort = myPortCollection[ 0 ];
- myPortCollection->Remove( myNewPort );
-
- // Display the number of ports.
- Console::WriteLine( "\nTotal number of ports before adding a new port : {0}", myService->Ports->Count );
-
- // Add a new port.
- myPortCollection->Add( myNewPort );
-
- // Display the number of ports after adding a port.
- Console::WriteLine( "Total number of ports after adding a new port : {0}", myService->Ports->Count );
- //
-
- bool bContain = myPortCollection->Contains( myNewPort );
- Console::WriteLine( "\nPort '{0}' exists : {1}", myNewPort->Name, bContain );
-
- // Remove a port from the collection.
- myPortCollection->Remove( myPortCollection[ myNewPort->Name ] );
- bContain = myPortCollection->Contains( myNewPort );
- Console::WriteLine( "Port '{0}' exists : {1}", myNewPort->Name, bContain );
-
- // Create the description file.
- myPortCollection->Insert( 0, myNewPort );
- myServiceDescription->Write( "MathServiceAddNew_cs.wsdl" );
- //
-
- }
- }
- catch ( Exception^ ex )
- {
- Console::WriteLine( "Exception:{0}", ex->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/PortCollection_CopyTo/CPP/portcollection_copyto.cpp b/snippets/cpp/VS_Snippets_Remoting/PortCollection_CopyTo/CPP/portcollection_copyto.cpp
deleted file mode 100644
index 3f20f18b74a..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/PortCollection_CopyTo/CPP/portcollection_copyto.cpp
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-// System.Web.Services.Description.PortCollection.Insert
-// System.Web.Services.Description.PortCollection.IndexOf
-// System.Web.Services.Description.PortCollection.CopyTo
-/*
- The following sample reads the contents of a file 'MathService.wsdl'
- into a 'ServiceDescription' instance. It gets the collection of Service
- instances from 'ServiceDescription'. It instantiates 'PortCollection' for
- each service in the collection. 'CopyTo' is called to copy
- the contents into an array. Calls 'IndexOf' for a given port.
- 'Insert' method is called to insert a new port in the collection.
-*/
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-
-int main()
-{
- try
- {
- Service^ myService;
- PortCollection^ myPortCollection;
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathServiceCopyTo_cs.wsdl" );
- Console::WriteLine( "Total Number of Services :{0}", myServiceDescription->Services->Count );
- for ( int i = 0; i < myServiceDescription->Services->Count; ++i )
- {
- myService = myServiceDescription->Services[ i ];
- Console::WriteLine( "Name : {0}", myService->Name );
-
- //
- //
- //
- myPortCollection = myService->Ports;
-
- // Create an array of Port objects.
- Console::WriteLine( "\nPort collection :" );
- array^myPortArray = gcnew array(myService->Ports->Count);
- myPortCollection->CopyTo( myPortArray, 0 );
- for ( int i1 = 0; i1 < myService->Ports->Count; ++i1 )
- {
- Console::WriteLine( "Port[{0}] : {1}", i1, myPortArray[ i1 ]->Name );
-
- }
- //
- Port^ myIndexPort = myPortCollection[ 0 ];
- Console::WriteLine( "\n\nThe index of port '{0}' is : {1}", myIndexPort->Name, myPortCollection->IndexOf( myIndexPort ) );
- //
-
- Port^ myPortTestInsert = myPortCollection[ 0 ];
- myPortCollection->Remove( myPortTestInsert );
- myPortCollection->Insert( 0, myPortTestInsert );
- Console::WriteLine( "\n\nTotal Number of Ports after inserting a new port '{0}' is : {1}", myPortTestInsert->Name, myService->Ports->Count );
- for ( int i1 = 0; i1 < myService->Ports->Count; ++i1 )
- {
- Console::WriteLine( "Port[{0}] : {1}", i1, myPortArray[ i1 ]->Name );
-
- }
- myServiceDescription->Write( "MathServiceCopyToNew_cs.wsdl" );
- //
- }
- }
- catch ( Exception^ ex )
- {
- Console::WriteLine( "Exception:{0}", ex->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/PortCollection_Item/CPP/portcollection_item.cpp b/snippets/cpp/VS_Snippets_Remoting/PortCollection_Item/CPP/portcollection_item.cpp
deleted file mode 100644
index 2f9033c0d1c..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/PortCollection_Item/CPP/portcollection_item.cpp
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-// System.Web.Services.Description.PortCollection
-// System.Web.Services.Description.PortCollection.Remove
-// System.Web.Services.Description.PortCollection.Item(String)
-// System.Web.Services.Description.PortCollection.Item(Int32)
-/*
- The following sample reads the contents of a file 'MathService_cs.wsdl'
- into a 'ServiceDescription' instance. It gets the collection of Service
- instances from 'ServiceDescription'. It instantiates 'PortCollection' for
- each service in the collection. It access the ports from the collection and
- displays them. It accesses a port by its name from the collection and
- displays its index. It adds a new port and calls 'Remove'
- to remove the newly added port. The programs writes a new web service
- description file.
-*/
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- try
- {
- //
- //
- //
- //
- Service^ myService;
- PortCollection^ myPortCollection;
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathServiceItem_cs.wsdl" );
- Console::WriteLine( "Total number of services : {0}", myServiceDescription->Services->Count );
- for ( int i = 0; i < myServiceDescription->Services->Count; ++i )
- {
- myService = myServiceDescription->Services[ i ];
- Console::WriteLine( "Name : {0}", myService->Name );
- myPortCollection = myService->Ports;
-
- // Create an array of ports.
- Console::WriteLine( "\nPort collection :" );
- for ( int i1 = 0; i1 < myService->Ports->Count; ++i1 )
- {
- Console::WriteLine( "Port[{0}] : {1}", i1, myPortCollection[ i1 ]->Name );
- }
- //
-
- String^ strPort = myPortCollection[ 0 ]->Name;
- Port^ myPort = myPortCollection[ strPort ];
- Console::WriteLine( "\nIndex of Port[{0}] : {1}", strPort, myPortCollection->IndexOf( myPort ) );
- //
-
- Port^ myPortTestRemove = myPortCollection[ 0 ];
- Console::WriteLine( "\nTotal number of ports before removing a port '{0}' is : {1}", myPortTestRemove->Name, myService->Ports->Count );
- myPortCollection->Remove( myPortTestRemove );
- Console::WriteLine( "Total number of ports after removing a port '{0}' is : {1}", myPortTestRemove->Name, myService->Ports->Count );
-
- // Create the WSDL file.
- myPortCollection->Insert( 0, myPortTestRemove );
- myServiceDescription->Write( "MathServiceItemNew_cs.wsdl" );
- //
- //
- }
- }
- catch ( Exception^ ex )
- {
- Console::WriteLine( "Exception: {0}", ex->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/PortType/CPP/porttype.cpp b/snippets/cpp/VS_Snippets_Remoting/PortType/CPP/porttype.cpp
deleted file mode 100644
index e6400fcfd3f..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/PortType/CPP/porttype.cpp
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-// System.Web.Services.Description.PortType.Operations
-// System.Web.Services.Description.PortType.PortType()
-// System.Web.Services.Description.PortType.Name
-/*The following sample demonstrates the properties 'Operations','Name' and constructor
-'PortType()' of class 'PortType'. This sample reads the contents of a file 'MathService_cs.wsdl'
-into a 'ServiceDescription' instance. It gets the collection of 'PortType'
-instances from 'ServiceDescription'. It removes a 'PortType' from the collection, creates a
-new 'PortType' and adds it into collection. The programs writes a new web service description
-file 'MathService_New.wsdl'.
-*/
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-Operation^ CreateOperation( String^ operationName, String^ inputMessage, String^ outputMessage, String^ targetNamespace )
-{
- Operation^ myOperation = gcnew Operation;
- myOperation->Name = operationName;
- OperationMessage^ input = dynamic_cast(gcnew OperationInput);
- input->Message = gcnew XmlQualifiedName( inputMessage,targetNamespace );
- OperationMessage^ output = dynamic_cast(gcnew OperationOutput);
- output->Message = gcnew XmlQualifiedName( outputMessage,targetNamespace );
- myOperation->Messages->Add( input );
- myOperation->Messages->Add( output );
- return myOperation;
-}
-
-int main()
-{
- try
- {
- //
- //
- PortTypeCollection^ myPortTypeCollection;
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_CS.wsdl" );
- myPortTypeCollection = myServiceDescription->PortTypes;
- int noOfPortTypes = myServiceDescription->PortTypes->Count;
- Console::WriteLine( "\nTotal number of PortTypes : {0}", noOfPortTypes );
- PortType^ myPortType = myPortTypeCollection[ "MathServiceSoap" ];
- myPortTypeCollection->Remove( myPortType );
-
- // Create a new PortType.
- PortType^ myNewPortType = gcnew PortType;
- myNewPortType->Name = "MathServiceSoap";
- OperationCollection^ myOperationCollection = myServiceDescription->PortTypes[ 0 ]->Operations;
- String^ inputMsg;
- String^ outputMsg;
- for ( int i = 0; i < myOperationCollection->Count; i++ )
- {
- inputMsg = String::Concat( myOperationCollection[ i ]->Name, "SoapIn" );
- outputMsg = String::Concat( myOperationCollection[ i ]->Name, "SoapOut" );
- Console::WriteLine( " Operation = {0}", myOperationCollection[ i ]->Name );
- myNewPortType->Operations->Add( CreateOperation( myOperationCollection[ i ]->Name, inputMsg, outputMsg, myServiceDescription->TargetNamespace ) );
-
- }
- myPortTypeCollection->Add( myNewPortType );
- noOfPortTypes = myServiceDescription->PortTypes->Count;
- Console::WriteLine( "\nTotal number of PortTypes : {0}", noOfPortTypes );
- myServiceDescription->Write( "MathService_New.wsdl" );
- //
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception:{0}", e->Message );
- }
-
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_1/CPP/porttypecollection_1.cpp b/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_1/CPP/porttypecollection_1.cpp
deleted file mode 100644
index bfaa4c38ac4..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_1/CPP/porttypecollection_1.cpp
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-// System.Web.Services.Description.PortTypeCollection.Item[int]
-// System.Web.Services.Description.PortTypeCollection.Remove()
-// System.Web.Services.Description.PortTypeCollection.Add()
-/*The following sample demonstrates the indexer 'Item[int]', methods
-'Remove()' and 'Add()' of class 'PortTypeCollection'. It reads the
-contents of a file 'MathService.wsdl'into a 'ServiceDescription' instance.
-It gets the collection of 'PortType' from 'ServiceDescription' and adds
-a new PortType and writes a new web service description file into
-'MathService_New.wsdl'.
-*/
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-
-int main()
-{
- try
- {
- //
- //
- //
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_CS.wsdl" );
- PortTypeCollection^ myPortTypeCollection = myServiceDescription->PortTypes;
- int noOfPortTypes = myServiceDescription->PortTypes->Count;
- Console::WriteLine( "\nTotal number of PortTypes: {0}", myServiceDescription->PortTypes->Count );
-
- // Get the first PortType in the collection.
- PortType^ myNewPortType = myPortTypeCollection[ 0 ];
- Console::WriteLine( "The PortType at index 0 is: {0}", myNewPortType->Name );
- Console::WriteLine( "Removing the PortType {0}", myNewPortType->Name );
-
- // Remove the PortType from the collection.
- myPortTypeCollection->Remove( myNewPortType );
-
- // Display the number of PortTypes.
- Console::WriteLine( "\nTotal number of PortTypes after removing: {0}", myServiceDescription->PortTypes->Count );
- Console::WriteLine( "Adding a PortType {0}", myNewPortType->Name );
-
- // Add a new PortType from the collection.
- myPortTypeCollection->Add( myNewPortType );
-
- // Display the number of PortTypes after adding a port.
- Console::WriteLine( "Total number of PortTypes after adding a new port: {0}", myServiceDescription->PortTypes->Count );
- myServiceDescription->Write( "MathService_New.wsdl" );
- //
- //
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_2/CPP/porttypecollection_2.cpp b/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_2/CPP/porttypecollection_2.cpp
deleted file mode 100644
index 3a73b6fac7f..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_2/CPP/porttypecollection_2.cpp
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-// System.Web.Services.Description.PortTypeCollection.Contains()
-// System.Web.Services.Description.PortTypeCollection.Insert()
-// System.Web.Services.Description.PortTypeCollection.IndexOf()
-// System.Web.Services.Description.PortTypeCollection.Item[string]
-/*
-The following sample demonstrates the methods 'IndexOf()','Insert()','Contains()' and
-indexer 'Item[string]' of class 'PortTypeCollection'. This sample reads the contents
-of 'MathService.wsdl' into a 'ServiceDescription' instance. It gets the collection of
-'PortType' instances from 'ServiceDescription'. It removes a 'PortType' with the name
-'MathServiceSoap' and adds the same later. Then it checks whether the collection contains
-the added 'PortType'. The sample writes a new web service description file 'MathService_New.wsdl'.
-*/
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-int main()
-{
- try
- {
- //
- //
- //
- //
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_CS.wsdl" );
- PortTypeCollection^ myPortTypeCollection = myServiceDescription->PortTypes;
- int noOfPortTypes = myServiceDescription->PortTypes->Count;
- Console::WriteLine( "\nTotal number of PortTypes: {0}", noOfPortTypes );
- PortType^ myNewPortType = myPortTypeCollection[ "MathServiceSoap" ];
- //
-
- // Get the index in the collection.
- int index = myPortTypeCollection->IndexOf( myNewPortType );
- //
-
- Console::WriteLine( "Removing the PortType named {0}", myNewPortType->Name );
-
- // Remove the PortType from the collection.
- myPortTypeCollection->Remove( myNewPortType );
- noOfPortTypes = myServiceDescription->PortTypes->Count;
- Console::WriteLine( "\nTotal number of PortTypes: {0}", noOfPortTypes );
-
- // Check whether the PortType exists in the collection.
- bool bContains = myPortTypeCollection->Contains( myNewPortType );
- Console::WriteLine( "Port Type'{0}' exists: {1}", myNewPortType->Name, bContains );
- Console::WriteLine( "Adding the PortType" );
-
- // Insert a new portType at the index location.
- myPortTypeCollection->Insert( index, myNewPortType );
- //
-
- // Display the number of portTypes after adding a port.
- Console::WriteLine( "Total number of PortTypes after adding a new port: {0}", myServiceDescription->PortTypes->Count );
- bContains = myPortTypeCollection->Contains( myNewPortType );
- Console::WriteLine( "Port Type'{0}' exists: {1}", myNewPortType->Name, bContains );
- myServiceDescription->Write( "MathService_New.wsdl" );
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_Class/CPP/porttypecollection_class.cpp b/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_Class/CPP/porttypecollection_class.cpp
deleted file mode 100644
index a0c7a4790fc..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_Class/CPP/porttypecollection_class.cpp
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-// System.Web.Services.Description.PortTypeCollection
-/* The following sample demonstrates the class 'PortTypeCollection'. It reads the
-contents of WSDL document 'MathService.wsdl'into a 'ServiceDescription' instance.
-It gets the collection of 'PortType'from 'ServiceDescription'. It copies the
-collection into an array of 'PortType' and displays their names. Then it removes a
-'PortType', checks whether the collection contains the removed 'PortType'.
-It adds the same 'PortType' and writes a new web service description file into
-'MathService_New.wsdl'.
-*/
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-using namespace System::Collections;
-int main()
-{
- try
- {
- // Read the existing Web service description file.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_CS.wsdl" );
- PortTypeCollection^ myPortTypeCollection = myServiceDescription->PortTypes;
- int noOfPortTypes = myServiceDescription->PortTypes->Count;
- Console::WriteLine( "\nTotal number of PortTypes: {0}", myServiceDescription->PortTypes->Count );
-
- // Get the first PortType in the collection.
- PortType^ myNewPortType = myPortTypeCollection[ "MathServiceSoap" ];
- int index = myPortTypeCollection->IndexOf( myNewPortType );
- Console::WriteLine( "The PortType with the name {0} is at index: {1}", myNewPortType->Name, (index + 1) );
- Console::WriteLine( "Removing the PortType: {0}", myNewPortType->Name );
-
- // Remove the PortType from the collection.
- myPortTypeCollection->Remove( myNewPortType );
- bool bContains = myPortTypeCollection->Contains( myNewPortType );
- Console::WriteLine( "The PortType with the name {0} exists: {1}", myNewPortType->Name, bContains );
- Console::WriteLine( "Total number of PortTypes after removing: {0}", myServiceDescription->PortTypes->Count );
- Console::WriteLine( "Adding a PortType: {0}", myNewPortType->Name );
-
- // Add a new portType from the collection.
- myPortTypeCollection->Add( myNewPortType );
-
- // Display the number of portTypes after adding a port.
- Console::WriteLine( "Total number of PortTypes after adding a new port: {0}", myServiceDescription->PortTypes->Count );
-
- // List the PortTypes available in the WSDL document.
- IEnumerator^ myEnum = myPortTypeCollection->GetEnumerator();
- while ( myEnum->MoveNext() )
- {
- PortType^ myPortType = safe_cast(myEnum->Current);
- Console::WriteLine( "The PortType name is: {0}", myPortType->Name );
- }
- myServiceDescription->Write( "MathService_New.wsdl" );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_CopyTo/CPP/porttypecollection_copyto.cpp b/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_CopyTo/CPP/porttypecollection_copyto.cpp
deleted file mode 100644
index f5b3a9694c0..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_CopyTo/CPP/porttypecollection_copyto.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-// System.Web.Services.Description.PortTypeCollection.CopyTo()
-
-/*
-The following sample demonstrates the 'CopyTo()' method of the class
-'PortTypeCollection'. This sample reads the contents of a file 'MathService.wsdl'
-into a 'ServiceDescription' instance. It gets the collection of 'PortType'
-from 'ServiceDescription'. It copies the collection into an array of 'PortType'
-and displays their names.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-
-int main()
-{
- try
- {
-//
- PortTypeCollection^ myPortTypeCollection;
-
- ServiceDescription^ myServiceDescription =
- ServiceDescription::Read( "MathService_CS.wsdl" );
-
- myPortTypeCollection = myServiceDescription->PortTypes;
- int noOfPortTypes = myServiceDescription->PortTypes->Count;
- Console::WriteLine( "\nTotal number of PortTypes: {0}",
- myServiceDescription->PortTypes->Count );
-
- // Copy the collection into an array.
- array^ myPortTypeArray = gcnew array(noOfPortTypes);
- myPortTypeCollection->CopyTo( myPortTypeArray, 0 );
-
- // Display names of all PortTypes.
- for ( int i = 0; i < noOfPortTypes; i++ )
- {
- Console::WriteLine( "PortType name: {0}", myPortTypeArray[ i ]->Name );
- }
- myServiceDescription->Write( "MathService_New.wsdl" );
-//
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/PortType_Class/CPP/porttype_class.cpp b/snippets/cpp/VS_Snippets_Remoting/PortType_Class/CPP/porttype_class.cpp
deleted file mode 100644
index a8935574cb1..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/PortType_Class/CPP/porttype_class.cpp
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-// System.Web.Services.Description.PortType
-/*
-The following sample demonstrates the class 'PortType'. This sample reads
-the contents of a file 'MathService_cs.wsdl' into a 'ServiceDescription' instance.
-It gets the collection of 'PortType' instances from 'ServiceDescription'.
-It removes a 'PortType' from the collection, creates a new 'PortType' and adds
-it into collection. The programs writes a new web service description
-file 'MathService_New.wsdl'.
-*/
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-Operation^ CreateOperation( String^ operationName, String^ inputMessage, String^ outputMessage, String^ targetNamespace )
-{
- Operation^ myOperation = gcnew Operation;
- myOperation->Name = operationName;
- OperationMessage^ input = dynamic_cast(gcnew OperationInput);
- input->Message = gcnew XmlQualifiedName( inputMessage,targetNamespace );
- OperationMessage^ output = dynamic_cast(gcnew OperationOutput);
- output->Message = gcnew XmlQualifiedName( outputMessage,targetNamespace );
- myOperation->Messages->Add( input );
- myOperation->Messages->Add( output );
- return myOperation;
-}
-
-int main()
-{
- try
- {
- PortTypeCollection^ myPortTypeCollection;
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_CS.wsdl" );
- myPortTypeCollection = myServiceDescription->PortTypes;
- int noOfPortTypes = myServiceDescription->PortTypes->Count;
- Console::WriteLine( "\nTotal number of PortTypes : {0}", noOfPortTypes );
- PortType^ myPortType = myPortTypeCollection[ "MathServiceSoap" ];
- myPortTypeCollection->Remove( myPortType );
-
- // Create a new PortType.
- PortType^ myNewPortType = gcnew PortType;
- myNewPortType->Name = "MathServiceSoap";
- OperationCollection^ myOperationCollection = myServiceDescription->PortTypes[ 0 ]->Operations;
- for ( int i = 0; i < myOperationCollection->Count; i++ )
- {
- String^ inputmsg = String::Concat( myOperationCollection[ i ]->Name, "SoapIn" );
- String^ outputmsg = String::Concat( myOperationCollection[ i ]->Name, "SoapOut" );
- Console::WriteLine( "Operation = {0}", myOperationCollection[ i ]->Name );
- myNewPortType->Operations->Add( CreateOperation( myOperationCollection[ i ]->Name, inputmsg, outputmsg, myServiceDescription->TargetNamespace ) );
-
- }
-
- // Add the PortType to the collection.
- myPortTypeCollection->Add( myNewPortType );
- noOfPortTypes = myServiceDescription->PortTypes->Count;
- Console::WriteLine( "\nTotal Number of PortTypes : {0}", noOfPortTypes );
- myServiceDescription->Write( "MathService_New.wsdl" );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-
-}
-
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceClass/CPP/serviceclass.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceClass/CPP/serviceclass.cpp
deleted file mode 100644
index 5dc403fbd36..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceClass/CPP/serviceclass.cpp
+++ /dev/null
@@ -1,84 +0,0 @@
-// System.Web.Services.Description.Service
-
-/* The following sample demonstrates the class 'Service'. This sample reads the
-contents of a file 'MathService_cs.wsdl' into a 'ServiceDescription' instance.
-It gets the collection of Service instances from 'ServiceDescription'. It
-then removes a 'Service' from the collection and creates a new 'Service' and
-adds it into collection. It writes a new web service description file 'MathService_New.wsdl'.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-
-Port^ CreatePort( String^ PortName, String^ BindingName, String^ targetNamespace )
-{
- Port^ myPort = gcnew Port;
- myPort->Name = PortName;
- myPort->Binding = gcnew XmlQualifiedName( BindingName,targetNamespace );
-
- // Create a SoapAddress extensibility element to add to the port.
- SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
- mySoapAddressBinding->Location = "http://localhost/ServiceClass/MathService_CS.asmx";
- myPort->Extensions->Add( mySoapAddressBinding );
- return myPort;
-}
-
-int main()
-{
- try
- {
- // Read a WSDL document.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_CS.wsdl" );
- ServiceCollection^ myServiceCollection = myServiceDescription->Services;
- int noOfServices = myServiceCollection->Count;
- Console::WriteLine( "\nTotal number of services: {0}", noOfServices );
-
- // Gets a reference to the service.
- Service^ myOldService = myServiceCollection[ 0 ];
- Console::WriteLine( "No. of ports in the service: {0}", myServiceCollection[ 0 ]->Ports->Count );
- Console::WriteLine( "These are the ports in the service:" );
- for ( int i = 0; i < myOldService->Ports->Count; i++ )
- Console::WriteLine( "Port name: {0}", myOldService->Ports[ i ]->Name );
- Console::WriteLine( "Service name: {0}", myOldService->Name );
- Service^ myService = gcnew Service;
- myService->Name = "MathService";
-
- // Add the Ports to the newly created Service.
- for ( int i = 0; i < myOldService->Ports->Count; i++ )
- {
- String^ PortName = myServiceCollection[ 0 ]->Ports[ i ]->Name;
- String^ BindingName = myServiceCollection[ 0 ]->Ports[ i ]->Binding->Name;
- myService->Ports->Add( CreatePort( PortName, BindingName, myServiceDescription->TargetNamespace ) );
- }
- Console::WriteLine( "Newly created ports -" );
- for ( int i = 0; i < myService->Ports->Count; i++ )
- Console::WriteLine( "Port name: {0}", myOldService->Ports[ i ]->Name );
-
- // Add the extensions to the newly created Service.
- int noOfExtensions = myOldService->Extensions->Count;
- Console::WriteLine( "No. of extensions: {0}", noOfExtensions );
- if ( noOfExtensions > 0 )
- {
- for ( int i = 0; i < myOldService->Ports->Count; i++ )
- myService->Extensions->Add( myServiceCollection[ 0 ]->Extensions[ i ] );
- }
-
- // Remove the service from the collection.
- myServiceCollection->Remove( myOldService );
-
- // Add the newly created service.
- myServiceCollection->Add( myService );
- myServiceDescription->Write( "MathService_New.wsdl" );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_CopyTo/CPP/servicecollection_copyto.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_CopyTo/CPP/servicecollection_copyto.cpp
deleted file mode 100644
index 8935936e70f..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_CopyTo/CPP/servicecollection_copyto.cpp
+++ /dev/null
@@ -1,111 +0,0 @@
-// System.Web.Services.Description.ServiceCollection.Contains(Service)
-// System.Web.Services.Description.ServiceCollection.IndexOf(service)
-// System.Web.Services.Description.ServiceCollection.CopyTo(System[],int)
-
-/*
-The following program demonstrates the methods of
-ServiceDescription and ServiceCollection class. An existing WSDL document
-is read. An exiting service named "MathService" is removed from the
-collection. A new Service object is constructed and added at index 1 of the
-Collection .A new WSDL file is created as output.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Text;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::IO;
-using namespace System::Xml;
-int main()
-{
- try
- {
- // Read the Existing Wsdl.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "AddSubtractService_CS.wsdl" );
-
- // Remove the service named "MathService".
- ServiceCollection^ myServiceDescriptionCollection = myServiceDescription->Services;
- myServiceDescriptionCollection->Remove( myServiceDescription->Services[ "MathService" ] );
-
- // Build a new Service.
- Service^ myService = gcnew Service;
- myService->Name = "MathService";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:MathServiceSoap" );
-
- // Build a new Port for Soap.
- Port^ mySoapPort = gcnew Port;
- mySoapPort->Name = "MathServiceSoap";
- mySoapPort->Binding = myXmlQualifiedName;
- SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
- mySoapAddressBinding->Location = "http://localhost/ServiceCollection_CopyTo/AddSubtractService_CS.asmx";
- mySoapPort->Extensions->Add( mySoapAddressBinding );
-
- // Build a new Port for HttpGet.
- XmlQualifiedName^ myXmlQualifiedName2 = gcnew XmlQualifiedName( "s0:MathServiceHttpGet" );
- Port^ myHttpGetPort = gcnew Port;
- myHttpGetPort->Name = "MathServiceHttpGet";
- myHttpGetPort->Binding = myXmlQualifiedName2;
- HttpAddressBinding^ myHttpAddressBinding = gcnew HttpAddressBinding;
- myHttpAddressBinding->Location = "http://localhost/ServiceCollection_CopyTo/AddSubtractService_CS.asmx";
- myHttpGetPort->Extensions->Add( myHttpAddressBinding );
-
- // Build a new Port for HttpPost.
- XmlQualifiedName^ myXmlQualifiedName3 = gcnew XmlQualifiedName( "s0:MathServiceHttpPost" );
-
- // Build a new Port for Soap.
- Port^ myHttpPostPort = gcnew Port;
- myHttpPostPort->Name = "MathServiceHttpPost";
- myHttpPostPort->Binding = myXmlQualifiedName3;
- HttpAddressBinding^ myHttpAddressBinding1 = gcnew HttpAddressBinding;
- myHttpAddressBinding1->Location = "http://localhost/ServiceCollection_CopyTo/AddSubtractService_CS.asmx";
- myHttpPostPort->Extensions->Add( myHttpAddressBinding1 );
-
- // Add the ports to the service.
- myService->Ports->Add( mySoapPort );
- myService->Ports->Add( myHttpGetPort );
- myService->Ports->Add( myHttpPostPort );
-
- // Add the Service to the ServiceCollection.
- myServiceDescription->Services->Insert( 1, myService );
- StreamWriter^ myStreamWriter = gcnew StreamWriter( "output.wsdl" );
-
- // Output the Wsdl.
- myServiceDescription->Write( myStreamWriter );
- myStreamWriter->Close();
-
- //
- //
- if ( myServiceDescription->Services->Contains( myService ) )
- {
- Console::WriteLine( "The mentioned service exists at index {0} in the WSDL.", myServiceDescription->Services->IndexOf( myService ) );
-
- //
- array^myServiceArray = gcnew array(myServiceDescription->Services->Count);
-
- // Copy the services into an array.
- myServiceDescription->Services->CopyTo( myServiceArray, 0 );
- IEnumerator^ myEnumerator = myServiceArray->GetEnumerator();
- Console::WriteLine( "The names of services in the array are" );
- while ( myEnumerator->MoveNext() )
- {
- Service^ myService1 = dynamic_cast(myEnumerator->Current);
- Console::WriteLine( myService1->Name );
- }
- //
- }
- else
- {
- Console::WriteLine( "Service does not exist in the WSDL." );
- }
- //
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception Caught! {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_Item/CPP/servicecollection_item.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_Item/CPP/servicecollection_item.cpp
deleted file mode 100644
index d0089a0774c..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_Item/CPP/servicecollection_item.cpp
+++ /dev/null
@@ -1,80 +0,0 @@
-// System.Web.Services.Description.ServiceDescription.Write(FileName)
-// System.Web.Services.Description.ServiceCollection.Remove
-// System.Web.Services.Description.ServiceCollection.Item(int)
-// System.Web.Services.Description.ServiceDescription.Services
-// System.Web.Services.Description.ServiceDescription.TargetNamespace
-// System.Web.Services.Description.ServiceCollection.Add
-
-/*
-The following example demonstrates methods and properties of the
-ServiceDescription and ServiceCollection classes.
-A new WSDL is read and the existing service "MathService" in the
-ServiceCollection is removed. The service by default is defined for
-SOAP, HttpGet, HttpPost. A new Service defined for SOAP and HttpGet is
-constructed and added to the ServiceCollection.
-The programs writes a new web service description file.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-int main()
-{
- //
- //
- //
- //
- //
- // Read a ServiceDescription from existing WSDL.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "Input_CS.wsdl" );
- myServiceDescription->TargetNamespace = "http://tempuri.org/";
- //
-
- // Get the ServiceCollection of the ServiceDescription.
- ServiceCollection^ myServiceCollection = myServiceDescription->Services;
-
- // Remove the Service at index 0 of the collection.
- myServiceCollection->Remove( myServiceDescription->Services[ 0 ] );
- //
- //
- //
- //
- // Build a new Service.
- Service^ myService = gcnew Service;
- myService->Name = "MathService";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:MathServiceSoap" );
-
- // Build a new Port for SOAP.
- Port^ mySoapPort = gcnew Port;
- mySoapPort->Name = "MathServiceSoap";
- mySoapPort->Binding = myXmlQualifiedName;
- SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
- mySoapAddressBinding->Location = "http://localhost/ServiceCollection_Item/AddSub_CS.asmx";
- mySoapPort->Extensions->Add( mySoapAddressBinding );
-
- // Build a new Port for HTTP-GET.
- XmlQualifiedName^ myXmlQualifiedName2 = gcnew XmlQualifiedName( "s0:MathServiceHttpGet" );
- Port^ myHttpGetPort = gcnew Port;
- myHttpGetPort->Name = "MathServiceHttpGet";
- myHttpGetPort->Binding = myXmlQualifiedName2;
- HttpAddressBinding^ myHttpAddressBinding = gcnew HttpAddressBinding;
- myHttpAddressBinding->Location = "http://localhost/ServiceCollection_Item/AddSub_CS.asmx";
- myHttpGetPort->Extensions->Add( myHttpAddressBinding );
-
- // Add the ports to the service.
- myService->Ports->Add( myHttpGetPort );
- myService->Ports->Add( mySoapPort );
-
- // Add the service to the ServiceCollection.
- myServiceCollection->Add( myService );
-
- //
- // Write to a new WSDL file.
- myServiceDescription->Write( "output.wsdl" );
- //
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription/CPP/servicedescription.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescription/CPP/servicedescription.cpp
deleted file mode 100644
index fa70e899296..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription/CPP/servicedescription.cpp
+++ /dev/null
@@ -1,84 +0,0 @@
-// System.Web.Services.Description.ServiceDescription
-
-/*
-The following example demonstrates the 'ServiceDescription' class.
-The input to the program is a WSDL file 'MyWsdl.wsdl'.
-This program removes one 'Binding' from the existing WSDL.
-A new Binding is defined and added to the ServiceDescription object.
-The program generates a new Web Service Description document.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-
-// Used to create OperationBinding instances within 'Binding'.
-OperationBinding^ CreateOperationBinding( String^ operation, String^ targetNamespace )
-{
- // Create OperationBinding instance for operation.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = operation;
-
- // Create InputBinding for operation.
- InputBinding^ myInputBinding = gcnew InputBinding;
- SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
- mySoapBodyBinding->Use = SoapBindingUse::Literal;
- myInputBinding->Extensions->Add( mySoapBodyBinding );
-
- // Create OutputBinding for operation.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- myOutputBinding->Extensions->Add( mySoapBodyBinding );
-
- // Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInputBinding;
- myOperationBinding->Output = myOutputBinding;
-
- // Create extensibility element for 'SoapOperationBinding'.
- SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
- mySoapOperationBinding->SoapAction = targetNamespace + operation;
-
- // Add extensibility element 'SoapOperationBinding' to 'OperationBinding'.
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
- return myOperationBinding;
-}
-
-int main()
-{
- try
- {
- //
- // Obtain the ServiceDescription of existing Wsdl.
- ServiceDescription^ myDescription = ServiceDescription::Read( "MyWsdl_CS.wsdl" );
-
- // Remove the Binding from the Binding Collection of ServiceDescription.
- BindingCollection^ myBindingCollection = myDescription->Bindings;
- myBindingCollection->Remove( myBindingCollection[ 0 ] );
-
- // Form a new Binding.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "Service1Soap";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:Service1Soap" );
- myBinding->Type = myXmlQualifiedName;
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
- mySoapBinding->Style = SoapBindingStyle::Document;
- OperationBinding^ addOperationBinding = CreateOperationBinding( "Add", myDescription->TargetNamespace );
- myBinding->Operations->Add( addOperationBinding );
- myBinding->Extensions->Add( mySoapBinding );
-
- // Add the Binding to the ServiceDescription.
- myDescription->Bindings->Add( myBinding );
- myDescription->Write( "MyOutWsdl.wsdl" );
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception :{0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionBaseCollection/CPP/servicedescriptionbasecollection.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionBaseCollection/CPP/servicedescriptionbasecollection.cpp
deleted file mode 100644
index a8845c0e0db..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionBaseCollection/CPP/servicedescriptionbasecollection.cpp
+++ /dev/null
@@ -1,192 +0,0 @@
-
-
-// System.Web.Services.Description.ServiceDescriptionBaseCollection.
-/*
-The following example demonstrates 'ServiceDescriptionBaseCollection' class.
-A 'ServiceDescription' instance is obtained from the existing Wsdl.
-'MyMethod' takes an instance of 'ServiceDescriptionBaseCollection' as a parameter.
-Instance of different types of collections that were actually derived from
-'ServiceDescriptionBaseCollection' are passed to my method and modifications of
-corresponding instances in done.
-*/
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-ref class ServiceDescription_Sample
-{
-public:
- static ServiceDescription^ myServiceDescription;
- static void Main()
- {
- // Read a ServiceDescription of existing WSDL.
- myServiceDescription = ServiceDescription::Read( "Input_CS.wsdl" );
-
- // Get the ServiceCollection of the ServiceDescription.
- ServiceCollection^ myServiceCollection = myServiceDescription->Services;
- MyMethod( myServiceCollection );
- BindingCollection^ myBindingCollection = myServiceDescription->Bindings;
- MyMethod( myBindingCollection );
- PortTypeCollection^ myPortTypeCollection = myServiceDescription->PortTypes;
- MyMethod( myPortTypeCollection );
- myServiceDescription->Write( "Output.Wsdl" );
- }
-
- //
- static void MyMethod( ServiceDescriptionBaseCollection^ myServiceCollection )
- {
- Type^ myType = myServiceCollection->GetType();
- if ( myType->Equals( System::Web::Services::Description::ServiceCollection::typeid ) )
- {
- // Remove the services at index 0 of the collection.
- (dynamic_cast(myServiceCollection))->Remove( myServiceDescription->Services[ 0 ] );
-
- // Build a new Service.
- Service^ myService = gcnew Service;
- myService->Name = "MathService";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:MathServiceSoap" );
-
- // Build a new Port for SOAP.
- Port^ mySoapPort = gcnew Port;
- mySoapPort->Name = "MathServiceSoap";
- mySoapPort->Binding = myXmlQualifiedName;
- SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
- mySoapAddressBinding->Location = "http://localhost/"
- "ServiceDescriptionBaseCollection/AddSubtractService.CS.asmx";
- mySoapPort->Extensions->Add( mySoapAddressBinding );
-
- // Build a new Port for HTTP-GET.
- XmlQualifiedName^ myXmlQualifiedName2 = gcnew XmlQualifiedName( "s0:MathServiceHttpGet" );
- Port^ myHttpGetPort = gcnew Port;
- myHttpGetPort->Name = "MathServiceHttpGet";
- myHttpGetPort->Binding = myXmlQualifiedName2;
- HttpAddressBinding^ myHttpAddressBinding = gcnew HttpAddressBinding;
- myHttpAddressBinding->Location = "http://localhost/"
- "ServiceDescriptionBaseCollection/AddSubtractService.CS.asmx";
- myHttpGetPort->Extensions->Add( myHttpAddressBinding );
-
- // Add the ports to the Service.
- myService->Ports->Add( myHttpGetPort );
- myService->Ports->Add( mySoapPort );
-
- // Add the Service to the ServiceCollection.
- myServiceDescription->Services->Add( myService );
- }
- else
- if ( myType->Equals( System::Web::Services::Description::BindingCollection::typeid ) )
- {
- // Remove the Binding in the BindingCollection at index 0.
- (dynamic_cast(myServiceCollection))->Remove( myServiceDescription->Bindings[ 0 ] );
-
- // Build a new Binding.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "MathServiceSoap";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:MathServiceSoap" );
- myBinding->Type = myXmlQualifiedName;
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
- mySoapBinding->Style = SoapBindingStyle::Document;
-
- // Create the operations for the binding.
- OperationBinding^ addOperationBinding = CreateOperationBinding( "Add", myServiceDescription->TargetNamespace );
- OperationBinding^ subtractOperationBinding = CreateOperationBinding( "Subtract", myServiceDescription->TargetNamespace );
-
- // Add the operations to the Binding.
- myBinding->Operations->Add( subtractOperationBinding );
- myBinding->Operations->Add( addOperationBinding );
- myBinding->Extensions->Add( mySoapBinding );
-
- // Add the Binding to the Bindings collection.
- myServiceDescription->Bindings->Add( myBinding );
- }
- else
- if ( myType->Equals( System::Web::Services::Description::PortTypeCollection::typeid ) )
- {
- // Remove the PortType at index 0.
- (dynamic_cast(myServiceCollection))->Remove( myServiceDescription->PortTypes[ 0 ] );
-
- // Build a new PortType.
- PortType^ myPortType = gcnew PortType;
- myPortType->Name = "MathServiceSoap";
-
- // Build an Add Operation for the PortType.
- Operation^ myAddOperation = gcnew Operation;
- myAddOperation->Name = "Add";
-
- // Build the Input and Output messages for the Operations.
- OperationInput^ myOperationInputMessage1 = gcnew OperationInput;
- XmlQualifiedName^ myXmlQualifiedName1 = gcnew XmlQualifiedName( "s0:AddSoapIn" );
- myOperationInputMessage1->Message = myXmlQualifiedName1;
- OperationOutput^ myOperationOutputMessage1 = gcnew OperationOutput;
- XmlQualifiedName^ myXmlQualifiedName2 = gcnew XmlQualifiedName( "s0:AddSoapOut" );
- myOperationOutputMessage1->Message = myXmlQualifiedName2;
-
- // Add the messages to the operations.
- myAddOperation->Messages->Add( myOperationInputMessage1 );
- myAddOperation->Messages->Add( myOperationOutputMessage1 );
-
- // Build an Add Operation for the PortType.
- Operation^ mySubtractOperation = gcnew Operation;
- mySubtractOperation->Name = "Subtract";
-
- // Build the Input and Output messages for the operations.
- OperationInput^ myOperationInputMessage2 = gcnew OperationInput;
- XmlQualifiedName^ myXmlQualifiedName3 = gcnew XmlQualifiedName( "s0:SubtractSoapIn" );
- myOperationInputMessage2->Message = myXmlQualifiedName3;
- OperationOutput^ myOperationOutputMessage2 = gcnew OperationOutput;
- XmlQualifiedName^ myXmlQualifiedName4 = gcnew XmlQualifiedName( "s0:SubtractSoapOut" );
- myOperationOutputMessage2->Message = myXmlQualifiedName4;
-
- // Add the messages to the operations.
- mySubtractOperation->Messages->Add( myOperationInputMessage2 );
- mySubtractOperation->Messages->Add( myOperationOutputMessage2 );
-
- // Add the operations to the PortType.
- myPortType->Operations->Add( myAddOperation );
- myPortType->Operations->Add( mySubtractOperation );
-
- // Add the PortType to the collection.
- myServiceDescription->PortTypes->Add( myPortType );
- }
- }
- //
-
- static OperationBinding^ CreateOperationBinding( String^ operation, String^ targetNamespace )
- {
- // Create OperationBinding instance for operation.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = operation;
-
- // Create InputBinding for operation.
- InputBinding^ myInputBinding = gcnew InputBinding;
- SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
- mySoapBodyBinding->Use = SoapBindingUse::Literal;
- myInputBinding->Extensions->Add( mySoapBodyBinding );
-
- // Create OutputBinding for operation.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- myOutputBinding->Extensions->Add( mySoapBodyBinding );
-
- // Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInputBinding;
- myOperationBinding->Output = myOutputBinding;
-
- // Create extensibility element for 'SoapOperationBinding'.
- SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
- mySoapOperationBinding->SoapAction = String::Concat( targetNamespace, operation );
-
- // Add extensibility element 'SoapOperationBinding' to 'OperationBinding'.
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
- return myOperationBinding;
- }
-};
-
-int main()
-{
- ServiceDescription_Sample::Main();
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection/CPP/servicedescriptioncollection.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection/CPP/servicedescriptioncollection.cpp
deleted file mode 100644
index 3a27bf22ab5..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection/CPP/servicedescriptioncollection.cpp
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-// System::Web::Services::Description.ServiceDescriptionCollection
-/*The following program demonstrates the 'ServiceDescriptionCollection' class.
-It creates two 'ServiceDescription' objects and add them to
-'ServiceDescriptionCollection' Object*. It displays the name of 'ServiceDescription'
-objects using 'Item' property. 'GetBinding' method is used to display binding instance of the
-'ServiceDescription' Object*.
-
-Note: This program requires 'DataTypes_CS.wsdl' and 'MathService_cpp.wsdl' files to
-be placed in same directory as that of .exe for running.
-*/
-//
-#using
-#using
-
-using namespace System;
-using namespace System::Xml;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- try
- {
- // Get ServiceDescription objects.
- ServiceDescription^ myServiceDescription1 = ServiceDescription::Read( "DataTypes_cpp.wsdl" );
- ServiceDescription^ myServiceDescription2 = ServiceDescription::Read( "MathService_cpp.wsdl" );
-
- // Set the names of the ServiceDescriptions.
- myServiceDescription1->Name = "DataTypes";
- myServiceDescription2->Name = "MathService";
-
- // Create a ServiceDescriptionCollection.
- ServiceDescriptionCollection^ myServiceDescriptionCollection = gcnew ServiceDescriptionCollection;
-
- // Add the ServiceDescriptions to the collection.
- myServiceDescriptionCollection->Add( myServiceDescription1 );
- myServiceDescriptionCollection->Add( myServiceDescription2 );
-
- // Display the elements of the collection using the Item property.
- Console::WriteLine( "Elements in the collection: " );
- for ( int i = 0; i < myServiceDescriptionCollection->Count; i++ )
- Console::WriteLine( myServiceDescriptionCollection[ i ]->Name );
-
- // Construct an XML qualified name.
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "MathServiceSoap","http://tempuri2.org/" );
-
- // Get the Binding from the collection.
- Binding^ myBinding = myServiceDescriptionCollection->GetBinding( myXmlQualifiedName );
- Console::WriteLine( "Binding found in collection with name: {0}", myBinding->ServiceDescription->Name );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "The following exception was raised: {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/CPP/sdcollection_constructor_add_item.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/CPP/sdcollection_constructor_add_item.cpp
deleted file mode 100644
index 1f4b047229c..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/CPP/sdcollection_constructor_add_item.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-// System::Web::Services::Description.ServiceDescriptionCollection::ServiceDescriptionCollection()
-// System::Web::Services::Description.ServiceDescriptionCollection->Add()
-// System::Web::Services::Description.ServiceDescriptionCollection::Item(Int32)
-/* The following program demonstrates 'Constructor', 'Add' method and
-'Item' property of 'ServiceDescriptionCollection' class. It creates an
-instance of 'ServiceDescriptionCollection' and adds
-'ServiceDescription' objects to the collection. The Item property is used to
-display the TargetNamespace of elements in the collection.
-
-Note: This program requires 'DataTypes_CS::wsdl' and 'MathService_CS::wsdl'
-files to be placed in same directory as that of .exe for running.
-*/
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- try
- {
- ServiceDescription^ myServiceDescription1 = ServiceDescription::Read( "DataTypes_cpp.wsdl" );
- ServiceDescription^ myServiceDescription2 = ServiceDescription::Read( "MathService_cpp.wsdl" );
-
- //
- //
- // Create a ServiceDescriptionCollection.
- ServiceDescriptionCollection^ myCollection = gcnew ServiceDescriptionCollection;
-
- // Add ServiceDescriptions to the collection.
- myCollection->Add( myServiceDescription1 );
- myCollection->Add( myServiceDescription2 );
- //
- //
-
- //
- // Display element properties in the collection using
- // the Item property.
- for ( int i = 0; i < myCollection->Count; i++ )
- Console::WriteLine( myCollection[ i ]->TargetNamespace );
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "The following exception was raised: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetBinding/CPP/servicedescriptioncollection_getbinding.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetBinding/CPP/servicedescriptioncollection_getbinding.cpp
deleted file mode 100644
index 79ca7ba38d2..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetBinding/CPP/servicedescriptioncollection_getbinding.cpp
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-// System::Web::Services::Description.ServiceDescriptionCollection::GetBinding()
-/* The following program demonstrates the 'GetBinding' method
-of 'ServiceDescriptionCollection' class. It searches for a
-'Binding' in the collection and returns the Binding instance.
-On success, a message is displayed on the console.
-
-Note: This program requires 'DataTypes_cpp.wsdl' and 'MathService_cpp.wsdl'
-files to be placed in same directory as that of .exe for running.
-*/
-
-#using
-#using
-
-using namespace System;
-using namespace System::Xml;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- try
- {
- ServiceDescription^ myServiceDescription1 =
- ServiceDescription::Read( "DataTypes_cpp.wsdl" );
- ServiceDescription^ myServiceDescription2 =
- ServiceDescription::Read( "MathService_cpp.wsdl" );
-
- // Create the Object* of 'ServiceDescriptionCollection' class.
- ServiceDescriptionCollection^ myCollection =
- gcnew ServiceDescriptionCollection;
-
- // Add ServiceDescription objects.
- myCollection->Add( myServiceDescription1 );
- myCollection->Add( myServiceDescription2 );
-
-//
- // Construct an XML qualified name.
- XmlQualifiedName^ myXmlQualifiedName =
- gcnew XmlQualifiedName( "MathServiceSoap","http://tempuri2.org/" );
-
- // Get the Binding from the collection.
- myCollection->GetBinding( myXmlQualifiedName );
-//
- Console::WriteLine( "Specified Binding is a member of ServiceDescription "
- + "instances within the collection" );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "The following exception was raised: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetMessage/CPP/servicedescriptioncollection_getmessage.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetMessage/CPP/servicedescriptioncollection_getmessage.cpp
deleted file mode 100644
index e84c9b01134..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetMessage/CPP/servicedescriptioncollection_getmessage.cpp
+++ /dev/null
@@ -1,52 +0,0 @@
-// System::Web::Services::Description.ServiceDescriptionCollection::GetMessage()
-
-/* The following program demonstrates the 'GetMessage' method
-of 'ServiceDescriptionCollection' class. It searches for a
-'Message' in the collection and returns the Message instance. On success,
-a message is displayed on the console.
-
-Note: This program requires 'DataTypes_cpp.wsdl' and 'MathService_cpp.wsdl'
-files to be placed in same directory as that of .exe for running.
-*/
-
-#using
-#using
-
-using namespace System;
-using namespace System::Xml;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- try
- {
- ServiceDescription^ myServiceDescription1 =
- ServiceDescription::Read( "DataTypes_cpp.wsdl" );
- ServiceDescription^ myServiceDescription2 =
- ServiceDescription::Read( "MathService_cpp.wsdl" );
-
- // Create the Object* of 'ServiceDescriptionCollection' class.
- ServiceDescriptionCollection^ myCollection =
- gcnew ServiceDescriptionCollection;
-
- // Add 'ServiceDescription' objects.
- myCollection->Add( myServiceDescription1 );
- myCollection->Add( myServiceDescription2 );
-
-//
- // Construct an XML qualified name.
- XmlQualifiedName^ myXmlQualifiedName =
- gcnew XmlQualifiedName( "AddSoapIn","http://tempuri2.org/" );
-
- // Get the Message from the collection.
- myCollection->GetMessage( myXmlQualifiedName );
-//
-
- Console::WriteLine( "Specified Message is a member of ServiceDescription "
- + "instances within the collection." );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "The following exception was raised: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetPortType/CPP/servicedescriptioncollection_getporttype.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetPortType/CPP/servicedescriptioncollection_getporttype.cpp
deleted file mode 100644
index 8374664ea9d..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetPortType/CPP/servicedescriptioncollection_getporttype.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-// System::Web::Services::Description.ServiceDescriptionCollection::GetPortType()
-
-/* The following program demonstrates the 'GetPortType' method
-of 'ServiceDescriptionCollection' class. It searches for a
-'PortType' with XmlQualifiedName in the collection and returns a
-PortType instance. On success, a message is displayed on the
-console.
-
-Note: This program requires 'DataTypes_cpp..wsdl' and 'MathService_cpp..wsdl'
-files to be placed in same directory as that of .exe for running.
-*/
-
-#using
-#using
-
-using namespace System;
-using namespace System::Xml;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- try
- {
- ServiceDescription^ myServiceDescription1 =
- ServiceDescription::Read( "DataTypes_cpp..wsdl" );
- ServiceDescription^ myServiceDescription2 =
- ServiceDescription::Read( "MathService_cpp..wsdl" );
-
- // Create the Object* of 'ServiceDescriptionCollection' class.
- ServiceDescriptionCollection^ myCollection =
- gcnew ServiceDescriptionCollection;
-
- // Add 'ServiceDescription' objects.
- myCollection->Add( myServiceDescription1 );
- myCollection->Add( myServiceDescription2 );
-
-//
- // Construct an XML qualified name.
- XmlQualifiedName^ myXmlQualifiedName =
- gcnew XmlQualifiedName( "MathServiceSoap","http://tempuri2.org/" );
-
- // Get the PortType from the collection.
- myCollection->GetPortType( myXmlQualifiedName );
-//
-
- Console::WriteLine( "Specified PortType is a member of ServiceDescription "
- + "instances within the collection." );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "The following exception was raised: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetService/CPP/servicedescriptioncollection_getservice.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetService/CPP/servicedescriptioncollection_getservice.cpp
deleted file mode 100644
index 393a442e65a..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetService/CPP/servicedescriptioncollection_getservice.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-// System::Web::Services::Description.ServiceDescriptionCollection::GetService()
-
-/* The following program demonstrates the 'GetService' method
-of 'ServiceDescriptionCollection' class. It searches for a
-'Service' with XmlQualifiedName in the collection and returns
-the Service instance. On success, a message is displayed on the
-console.
-
-Note: This program requires 'DataTypes_cpp.wsdl' and 'MathService_cpp.wsdl'
-files to be placed in same directory as that of .exe for running.
-*/
-
-#using
-#using
-
-using namespace System;
-using namespace System::Xml;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- try
- {
- ServiceDescription^ myServiceDescription1 =
- ServiceDescription::Read( "DataTypes_cpp.wsdl" );
- ServiceDescription^ myServiceDescription2 =
- ServiceDescription::Read( "MathService_cpp.wsdl" );
-
- // Create the Object* of 'ServiceDescriptionCollection' class.
- ServiceDescriptionCollection^ myCollection =
- gcnew ServiceDescriptionCollection;
-
- // Add 'ServiceDescription' objects.
- myCollection->Add( myServiceDescription1 );
- myCollection->Add( myServiceDescription2 );
-
-//
- // Construct an XML qualified name.
- XmlQualifiedName^ myXmlQualifiedName =
- gcnew XmlQualifiedName( "MathService","http://tempuri2.org/" );
-
- // Get the Service from the collection.
- myCollection->GetService( myXmlQualifiedName );
-//
-
- Console::WriteLine( "Specified Service is a member of ServiceDescription "
- + "instances within the collection" );
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "The following exception was raised: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/CPP/sdcollection_insert_item_copyto.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/CPP/sdcollection_insert_item_copyto.cpp
deleted file mode 100644
index 65f79d261a7..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/CPP/sdcollection_insert_item_copyto.cpp
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-// System::Web::Services::Description.ServiceDescriptionCollection::Insert()
-// System::Web::Services::Description.ServiceDescriptionCollection::Item(String)
-// System::Web::Services::Description.ServiceDescriptionCollection::CopyTo()
-/* The following program demonstrates 'Item' property, 'Insert' and 'CopyTo'
-methods of the 'ServiceDescriptionCollection' class. It creates an instance of
-'ServiceDescriptionCollection' and adds 'ServiceDescription' objects to the
-collection. The elements of the collection are copied to a 'ServiceDescription'
-array.
-
-Note: This program requires 'DataTypes_cpp.wsdl' and 'MathService_cpp.wsdl'
-files to be placed in the same directory as that of .exe for running.
-*/
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- try
- {
- ServiceDescription^ myServiceDescription1 = ServiceDescription::Read( "DataTypes_cpp.wsdl" );
- myServiceDescription1->Name = "DataTypes";
- ServiceDescription^ myServiceDescription2 = ServiceDescription::Read( "MathService_cpp.wsdl" );
- myServiceDescription2->Name = "MathService";
-
- // Create the object of 'ServiceDescriptionCollection' class.
- ServiceDescriptionCollection^ myCollection = gcnew ServiceDescriptionCollection;
-
- // Add 'ServiceDescription' objects.
- myCollection->Add( myServiceDescription1 );
-
- //
- // Insert a ServiceDescription into the collection.
- myCollection->Insert( 1, myServiceDescription2 );
- //
-
- //
- // Get a ServiceDescription in the collection using
- // the Item property.
- ServiceDescription^ myServiceDescription = myCollection[ "http://tempuri1.org/" ];
- //
-
- Console::WriteLine( "Name of the object retrieved using 'Item' property: {0}", myServiceDescription->Name );
-
- //
- array^myArray = gcnew array(myCollection->Count);
-
- // Copy the collection to a ServiceDescription array.
- myCollection->CopyTo( myArray, 0 );
- for ( int i = 0; i < myArray->Length; i++ )
- Console::WriteLine( "Name of element in array: {0}", myArray[ i ]->Name );
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "The following exception was raised: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp
deleted file mode 100644
index bd4ca480209..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection::ctor
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection->Add()
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection::Item
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection::Find(System::Type type)
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection::FindAll(System::Type type)
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection::IsHandled()
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection::IsRequired()
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection::CopyTo()
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection::Contains()
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection::IndexOf()
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection::Remove()
-// System::Web::Services::Description.ServiceDescriptionFormatExtensionCollection::Insert()
-/* The following program demonstrates the class, properties and methods of
-'ServiceDescriptionFormatExtensionCollection'
-class. It creates a ServiceDescription object, uses it to create
-'ServiceDescriptionFormatExtensionCollection' object. Collection
-object is used for demonstration of class properties and methods.
-
-Note: This program requires 'Sample_cpp.wsdl' file to be placed in
-the same directory as that of .exe for running.
-*/
-//
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-
-ref class MyFormatExtension: public ServiceDescriptionFormatExtension
-{
-public:
- MyFormatExtension()
- {
- // Set the properties.
- this->Handled = true;
- this->Required = true;
- }
-};
-
-int main()
-{
- try
- {
- //
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "Sample_cpp.wsdl" );
- ServiceDescriptionFormatExtensionCollection^ myCollection = gcnew ServiceDescriptionFormatExtensionCollection( myServiceDescription );
- //
-
- //
- SoapBinding^ mySoapBinding1 = gcnew SoapBinding;
- SoapBinding^ mySoapBinding2 = gcnew SoapBinding;
- SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
- MyFormatExtension^ myFormatExtensionObject = gcnew MyFormatExtension;
-
- // Add elements to collection.
- myCollection->Add( mySoapBinding1 );
- myCollection->Add( mySoapAddressBinding );
- myCollection->Add( mySoapBinding2 );
- myCollection->Add( myFormatExtensionObject );
- //
-
- //
- Console::WriteLine( "Collection contains following types of elements: " );
-
- // Display the 'Type' of the elements in collection.
- for ( int i = 0; i < myCollection->Count; i++ )
- Console::WriteLine( myCollection[ i ]->GetType() );
- //
-
- //
- // Check element of type 'SoapAddressBinding' in collection.
- Object^ myObj = myCollection->Find( mySoapAddressBinding->GetType() );
- if ( myObj == nullptr )
- Console::WriteLine( "Element of type ' {0}' not found in collection.", mySoapAddressBinding->GetType() );
- else
- Console::WriteLine( "Element of type ' {0}' found in collection.", mySoapAddressBinding->GetType() );
- //
-
- //
- // Check all elements of type 'SoapBinding' in collection.
- array
-
- //
- // Check 'IsHandled' status for 'myFormatExtensionObject' object in collection.
- Console::WriteLine( "'IsHandled' status for {0} object is {1}.", myFormatExtensionObject, myCollection->IsHandled( myFormatExtensionObject ) );
- //
-
- //
- // Check 'IsRequired' status for 'myFormatExtensionObject' object in collection.
- Console::WriteLine( "'IsRequired' status for {0} object is {1}.", myFormatExtensionObject, myCollection->IsRequired( myFormatExtensionObject ) );
- //
-
- //
- // Copy elements of collection to an Object array.
- array^myObjectArray2 = gcnew array(myCollection->Count);
- myCollection->CopyTo( myObjectArray2, 0 );
- Console::WriteLine( "Collection elements are copied to an object array." );
- //
-
- //
- // Check for 'myFormatExtension' object in collection.
- if ( myCollection->Contains( myFormatExtensionObject ) )
- {
- //
- // Get index of a 'myFormatExtension' object in collection.
- Console::WriteLine( "Index of 'myFormatExtensionObject' is {0} in collection.", myCollection->IndexOf( myFormatExtensionObject ) );
- //
-
- //
- // Remove 'myFormatExtensionObject' element from collection.
- myCollection->Remove( myFormatExtensionObject );
- Console::WriteLine( "'myFormatExtensionObject' is removed from collection." );
- //
- }
- //
-
- //
- // Insert 'MyFormatExtension' object.
- myCollection->Insert( 0, myFormatExtensionObject );
- Console::WriteLine( "'myFormatExtensionObject' is inserted to collection." );
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "The following exception was raised: {0}", e->Message );
- }
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Bindings/CPP/servicedescription_bindings.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Bindings/CPP/servicedescription_bindings.cpp
deleted file mode 100644
index 7b2a6a89d1b..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Bindings/CPP/servicedescription_bindings.cpp
+++ /dev/null
@@ -1,85 +0,0 @@
-// System.Web.Services.Description.ServiceDescription.Bindings
-
-/*
-The following example demonstrates the property 'Bindings' of
-'ServiceDescription' class. The input to the program is a WSDL file
-'MyWsdl_CS.wsdl'. This program removes one 'Binding' from the existing WSDL.
-A new Binding is defined and added to the ServiceDescription object.
-The program generates a new Web Service Description document.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-
-// Used to create OperationBinding instances within 'Binding'.
-OperationBinding^ CreateOperationBinding( String^ operation, String^ targetNamespace )
-{
- // Create OperationBinding instance for operation.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = operation;
-
- // Create InputBinding for operation.
- InputBinding^ myInputBinding = gcnew InputBinding;
- SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
- mySoapBodyBinding->Use = SoapBindingUse::Literal;
- myInputBinding->Extensions->Add( mySoapBodyBinding );
-
- // Create OutputBinding for operation.
- OutputBinding^ myOutputBinding = gcnew OutputBinding;
- myOutputBinding->Extensions->Add( mySoapBodyBinding );
-
- // Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInputBinding;
- myOperationBinding->Output = myOutputBinding;
-
- // Create extensibility element for 'SoapOperationBinding'.
- SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
- mySoapOperationBinding->SoapAction = targetNamespace + operation;
-
- // Add extensibility element 'SoapOperationBinding' to 'OperationBinding'.
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
- return myOperationBinding;
-}
-
-int main()
-{
- try
- {
- //
- // Obtain the ServiceDescription from existing WSDL.
- ServiceDescription^ myDescription = ServiceDescription::Read( "MyWsdl_CS.wsdl" );
-
- // Remove the Binding from the BindingCollection of
- // the ServiceDescription.
- BindingCollection^ myBindingCollection = myDescription->Bindings;
- myBindingCollection->Remove( myBindingCollection[ 0 ] );
-
- // Form a new Binding.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "Service1Soap";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:Service1Soap" );
- myBinding->Type = myXmlQualifiedName;
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
- mySoapBinding->Style = SoapBindingStyle::Document;
- OperationBinding^ addOperationBinding = CreateOperationBinding( "Add", myDescription->TargetNamespace );
- myBinding->Operations->Add( addOperationBinding );
- myBinding->Extensions->Add( mySoapBinding );
-
- // Add the Binding to the ServiceDescription.
- myDescription->Bindings->Add( myBinding );
- myDescription->Write( "MyOutWsdl.wsdl" );
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Constructor_4/CPP/servicedescription_constructor_4.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Constructor_4/CPP/servicedescription_constructor_4.cpp
deleted file mode 100644
index 4d5942332c2..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Constructor_4/CPP/servicedescription_constructor_4.cpp
+++ /dev/null
@@ -1,59 +0,0 @@
-// System.Web.Services.Description.ServiceDescription.ServiceDescription()
-// System.Web.Services.Description.ServiceDescription.Read(string)
-// System.Web.Services.Description.ServiceDescription.Messages
-// System.Web.Services.Description.ServiceDescription.Name
-
-/*
-The following example demonstrates the 'ServiceDescription()' constructor,
-the 'Messages' and 'Name' properties and the 'Read' method of the 'ServiceDescription'
-class. The input to the program is a WSDL file 'MyWsdl.wsdl'.
-This program removes one message from the existing WSDL.
-A new Message is defined and added to the ServiceDescription.
-A new wsdl with modified ServiceDescription is written in 'MyOutWsdl.wsdl'.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-
-int main()
-{
- //
- //
- //
- //
- ServiceDescription^ myDescription = gcnew ServiceDescription;
- myDescription = ServiceDescription::Read( "MyWsdl_CS.wsdl" );
- myDescription->Name = "MyServiceDescription";
- Console::WriteLine( "Name: {0}", myDescription->Name );
- MessageCollection^ myMessageCollection = myDescription->Messages;
-
- // Remove the message at index 0 from the message collection.
- myMessageCollection->Remove( myDescription->Messages[ 0 ] );
-
- // Build a new message.
- Message^ myMessage = gcnew Message;
- myMessage->Name = "AddSoapIn";
-
- // Build a new MessagePart.
- MessagePart^ myMessagePart = gcnew MessagePart;
- myMessagePart->Name = "parameters";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:Add" );
- myMessagePart->Element = myXmlQualifiedName;
-
- // Add MessageParts to the message.
- myMessage->Parts->Add( myMessagePart );
-
- // Add the message to the ServiceDescription.
- myDescription->Messages->Add( myMessage );
- myDescription->Write( "MyOutWsdl.wsdl" );
- //
- //
- //
- //
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/CPP/servicedescription_extensions_2.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/CPP/servicedescription_extensions_2.cpp
deleted file mode 100644
index 5aa1c26e6f6..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/CPP/servicedescription_extensions_2.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// System.Web.Services.Description.ServiceDescription.Extensions
-// System.Web.Services.Description.ServiceDescription.RetrievalUrl
-/* The following program demonstrates properties 'Extensions', 'RetrievalUrl' of
-'ServiceDescription' class. The input to the program is a WSDL file
-'ServiceDescription_Extensions_Input_cs.wsdl'. This program adds one object
-to the extensions collection and displays the count and set the 'RetrievalURL' and displays.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- //
- //
- ServiceDescription^ myServiceDescription = gcnew ServiceDescription;
- myServiceDescription = ServiceDescription::Read( "ServiceDescription_Extensions_Input_cs.wsdl" );
- Console::WriteLine( myServiceDescription->Bindings[ 1 ]->Extensions[ 0 ] );
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- mySoapBinding->Required = true;
- SoapBinding^ mySoapBinding1 = gcnew SoapBinding;
- mySoapBinding1->Required = false;
- myServiceDescription->Extensions->Add( mySoapBinding );
- myServiceDescription->Extensions->Add( mySoapBinding1 );
- System::Collections::IEnumerator^ myEnum = myServiceDescription->Extensions->GetEnumerator();
- while ( myEnum->MoveNext() )
- {
- ServiceDescriptionFormatExtension^ myServiceDescriptionFormatExtension = (ServiceDescriptionFormatExtension^)(myEnum->Current);
- Console::WriteLine( "Required: {0}", myServiceDescriptionFormatExtension->Required );
- }
-
- myServiceDescription->Write( "ServiceDescription_Extensions_Output_cs.wsdl" );
- myServiceDescription->RetrievalUrl = "http://www.contoso.com/";
- Console::WriteLine( "Retrieval URL is: {0}", myServiceDescription->RetrievalUrl );
- //
- //
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Imports_Service/CPP/servicedescription_imports.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Imports_Service/CPP/servicedescription_imports.cpp
deleted file mode 100644
index 7f3cffea1be..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Imports_Service/CPP/servicedescription_imports.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// System.Web.Services.Description.ServiceDescription.Imports
-
-/* The following program demonstrates the property 'Imports' of 'ServiceDescription' class.
-The input to the program is a WSDL file 'ServiceDescription_Imports_Input_CS.wsdl' which
-is not having the import element. A new 'Import' is defined and added to the new modified
-'ServiceDescription_Imports_Output_CS.wsdl' file.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-
-int main()
-{
- //
- ServiceDescription^ myServiceDescription = gcnew ServiceDescription;
- myServiceDescription = ServiceDescription::Read( "ServiceDescription_Imports_Input_CS.wsdl" );
- ImportCollection^ myImportCollection = myServiceDescription->Imports;
-
- // Create an Import.
- Import^ myImport = gcnew Import;
- myImport->Namespace = myServiceDescription->TargetNamespace;
-
- // Set the location for the Import.
- myImport->Location = "http://www.contoso.com/";
- myImportCollection->Add( myImport );
- myServiceDescription->Write( "ServiceDescription_Imports_Output_CS.wsdl" );
- myImportCollection->Clear();
- myServiceDescription = ServiceDescription::Read( "ServiceDescription_Imports_Output_CS.wsdl" );
- myImportCollection = myServiceDescription->Imports;
- Console::WriteLine( "The Import elements added to the ImportCollection are: " );
- for ( int i = 0; i < myImportCollection->Count; i++ )
- {
- Console::WriteLine( "{0}. {1}", (i + 1), myImportCollection[ i ]->Location );
- }
- //
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Namespace/CPP/servicedescription_namespace.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Namespace/CPP/servicedescription_namespace.cpp
deleted file mode 100644
index e200b9e1fd6..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Namespace/CPP/servicedescription_namespace.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// System::Web::Services::Description.ServiceDescription::Namespace
-
-/*
-The following example demonstrates the 'Namespace' property of 'ServiceDescription' class. The input to the program is a
-WSDL file 'MyWsdl::wsdl'.This program displays the Namespace of 'ServiceDescription' class.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services;
-using namespace System::Web::Services::Description;
-
-int main()
-{
- try
- {
-//
- ServiceDescription^ myDescription =
- ServiceDescription::Read( "MyWsdl_CS.wsdl" );
- Console::WriteLine( "Namespace : " + ServiceDescription::Namespace );
-//
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: " + e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/CPP/servicedescription_porttypes_2.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/CPP/servicedescription_porttypes_2.cpp
deleted file mode 100644
index fb6a682faf5..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/CPP/servicedescription_porttypes_2.cpp
+++ /dev/null
@@ -1,69 +0,0 @@
-// System.Web.Services.Description.ServiceDescription.PortTypes
-// System.Web.Services.Description.ServiceDescription.CanRead
-
-/*
-The following example demonstrates the 'PortTypes' property
-and 'CanRead' method of 'ServiceDescription' class.
-The input to the program is a WSDL file 'MyWsdl_CS.wsdl'.
-This program checks the validity of WSDL file.One of the existing
-port types is removed.A new PortType is defined and added to the
-port types collection of the service description. A modified WSDL
-is the output of the program.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-
-//
-//
-// Creates an Operation for a PortType.
-Operation^ CreateOperation( String^ operationName, String^ inputMessage, String^ outputMessage, String^ targetNamespace )
-{
- Operation^ myOperation = gcnew Operation;
- myOperation->Name = operationName;
- OperationMessage^ input = dynamic_cast(gcnew OperationInput);
- input->Message = gcnew XmlQualifiedName( inputMessage,targetNamespace );
- OperationMessage^ output = dynamic_cast(gcnew OperationOutput);
- output->Message = gcnew XmlQualifiedName( outputMessage,targetNamespace );
- myOperation->Messages->Add( input );
- myOperation->Messages->Add( output );
- return myOperation;
-}
-
-int main()
-{
- String^ myWsdlFileName = "MyWsdl_CS.wsdl";
- XmlTextReader^ myReader = gcnew XmlTextReader( myWsdlFileName );
- if ( ServiceDescription::CanRead( myReader ) )
- {
- ServiceDescription^ myDescription = ServiceDescription::Read( myWsdlFileName );
-
- // Remove the PortType at index 0 of the collection.
- PortTypeCollection^ myPortTypeCollection = myDescription->PortTypes;
- myPortTypeCollection->Remove( myDescription->PortTypes[ 0 ] );
-
- // Build a new PortType.
- PortType^ myPortType = gcnew PortType;
- myPortType->Name = "Service1Soap";
- Operation^ myOperation = CreateOperation( "Add", "s0:AddSoapIn", "s0:AddSoapOut", "" );
- myPortType->Operations->Add( myOperation );
-
- // Add a new PortType to the PortType collection of
- // the ServiceDescription.
- myDescription->PortTypes->Add( myPortType );
- myDescription->Write( "MyOutWsdl.wsdl" );
- Console::WriteLine( "New WSDL file generated successfully." );
- }
- else
- {
- Console::WriteLine( "This file is not a WSDL file." );
- }
-}
-//
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read/CPP/servicedescription_read.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read/CPP/servicedescription_read.cpp
deleted file mode 100644
index 9f61643a1f4..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read/CPP/servicedescription_read.cpp
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-// System.Web.Description.ServiceDescription.Read(XmlReader)
-// System.Web.Description.ServiceCollection.Item(string)
-// System.Web.Description.ServiceCollection.Insert(int,Service)
-// System.Web.Description.ServiceDescription.Write(XmlWriter)
-/*
-The following program demonstrates the properties of ServiceDescription and
-ServiceCollection class.An XmlTextReader with the required url is created.
-An existing WSDL document is read.
-An existing service named "MathService" is removed from the collection and
-A new Service object is constructed and added at index 1 of the Collection of Services.
-A new WSDL file is created as output.
-*/
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Text;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- try
- {
- //
- //
- // Create a new XmlTextWriter with specified URL.
- XmlTextReader^ myXmlReader = gcnew XmlTextReader( "All_CS.wsdl" );
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( myXmlReader );
- myServiceDescription->TargetNamespace = "http://tempuri.org/";
-
- // Remove the service named MathService.
- ServiceCollection^ myServiceDescriptionCollection = myServiceDescription->Services;
- myServiceDescriptionCollection->Remove( myServiceDescription->Services[ "MathService" ] );
- //
- //
-
- //
- Service^ myService = gcnew Service;
- myService->Name = "MathService";
- XmlQualifiedName^ myXmlQualifiedName = gcnew XmlQualifiedName( "s0:MathServiceSoap" );
-
- // Build a new Port for SOAP.
- Port^ mySoapPort = gcnew Port;
- mySoapPort->Name = "MathServiceSoap";
- mySoapPort->Binding = myXmlQualifiedName;
- SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
- mySoapAddressBinding->Location = "http://localhost/ServiceDescription_Read/AddService_CS.asmx";
- mySoapPort->Extensions->Add( mySoapAddressBinding );
-
- // Build a new Port for HTTP-GET.
- XmlQualifiedName^ myXmlQualifiedName2 = gcnew XmlQualifiedName( "s0:MathServiceHttpGet" );
- Port^ myHttpGetPort = gcnew Port;
- myHttpGetPort->Name = "MathServiceHttpGet";
- myHttpGetPort->Binding = myXmlQualifiedName2;
- HttpAddressBinding^ myHttpAddressBinding = gcnew HttpAddressBinding;
- myHttpAddressBinding->Location = "http://localhost/ServiceDescription_Read/AddService_CS.asmx";
- myHttpGetPort->Extensions->Add( myHttpAddressBinding );
-
- // Add the ports to the service.
- myService->Ports->Add( myHttpGetPort );
- myService->Ports->Add( mySoapPort );
-
- // Add the service to the ServiceCollection.
- myServiceDescription->Services->Insert( 1, myService );
- //
-
- //
- // Create a new XmlTextWriter object.
- XmlTextWriter^ myWriter = gcnew XmlTextWriter( "output.wsdl",Encoding::UTF8 );
- myWriter->Formatting = Formatting::Indented;
-
- // Write the WSDL.
- myServiceDescription->Write( myWriter );
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read1/CPP/servicedescription_read1.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read1/CPP/servicedescription_read1.cpp
deleted file mode 100644
index ce0c8097760..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read1/CPP/servicedescription_read1.cpp
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-// System::Web::Services::Description.Read(TextReader)
-/*
-The following example demonstrates the 'Read(TextReader)' method of
-'ServiceDescription' class.A ServiceDescription instance is
-obtained from existing Wsdl::Name property of Bindings in the
-ServiceDescription is displayed to console.
-*/
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-using namespace System::IO;
-
-int main()
-{
- try
- {
- //
- ServiceDescription^ myDescription = gcnew ServiceDescription;
-
- // Create a StreamReader to read a WSDL file.
- TextReader^ myTextReader = gcnew StreamReader( "MyWsdl.wsdl" );
- myDescription = ServiceDescription::Read( myTextReader );
- Console::WriteLine( "Bindings are: " );
-
- // Display the Bindings present in the WSDL file.
- System::Collections::IEnumerator^ myEnum = myDescription->Bindings->GetEnumerator();
- while ( myEnum->MoveNext() )
- {
- Binding^ myBinding = safe_cast(myEnum->Current);
- Console::WriteLine( myBinding->Name );
- }
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read2/CPP/servicedescription_read2.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read2/CPP/servicedescription_read2.cpp
deleted file mode 100644
index 11b98b37d9b..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read2/CPP/servicedescription_read2.cpp
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-// System::Web::Services::Description.Read(StreamReader)
-/*
-The following example demonstrates the 'Read(StreamReader)' method of
-'ServiceDescription' class.A ServiceDescription instance is
-obtained from existing Wsdl. Name property of Bindings in the
-ServiceDescription is displayed to console.
-*/
-#using
-
-// #using
-#using
-
-using namespace System;
-using namespace System::Web::Services;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-using namespace System::IO;
-
-int main()
-{
- try
- {
- //
- // Create a StreamReader to read a WSDL file.
- StreamReader^ myStreamReader = gcnew StreamReader( "MyWsdl.wsdl" );
- ServiceDescription^ myDescription = ServiceDescription::Read( myStreamReader );
- Console::WriteLine( "Bindings are: " );
-
- // Display the Bindings present in the WSDL file.
- System::Collections::IEnumerator^ myEnum = myDescription->Bindings->GetEnumerator();
- while ( myEnum->MoveNext() )
- {
- Binding^ myBinding = safe_cast(myEnum->Current);
- Console::WriteLine( myBinding->Name );
- }
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception : {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Types/CPP/servicedescription_types.cpp b/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Types/CPP/servicedescription_types.cpp
deleted file mode 100644
index 306781ed271..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Types/CPP/servicedescription_types.cpp
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-// System.Web.Services.Description.ServiceDescription.Types
-// System.Web.Services.Description.ServiceDescription.Write(Stream)
-/*
-The following program demonstrates the 'Write' method and 'Types' property
-of ServiceDescription class.An existing WSDL document is read.
-Types of the SericeDescription are removed.New Types are constructed.
-Types are then added to ServiceDescription .A new WSDL file is created as output.
-*/
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Text;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::IO;
-using namespace System::Xml;
-using namespace System::Xml::Schema;
-
-// This function creates a XmlComplex Element.
-XmlSchemaElement^ CreateComplexTypeXmlElement( String^ minoccurs, String^ maxoccurs, String^ name, XmlQualifiedName^ schemaTypeName )
-{
- XmlSchemaElement^ myXmlSchemaElement = gcnew XmlSchemaElement;
- myXmlSchemaElement->MinOccursString = minoccurs;
- myXmlSchemaElement->MaxOccursString = maxoccurs;
- myXmlSchemaElement->Name = name;
- myXmlSchemaElement->SchemaTypeName = schemaTypeName;
- return myXmlSchemaElement;
-}
-
-int main()
-{
- try
- {
- // Read the existing WSDL.
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "Input_CS.wsdl" );
-
- //
- myServiceDescription->Types->Schemas->Remove( myServiceDescription->Types->Schemas[ 0 ] );
- XmlSchema^ myXmlSchema = gcnew XmlSchema;
- myXmlSchema->AttributeFormDefault = XmlSchemaForm::Qualified;
- myXmlSchema->ElementFormDefault = XmlSchemaForm::Qualified;
- myXmlSchema->TargetNamespace = myServiceDescription->TargetNamespace;
- XmlSchemaElement^ myXmlElement1 = gcnew XmlSchemaElement;
- myXmlElement1->Name = "Add";
- XmlSchemaComplexType^ myXmlSchemaComplexType = gcnew XmlSchemaComplexType;
- XmlSchemaSequence^ myXmlSchemaSequence = gcnew XmlSchemaSequence;
- myXmlSchemaSequence->Items->Add( CreateComplexTypeXmlElement( "1", "1", "a", gcnew XmlQualifiedName( "s:float" ) ) );
- myXmlSchemaSequence->Items->Add( CreateComplexTypeXmlElement( "1", "1", "b", gcnew XmlQualifiedName( "s:float" ) ) );
- myXmlSchemaComplexType->Particle = myXmlSchemaSequence;
- myXmlElement1->SchemaType = myXmlSchemaComplexType;
- myXmlSchema->Items->Add( myXmlElement1 );
- XmlSchemaElement^ myXmlElement2 = gcnew XmlSchemaElement;
- myXmlElement2->Name = "AddResponse";
- myXmlSchemaComplexType = gcnew XmlSchemaComplexType;
- myXmlSchemaSequence = gcnew XmlSchemaSequence;
- myXmlSchemaSequence->Items->Add( CreateComplexTypeXmlElement( "1", "1", "AddResult", gcnew XmlQualifiedName( "s:float" ) ) );
- myXmlSchemaComplexType->Particle = myXmlSchemaSequence;
- myXmlElement2->SchemaType = myXmlSchemaComplexType;
- myXmlSchema->Items->Add( myXmlElement2 );
- XmlSchemaElement^ myXmlElement3 = gcnew XmlSchemaElement;
- myXmlElement3->Name = "Subtract";
- myXmlSchemaComplexType = gcnew XmlSchemaComplexType;
- myXmlSchemaSequence = gcnew XmlSchemaSequence;
- myXmlSchemaSequence->Items->Add( CreateComplexTypeXmlElement( "1", "1", "a", gcnew XmlQualifiedName( "s:float" ) ) );
- myXmlSchemaSequence->Items->Add( CreateComplexTypeXmlElement( "1", "1", "b", gcnew XmlQualifiedName( "s:float" ) ) );
- myXmlSchemaComplexType->Particle = myXmlSchemaSequence;
- myXmlElement3->SchemaType = myXmlSchemaComplexType;
- myXmlSchema->Items->Add( myXmlElement3 );
- XmlSchemaElement^ myXmlElement4 = gcnew XmlSchemaElement;
- myXmlElement4->Name = "SubtractResponse";
- myXmlSchemaComplexType = gcnew XmlSchemaComplexType;
- myXmlSchemaSequence = gcnew XmlSchemaSequence;
- myXmlSchemaSequence->Items->Add( CreateComplexTypeXmlElement( "1", "1", "SubtractResult", gcnew XmlQualifiedName( "s:int" ) ) );
- myXmlSchemaComplexType->Particle = myXmlSchemaSequence;
- myXmlElement4->SchemaType = myXmlSchemaComplexType;
- myXmlSchema->Items->Add( myXmlElement4 );
-
- // Add the schemas to the Types property of the ServiceDescription.
- myServiceDescription->Types->Schemas->Add( myXmlSchema );
- //
-
- //
- FileStream^ myFileStream = gcnew FileStream( "output.wsdl",FileMode::OpenOrCreate,FileAccess::Write );
- StreamWriter^ myStreamWriter = gcnew StreamWriter( myFileStream );
-
- // Write the WSDL.
- Console::WriteLine( "Writing a new WSDL file." );
- myServiceDescription->Write( myStreamWriter );
- myStreamWriter->Close();
- myFileStream->Close();
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception Caught! {0}", e->Message );
- }
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/Service_Class4/CPP/service_class.cpp b/snippets/cpp/VS_Snippets_Remoting/Service_Class4/CPP/service_class.cpp
deleted file mode 100644
index c6ed8c5b45d..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/Service_Class4/CPP/service_class.cpp
+++ /dev/null
@@ -1,95 +0,0 @@
-// System.Web.Services.Description.Service.Ports
-// System.Web.Services.Description.Service.Extensions
-// System.Web.Services.Description.Service.Service()
-// System.Web.Services.Description.Service.Name
-
-/*The following sample demonstrates the properties 'Ports','Extensions','Name' and
-constructor 'Service()'. This sample reads the contents of a file 'MathService_cs.wsdl'
-into a 'ServiceDescription' instance. It gets the collection of Service
-instances from 'ServiceDescription'. It then removes a 'Service' from the collection and
-creates a new 'Service' and adds it into collection. It writes a new web service description
-file 'MathService_New.wsdl'.
-*/
-
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Xml;
-
-Port^ CreatePort( String^ PortName, String^ BindingName, String^ targetNamespace )
-{
- Port^ myPort = gcnew Port;
- myPort->Name = PortName;
- myPort->Binding = gcnew XmlQualifiedName( BindingName,targetNamespace );
-
- // Create a SoapAddress extensibility element to add to the port.
- SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
- mySoapAddressBinding->Location = "http://localhost/Service_Class/MathService_CS.asmx";
- myPort->Extensions->Add( mySoapAddressBinding );
- return myPort;
-}
-
-int main()
-{
- try
- {
- //
- //
- //
- ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_CS.wsdl" );
- ServiceCollection^ myServiceCollection = myServiceDescription->Services;
- int noOfServices = myServiceCollection->Count;
- Console::WriteLine( "\nTotal number of services: {0}", noOfServices );
-
- // Get a reference to the service.
- Service^ myOldService = myServiceCollection[ 0 ];
- Console::WriteLine( "No. of Ports in the Service{0}", myServiceCollection[ 0 ]->Ports->Count );
- Console::WriteLine( "These are the ports in the service:" );
- for ( int i = 0; i < myOldService->Ports->Count; i++ )
- Console::WriteLine( "Port name: {0}", myOldService->Ports[ i ]->Name );
- Console::WriteLine( "Service name: {0}", myOldService->Name );
- Service^ myService = gcnew Service;
- myService->Name = "MathService";
-
- // Add the ports to the newly created service.
- for ( int i = 0; i < myOldService->Ports->Count; i++ )
- {
- String^ PortName = myServiceCollection[ 0 ]->Ports[ i ]->Name;
- String^ BindingName = myServiceCollection[ 0 ]->Ports[ i ]->Binding->Name;
- myService->Ports->Add( CreatePort( PortName, BindingName, myServiceDescription->TargetNamespace ) );
-
- }
- Console::WriteLine( "Newly created ports -" );
- for ( int i = 0; i < myService->Ports->Count; i++ )
- Console::WriteLine( "Port Name: {0}", myOldService->Ports[ i ]->Name );
-
- // Add the extensions to the newly created service.
- int noOfExtensions = myOldService->Extensions->Count;
- Console::WriteLine( "No. of extensions: {0}", noOfExtensions );
- if ( noOfExtensions > 0 )
- {
- for ( int i = 0; i < myOldService->Ports->Count; i++ )
- myService->Extensions->Add( myServiceCollection[ 0 ]->Extensions[ i ] );
- }
-
- // Remove the service from the collection.
- myServiceCollection->Remove( myOldService );
-
- // Add the newly created service.
- myServiceCollection->Add( myService );
- myServiceDescription->Write( "MathService_New.wsdl" );
- //
- //
- //
- }
- catch ( Exception^ e )
- {
- Console::WriteLine( "Exception: {0}", e->Message );
- }
-
-}
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/SoapBodyBinding_Parts/CPP/soapbodybinding_parts.cpp b/snippets/cpp/VS_Snippets_Remoting/SoapBodyBinding_Parts/CPP/soapbodybinding_parts.cpp
deleted file mode 100644
index 72d797fd574..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/SoapBodyBinding_Parts/CPP/soapbodybinding_parts.cpp
+++ /dev/null
@@ -1,89 +0,0 @@
-// System.Web.Services.Description.SoapBinding.Namespace
-// System.Web.Services.Description.SoapBodyBinding.Parts
-
-/*
-The following example demonstrates the 'Namespace' field of 'SoapBinding' class
-and 'parts' property of 'SoapBodyBinding' class.
-It takes a wsdl file which supports two protocols 'HttpGet' and 'HttpPost' as input. By
-using the 'Read' method of 'ServiceDescription' class it gets the 'ServiceDescription'
-object. It uses the SOAP protocol related classes to create 'Binding' elements of
-'SOAP' protocol. It adds all the elements to the 'ServiceDescription' object. The
-'ServiceDescription' object creates another wsdl file which supports 'SOAP' protocol
-also. This wsdl file is used to generate a proxy which is used by the .aspx file.
-*/
-
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- ServiceDescription^ myDescription =
- ServiceDescription::Read( "AddNumbersInput_cs.wsdl" );
- // Create a 'Binding' object for the 'SOAP' protocol.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "Service1Soap";
- XmlQualifiedName^ qualifiedName =
- gcnew XmlQualifiedName( "s0:Service1Soap" );
-
- myBinding->Type = qualifiedName;
-
-//
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
- mySoapBinding->Style = SoapBindingStyle::Document;
- // Get the URI for XML namespace of the SoapBinding class.
- String^ myNameSpace = SoapBinding::Namespace;
- Console::WriteLine( "The URI of the XML Namespace is :{0}", myNameSpace );
-//
-
- // Add the 'SoapBinding' object to the 'Binding' object.
- myBinding->Extensions->Add( mySoapBinding );
-
- // Create the 'OperationBinding' object for the 'SOAP' protocol.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
-
- // Create the 'SoapOperationBinding' object for the 'SOAP' protocol.
- SoapOperationBinding^ mySoapOperationBinding =
- gcnew SoapOperationBinding;
- mySoapOperationBinding->SoapAction = "http://tempuri.org/AddNumbers";
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
- // Add the 'SoapOperationBinding' object to 'OperationBinding' object.
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
-
-//
- // Create the 'InputBinding' object for the 'SOAP' protocol.
- InputBinding^ myInput = gcnew InputBinding;
- SoapBodyBinding^ mySoapBinding1 = gcnew SoapBodyBinding;
- mySoapBinding1->Use = SoapBindingUse::Literal;
-
- array^ myParts = gcnew array(1);
- myParts[ 0 ] = "parameters";
- // Set the names of the message parts to appear in the SOAP body.
- mySoapBinding1->Parts = myParts;
- myInput->Extensions->Add( mySoapBinding1 );
- // Add the 'InputBinding' object to 'OperationBinding' object.
- myOperationBinding->Input = myInput;
- // Create the 'OutputBinding' object'.
- OutputBinding^ myOutput = gcnew OutputBinding;
- myOutput->Extensions->Add( mySoapBinding1 );
- // Add the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutput;
-//
-
- // Add the 'OperationBinding' to 'Binding'.
- myBinding->Operations->Add( myOperationBinding );
-
- // Add the 'Binding' to 'BindingCollection' of 'ServiceDescription'.
- myDescription->Bindings->Add( myBinding );
-
- // Write the 'ServiceDescription' as a WSDL file.
- myDescription->Write( "AddNumbersOut_cs.wsdl" );
- Console::WriteLine( " 'AddNumbersOut_cs.Wsdl' file was generated" );
-}
diff --git a/snippets/cpp/VS_Snippets_Remoting/SoapOperationBinding/CPP/soapoperationbinding.cpp b/snippets/cpp/VS_Snippets_Remoting/SoapOperationBinding/CPP/soapoperationbinding.cpp
deleted file mode 100644
index c0254af595f..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/SoapOperationBinding/CPP/soapoperationbinding.cpp
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-// System.Web.Services.Description.SoapBinding
-// System.Web.Services.Description.SoapOperationBinding
-// System.Web.Services.Description.SoapBodyBinding
-// System.Web.Services.Description.SoapAddressBinding
-// System.Web.Services.Description.SoapBinding.HttpTransport;
-/*
-The following example demonstrates the 'SoapBinding', 'SoapOperationBinding' ,
-'SoapBodyBinding' , SoapAddressBinding' classes and 'HttpTransport' field of 'SoapBinding' class.
-
-It takes a wsdl file which supports two protocols 'HttpGet' and 'HttpPost' as input. By using the
-'Read' method of 'ServiceDescription' class it gets the 'ServiceDescription' object. It uses
-the SOAP protocol related classes and creates 'Binding','Port' and 'PortType' elements of
-'SOAP' protocol. It adds all the elements to the 'ServiceDescription' object. The 'ServiceDescription'
-object creates another wsdl file which supports 'SOAP' also. This wsdl file is used to generate a proxy
-which is used by the .aspx file.
-*/
-//
-//
-//
-//
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-int main()
-{
- ServiceDescription^ myDescription = ServiceDescription::Read( "AddNumbersInput_cs.wsdl" );
-
- // Create a 'Binding' object for the 'SOAP' protocol.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "Service1Soap";
- XmlQualifiedName^ qualifiedName = gcnew XmlQualifiedName( "s0:Service1Soap" );
- myBinding->Type = qualifiedName;
-
- //
- SoapBinding^ mySoapBinding = gcnew SoapBinding;
- mySoapBinding->Transport = SoapBinding::HttpTransport;
- mySoapBinding->Style = SoapBindingStyle::Document;
- //
-
- // Add the 'SoapBinding' object to the 'Binding' object.
- myBinding->Extensions->Add( mySoapBinding );
-
- // Create the 'OperationBinding' object for the 'SOAP' protocol.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
-
- // Create the 'SoapOperationBinding' object for the 'SOAP' protocol.
- SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
- mySoapOperationBinding->SoapAction = "http://tempuri.org/AddNumbers";
- mySoapOperationBinding->Style = SoapBindingStyle::Document;
-
- // Add the 'SoapOperationBinding' object to 'OperationBinding' object.
- myOperationBinding->Extensions->Add( mySoapOperationBinding );
-
- // Create the 'InputBinding' object for the 'SOAP' protocol.
- InputBinding^ myInput = gcnew InputBinding;
- SoapBodyBinding^ mySoapBinding1 = gcnew SoapBodyBinding;
- mySoapBinding1->Use = SoapBindingUse::Literal;
- myInput->Extensions->Add( mySoapBinding1 );
-
- // Assign the 'InputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInput;
-
- // Create the 'OutputBinding' object' for the 'SOAP' protocol..
- OutputBinding^ myOutput = gcnew OutputBinding;
- myOutput->Extensions->Add( mySoapBinding1 );
-
- // Assign the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutput;
-
- // Add the 'OperationBinding' to 'Binding'.
- myBinding->Operations->Add( myOperationBinding );
-
- // Add the 'Binding' to 'BindingCollection' of 'ServiceDescription'.
- myDescription->Bindings->Add( myBinding );
- Port^ soapPort = gcnew Port;
- soapPort->Name = "Service1Soap";
- soapPort->Binding = gcnew XmlQualifiedName( "s0:Service1Soap" );
-
- // Create a 'SoapAddressBinding' object for the 'SOAP' protocol.
- SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
- mySoapAddressBinding->Location = "http://localhost/AddNumbers.cs.asmx";
-
- // Add the 'SoapAddressBinding' to the 'Port'.
- soapPort->Extensions->Add( mySoapAddressBinding );
-
- // Add the 'Port' to 'PortCollection' of 'ServiceDescription'.
- myDescription->Services[ 0 ]->Ports->Add( soapPort );
-
- // Write the 'ServiceDescription' as a WSDL file.
- myDescription->Write( "AddNumbersOut_cs.wsdl" );
- Console::WriteLine( " 'AddNumbersOut_cs.Wsdl' file was generated" );
-}
-//
-//
-//
-//
diff --git a/snippets/cpp/VS_Snippets_Remoting/WebServices_HttpBinding/CPP/httpbinding.cpp b/snippets/cpp/VS_Snippets_Remoting/WebServices_HttpBinding/CPP/httpbinding.cpp
deleted file mode 100644
index 311e3586e48..00000000000
--- a/snippets/cpp/VS_Snippets_Remoting/WebServices_HttpBinding/CPP/httpbinding.cpp
+++ /dev/null
@@ -1,151 +0,0 @@
-
-
-//System.Web.Services.HttpBinding;System.Web.Services.HttpBinding.Verb;
-//System.Web.Services.HttpAddressBinding;
-//System.Web.Services.HttpAddressBinding.Location;
-/*
- The following example demonstrates the 'HttpBinding()' constructor
- and 'Verb' property of class 'HttpBinding' and 'HttpAddressBinding()
- 'constructor and 'Location' property of class 'HttpAddressBinding'.
- It creates a 'ServiceDescription' instance by using the
- static read method of 'ServiceDescription' by passing the
- 'AddNumbers1.wsdl' name as an argument. It creates a 'Binding'
- object and adds that binding object to 'ServiceDescription'.
- It adds the 'PortType',Messages to the 'ServiceDescription' object.
- Finally it writes the 'ServiceDescrption' as a WSDL file with name
- 'AddNumbers.wsdl.
- */
-#using
-#using
-#using
-
-using namespace System;
-using namespace System::Web::Services::Description;
-using namespace System::Collections;
-using namespace System::Xml;
-
-int main()
-{
- ServiceDescription^ myDescription = ServiceDescription::Read( "AddNumbers1.wsdl" );
-
- // Create the 'Binding' object.
- Binding^ myBinding = gcnew Binding;
- myBinding->Name = "Service1HttpPost";
- XmlQualifiedName^ qualifiedName = gcnew XmlQualifiedName( "s0:Service1HttpPost" );
- myBinding->Type = qualifiedName;
-
- //
- //
- // Create the 'HttpBinding' object.
- HttpBinding^ myHttpBinding = gcnew HttpBinding;
- myHttpBinding->Verb = "POST";
-
- // Add the 'HttpBinding' to the 'Binding'.
- myBinding->Extensions->Add( myHttpBinding );
- //
- //
-
- // Create the 'OperationBinding' object.
- OperationBinding^ myOperationBinding = gcnew OperationBinding;
- myOperationBinding->Name = "AddNumbers";
- HttpOperationBinding^ myOperation = gcnew HttpOperationBinding;
- myOperation->Location = "/AddNumbers";
-
- // Add the 'HttpOperationBinding' to 'OperationBinding'.
- myOperationBinding->Extensions->Add( myOperation );
-
- // Create the 'InputBinding' object.
- InputBinding^ myInput = gcnew InputBinding;
- MimeContentBinding^ postMimeContentbinding = gcnew MimeContentBinding;
- postMimeContentbinding->Type = "application/x-www-form-urlencoded";
- myInput->Extensions->Add( postMimeContentbinding );
-
- // Add the 'InputBinding' to 'OperationBinding'.
- myOperationBinding->Input = myInput;
-
- // Create the 'OutputBinding' object.
- OutputBinding^ myOutput = gcnew OutputBinding;
- MimeXmlBinding^ postMimeXmlbinding = gcnew MimeXmlBinding;
- postMimeXmlbinding->Part = "Body";
- myOutput->Extensions->Add( postMimeXmlbinding );
-
- // Add the 'OutPutBinding' to 'OperationBinding'.
- myOperationBinding->Output = myOutput;
-
- // Add the 'OperationBinding' to 'Binding'.
- myBinding->Operations->Add( myOperationBinding );
-
- // Add the 'Binding' to 'BindingCollection' of 'ServiceDescription'.
- myDescription->Bindings->Add( myBinding );
-
- // Create a 'Port' object.
- Port^ postPort = gcnew Port;
- postPort->Name = "Service1HttpPost";
- postPort->Binding = gcnew XmlQualifiedName( "s0:Service1HttpPost" );
-
- //
- //
- // Create the 'HttpAddressBinding' object.
- HttpAddressBinding^ postAddressBinding = gcnew HttpAddressBinding;
- postAddressBinding->Location = "http://localhost/Service1.asmx";
-
- // Add the 'HttpAddressBinding' to the 'Port'.
- postPort->Extensions->Add( postAddressBinding );
- //
- //
-
- // Add the 'Port' to 'PortCollection' of 'ServiceDescription'.
- myDescription->Services[ 0 ]->Ports->Add( postPort );
-
- // Create a 'PortType' object.
- PortType^ postPortType = gcnew PortType;
- postPortType->Name = "Service1HttpPost";
- Operation^ postOperation = gcnew Operation;
- postOperation->Name = "AddNumbers";
- OperationMessage^ postInput = dynamic_cast(gcnew OperationInput);
- postInput->Message = gcnew XmlQualifiedName( "s0:AddNumbersHttpPostIn" );
- OperationMessage^ postOutput = dynamic_cast(gcnew OperationOutput);
- postOutput->Message = gcnew XmlQualifiedName( "s0:AddNumbersHttpPostOut" );
- postOperation->Messages->Add( postInput );
- postOperation->Messages->Add( postOutput );
-
- // Add the 'Operation' to 'PortType'.
- postPortType->Operations->Add( postOperation );
-
- // Adds the 'PortType' to 'PortTypeCollection' of 'ServiceDescription'.
- myDescription->PortTypes->Add( postPortType );
-
- // Create the 'Message' object.
- Message^ postMessage1 = gcnew Message;
- postMessage1->Name = "AddNumbersHttpPostIn";
-
- // Create the 'MessageParts'.
- MessagePart^ postMessagePart1 = gcnew MessagePart;
- postMessagePart1->Name = "firstnumber";
- postMessagePart1->Type = gcnew XmlQualifiedName( "s:string" );
- MessagePart^ postMessagePart2 = gcnew MessagePart;
- postMessagePart2->Name = "secondnumber";
- postMessagePart2->Type = gcnew XmlQualifiedName( "s:string" );
-
- // Add the 'MessagePart' objects to 'Messages'.
- postMessage1->Parts->Add( postMessagePart1 );
- postMessage1->Parts->Add( postMessagePart2 );
-
- // Create another 'Message' object.
- Message^ postMessage2 = gcnew Message;
- postMessage2->Name = "AddNumbersHttpPostOut";
- MessagePart^ postMessagePart3 = gcnew MessagePart;
- postMessagePart3->Name = "Body";
- postMessagePart3->Element = gcnew XmlQualifiedName( "s0:int" );
-
- // Add the 'MessagePart' to 'Message'
- postMessage2->Parts->Add( postMessagePart3 );
-
- // Add the 'Message' objects to 'ServiceDescription'.
- myDescription->Messages->Add( postMessage1 );
- myDescription->Messages->Add( postMessage2 );
-
- // Write the 'ServiceDescription' as a WSDL file.
- myDescription->Write( "AddNumbers.wsdl" );
- Console::WriteLine( "WSDL file with name 'AddNumber.Wsdl' file created Successfully" );
-}
diff --git a/snippets/csharp/System.Web.Services.Description/Binding/Extensions/Project.csproj b/snippets/csharp/System.Web.Services.Description/Binding/Extensions/Project.csproj
deleted file mode 100644
index cb048ae4467..00000000000
--- a/snippets/csharp/System.Web.Services.Description/Binding/Extensions/Project.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Library
- net10.0
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.cs b/snippets/csharp/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.cs
deleted file mode 100644
index fb38fe24972..00000000000
--- a/snippets/csharp/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.cs
+++ /dev/null
@@ -1,149 +0,0 @@
-// System.Web.Services.Description.Binding.Binding();System.Web.Services.Description.Binding.Name;
-// System.Web.Services.Description.Binding.Type;System.Web.Services.Description.Binding.Extensions;System.Web.Services.Description.Binding.Operations;
-// System.Web.Services.Description.BindingCollection.Insert;
-// System.Web.Services.Description.Binding.ServiceDescription;
-
-// Grouping Clause : Snippet5 and Snippet8 go together.
-
-/* The following example demonstrates the 'Binding()' constructor and the 'Extensions', 'Name' , 'Operations',
- 'ServiceDescription', and 'Type' properties of the 'Binding' class AND the 'Insert' method of the 'BindingCollection' class.
- The input to the program is a WSDL file 'MathService_input.wsdl' with all information related to SOAP protocol
- removed from it. In a way, it tries to simulate a scenario wherein a service initially did not support a protocol, however later
- on happen to support it.
- In this example, the WSDL file is modified to insert a new Binding for SOAP. The binding is populated based on
- WSDL document structure defined in WSDL specification. The ServiceDescription instance is loaded with values
- for 'Messages', 'PortTypes', 'Bindings', and 'Port'. The instance is then written to an external file 'MathService_new.wsdl'.
-
- * */
-using System;
-using System.Web.Services.Description;
-using System.Collections;
-using System.Xml;
-
-class MyClass
-{
- public static void Main()
- {
- ServiceDescription myServiceDescription = ServiceDescription.Read("MathService_input.wsdl");
- // Create SOAP Messages.
- myServiceDescription.Messages.Add(CreateMessage("AddSoapIn","parameters","Add",myServiceDescription.TargetNamespace));
- myServiceDescription.Messages.Add(CreateMessage("AddSoapOut","parameters","AddResponse",myServiceDescription.TargetNamespace));
- myServiceDescription.Messages.Add(CreateMessage("SubtractSoapIn","parameters","Subtract",myServiceDescription.TargetNamespace));
- myServiceDescription.Messages.Add(CreateMessage("SubtractSoapOut","parameters","SubtractResponse",myServiceDescription.TargetNamespace));
- myServiceDescription.Messages.Add(CreateMessage("MultiplySoapIn","parameters","Multiply",myServiceDescription.TargetNamespace));
- myServiceDescription.Messages.Add(CreateMessage("MultiplySoapOut","parameters","MultiplyResponse",myServiceDescription.TargetNamespace));
- myServiceDescription.Messages.Add(CreateMessage("DivideSoapIn","parameters","Divide",myServiceDescription.TargetNamespace));
- myServiceDescription.Messages.Add(CreateMessage("DivideSoapOut","parameters","DivideResponse",myServiceDescription.TargetNamespace));
-
- // Create a new PortType.
- PortType soapPortType = new PortType();
- soapPortType.Name = "MathServiceSoap";
- soapPortType.Operations.Add(CreateOperation("Add","AddSoapIn","AddSoapOut",myServiceDescription.TargetNamespace));
- soapPortType.Operations.Add(CreateOperation("Subtract","SubtractSoapIn","SubtractSoapOut",myServiceDescription.TargetNamespace));
- soapPortType.Operations.Add(CreateOperation("Multiply","MultiplySoapIn","MultiplySoapOut",myServiceDescription.TargetNamespace));
- soapPortType.Operations.Add(CreateOperation("Divide","DivideSoapIn","DivideSoapOut",myServiceDescription.TargetNamespace));
- myServiceDescription.PortTypes.Add(soapPortType);
-//
-//
-//
- // Create a new Binding for SOAP Protocol.
- Binding myBinding = new Binding();
- myBinding.Name = myServiceDescription.Services[0].Name + "Soap";
-//
-//
- // Pass the name of the existing porttype 'MathServiceSoap' and the Xml targetNamespace attribute of the Descriptions tag.
- myBinding.Type = new XmlQualifiedName("MathServiceSoap",myServiceDescription.TargetNamespace);
-//
-//
- // Create SOAP Extensibility element.
- SoapBinding mySoapBinding = new SoapBinding();
- // SOAP over HTTP.
- mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http";
- mySoapBinding.Style = SoapBindingStyle.Document;
- // Add tag soap:binding as an extensibility element.
- myBinding.Extensions.Add(mySoapBinding);
-//
-//
- // Create OperationBindings for each of the operations defined in asmx file.
- OperationBinding addOperationBinding = CreateOperationBinding("Add",myServiceDescription.TargetNamespace);
- myBinding.Operations.Add(addOperationBinding);
- OperationBinding subtractOperationBinding = CreateOperationBinding("Subtract",myServiceDescription.TargetNamespace);
- myBinding.Operations.Add(subtractOperationBinding);
- OperationBinding multiplyOperationBinding = CreateOperationBinding("Multiply",myServiceDescription.TargetNamespace);
- myBinding.Operations.Add(multiplyOperationBinding);
- OperationBinding divideOperationBinding = CreateOperationBinding("Divide",myServiceDescription.TargetNamespace);
- myBinding.Operations.Add(divideOperationBinding);
-//
- myServiceDescription.Bindings.Insert(0,myBinding);
-//
-//
-//
- Console.WriteLine("\nTarget Namespace of the Service Description to which the binding was added is:" + myServiceDescription.Bindings[0].ServiceDescription.TargetNamespace);
-//
- // Create Port.
- Port soapPort = new Port();
- soapPort.Name = "MathServiceSoap";
- soapPort.Binding = new XmlQualifiedName(myBinding.Name,myServiceDescription.TargetNamespace);
- // Create SoapAddress extensibility element to add to port.
- SoapAddressBinding mySoapAddressBinding = new SoapAddressBinding();
- mySoapAddressBinding.Location = "http://localhost/BindingCollectionSample/MathService.asmx";
- soapPort.Extensions.Add(mySoapAddressBinding);
- // Add port to the MathService which is the first service in the Service Collection.
- myServiceDescription.Services[0].Ports.Add(soapPort);
- // Save the ServiceDescripition instance to an external file.
- myServiceDescription.Write("MathService_new.wsdl");
- Console.WriteLine("\nSuccessfully added bindings for SOAP protocol and saved results in file MathService_new.wsdl");
- Console.WriteLine("\n This file should be passed to wsdl tool as input to generate proxy");
- }
- // Creates a Message with name ="messageName" having one MessagePart with name = "partName".
- public static Message CreateMessage(string messageName,string partName,string element,string targetNamespace)
- {
- Message myMessage = new Message();
- myMessage.Name = messageName;
- MessagePart myMessagePart = new MessagePart();
- myMessagePart.Name = partName;
- myMessagePart.Element = new XmlQualifiedName(element,targetNamespace);
- myMessage.Parts.Add(myMessagePart);
- return myMessage;
- }
-//
- // Used to create OperationBinding instances within 'Binding'.
- public static OperationBinding CreateOperationBinding(string operation,string targetNamespace)
- {
- // Create OperationBinding instance for operation.
- OperationBinding myOperationBinding = new OperationBinding();
- myOperationBinding.Name = operation;
- // Create InputBinding for operation.
- InputBinding myInputBinding = new InputBinding();
- SoapBodyBinding mySoapBodyBinding = new SoapBodyBinding();
- mySoapBodyBinding.Use = SoapBindingUse.Literal;
- myInputBinding.Extensions.Add(mySoapBodyBinding);
- // Create OutputBinding for operation.
- OutputBinding myOutputBinding = new OutputBinding();
- myOutputBinding.Extensions.Add(mySoapBodyBinding);
- // Add 'InputBinding' and 'OutputBinding' to 'OperationBinding'.
- myOperationBinding.Input = myInputBinding;
- myOperationBinding.Output = myOutputBinding;
- // Create extensibility element for 'SoapOperationBinding'.
- SoapOperationBinding mySoapOperationBinding = new SoapOperationBinding();
- mySoapOperationBinding.Style = SoapBindingStyle.Document;
- mySoapOperationBinding.SoapAction = targetNamespace + operation;
- // Add extensibility element 'SoapOperationBinding' to 'OperationBinding'.
- myOperationBinding.Extensions.Add(mySoapOperationBinding);
- return myOperationBinding;
- }
-//
- // Used to create Operations under PortType.
- public static Operation CreateOperation(string operationName,string inputMessage,string outputMessage,string targetNamespace)
- {
- Operation myOperation = new Operation();
- myOperation.Name = operationName;
- OperationMessage input = (OperationMessage) new OperationInput();
- input.Message = new XmlQualifiedName(inputMessage,targetNamespace);
- OperationMessage output = (OperationMessage) new OperationOutput();
- output.Message = new XmlQualifiedName(outputMessage,targetNamespace);
- myOperation.Messages.Add(input);
- myOperation.Messages.Add(output);
- return myOperation;
- }
-}
diff --git a/snippets/csharp/System.Web.Services.Description/Binding/Overview/Project.csproj b/snippets/csharp/System.Web.Services.Description/Binding/Overview/Project.csproj
deleted file mode 100644
index cb048ae4467..00000000000
--- a/snippets/csharp/System.Web.Services.Description/Binding/Overview/Project.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Library
- net10.0
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.cs b/snippets/csharp/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.cs
deleted file mode 100644
index 0436b9e8554..00000000000
--- a/snippets/csharp/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-// System.Web.Services.Description.BindingCollection;System.Web.Services.Description.BindingCollection.Item[Int32];
-// System.Web.Services.Description.BindingCollection.Item[String];System.Web.Services.Description.BindingCollection.CopyTo
-
-/* The program reads a wsdl document "MathService.wsdl" and instantiates a ServiceDescription instance
- from the WSDL document.A BindingCollection instance is then retrieved from this ServiceDescription instance
- and it's members are demonstrated.
- */
-using System;
-using System.Web.Services.Description;
-using System.Collections;
-using System.Xml;
-
-class MyClass
-{
- public static void Main()
- {
- Binding myBinding;
- ServiceDescription myServiceDescription = ServiceDescription.Read("MathService_input.wsdl");
- Console.WriteLine("Total Number of bindings :" + myServiceDescription.Bindings.Count);
-//
- for(int i=0; i < myServiceDescription.Bindings.Count; ++i)
- {
- Console.WriteLine("\nBinding " + i );
- // Get Binding at index i.
- myBinding = myServiceDescription.Bindings[i];
- Console.WriteLine("\t Name : " + myBinding.Name);
- Console.WriteLine("\t Type : " + myBinding.Type);
- }
-//
-//
- Binding[] myBindings = new Binding[myServiceDescription.Bindings.Count];
- // Copy BindingCollection to an Array.
- myServiceDescription.Bindings.CopyTo(myBindings,0);
- Console.WriteLine("\n\n Displaying array copied from BindingCollection");
- for(int i=0;i < myServiceDescription.Bindings.Count; ++i)
- {
- Console.WriteLine("\nBinding " + i );
- Console.WriteLine("\t Name : " + myBindings[i].Name);
- Console.WriteLine("\t Type : " + myBindings[i].Type);
- }
-//
-//
- // Get Binding Name = "MathServiceSoap".
- myBinding = myServiceDescription.Bindings["MathServiceHttpGet"];
- if (myBinding != null)
- {
- Console.WriteLine("\n\nName : " + myBinding.Name);
- Console.WriteLine("Type : " + myBinding.Type);
- }
-//
- myServiceDescription = null;
- myBinding = null;
- }
-}
\ No newline at end of file
diff --git a/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/Project.csproj b/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/Project.csproj
deleted file mode 100644
index cb048ae4467..00000000000
--- a/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/Project.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Library
- net10.0
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.cs b/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.cs
deleted file mode 100644
index e74b79c0496..00000000000
--- a/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-// System.Web.Services.Description.BindingCollection;System.Web.Services.Description.Remove;System.Web.Services.Description.Add;
-// System.Web.Services.Description.Contains;System.Web.Services.Description.IndexOf
-
-/*The following example reads the contents of a file 'MathService.wsdl' into a ServiceDescription instance.
- Removes first binding in the BindingCollection of the ServiceDescription instance and writes the current
- 'ServiceDescription' instance into a temporary file.
- Adds the same binding back again into the instance and writes to another temporary file.
-*/
-using System;
-using System.Web.Services.Description;
-
-class MyClass
-{
- public static void Main()
- {
- Binding myBinding;
-//
-//
-//
-//
- ServiceDescription myServiceDescription = ServiceDescription.Read("MathService_input.wsdl");
- Console.WriteLine("Total Number of bindings defined are:" + myServiceDescription.Bindings.Count);
- myBinding = myServiceDescription.Bindings[0];
-
- // Remove the first binding in the collection.
- myServiceDescription.Bindings.Remove(myBinding);
- Console.WriteLine("Successfully removed binding " + myBinding.Name);
- Console.WriteLine("Total Number of bindings defined now are:" + myServiceDescription.Bindings.Count);
- myServiceDescription.Write("MathService_temp.wsdl");
-//
- // Add binding to the ServiceDescription instance.
- myServiceDescription.Bindings.Add(myBinding);
-//
- if (myServiceDescription.Bindings.Contains(myBinding))
- Console.WriteLine("Successfully added binding " + myBinding.Name);
-//
- Console.WriteLine("Binding was added at index " + myServiceDescription.Bindings.IndexOf(myBinding));
- Console.WriteLine("Total Number of bindings defined now are:" + myServiceDescription.Bindings.Count);
- myServiceDescription.Write("MathService_temp1.wsdl");
-//
- myServiceDescription = null;
- myBinding = null;
- }
-}
\ No newline at end of file
diff --git a/snippets/csharp/System.Web.Services.Description/DocumentableItem/Documentation/MathService_cs.wsdl b/snippets/csharp/System.Web.Services.Description/DocumentableItem/Documentation/MathService_cs.wsdl
deleted file mode 100644
index 9aa220c7ed2..00000000000
--- a/snippets/csharp/System.Web.Services.Description/DocumentableItem/Documentation/MathService_cs.wsdl
+++ /dev/null
@@ -1,352 +0,0 @@
-
-
-
-
- All types have been defined here
-
-
-
-