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

Activities of "ajayak"

Thanks @ismcagdas. I was missing that step :)

Hi,

I have added Swedish language as:

new ApplicationLanguage(tenantId, "se", "Svenska", "famfamfam-flags se")

{translationfile}-se.xml:

<?xml version="1.0" encoding="utf-8" ?>
<localizationDictionary culture="se">
  <texts>
    <text name="HomePage" value="Startseite" />
    ....More translations
    </texts>
</localizationDictionary>

On the frontend, I can see the new language and the flag but on selecting the new language, instead of the Swedish language translations, I see English translations.

Here is the output from dotnet --info

.NET Command Line Tools (2.1.3)

Product Information:
 Version:            2.1.3
 Commit SHA-1 hash:  a0ca411ca5

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.16299
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.3\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.4
  Build    : 7f262f453d8c8479b9af91d34c013b3aa05bc1ff

Hi,

I got the latest version of AspNetZero Core template and tried to run in VS 2017. If I run the app using CTRL+F5, it works fine. But when I try to run the app in debug mode, the app crashes instantly and I get the following message in <ins>Output</ins> window.

'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.4\System.Reflection.Emit.Lightweight.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'Anonymously Hosted DynamicMethods Assembly'. 
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.4\System.Reflection.Emit.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'DynamicProxyGenAssembly2'. 
'dotnet.exe' (CoreCLR: clrhost): Loaded 'DynamicProxyGenAssembly2'. 
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.4\System.IO.Compression.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Application Insights Telemetry (unconfigured): {"name":"Microsoft.ApplicationInsights.Dev.RemoteDependency","time":"2018-01-09T12:11:54.4161117Z","tags":{"ai.operation.parentId":"|10cada12-40606802f4d1cd28.","ai.internal.sdkVersion":"rdddsc:2.4.1-1362","ai.operation.id":"10cada12-40606802f4d1cd28","ai.operation.name":"POST /LicenseManagement/CheckLicense","ai.application.ver":"5.0.0.0"},"data":{"baseType":"RemoteDependencyData","baseData":{"ver":2,"name":"POST /LicenseManagement/CheckLicense","id":"|10cada12-40606802f4d1cd28.1.","data":"https://www.aspnetzero.com/LicenseManagement/CheckLicense","duration":"00:00:00","resultCode":"200","success":true,"type":"Http","target":"www.aspnetzero.com","properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true"}}}}
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.4\System.Diagnostics.Tools.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Application Insights Telemetry (unconfigured): {"name":"Microsoft.ApplicationInsights.Dev.Message","time":"2018-01-09T12:11:54.4470452Z","tags":{"ai.internal.sdkVersion":"dotnet:2.4.0-32153","ai.application.ver":"5.0.0.0","ai.operation.syntheticSource":"SDKTelemetry"},"data":{"baseType":"MessageData","baseData":{"ver":2,"message":"AI (Internal): Operation to stop does not match the current operation.","properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true"}}}}
Application Insights Telemetry (unconfigured): {"name":"Microsoft.ApplicationInsights.Dev.RemoteDependency","time":"2018-01-09T12:11:53.2071668Z","tags":{"ai.operation.parentId":"|10cada12-40606802f4d1cd28.","ai.internal.sdkVersion":"rdddsc:2.4.1-1362","ai.operation.id":"10cada12-40606802f4d1cd28","ai.operation.name":"POST /LicenseManagement/CheckLicense","ai.application.ver":"5.0.0.0"},"data":{"baseType":"RemoteDependencyData","baseData":{"ver":2,"name":"POST /LicenseManagement/CheckLicense","id":"|10cada12-40606802f4d1cd28.1.","data":"https://www.aspnetzero.com/LicenseManagement/CheckLicense","duration":"00:00:01.2560444","resultCode":"200","success":true,"type":"Http","target":"www.aspnetzero.com","properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true"}}}}
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.4\System.Diagnostics.StackTrace.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.4\System.Reflection.Metadata.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[18112] dotnet.exe: Program Trace' has exited with code 0 (0x0).
The program '[18112] dotnet.exe' has exited with code -42 (0xffffffd6).
The program '[18060] chrome.exe: WebKit' has exited with code -1 (0xffffffff).

Note: Removed unnecessary lines from output

Hi @alirizaadiyahsi,

I am on latest version of AspNetZero 5.0.6 .Net Core. For my solution, realtime notifications are not working. I have to manually refresh the page to see the new notifications. :?

Hi,

--Updated-- I wanted to check whether the notifications system in AspNetZero .Net Core solution with Angular is real time? Does the AspNetZero uses SignalR? :) --Updated-- Realtime notifications are not woring in AspNetZero .Net Core solution(5.0.6)

Hi @ismcagdas,

I did a lot of things on App Service but deleting the web.config and uploading the same config file again did the trick for me. I'm so confused :shock:

The application works fine on local machine. I was using AspNetZero 5.0.4 on Azure. When I updated my app to 5.0.5, I started getting this error only on Azure App Service.

When I click on login on Angular App, I get a blank screen with following message:

The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.

Log:

INFO 2017-12-26 11:12:31,346 [8 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://primepenguinservice.azurewebsites.net/AbpUserConfiguration/GetAll">http://primepenguinservice.azurewebsite ... ion/GetAll</a>
INFO 2017-12-26 11:12:31,389 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://primepenguinservice.azurewebsites.net/AbpUserConfiguration/GetAll">http://primepenguinservice.azurewebsite ... ion/GetAll</a>
INFO 2017-12-26 11:12:31,444 [8 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2017-12-26 11:12:31,445 [3 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2017-12-26 11:12:31,577 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 188.4834ms 204 INFO 2017-12-26 11:12:31,558 [8 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 233.4529ms 204 INFO 2017-12-26 11:12:31,884 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://primepenguinservice.azurewebsites.net/AbpUserConfiguration/GetAll">http://primepenguinservice.azurewebsite ... ion/GetAll</a> application/json INFO 2017-12-26 11:12:31,886 [3 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2017-12-26 11:12:32,138 [3 ] uthentication.JwtBearer.JwtBearerHandler - Bearer was not authenticated. Failure message: No SecurityTokenValidator available for token: null INFO 2017-12-26 11:12:33,738 [3 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2017-12-26 11:12:33,872 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) with arguments ((null)) - ModelState is Valid INFO 2017-12-26 11:12:36,559 [3 ] matters.Json.Internal.JsonResultExecutor - Executing JsonResult, writing value Abp.Web.Models.AjaxResponse. INFO 2017-12-26 11:12:37,010 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) in 3297.4741ms INFO 2017-12-26 11:12:37,026 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 5141.863ms 200 application/json; charset=utf-8 I

Browser Network Tab: Request URL:http://primepenguin.azurewebsites.net/account/login Request Method:POST Status Code:405 Method Not Allowed

Note: I can still get the access token when I make the request through POSTMAN

Thanks @ismcagdas :)

Showing 141 to 150 of 202 entries