This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
# Remove the line below if you want to inherit .editorconfig settings from higher directories | |
root = true | |
[*] | |
#### Core EditorConfig Options #### | |
# Indentation and spacing | |
indent_size = 4 | |
indent_style = space |
using System.IO.Compression; | |
using Microsoft.AspNetCore.Http; | |
namespace DecompressDemo.Models.Services.Infrastructure | |
{ | |
public class DocumentPersister | |
{ | |
public void DecompressZipArchive(string directory, IFormFile formFile) | |
{ | |
using Stream stream = formFile.OpenReadStream(); |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).