SeqBuilderExtensions.AddSeq Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a Seq server resource to the application model. A container is used for local development.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.SeqResource> AddSeq (this Aspire.Hosting.IDistributedApplicationBuilder builder, string name, int? port = default);
static member AddSeq : Aspire.Hosting.IDistributedApplicationBuilder * string * Nullable<int> -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.SeqResource>
<Extension()>
Public Function AddSeq (builder As IDistributedApplicationBuilder, name As String, Optional port As Nullable(Of Integer) = Nothing) As IResourceBuilder(Of SeqResource)
Parameters
- name
- String
The name to give the resource.
Returns
Remarks
This version of the package defaults to the tag of the container image.