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 System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Devpoint | |
{ | |
public class CsvReader | |
{ |
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
<IfModule mod_rewrite.c> | |
## Serve precompressed Brotli files if they exist. | |
## Adapted from <https://stackoverflow.com/questions/46487635/how-to-serve-precompressed-gzip-brotli-files-with-htaccess> | |
## Make sure `RewriteBase /` is present somewhere in your .htaccess file. | |
# If the web browser accepts Brotli encoding... | |
RewriteCond %{HTTP:Accept-encoding} br | |
# ...and the web browser is fetching a probably pre-compressed file... | |
RewriteCond %{REQUEST_URI} .*\.(css|dat|html|js|json|svg|wasm) | |
# ...and a matching pre-compressed file exists... | |
RewriteCond %{REQUEST_FILENAME}.br -s |
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 System; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using Microsoft.AspNetCore.Components.Forms; | |
namespace Bookin.Web.Elements | |
{ | |
public static class FieldIdentifierHelper | |
{ | |
private readonly static char[] Separators = ['.', '[']; |