Click or drag to resize

WebHelper Class

Utility methods for AspNetCore applications.
Inheritance Hierarchy

Namespace:  Neon.Web
Assembly:  Neon.Web (in Neon.Web.dll) Version: 2.2.0
public static class WebHelper

The WebHelper type exposes the following members.

Public methodStatic memberAddNeon(IMvcBuilder, IServiceContainer, Boolean)
Adds the services from an IServiceContainer to the IServiceCollection. This is commonly used when configuring services for an ASP.NET application pipeline. The method also enables response compression by default.
Public methodStatic memberAddNeon(IMvcBuilder, Boolean, FuncType, Boolean)
Performs Neon related initialization including adding the the RoundTripJsonInputFormatter, RoundTripJsonOutputFormatter and Newtonsoft JSON formatters to the request pipeline. These handle serialization and deserailzation of JSON text submitted to and returned from web services and classes generated by Neon.ModelGen implementing IRoundtripData as well as many basic .NET types.
Public methodStatic memberGenerateActivityId
Generates an opaque globally unique activity ID.
Public methodStatic memberGetUri
Returns the full URI for an HttpRequest (not including the port number).
See Also