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

Activities of "ryancyq"

Answer

Hi, do you mean webhook?

webhook can be created/accessed via application service or mvc controller just like any other APIs.

otherwise, if you mean allowing external party to access your APIs, they can be authenticated via Toke Base authentication

See https://docs.aspnetzero.com/documents/aspnet-core-angular/latest/Features-Angular-Token-Based-Authentication

can you share full error stacktrace?

could not find TroubleshootingBackgroundJob in the stacktrace you shared above

Calls that expect a View or a PartialView, such as _createOrEditModal.open({ id: data.record.fooBar.id }); return the generic "internal error" message.

Is the UserFriendlyException thrown in a method that returning ViewResult?

https://aspnetboilerplate.com/Pages/Documents/MVC-Controllers#exception-handling-result-wrapping Abp by default does not wrap any exception other than JsonResult.

Hi, please share your ANZ angular version.

is your API project running at http://10.0.2.2:22742 ?

also, please share the full error stacktrace.

can you share the CORS settings of your application?

Hi @mac, are you looking for something like azure pipeline?

There is a document about how to deploy ANZ to Azure Pipeline

See https://docs.aspnetzero.com/documents/aspnet-core-mvc/latest/Setting-Up-an-Azure-Pipeline-Mvc-Core

Answer

Hi, you can add the print button onto the modal template and register the button click event handler on modal open event.

var modalOptions = {};
var onClose = function() { };
var onOpen = function() {
    // register and handle print button
};
var myModal = new app.ModalManager({ modalClass: 'MyModal' });
myModal.open(modalOptions, onClose, onOpen);

What I plan to do is build an interface where users are going to declare the stored procedure name, and the parameters and I should be able to execute this in Adventureworks and get the result back.

Repository base in ANZ was designed with a single and primary entity in mind. In you case (for handle any kind of entity), you can consider just implementing a service to handle these instead of repository

I tried creating a AdventureRepository base but couldn't move forward

also, can you share the issues/code snippets that are not working for you?

Do I add a new "section" entry into the bundle.json or just add more lines to one of the existing sessions?

you can add your custom bundle separately from the default ones. This wil save you some times when upgrading to newer ANZ project.

Do I add my bundles into "scripts" entry or create new one for my custom bundles?

The bundles you add usually should be under these types styles or scripts

To add a new menu item on mvc, you can follows the steps at

https://docs.aspnetzero.com/documents/aspnet-core-mvc/latest/Developing-Step-By-Step-Core-Adding-New-Menu-Item#defining-a-menu-item

You can create a normal mvc view and handle gojs template inside yourself. For mvc view creation, you can follow https://docs.aspnetzero.com/documents/aspnet-core-mvc/latest/Developing-Step-By-Step-Core-Creating-Page

Showing 141 to 150 of 573 entries