Skip to content
View marcin-burak's full-sized avatar
Block or Report

Block or report marcin-burak

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
marcin-burak/README.md

Hi there πŸ‘‹

My name is Marcin and I'm a .NET developer πŸ‘¨β€πŸ’» focused on back-ends πŸ’» and Azure ☁️ infrastructure.

Pinned

  1. playground playground Public

    My playground for trying out new technologies and patterns.

    C#

  2. files-collab files-collab Public

    Simple solution for storing and sharing files.

    C#

  3. ASP.NET options startup validation w... ASP.NET options startup validation with FluentValidation
    1
    public static class OptionsBuilderFluentValidationExtensions
    2
    {
    3
        public static OptionsBuilder<TOptions> ValidateWithFluentValidation<TOptions>(this OptionsBuilder<TOptions> optionsBuilder) where TOptions : class
    4
        {
    5
            optionsBuilder.Services.AddSingleton<IValidateOptions<TOptions>>(serviceProvider =>
  4. Entity Framework database initializa... Entity Framework database initialization on ASP.NET startup
    1
    public sealed class DatabaseInitialization(IOptionsSnapshot<SqlServerOptions> sqlServerOptions, IWebHostEnvironment environment, DatabaseContext databaseContext)
    2
    {
    3
        private readonly IOptionsSnapshot<SqlServerOptions> _sqlServerOptions = sqlServerOptions;
    4
        private readonly IWebHostEnvironment _environment = environment;
    5
        private readonly DatabaseContext _databaseContext = databaseContext;
  5. Hide server HTTP headers Hide server HTTP headers
    1
    <?xml version="1.0" encoding="utf-8"?>
    2
    <configuration>
    3
    	<system.webServer>
    4
    		<security>
    5
    			<requestFiltering removeServerHeader="true" />
  6. Minimal SQL Server docker compose Minimal SQL Server docker compose
    1
    version: '3.4'
    2
    
                  
    3
    services:
    4
      web:
    5
        image: ${DOCKER_REGISTRY-}<PROJECT>