This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MyApp.Migrations; | |
using ServiceStack; | |
using ServiceStack.Data; | |
using ServiceStack.OrmLite; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureDbMigrations))] | |
namespace MyApp; | |
// Code-First DB Migrations: https://docs.servicestack.net/ormlite/db-migrations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.DependencyInjection; | |
using ServiceStack; | |
using ServiceStack.Data; | |
using ServiceStack.DataAnnotations; | |
using ServiceStack.OrmLite; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureDb))] | |
namespace MyApp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MyApp.Migrations; | |
using ServiceStack; | |
using ServiceStack.Data; | |
using ServiceStack.OrmLite; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureDbMigrations))] | |
namespace MyApp; | |
// Code-First DB Migrations: https://docs.servicestack.net/ormlite/db-migrations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.Extensions.DependencyInjection; | |
using MongoDB.Driver; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureMongoDb))] | |
namespace MyApp | |
{ | |
public class ConfigureMongoDb : IHostingStartup | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.Extensions.Options; | |
using Marten; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureDb))] | |
namespace MyApp | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.DependencyInjection; | |
using ServiceStack; | |
using ServiceStack.Data; | |
using ServiceStack.DataAnnotations; | |
using ServiceStack.OrmLite; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureDb))] | |
namespace MyApp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.DependencyInjection; | |
using ServiceStack; | |
using ServiceStack.Aws; | |
using ServiceStack.Aws.DynamoDb; | |
using Amazon; | |
using Amazon.DynamoDBv2; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureDynamoDb))] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ServiceStack; | |
using ServiceStack.Data; | |
using ServiceStack.Caching; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureValidation))] | |
namespace MyApp; | |
public class ConfigureValidation : IHostingStartup | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ServiceStack; | |
using ServiceStack.Validation; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureValidation))] | |
namespace MyApp; | |
public class ConfigureValidation : IHostingStartup | |
{ | |
public void Configure(IWebHostBuilder builder) => builder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ServiceStack; | |
using ServiceStack.Script; | |
[assembly: HostingStartup(typeof(MyApp.FeatureUserAuth))] | |
namespace MyApp | |
{ | |
public class FeatureUserAuth : IHostingStartup | |
{ | |
public void Configure(IWebHostBuilder builder) => builder |