Base solution for your next web application

Activities of "moonch"

Prerequisites

  • What is your product version? Latest
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? .NET6

Dear Customer Support. I am developing a multi-tenant application with one shared database. What I would like to achieve is for all new tenants once they create an account they can view SAMPLE data inside the application, this will help them better evaluate the product instead of looking at pages blank of any data. To achieve this I can think of some scenarios. 1- Load Data dummy data created in View Models. Pros • Tie it to the edition, so if the edition is free, this dummy data is visible, if not free then not visible. • No need to seed data into the database. Cons • CRUD operations cannot be performed. Adding, Deleting, or editing items is not possible. This will break the code, Items have no Ids.

2- Seed Sample Data for each Tenant on Tenant creation. Pros • Allows tenants complete control over sample data that holds their unique tenant Id. Cons • Duplicated data on one database.

3- Sample Data is available to the Default Tenant. And loaded to every other tenant by Switching Between default and Tenant Pros • Sample Data is available only once. • CRUD operations are possible but require code adjustment to switch between Cons • Changes to data by one tenant are then visible to all other tenants.

The Ideal scenario

  • Any Tenant can view sample data and play with it whether by adding or editing any of its items. Changes are visible to tenants momentarily.
  • If the tenant logs out, and logs again the original version of the sample data reappears. The need to save changes permanently is not necessary.
  • This data is included once in the shared database.

Any Ideas on the above, some features in ABP that could facilitate achieving the desired outcome, or any examples your customers performed to achieve a similar outcome? Any help is appreciated. Thanks.

Thanks Ismail, I added my self to the Asp zero GitHub account.

Just a question, when do you think we could have your feedback on this issue, I see that you added this to v11.3 milestone.

We have only activated PayPal as our only payment method for now, If this is delayed this would affect our ability to sell to customers. so this is some what urgent for us. so we appreciate your response on this issue as soon as possible.

Thank you.

I would like to suggest the following fix.

In Purchase.cshtml Line: <input type="hidden" name="Amount" value="@Model.Amount.ToString("F1", new CultureInfo("en-US", false))"/>

Adding F1 forces one tenth decimal place which in my case is enough. I was getting 422 error because PayPal does not allow for more than two decimal places, for some reason althogh the server was sending two decimal places number, the client kept rendering with three decimal units. the above will force the client to hold for one decimal place which is compatable with PayPal policies.

Thank you, I can't open the link. is there another way to share it.

  • What is your product version? .NET6
  • What is your product type : JQUERY CORE MVC
  • What is product framework type : .NET6

Dear Customer support, I am getting the following error on ConfirmPayment inside the PayPalPaymentAppService, please see attached image, although the payment record is commited AppSubscriptionPayments Db. Using localhost and sandbox test account.

your help is appreciated.

So I need to Just to change the following in the Default.cshtml

<a href="@(string.Format("{0}{1}?ss={2}&returnUrl={3}", Model.AdminWebSiteRootAddress, "account/login", "true", Model.WebSiteRootAddress + "Account/Login"))">@L("LogIn")</a>

to

<a href="@(string.Format("{0}{1}?ss={2}", Model.AdminWebSiteRootAddress, "account/login", "true")">@L("LogIn")</a>

Is this Correct?

Do i need to do anything in the Login view in the MVC web project!!!

  • What is your product version? MVC Core
  • What is your product type (Angular or MVC)?
  • What is product framework type (.net framework or .net core)? .net 6

Dear Customer support.

I have the following issue, 1- the user clicks the log in from the Public web site. 2- redirected to the account/login in the Admin web site. 3- Logs in and returns loged user to the Public website. !!! Please attached Image. 4- If he pressses the Back Button, he is re-directed to Tenant Dashboard which is the right page that should be after 2.

If the user Logs out. and relogs in, this will not happen agian, he is redirecrted correctly from the account/login page to the Tenant Dashboard. so the above only happens if the user trys to log in from the public website.

step-1

step-2

step-3

step-4

the following is the

1- In the Web MVC Project

appsetting.json appsetting.Production.json

"App": { "WebSiteRootAddress": "https://www.archflowsapp.com/", "RedirectAllowedExternalWebSites": "https://www.archflows.com/" }

2- In the Web Public Project

appsetting.json appsetting.Production.json

"App": { "WebSiteRootAddress": "https://www.archflows.com/", "AdminWebSiteRootAddress": "https://www.archflowsapp.com/" }

each domian points to azure app service in azure portal.

Dear ismcagdas,

In the file I sent you there are two methods , One AddWithKendo and the Other IsAddWithoutKendo, Both methods fail to recieve the decimal values, it does not matter if the input is masked by kendo or not, the data fail to bind even when i use html <input type number> instead of kendo numeric html helper, Please see attached image.

One Note: the ZIP File Asp-zero_OlderVersion is actualy my project (.NET6) , Sorry this was renaming mistake, Please Try to un-zip this project Asp-zero_OlderVersion and debug it.

Thank you.

Dear Ismcagdas Any Update on this ticket.

Thank you.

Dear Ismcagdas I did not generate the form using Power Tools, I have created the form.

I sent you email titled: Ticket Number #11032

Please let me know if you have any issues accessing the files. Thanks

Showing 1 to 10 of 17 entries