Base solution for your next web application

Activities of "ajayak"

Hi @piapps,

Use exact version of primeNg in package.json.

"primeng": "4.2.0-rc.1",

Hi @aaron,

For the previous post, the issue was resolved by removing Microsoft.AspNetCore.Mvc. I thought it would be better to create a new post as it is a simple clear thing. Earlier post was a mess. Apologies for that.

I am facing this issue.

public async Task GetShopifyInstall(string shop)
        {
            var redirectUrl = _shopifyManager.GetAuthRedirectUrl(shop);
            //********** How to redirect here?**********
        }

Hi @aaron,

This is in continuation to #3984. All the problems go away after I removed Microsoft.AspNetCore.Mvc from ApplicationService. But I'm still stuck with Redirect.

I believe creating IRedirectionDelegate could solve my problem. Can you share a sample for that? :)

Hi aaron,

CORS is configured correctly in the app as

services.AddCors(options =>
            {
                options.AddPolicy(DefaultCorsPolicyName, builder =>
                {
                        .AllowAnyOrigin()
                        .AllowAnyHeader()
                        .AllowAnyMethod();
                });
            });

and used as

app.UseAbp(options =>
            {
                options.UseAbpRequestLocalization = false; //used below: UseAbpRequestLocalization
            });

            app.UseCors(DefaultCorsPolicyName); //Enable CORS!

All the other app services are working fine. Only getting Internal Server error on line:

throw new UserFriendlyException(L("PP_Invalid_Shopify_Url"));

In browser, it says CORS error but I suspect it to be something else.

Hi @ismcagdas,

IHttpContextAccessor solution worked for me :)

I have created a Shopify app. When user clicks a button on my page, then I'm redirecting the user to Shopify app page. On that page, there is an Install button. User clicks on install and Shopify install the app. After installing, Shopfiy calls a url in my app and I don't have any control over request parameters

I'm using ASP.NET Core

I am trying to call ASP.NET Core controllers from Rest Client. As in ASP.NET Core, Controller and ApiController are merged and I can now use Controller as Web API.

That looks promising. I'll keep an eye on framework for the new .NET Core integration in this framework. Also, switching DI container is not an easy task. For now, I will start on my project with ABP 1.0.0 and by few months, hopefully someone will do the upgradation :D

Also I have checked other form posts and I guess ASP.NET Core with Angular 2 is rolling out very soon :D :D

Showing 101 to 109 of 109 entries