Base solution for your next web application

Activities of "dev1_premierpoint"

This is a very basic page created by the rad tool. The call is made from the create button.

<div [@routerTransition]>
  <div class="kt-content  kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor">
    <div class="kt-subheader kt-grid__item">
      <div [class]="containerClass">
        <div class="kt-subheader__main">
            <h3 class="kt-subheader__title">
                <span>{{l("OdeCreds")}}</span>
            </h3>
            <span class="kt-subheader__separator kt-subheader__separator--v"></span>
            <span class="kt-subheader__desc">
                {{l("OdeCredsHeaderInfo")}}
            </span>
        </div>
        <div class="kt-subheader__toolbar">
            <div class="kt-subheader__wrapper">
            
            
            ##### The method is called on this button press #####
				<button *ngIf="isGranted('Pages.OdeCreds.Create')" (click)="createOdeCred()" 
			class="btn btn-primary blue"><i class="fa fa-plus"></i> {{l("CreateNewOdeCred")}}</button>
            
            
            
            </div>
        </div>
      </div>
    </div>
    <div [class]="containerClass + ' kt-grid__item kt-grid__item--fluid'">
        <div class="kt-portlet kt-portlet--mobile">
            <div class="kt-portlet__body">
                <form class="kt-form" autocomplete="off">
                    <div>
                        <div class="row align-items-center">
                            <div class="col-xl-12">
                                <div class="form-group m-form__group align-items-center">
                                    <div class="input-group">
                                        <input [(ngModel)]="filterText" name="filterText" autoFocus class="form-control m-input" [placeholder]="l('SearchWithThreeDot')" type="text">
                                        <span class="input-group-btn">
                                            <button (click)="getOdeCreds()" class="btn btn-primary" type="submit"><i class="flaticon-search-1"></i></button>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
						 <div class="row" [hidden]="!advancedFiltersAreShown">
						 	<div class="col-md-12">
						         <div class="kt-separator kt-separator--border-dashed"></div>
						     </div>

We are running this project locally for once to help with load times, so no we haven't tried it on another machine. I'll look into what could be wrong with my editor. Thank you.

I appreciate it. Hopefully I will come back with a definite reason for the debugger not working as I assume it would.

I just got this error too and it ended up consuming about 8 hours of time until I somehow stumbled across this closed question via a google search.

The answer above is the solution - add the value "src" in the Working Directory field in the Advanced section of the Generate Migration Scripts Task:

It would be nice if Volosoft added this as a tip to this page of the documentation:

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

I don't understand why this message is not shown in the RAD Tool log file (Logs.txt)? I spent a good bit of time trying different things and then finally searched this forum and found this post. Seems like if the .NET Core 2.2 runtime is missing, that should be validated when installing the RAD tools OR, at least, should throw an error in the RAD Tool log file when trying to generate. This is all I get in the Logs.txt file:

DEBUG 2020-12-23 12:42:34,934 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: False DEBUG 2020-12-23 12:46:30,063 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. DEBUG 2020-12-23 12:46:30,813 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Entity successfully generated.

Not useful at all to troubleshooting this problem.

Using Asp.Net Core MVC+ Jquery and Metronic.

I am looking to give more room when inside one of the create and edit modals, and I would like to try and just increase the size of the modal before I resort to using the documentation to convert the modal to a full mvc page.

I'm going to look through the metronic documentation to see if I can find an example there.

Any help in pointing the right would be appreciated, whether it be in the metronic stuff or an example in the aspnet zero examples.

While those different sizes do work (ismcagdas), the CreateAndEditModal partial pages are used, so the only part of the modal that is editable is the modal body and everything inside of that. I have found the partial for the header and footer, but I'm not sure where to find the outermost layer of the dialog is set up and how I can change that for just this create modal.

In other words, the div that I can edit the classes of is the modal with class modal-body, but when the page loads, it is wrapped inside of the div with classes modal-dialog and modal-lg. I'm not sure where to find where this is put together, and I am afraid that wouldn't resolve my issue even if I did find it since I do not want to change that for every modal that uses the same predefined code.

That's perfect. Thanks for the help.

Product version: ASP.NET Zero v9.1 Product type: MVC & jQuery Product framework type: .NET Core

I have IdentityServer4 (3.x version) working in my application. I was able to build and test the OpenId Connect MVC test client app you provide in Github. Followed this page in your documentation to configure both sides and got it working:

https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Infrastructure-Core-Mvc-Identity-Server4-Integration

It works fine in Dev with multi-tenancy enabled in my ASP.NET Zero application because I can use the tenant picker control on the ASP.NET Zero Login page to select the tenant to login to when using OpenId Connect.

However, I don't see how it can work in a production ASP.NET Zero multi-tenant enviroment when each tenant will have their own subdomain using the ASP.NET Zero approach to multi-tenancy.

In the OpenId Connect MVC test client it is necessary to specify the OpenId Connect Authority Url. In Dev, I just specify the localhost Url that the ASP.NET Zero application is running on (for instance, https://localhost:44302).

In production, per the way ASP.NET Zero handles multi-tenancy, a user for a tenant named "T1" would need to authenticate at T1.publicdomainname.com. A user for a tenant named "T2" would need to authenticate at T2.publicdomainname.com. And so on.

It seems like the only way this would work on the OpenId Connect client side is if the client is able to support building the OpenId Connect Authority Url dynamically based on target ASP.NET Zero application's tenant Url.

Is this the way IdentityServer4 and OpenIdConnect and ASP.NET Zero Multi-Tenancy are intended to work together?

If so, if my ASP.NET Zero app is trying to be the Identity Provider for other client apps that integrate with it for single sign-on purposes, those other apps have to have the ability to dynamically generate the OpenID Connect Authority Url based on the tenant user is a membe of. That seems like an unlikely feature for a 3rd-party OpenId Connect client app to support unless I am missing something?

Thanks.

Product version: ASP.NET Zero v9.1 Product type: MVC & jQuery Product framework type: .NET Core

I am trying to put a handmade CreateAndEditModal inside of a pregenerated one for one of our RAD tool created entities. Similar to how the default C&E modal is loaded from some form of create new button on the index page, I have a create button that is meant to open up my new modal. when I attempt to open it up however I get a 404 error in the console.

This is the section in the js file where I am declaring the modal: var _createOrEditLabelModal = new app.ModalManager({ viewUrl: abp.appPath + 'App/SyncPoints/CreateOrEditLabelModal', scriptUrl: abp.appPath + 'view-resources/Areas/App/Views/SyncPoints/_CreateOrEditLabelModal.js', modalClass: 'CreateOrEditLabelModal', modalSize:'modal-m' });

And this is the how the original modal is declared in the javaScript of the index page: var _createOrEditModal = new app.ModalManager({ viewUrl: abp.appPath + 'App/SyncPoints/CreateOrEditModal', scriptUrl: abp.appPath + 'view-resources/Areas/App/Views/SyncPoints/_CreateOrEditModal.js', modalClass: 'CreateOrEditSyncPointModal', modalSize: 'modal-xl' });

The files are in the same folders, so I don't think I messed up the paths in the declaration.

Showing 51 to 60 of 63 entries