Base solution for your next web application

Activities of "sempus"

I have too. How do I turn off automatic updates?

Hi @Velu,

Could you please share to [email protected]

Many Thanks!

Hi, I'm running IIS Express VS 2019. I changed my backEnd like that: (But still Error !!!) In ...Web.Host > Program.cs

public static IWebHostBuilder CreateWebHostBuilder(string[] args)
        {
            return new WebHostBuilder()
                .UseKestrel(opt =>
                {
                    opt.AddServerHeader = false;
                    //opt.Limits.MaxRequestLineSize = 16 * 1024;
                    opt.Limits.MaxRequestLineSize = int.MaxValue;
                    opt.Limits.MaxRequestBodySize = long.MaxValue;
                })
                .UseContentRoot(Directory.GetCurrentDirectory())
                .UseIIS()
                .UseIISIntegration()
                .UseStartup<Startup>();
        }

In ...Web.Host > StartUp.cs > ConfigureServices

public IServiceProvider ConfigureServices(IServiceCollection services)
        {
            // IIS request body size
            services.Configure<IISServerOptions>(options =>
            {
                options.MaxRequestBodySize = long.MaxValue;
            });

            // Kestrel request body size
            services.Configure<KestrelServerOptions>(options =>
            {
                options.Limits.MaxRequestBodySize = long.MaxValue; // if don't set default value is: 30 MB
            });

            //Multipart body length limit
           services.Configure<FormOptions>(options =>
           {
               options.ValueLengthLimit = int.MaxValue;
               options.MultipartBodyLengthLimit = long.MaxValue; // <-- if don't set default value is: 128 MB
               options.MultipartBoundaryLengthLimit = int.MaxValue;
               options.MultipartHeadersCountLimit = int.MaxValue;
               options.MultipartHeadersLengthLimit = int.MaxValue;
           });

            //MVC
            services.AddControllersWithViews(options =>
            {
                options.Filters.Add(new AbpAutoValidateAntiforgeryTokenAttribute());
            }).AddNewtonsoftJson();
            ...
    }

I have seen some posts ng2-file-upload hangs on pending then fails with cors error ( Large Files) Or how to upload big file I tried deploy to use IIS => But not Ok (like IISEXpress)

 <?xml version="1.0" encoding="utf-8"?>
<configuration>
	<location path="." inheritInChildApplications="false">
		<system.web>
			<!-- ~ 2GB -->
			<httpRuntime maxRequestLength="2147483647" />
		</system.web>
		<system.webServer>
			<security>
			  <requestFiltering>
				<!-- ~ 4GB -->
				<requestLimits maxAllowedContentLength="4294967295" />
			  </requestFiltering>
			</security>
			<handlers>
			<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
			</handlers>
			<aspNetCore processPath="dotnet" arguments=".\Sp.Portal.Web.Host.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
		</system.webServer>
	</location>
</configuration>
<!--ProjectGuid: 9fc37c62-2105-4d32-9724-7323b959504b-->

Hi, I still don't feel satisfied With Excel Export case, Why don't we use "return File" as soon as we get the exportfile stream? I just want to understand the real reason we chose to use the cache here. Thank

My product version is V08.07.00 (Angular + NetCore 3). I think this my mistake. I deleted all the data in AbpEntityChangeSets and AbpEntityChanges Then, The data has displayed correctly. Maybe when I delete the data directly in the Database ('Sp.Portal.AnhkMains.KeHoachKscl") and don't clear AbpEntityChanges => So, The old entityId is still in AbpEntityChanges, AbpEntityChangeSets

Thank for replying!

Showing 1 to 5 of 5 entries