Base solution for your next web application

Activities of "alaamh"

update ngx-bootstrap to 1.9.3 to fix prod build issue

I did a workaround by removing the package reference Microsoft.VisualStudio.Web.CodeGeneration.Design (to disable scaffolding)

  • test it again not working :(

Before the upgrade, I was able to Build to platform target x64, After migrated an ASP.Net Core 1.1 application to the new 2.0 version that was just released. Now I get the following exception:

for:

services.AddMvc(options =>
 {
       options.Filters.Add(new CorsAuthorizationFilterFactory(DefaultCorsPolicyName));
});

I'm getting this error:

System.BadImageFormatException: 'Could not load file or assembly 'dotnet-aspnet-codegenerator-design' or one of its dependencies. An attempt was made to load a program with an incorrect format.'

Any advice?

What are good ways to protect website content from crawlers?

How can the backend server reject a large series of requests from the same IP address in a given time period?

What is your email address, please email me <a href="mailto:[email protected]">[email protected]</a>

@ismcagdas thank you for the details.

How to configure multi-tenant using this approach? the wildcard (tenant sub-domains) should be in the client web role or host web role?

Thank you ismcagdas,

I'm able to load semantic ui when loading 'main' app by changing the link to template in head like this:

$('head #template').attr('href', '/assets/metronic/libs/semantic/semantic.min.css');

so when main route is visited, I replace bootstrap link using jquery, Is this Ok?

Question

I would like to use semantic-ui for the public web site (main) and keep bootstrap for the control panel (admin site), what could be the right approach?

Added this to make it work:

<ItemGroup> <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version = "1.0.0"/> </ItemGroup>

and install Install-Package System.Diagnostics.DiagnosticSource -Pre

after restart the app service (it blows up :) ) It's working ..

Showing 1 to 10 of 20 entries