Show / Hide Table of Contents

Class UpstreamServerStartup

Startup class for a ASP.NET Core web service that implements the Server-Server sync protocol.

A web service started with UpstreamServerStartup can act as an upstream server for WSUS.

This startup configures the required SOAP adapter required for the SOAP based Server-Server sync protocol.

Inheritance
System.Object
UpstreamServerStartup
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Endpoints.ServerSync
Assembly: package-graph-endpoints-microsoft-update.dll
Syntax
public class UpstreamServerStartup

Constructors

| Improve this Doc View Source

UpstreamServerStartup(IConfiguration)

Initialize a new instance of UpstreamServerStartup.

Declaration
public UpstreamServerStartup(IConfiguration config)
Parameters
Type Name Description
Microsoft.Extensions.Configuration.IConfiguration config

ASP.NET configuration.

Must contain a string entry "metadata-path" with the path to the metadata source to use

Must contain a string entry "service-config" with the service configuration JSON

Can contain a string entry "content-path" with the path to the content store to use if serving update content

Methods

| Improve this Doc View Source

Configure(IApplicationBuilder, IHostingEnvironment, ILoggerFactory)

Called by ASP.NET to configure a web app's application pipeline

Declaration
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
Parameters
Type Name Description
Microsoft.AspNetCore.Builder.IApplicationBuilder app

Applicatin to configure.

A SOAP endpoint is configured for this app.

Microsoft.AspNetCore.Hosting.IHostingEnvironment env

Hosting environment.

Microsoft.Extensions.Logging.ILoggerFactory loggerFactory

Logging factory.

| Improve this Doc View Source

ConfigureServices(IServiceCollection)

Called by ASP.NET to configure services

Declaration
public void ConfigureServices(IServiceCollection services)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services

Service collection.

The server-server sync and authentication services are added to this list.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX