-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
How to integrate the CoreUI-Angular with ASP.Net Core 2.0 #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
hi @vardhineedik It's not about Angular version of CoreUI specifically, but I suppose it can be useful anyway. |
Just copy your angular project to the location of your .net core project. Then edit the .angular-cli.json, and set the out dir property from dist to wwwroot (this will save the bundles to /wwwroot on ng build). Edit your startup.cs, so that your mvc app will serve static files. |
thank you @xidedix @hozjanmarko |
By the looks of your screenshot... Start with a blank .net core mvc app, move your controller logic, and then proceed like i described in the previous post. You will be better of in the long run by using angular cli |
@hozjanmarko |
.angular-cli.json"apps": [ { "root": "src", "outDir": "wwwroot " And in startup.cs, before adding use static files add |
I changed above but no luck . can you solve this, please |
I will clone it later |
Microsoft has a new Angular template that uses the Angular CLI. Instructions are at aspnet/JavaScriptServices#1288 until the main documentation gets updated. With the new template, just drop CoreUI into the ClientApp folder. |
Hi @ColinBlair Thanks |
If you're still struggling, I refer to the following: https://www.brandonbarnett.io/blog/2017/06/reference-architecture-angular-4-and-web-api-on-net-core-20-preview-1-with-azure-ad-authentication/ Follow the Web part of this blog, it's very useful and it's serves your purpose. It's not much different what was already said here but maybe it'll give you more information. |
Hi all.I am faving the same issue as Krishna. Please guide us how to integrate core ui angular with asp.net core |
Did anyone get this working. Please help. I cannot make it work |
I have not "integrated" this template with .NET Core. But I used another Angular template and it worked for the .NET Core Web App 3.1 template:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions |
Hi
please help me How to integrate the CoreUI-Angular with ASP.Net Core 2.0
Thanks,
Krishna
The text was updated successfully, but these errors were encountered: