- 1
- 39 384
JasonTaylorDev
Australia
เข้าร่วมเมื่อ 4 ก.พ. 2016
A channel focused on .NET development.
Getting Started with Angular and ASP.NET Core 2.0
In this talk, we look at using ASP.NET Core JavaScript Services to build single page applications with Angular. With this approach, we can develop on Windows, Mac, or Linux using our preferred source code editor. I’ll demonstrate server-side prerendering, webpack dev middleware, hot module replacement (HMR), efficient production builds and much more.
มุมมอง: 39 384
very nice 🌹🌹🌹🌹
Hello Jason, I am working on web project, I implemented "Clean Architecture" using .net6 Core Will you please help me, how to add log4net logging in "Clean architecture" Thank you
Use and configure the Log4Net logging provider. Check Microsoft Docs for "Logging providers in .NET".
@@JasonTaylorDev thank you
Great presentation thank you!
Simply Awesome.
Why doesn't anyone use visual studio instead of code if the templates are built in?
Great lecture thank you
What's a url of your blog?
www.codingflow.net
@@JasonTaylorDev nice you should put link in the description :)
haha lovely! The three magic words, so simple!
I like how MS devs just use Chrome
I started using edge this year 😂
The problem I found with this is that I oculdn't update bootstrap to version 4.0 (and use the bootstrap sample code in their website) because as soon as I updated it I got a whole bunch of dependency errors saying browserslink, autoprefixer, etc... all didn't work which broke my angular routing. You would think a simple update of bootstrap would be fine but NOPE!
I agree, managing dependencies can be difficult. Suggest you check out this post, www.codingflow.net/building-single-page-applications-on-asp-net-core-2-1-with-angular-6-part-1-getting-started/. It covers building Angular 6 + ASP.NET Core 2.1. Upgrade to Bootstrap 4 should be relatively simple. If you run into any troubles let me know, I'll post a how to on upgrading to Bootstrap this week.
This post covers upgrading to bootstrap 4, if you are using the new SPA template. www.codingflow.net/building-single-page-applications-on-asp-net-core-2-1-with-angular-6-part-2-upgrading-to-bootstrap-4/
This is really nice. Clearly explained !
Jason I ran into a major roadblock with node ver 6. I had to upgrade it to version 10 to make it work
Thanks for the heads up John. Glad that you got it up and running.
I do have one question now that I've tried setting up the project. So I made a folder and inside ran dotnet new angular. After running dotnet run the project shows up at localhost: 5000. However for some reason when I make a change to one of the angular views the change doesn't show up on localhost: 5000. I'm using VSCode and have auto save enabled. I am editing the same nav file that you are. I haven't done any extra steps in between. Online there's not much that pertains to this issue. I was wondering if the server after it pre renders my views isn't updating them for some reason and how would I check that?
Hi Allyson. You probably just need to change the current environment. Check this link (docs.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-2.0#setting-the-environment) and ensure that ASPNETCORE_ENVIRONMENT is set to Development on your machine.
Thank you so much! That did it! :D
THANK YOU this is awesome! Also I laughed out loud when you said you should've just tweeted haha
Excellent. Thank You
Just a question if i will be developing my App in Visual studio Code then is it okey to open it in VS2017 and add it the project in the source controller and do the other things like the deployment etc..
Yes, this is perfectly fine. You can switch back and forth as needed or even develop in both at the same time.
This is very nice intro about angular and .Net core 2. However, I expected how to do the serverside coding within Visual Code like .net code intelligence and debugging functionality.
This is awesome, thanks!
Very welcome, thanks for your feedback. :)