A JSON action result which includes an Access-Control-Allow-Origin header.
Namespace: YetaWF.Core.Controllers
Assembly: YetaWF.Core
Inheritance
public class CorsJsonResult : YetaWF.Core.Controllers.YJsonResult;
CorsJsonResult | Constructor. |
ContentType | Gets or sets the MediaTypeHeaderValue representing the Content-Type header of the response. | |
Data | (not specified) | |
SerializerSettings | Gets or sets the serializer settings. <para> When using <c>System.Text.Json</c>, this should be an instance of JsonSerializerOptions</para><para> When using <c>Newtonsoft.Json</c>, this should be an instance of <c>JsonSerializerSettings</c>. </para> | |
StatusCode | Gets or sets the HTTP status code. | |
TargetDomain | Defines the allowable target domain. Specify "*" for all domains. | |
Value | Gets or sets the value to be formatted. |
Equals | Determines whether the specified object is equal to the current object. | |
ExecuteResult | Executes the result operation of the action method synchronously. This method is called by MVC to process the result of an action method. | |
ExecuteResultAsync | Processes the action result. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. | |
GetHashCode | Serves as the default hash function. | |
GetType | Gets the Type of the current instance. | |
MemberwiseClone | Creates a shallow copy of the current Object. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. | |
ToString | Returns a string that represents the current object. |
See Also YetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com