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

Activities of "Hasan"

Question

Dear Team,

We are deploying the application in the following url as dineconnect.xyz in azure.

We are facing CORS policy blocking issue. As shown below. We have set the App Service CORS setting as “*” for wildcard.

Here is the AppSettings

Appsetting.production.json "App": { "ServerRootAddress": "https://{TENANCY_NAME}.dineapi.xyz", "ClientRootAddress": "https://{TENANCY_NAME}.dineconnect.xyz/", "CorsOrigins": "https://*.dineconnect.xyz/,https://dineconnect.xyz ", "SwaggerEndPoint": "/swagger/v1/swagger.json", "AllowAnonymousSignalRConnection": "true" },

Appconfig.production.json "remoteServiceBaseUrl": "http://{TENANCY_NAME}.dineapi.xyz", "appBaseUrl": "http://{TENANCY_NAME}.dineconnect.xyz",

I have the URL as below

https://example.com/order/[remoteId] RemoteId is the ID that i have to send it to and it will have the POST Contents (JSON) as well.

How we can do develop similar in ASP.net ZERO ?

Hello Team

Is there any way to set all the ApplicationServices as AbpAuthorizr without mention in each method ?

Thanks in advance

Dear Team,

We are using Data Filter as per the document <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Data-Filters">http://www.aspnetboilerplate.com/Pages/ ... ta-Filters</a>

I would like to read and set the DataFilter Parameter from the Session. The value will be set in two places

  1. USER LOGIN TO THE APPLICATION
  2. CHANGE THE VALUE FROM THE COMBO BOX WHICH HAS BEEN ON THE TOP OF THE PAGE.

I have configured ONMODELCREATING as per the DOCUMENT

modelBuilder.Filter("ConnectFilter", (IOrganization entity, int oid) => entity.Oid == oid, 0);

and I have modified in Initialize Method as below

this.SetFilterScopedParameterValue("ConnectFilter", "oid",1);

First Question is

Now, the value 1 in the Initialize method is hard coded for the time being. I would like to get it from Session. How to do that? How can I add my own variable in the Session?

Second Question is The filters are working perfectly for hard coded value 1. When I am saving into the Entity, it is going as 0, Do I need to modify in any another place?

Thanks

Question

Dear Team,

Could you please check the below issue?

It was answered before but unable to access the LINK. The Action Button is not working and it is displaying like one below

Please let us know the Solution.

Question

Dear Team,

When i run migrate.exe, it is suddenly not working.

Could you please let me know what i have to do ?

C:\Sites\SHIRO\bin>migrate.exe DinePlan.DineConnect.EntityFramework.dll  /startupConfigurationFile="..\web.config" /verbose
System.IO.IOException: The directory name is invalid.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
   at System.Data.Entity.Migrations.Utilities.ConfigurationFileUpdater.Update(String configurationFile)
   at System.Data.Entity.Migrations.Design.ToolingFacade..ctor(String migrationsAssemblyName, String contextAssemblyName, String configurationTypeName
, String workingDirectory, String configurationFilePath, String dataDirectory, DbConnectionInfo connectionStringInfo)
   at System.Data.Entity.Migrations.Console.Program.CreateFacade()
   at System.Data.Entity.Migrations.Console.Program.Run()
   at System.Data.Entity.Migrations.Console.Program.Main(String[] args)
ERROR: The directory name is invalid.


C:\Sites\SHIRO\bin>
Question

Hello Team,

For the Expiry Token, it is not returning the unAuthorizedRequest as true. Instead, it returns the following things.

Let me know where to modify it.

{"success":false,"result":null,"error":{"code":0,"message":"An internal error occurred during your request!","details":null,"validationErrors":null},"unAuthorizedRequest":false}
Question

Dear Team

It's very hard to use SQL EXPRESS because it has a limitation upto 10 GB. I have one tenant which has more than 10GB DATA and it's very hard to maintain it

Do you have a support for other DB like POSTGRES OR MARIA ?

Team

Currently I am using Angularjs 1.x ASP.bet ZERO PROJECTS

I want to create a Non Secured Angularjs Pages.

How to do that

All the pages are referring to APP folder only. Is there any other Way to do that ?

Dear Team,

We are going to use Data Filter as per the document <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Data-Filters">http://www.aspnetboilerplate.com/Pages/ ... ta-Filters</a>

I would like to read and set the DataFilter Parameter from the Session. The value will be set on two places

  1. USER LOGIN TO THE APPLICATION
  2. CHANGE THE VALUE FROM THE COMBO BOX WHICH HAS BEEN ON THE TOP OF THE PAGE.

I have configured ONMODELCREATING as per the DOCUMENT

modelBuilder.Filter("ConnectFilter", (IConnectFilter entity, int companyId) => entity.CompanyId == companyId, 0);

The document which you have given has not addressed how to set it automatically from the SESSION and also WHEN USER LOGIN TO THE APPLICATION?

Showing 1 to 10 of 38 entries