abpframework / abp

Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
https://abp.io
GNU Lesser General Public License v3.0
12.57k stars 3.37k forks source link

Dynamic JavaScript Client Proxy Project Name (.) dot not working #17932

Open mehmetcimen opened 9 months ago

mehmetcimen commented 9 months ago

Is there an existing issue for this?

Description

Project Name : Mc.MCMS

Mc.MCMS.todo.create(todoText).then(function (result) { $('<li data-id="' + result.id + '">') .html('<i class="fa fa-trash-o"></i> ' + result.text) .appendTo($('#TodoList')); $('#NewItemText').val(''); });

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

7.3.3

User Interface

MVC

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

No response

maliming commented 9 months ago

hi

Please share detailed steps.

mehmetcimen commented 9 months ago

hi Ajax post does not work if there are two separate (.) dot in the project name abp1 abp2

maliming commented 9 months ago

hi

Please check the js proxy script of https://your_website/Abp/ServiceProxyScript

alihdev commented 3 weeks ago

Hi @maliming,

We are experiencing the same issue, getting the error "ReferenceError: exchange is not defined."

In the ServiceProxyScript file, we don't have anything related to "exchange."

What should we do to add it to the ServiceProxyScript?

/* This file is automatically generated by ABP framework to use MVC Controllers from javascript. */
// module account

https://github.com/abpframework/abp/issues/20158