Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "thor"

Hi,

When I create a new XXXAppService class and inherit from the initial MyProjectAppServiceBase and IApplicationService everything works fine - - IF the class is located in the MyProject.Application project, but not if I create it in MyNewProject. Why is that?

I am guessing this has to do with the way DI has been implemented. Is there a way to force DI to identify AppServices in other projects?

I tried to create a Folder under wwwroot already. That didn't work (it stopped complaining about the folder not existing, but still got the 500 error - but I couldn't find anything in the logs to say why).

Had same problem.

Merged version 5.3 into my project. Worked fine locally, but 5.3 failed with strange error code 500 when running in Azure. (Took a while to find the problem because very little useful logging were provided). I am not using Plugins (yet) so not an issue to comment out this line...

No worries ;)

No, I have not tried it yet. But, I did read your suggested way forward as posted in early 2016. I was just hoping there was now a more "elegant" way to do it.

Hi,

For my project I have lots of requirements for users to capture data based on predetermined drop downs in forms.

Not sure what the most elegant approach would be (including localization). I would appreciate any tips or tricks from people with experience in implementing this in Abp.

Any update on this old post?

I have resolved the issues. I will try to share my lessons learnt once I complete my Azure experience.

Here is a copy of my current web.config from the Angular project. I have experimented with various combinations of the rewrite rules. But they are currently disabled as it doesn't seem to make much difference.


<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <rewrite>
      <rules>
            
          

          
          
      </rules>
    </rewrite>
      
    <staticContent>
        <remove fileExtension=".svg" />
        <remove fileExtension=".eot" />
        <remove fileExtension=".woff" />
        <remove fileExtension=".woff2" />
        <remove fileExtension=".json" />
        <mimeMap fileExtension=".json" mimeType="application/json" />
        <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
        <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
        <mimeMap fileExtension=".woff" mimeType="application/font-woff" />
        <mimeMap fileExtension=".woff2" mimeType="application/font-woff" />
    </staticContent>
  </system.webServer>
</configuration>

The issue seems to be that instead of retrieving the fonts from the root rather than /assets/fonts/poppins/ etc. In other words it looks like a routing issue.

web.config from host:

<?xml version="1.0" encoding="utf-8"?>
<configuration>

  

  <system.webServer>
    <handlers>
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
    </handlers>
    <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
  </system.webServer>
</configuration>

No, I have installed it as two different app services...

Question

Hi,

I am running Angular with Asp.Net Core (two services - not merged) and would like to enable application insights (AI) for the Asp.Net Core Host service running in Azure. I have been able to connect the AI Log4Net appender and it is sending trace logs to AI. However, it is not collecting anything else.

Is it possible to run AI this way?

Thor

Showing 11 to 20 of 24 entries