It’s been a while since I wrote a new blog post besides event announcements and posting slides so here’s the first of a new series of posts. The topic: ASP .NET Core!
Why ASP .NET Core?
With all the things I’ve been working with lately, I’ve still kept up to date on what’s new with ASP .NET Core for building Web Apps, Web APIs and even full-stack C# web applications with Blazor!
With the release of ASP .NET Core 2.1, and the upcoming releases of 2.2 (late 2018) and 3.0 (2019), now is a great time to be an ASP .NET Core developer. But where should you begin? You have many options.
Dev Tools for ASP .NET Core
- Visual Studio for Windows: a full-fledged IDE that runs on Windows (or even on Windows on your Mac via Parallels/Bootcamp. Get the latest version to try out new stable ASP .NET features and get the Preview versions to try cool new features. Install just the pieces you need. Start with the free Community edition for students, individuals and open-source projects.
- Visual Studio for Mac: build ASP .NET Core applications on a Mac in a full-fledged IDE. VS for Mac can also be used for macOS apps, Xamarin mobile apps for iOS/Android, cloud apps and more!
- Visual Studio Code: super light-weight code editor available on Windows, MacOS and Linux. Use the dotnet CLI tools in the integrated Terminal to quickly build ASP .NET Core web apps and more!
Project Types
Once you create a new ASP .NET Core Web project, you’ll have a few options:
- Empty: start with a clean slate if you know what you’re doing.
- API: start with a sample Web API endpoint, with the ability to add MVC components or Razor web pages as needed.
- Web Application: start with a sample Web App that contains Razor web pages, with the ability to add Web APIs and MVC components as needed.
- Web Application (MVC): start with a sample Web App that contains MVC components (Models, Views and Controllers), with the ability to add Web APIs and Razor web pages as needed.
- Razor Class Library: introduced in v2.1, build a reusable UI class library.
- Angular: build an ASP .NET Core application with an Angular front-end.
- React.js: build an ASP .NET Core application with a ReactJS front-end.
- React.js and Redux: build an ASP .NET Core application with a ReactJS + Redux front-end.
Note that HTTPS is selected by default and is extremely easy to include in an ASP .NET Core web application, even in a development environment. Optionally, select a Docker environment and Authentication type as appropriate.
When using Visual Studio Code or the dotnet CLI tools, you can create the same project types using CLI commands:
dotnet new <TEMPLATE> [--force] [-i|--install] [-lang|--language] [-n|--name] [--nuget-source] [-o|--output] [-u|--uninstall] [Template options] dotnet new <TEMPLATE> [-l|--list] [--type] dotnet new [-h|--help]
The options for new project templates are shown below:
Tutorials and Resources
This blog series will go into specific topics within ASP .NET Core. In the meantime, check out this list of tutorials and resources to help you get started.
- MSFT docs: https://docs.microsoft.com/en-us/aspnet/core
- Blazor: https://blazor.net/docs/get-started.html
- MVA: https://mva.microsoft.com/learning-path/asp-net-core-2-0-23
- Pluralsight: https://www.pluralsight.com/search?q=asp.net%20core
- Build Conf (May) 2018: https://aka.ms/AspNetCore-Build2018
- .NET Conf (Sep) 2018: https://aka.ms/AspNetCore-DotNetConf2018
- Ignite Conf (Nov) 2018: https://aka.ms/AspNetCore-Ignite2018
- Connect(); (Dec) 2018: https://aka.ms/AspNetCore-Connect2018
Blogs and Video Streams to Follow
Here is a list of blogs and videos streams to follow for .NET Core and ASP .NET Core:
- .NET Blog: https://blogs.msdn.microsoft.com/dotnet
- ASP .NET Blog: https://blogs.msdn.microsoft.com/webdev
- Scott Hanselman: https://www.hanselman.com/blog
- Iris Classon: http://irisclasson.com
- Andrew Lock: https://andrewlock.net
- Mike’s dotnetting: https://www.mikesdotnetting.com
- Talking Dotnet: http://www.talkingdotnet.com
- Dotnetcore tutorials: https://dotnetcoretutorials.com
- ASP .NET Hacker: http://asp.net-hacker.rocks
- Morning Brew: http://blog.cwa.me.uk
- David Pine: https://davidpine.net
- Steve Gordon: https://www.stevejgordon.co.uk
- ASP .NET Community Standup: https://live.asp.net
- Jeff Fritz on Twitch: https://www.twitch.tv/csharpfritz
- .NET Core Podcast: https://dotnetcore.show/
Enjoy!
Amazing 🙂
Pingback: Dew Drop - October 8, 2018 (#2818) - Morning Dew
Great explanation! Great post and easily understandable! The link to the dot net tool is also very useful!
Thanks, I’m glad you found it useful. Stay tuned for more blog posts in this series!
Pingback: Happy New Year 2019! | Wake Up And Code!
Pingback: Hello ASP .NET Core v3.1! | Wake Up And Code!