Base solution for your next web application

Activities of "luqc1985"

Question

hi,

My project is based on MVC+JQuery When I add an Area based on the original, access via URL, as long as it is the first access to the Area, the loading time is very long, need special configuration?

Thanks

Hi, I have two properties A and B. I want to verify the rules of B when A is true. What should I do in my entity class? Thanks,

Question

Hello,

I need to divide users into employees and customers. Employees and customers need to expand some attributes. How should my entity be defined? Can you share your experience in this area?

Thanks in advance.

public class Form : FullAuditedEntity
{
}
[Table("Flows")]
public class FlowUnit : FullAuditedEntity
{
    public virtual long FormId { get; set; }

    [ForeignKey("FormId")]
    public virtual FormUnit FlowForm { get; set; }
}

I have such two tables, there is a primary foreign key relationship, after the data is migrated, when using Repository.GetAsync query, flowUnit.FlowForm is null, I am using EntityFrameworkCore.SqlServer, the previous EntityFramework version does not seem to Question, how can I make the flowUnit.FlowForm have a corresponding value? Can anyone help me for this ? <span class="colour" style="color: rgb(0, 0, 0);">Thanks in advance for any advice given.</span>

hi all, Is there a more mature file upload plugin? Can you recommend it? Thanks

Question

hi , After each modification of the JS file, I need to regenerate the solution to execute the bundle. Is there any way to quickly complete the packaging? For example, save or F6 build a solution instead of regenerating the solution, That's too slow. Regards.

hi , I'm trying to use the subdomain as Tenant approach. I updated my appconfig to use the https://{TENANCY_NAME}.domain.com/.

When the tenant is already registered, it will locate the tenant login page. If it is not registered, it will locate the host login page. I want to go to the Host login page only when I enter admin.domain.com. Other unregistered tenants are located. 404 page. What should I do?

Thanks in advance!

hi The following configuration file is used in the framework. How should it be configured in.net core? <a class="postlink" href="https://github.com/aspnetboilerplate/sample-blog-module">https://github.com/aspnetboilerplate/sample-blog-module</a>

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  </configSections>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="AutoMapper" publicKeyToken="be96cd2c38ef1005" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.1.36.0" newVersion="1.1.36.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
  </startup>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="mssqllocaldb" />
      </parameters>
    </defaultConnectionFactory>
    <providers>
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
    </providers>
  </entityFramework>
</configuration>

Thank you for your help

Showing 1 to 8 of 8 entries