Base solution for your next web application

Activities of "marble68"

I found the problem, but can't explain what caused it. Documenting here in case someone else faces this same issue.

For some reason, the iisexpress config picked up my controller's path as a Virtual Directory.

I edited the applicantionhost.config file in <root>.vs&lt;project>\config.

Removing the virtual directories resolved the issue.

I created a controller, TakeController.cs.

Suddenly, it just stopped working.

I added the following to Startup.cs:

app.Use((context, next) => { var endpoint = context.GetEndpoint(); Debug.WriteLine($"Endpoint: {endpoint.DisplayName}"); //if (SomeCondition) //{ // // Do some work //} return next(); }); On the other controllers, I see the name of the controller in the output console.

However, if I try and reach my controller, it's never even called.

I've cleaned and rebuilt the project, to no avail.

My enpoints are default:

` app.UseEndpoints(endpoints => { endpoints.MapHub

`

I created a new controller, called GoController.cs. It is picked up by the endpoint router, and calls Index() in the controller.

I tried removing my controller, and re-adding it, but it still doesn't get picked up... if I name it TakeController.cs

I've tried rebooting, as well.

I cleaned remove my obj and bin folders, everything builds and runs fine. I've compared project files for public

Might anyone have any suggestions why this happening, and how I can fix it?

Here's the source of my TakeController.cs:

` using Microsoft.AspNetCore.Mvc; using okto.work.Web.Controllers;

namespace okto.work.Web.Public.Controllers { public class TakeController : workControllerBase { //public IActionResult Index() //{ // return View(); //} // // GET: /HelloWorld/

    public ActionResult Index()
    {
        return View();
    }

    // 
    // GET: /HelloWorld/Welcome/ 

    public string Welcome()
    {
        return "This is the Welcome action method...";
    }
}

} `

I'm working on a system where each tenant can setup an entity that represents an individual; these entities are unique across all tenants.

On the public site - I have an action where the unique ID of the individual is passed as the ID.

A unique URL is created for individuals that

Do I need to create a custom service to do this?

How cow - I didn't even know about abp commercial.

Thank you - Sorry - bit new.

I have a page for users to create custom portlets.

Then, on another page, the users can drag drop their portlets out of their "toolbox", creating a portlet page. (An entity that contains a list of portlets and their arrangement).

Finally, the custom portlet page is rendered to the public facing side. Sort of like how the dashboard behaves, but this is for the user to define what's rendered and how.

Thanks for your help !!

If I use a standard jquery ajax call to the URL, will permissions and security be applied?

Or is there a abp / asp.net zero way this should be done?

If a user has permissions while editing one entity, I need to show a list of other other, active entities, if the user has permissions to them.

Thanks in advance for any guidance.

Kind regards,

Answer

I got SurveyJS to work in mine - same (Core / Jquery) -

However - it's dependencies have a LOT of vulnerabilities.

I don't know if that's a big problem, but it sort of scared me away from it.

Hi -

I'm on AspNetZero Core + Angular (v 3)

I'm trying to get my app to work on IIS, but instead of it running at <a class="postlink" href="http://myapp.example.com">http://myapp.example.com</a>, I'm trying to run it at <a class="postlink" href="http://example.com/myapp/">http://example.com/myapp/</a>

Is this possible? I'm thinking not because I see a lot of URLs leading with / (such as /assets/appconfig.json).

If this isn't, then I'll use host headers. If it IS possible, how might I configure it to work this way? Thanks in advance

I have IIS setup, and my angular app is trying to connect.

In the core side, I'm setting my app settings as such:

"App": {
    "ServerRootAddress": "http://example.com/myappapi/",
    "ClientRootAddress": "http://example.com/myapp/",
    "CorsOrigins": "http://example.com/myappapi/,http://example.com/myapp/"
  },

on the angular UI appconfigure.json is:

{
  "remoteServiceBaseUrl": "http://example.com/myappapi/",
  "appBaseUrl": "http://example.com/myapp/"
}

I also have this issue.

I'm sure I'm missing a basic step.

<a class="postlink" href="https://l-lin.github.io/angular-datatables/#/basic/angular-way">https://l-lin.github.io/angular-datatab ... ngular-way</a>

I've used this approach in the past with success - but I'm pretty new to Angular2. 8-)

The issue I'm having is making it work inside the ANZ ecosystem.

Showing 221 to 230 of 238 entries