Base solution for your next web application

Activities of "felixbeltran"

Question

Hi,

I would like to develop a REST service to be used not from the application layer, but from an external App, for example, a mobile App. What should I do?

Trying to consume a REST service usgin ASP.NET Web API from ABP doesn't seem to work right out of the box. I get an 500 error.

Thanks, Felix.

Answer

Hi,

Thanks for the info, it was useful.

Regards, Felix.

Question

Hi,

Newest aspnet-zero release (V1.13.0) says that it was updated to metronic v4.7 but there is no link to download that version. The latest download available is for V4.6 Where can i get it?

I'm looking here: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/releases">https://github.com/aspnetzero/aspnet-zero/releases</a>

Thanks, Felix.

Answer

Thanks.

Question

Hi,

I have an ASP.NET ZERO application and i need to send and receive chat messages to / from a mobile App developed with Xamarin. Is there a way to implement such chat service between the Zero Web application and a mobile App? Can we use the same SignalR services?

Please advice.

Thanks, Felix.

Answer

Hi,

Thanks for the replay. We are having problems with the authorization, because, since this is an App there is no session on the server. The error message is: "Abp.Authorization.AbpAuthorizationException" What should we do? I'm attaching a file with the error detail.

Thanks. Felix

The angular documentation (<a class="postlink" href="https://www.aspnetzero.com/Documents/Development-Guide-Angular">https://www.aspnetzero.com/Documents/De ... de-Angular</a>) makes extensive references to "Server side" documentation (<a class="postlink" href="https://www.aspnetzero.com/Documents/Development-Guide-Core">https://www.aspnetzero.com/Documents/De ... Guide-Core</a>), but I belive this server side documentation is for the old Core & Angular project. Could you please confirm and clarify?

Thanks.

Hi,

Thanks for the replay. I'm lookin at this: <a class="postlink" href="https://www.aspnetzero.com/Documents/Development-Guide">https://www.aspnetzero.com/Documents/Development-Guide</a> Release 3.3 does comes with a Core & Angular 2+ version.

The original document I was looking at is: <a class="postlink" href="https://www.aspnetzero.com/Documents/Development-Guide-Angular">https://www.aspnetzero.com/Documents/De ... de-Angular</a> which explains mostly the client (Angular) side.

The document for the Core & Jquery version is not wrong 'per se'. What (I think) is wrong is the pure Angular 2+ document makes references to the Core Jquery version. At least it was confusing for me, but now I understand.

Oh, by the way, there is a typo in the document "https://www.aspnetzero.com/Documents/Developing-Step-By-Step-Angular" in section "Defining a Menu Item". It say the path shuld be: new SideBarMenuItem("PhoneBook", null, "icon-notebook", "/phonebook")

But the correct path is: new SideBarMenuItem("PhoneBook", null, "icon-notebook", "/app/main/phonebook"),

Otherwise it won't work.

Thanks! Felix.

You are welcome :)

I'm tring to install the client Angular 2 App on IIS inside an application folder ej. <a class="postlink" href="http://mysite.com/appfolder/">http://mysite.com/appfolder/</a> The problem I had is that, by default, the client app will try to fetch files from the root folder (<a class="postlink" href="http://mysite.com/">http://mysite.com/</a>) I managed to change this by building the app with this:

ng build -prod -bh /appfolder/

Now it's fetching the files from the correct path, but there is a problem with the "getApplicationConfig" from "AppPreBootstrap.ts" file, it always looks for the "appconfig.json" file from "/assets/appconfig.json" (<a class="postlink" href="http://mysite.com/assets/appconfig.json">http://mysite.com/assets/appconfig.json</a>)

Code:

private static getApplicationConfig(callback: () => void) {
        return abp.ajax({
            url: '/assets/appconfig.json',
            method: 'GET',
            headers: {
                'Abp.TenantId': abp.multiTenancy.getTenantIdCookie()
            }
        }).done(result => {

I fixed this by changing "url: '/assets/appconfig.json'," to "url: 'assets/appconfig.json',". Could you please advise if this is correct and won't create anoter problem? Thanks.

Showing 1 to 10 of 27 entries