# TransactionalStateFactory Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactionalstatefactory/)

## Create(TransactionalStateConfiguration) {#create-1-orleans-transactions-abstractions-transactionalstateconfiguration-fe168c9e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactionalstatefactory/methods/create-1-orleans-transactions-abstractions-transactionalstateconfiguration-fe168c9e/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/State/TransactionalStateFactory.cs#L20-L23)

```csharp
public ITransactionalState<TState> Create<TState>(TransactionalStateConfiguration config)
```

### Parameters

- `config` (`TransactionalStateConfiguration`)

## GetJsonSerializerSettings(IServiceProvider) {#getjsonserializersettings-system-iserviceprovider-95fc2fc8}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactionalstatefactory/methods/getjsonserializersettings-system-iserviceprovider-95fc2fc8/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/State/TransactionalStateFactory.cs#L28-L30)

```csharp
public static JsonSerializerSettings GetJsonSerializerSettings(IServiceProvider serviceProvider)
```

### Parameters

- `serviceProvider` (`IServiceProvider`)
