skip to Main Content

how to implement Gzip compressor for one endpoint in .NET core – Asp.net

I have a .NET core project (EntityRelationship) and enable the Gzip compressor for that project. Program.cs using EntityRelationship.Data; using Microsoft.AspNetCore.ResponseCompression; using Microsoft.EntityFrameworkCore; using System.IO.Compression; var builder = WebApplication.CreateBuilder(args); // Add services to the container. ... builder.Services.AddResponseCompression(options => { options.EnableForHttps =…

VIEW QUESTION

Razorpage navigation leads to page self – Asp.net

I am trying to navigate from the main Menu Index to my CreateJob file: I am also needing to give the user Id with the link. I tried 3 different ideas: <li><a href="../Jobs/CreateJob?id=test">Job anlegen3</a></li> <a asp-page="../Jobs/CreateJob?id=test">Job anlegen</a> @Html.ActionLink("Job anlegen", "Jobs",…

VIEW QUESTION
Back To Top
Search