SetupController Class

Namespace:
Weavy.Web.Controllers
Assembly:
Weavy.Web.dll

Controller for the setup wizard.

public class SetupController : WeavyController
Inheritance:
System.Object → WeavyControllerSetupController

Constructors

SetupController()

Methods

Account() Display form for creating first user account.
Account(SetupAccountModel) Persist and authenticate the new or updated account.
Configure(ConfigurationModel) Endpoint used by Weavy Management Portal to configure a new installation.
Index() Display setup wizard.
License() Display form to register/update license.
License(LicenseModel) Try to register the supplied license.
Register() Display form for requesting a new license.
Register(LicenseRequest) Submit license request.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(Object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(Object, Nullable, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(Object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.