- console-cs {to:'.'}
project,C#
C# .NET 8 Console App - console-fs {to:'.'}
project,F#
F# .NET 8 Console App - console-vb {to:'.'}
project,VB
VB .NET 8 Console App - console-ss {to:'.'}
project,S#
#Script Console App - console-lisp {to:'.'}
project,Lisp
#Script Lisp Console App - init {to:'.'}
project,C#
Empty .NET 8 ServiceStack App
This file contains 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
puts "Hello World!" |
This file contains 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.Identity; | |
using Microsoft.EntityFrameworkCore; | |
using MyApp.Data; | |
using MyApp.Migrations; | |
using MyApp.ServiceModel; | |
using ServiceStack; | |
using ServiceStack.Data; | |
using ServiceStack.OrmLite; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureDbMigrations))] |
This file contains 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.Identity; | |
using Microsoft.EntityFrameworkCore; | |
using MyApp.Data; | |
using MyApp.Migrations; | |
using MyApp.ServiceModel; | |
using ServiceStack; | |
using ServiceStack.Data; | |
using ServiceStack.OrmLite; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureDbMigrations))] |
This file contains 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.Identity; | |
using Microsoft.EntityFrameworkCore; | |
using MyApp.Data; | |
using MyApp.Migrations; | |
using MyApp.ServiceModel; | |
using ServiceStack; | |
using ServiceStack.Data; | |
using ServiceStack.OrmLite; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureDbMigrations))] |
This file contains 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.Identity; | |
using Microsoft.EntityFrameworkCore; | |
using MyApp.Data; | |
using MyApp.Migrations; | |
using MyApp.ServiceModel; | |
using ServiceStack; | |
using ServiceStack.Data; | |
using ServiceStack.OrmLite; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureDbMigrations))] |
This file contains 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 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
[assembly: HostingStartup(typeof(MyApp.ConfigureCors))] | |
namespace MyApp; | |
public class ConfigureCors : IHostingStartup | |
{ | |
public void Configure(IWebHostBuilder builder) => builder | |
.ConfigureServices(services => | |
{ | |
services.AddCors(options => { |
This file contains 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 Funq; | |
using ServiceStack; | |
using MyApp.ServiceInterface; | |
[assembly: HostingStartup(typeof(MyApp.AppHost))] | |
namespace MyApp; | |
public class AppHost : AppHostBase, IHostingStartup | |
{ |
This file contains 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.Messaging; | |
using ServiceStack.Aws; | |
using ServiceStack.Aws.Sqs; | |
[assembly: HostingStartup(typeof(MyApp.ConfigureMq))] | |
namespace MyApp |
NewerOlder