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

Activities of "best4bps"

Hello,

we have a WebApplication that uses a third party library called syncfusion which builts upon .razor components using model view controller architecture. Is it possible to integrate these .razor files into .NET Core + Angular and somehow make them work? Or do you have to rebuild the code part in the backend and the fronent part using typescript?

If not would it be possible to include iFrame to display our solution on top of .net zero solution?

We are facing the problem that we already have developed a WebApplication using the mentioned above tools and don't want to start completely from the ground up. But we would still like to use aps.net zero and include features such as backoffice and user/role management.

Thanks in advance!

No we are pulling our own project from our own git server. The process is the following:

Download demo project -> Initilize and Build project -> Check if everything wokrs -> Push to git server -> Everyone else pulls

As I said the only one who is able to load http://localhost:4200 is the person who downloaded the demo project and pushed the code.

Also unfortunately there arent any errors. The only error is CORS as mentioned above.

I will try to comapre both of the repositories with each other because there must be some inherent difference somewhere which prevents the others from loading the page and getting the CORS error.

Hey @ismcagdas,

i can't provide a screenshot right now but I got the following error message upon inspecting the browser from my colleagues with F12: "Cross-Origin Request Blocked: The Same-Origin Policy disallows reading the remote resource at https://localhost:5001/AbpUserConfiguration/GetAll?d=1681805995669. (Reason: CORS request failed). Status code: (null)."

EDIT: We have made some further investigations and found out that this problem (with the same occuring error code) is only coming up when we pull the project from git rather than creating the project by ourself (from web.sln). What could possibly be the reason for that?

Hello everyone,

we were just getting started with asp.net Zero Core Angular (merged Solution) and following the guide and everything was working perfectly for me up until the end of the page (https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Getting-Started-Angular-Merged)

However, two of my collegues are experiencing issues when trying to start the webserver by using npm start. The console reports that the local server is listening on port:4200 but whenever they try browsing with http://localhost:4200, they don't even get any error, it's just the index page loading endlessly without any response.

The only difference between me and them is that I set up the project through the demo download and pushed it to our git server for them to pull the code. It seems that this is also the reason it doesn't work as expected. Can aynone provide a quick fix, given these information or do I need to provide further details?

Best Regards best4bps

Showing 1 to 4 of 4 entries