Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Ockert J. du Preez

Rating No ratings yet

This book explores VS Code's core features, including multi-language IDE, rapid programming, and innovative front-end development, to show readers how to design and debug modern online and cloud applications. You will learn how to build native apps, spend less time working with the platform, and focus more on the creative aspects of generating a smart UI. While you learn and practise on VS Code, you build solid grounds on robust server-side programming. You will learn how to use VS Code to develop your javascript, typescript, nodejs, or angular app more quickly and easily. Not only an application development environment, but VS Code also enables you to create microservices, extensions, and cloud applications. Not only can you construct applications with VS Code, but you can also develop microservices, extensions, and cloud applications. Throughout the book, you get trained on Entity Framework Core, Razor, Xamarin.Forms and numerous APIs. This book not only prepares you to design multi-platform applications or work with Visual Studio Code, but it also prepares you to be a great developer who can alter the code, debug issues, and manage the many versions on your own. What you will learn ● Engage Razor and ASP.NET Core to build dynamic web apps. ● Get a practical edge with Xamarin.Forms to experience the native development. ● Explore Entity Framework Core for building data-rich applications. ● Create a custom Visual Studio code extension for your application. ● Use a variety of APIs, such as NodeJS and Python, in your implementations.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
# Cross-Platform Modern Apps with VS Code ## 【One-Line Pitch】 A practical, hands-on guide for developers who want to master Visual Studio Code as a cross-platform development hub, covering everything from Blazor and Razor Pages to Xamarin.Forms, Angular, and Entity Framework Core—ideal for .NET developers looking to build modern web and mobile apps without leaving VS Code. ## 【Book Arc】 - **Opening (~0%–11%)**: Introduces Visual Studio Code as a lightweight, extensible alternative to Visual Studio, covering installation, the UI layout (menus, terminal, debug view), and the crucial role of extensions. Includes use cases for coding, non-coding, and collaboration scenarios. - **Early (~11%–26%)**: Dives into Blazor and WebAssembly, showing how to create client-side web apps with .NET end-to-end. Covers SPA features like routing, layouts, forms, dependency injection, and introduces third-party UI libraries like MudBlazor and Blazorise. - **Early (~26%–33%)**: Explores ASP.NET Core and Razor Pages in depth—project structure, page models, view components, dependency injection (including configuration injection from appsettings.json), forms handling, and caching techniques. - **Middle (~41%–44%)**: Shifts to Angular for building web-based apps, covering directives, expressions, data types, modules, controllers, forms (both reactive and template-driven), data binding categories, and services—all within the VS Code workflow. - **Middle (~52%–end)**: Introduces Entity Framework Core for data-rich applications, demonstrating how to create models, configure database relationships (using a music-themed example with Musician, Genre, and Song entities), persist data, and seed databases. ## 【Key Takeaways】 - **VS Code is not Visual Studio** (Early): It's a streamlined, open-source text editor that relies heavily on extensions for IDE-like functionality. Understanding this distinction shapes how you approach setup and customization. - **Extensions are the heart of VS Code** (Early): The Extensions view is arguably the most important part of the UI—it's where you'll find tools for every language and framework covered in this book, from C# to Angular to Python. - **Blazor brings .NET to the browser** (Early): Using WebAssembly, you can run C# code at near-native speed in the browser alongside JavaScript, enabling full-stack .NET development for SPAs without learning a separate front-end language. - **Razor Pages simplify page-focused development** (Early): Each Razor page contains both model and controller logic (similar to MVVM), making page-centric scenarios more productive and maintainable than traditional MVC patterns. - **Dependency injection is built into ASP.NET Core** (Early): You can inject configuration values from appsettings.json directly into views using the @inject directive, keeping your code loosely coupled and more testable. - **Angular offers multiple form approaches** (Middle): Reactive forms give you explicit control with FormControl instances, while template-driven forms use NgModel directives for implicit management—choose based on your complexity needs. - **Entity Framework Core handles relationships automatically** (Middle): By defining entities like Musician, Genre, and Song with proper associations, the ORM manages database connections, query execution, and change tracking without manual SQL. ## 【Reading Tips】 - **Skim the early chapters (0–11%)** if you're already familiar with VS Code basics—focus instead on the extension recommendations and collaboration features like Live Share. - **Deep-read the Blazor and WebAssembly sections (11–26%)** if you're new to client-side .NET development; the step-by-step project creation commands (like `dotnet new blazorwasm`) are worth following along with. - **Pay special attention to the Razor Pages chapter (26–33%)**—the dependency injection and configuration injection patterns shown here are essential for real-world ASP.NET Core development. - **The Angular chapter (41–44%) assumes some JavaScript knowledge**; if you're a pure .NET developer, you may want to brush up on TypeScript basics before diving in. - **Use the Entity Framework Core chapter (52%+) as a reference** for setting up data models and relationships—the music-themed example is simple enough to adapt to your own projects. ## 【Coverage Limits】 This guide covers the book's progression through VS Code fundamentals, Blazor, Razor Pages, Angular, and Entity Framework Core. The excerpts do not cover the Xamarin.Forms chapter in detail, nor do they include the custom VS Code extension development or NodeJS/Python API integration sections mentioned in the book's objectives. ##
Page 7
Software development has remained his strongest achievement. With a large collection of historical and current system and software books, reviewing is just t...
View in text
Excerpt 2
erated file size is small, executes faster, and can compile languages such as C, C++, C#, and Rust. WebAssembly gives us a way to run the code written in mul...
View in text
Excerpt 3
nfiguration; private readonly IConfiguration Configuration; public StudentModel(IConfiguration configuration) { Configuration = configuration; } public Conte...
View in text
Excerpt 4
persists the changes to these objects back to the database. Since Entity Framework is an ORM, it increases a developer’s productivity, by reducing the redund...
View in text
Excerpt 5
er the following code: using Microsoft.EntityFrameworkCore; namespace EFCore_DBs { public class EFCore_DBs : DbContext { public DbSet<Genre> Genre { get; set...
View in text
Excerpt 6
nd Visual Studio Code work more perfectly with one another. Dapr explained Distributed Application Runtime (Dapr) is a portable, open-source event- driven ru...
View in text
Excerpt 7
ure requests, task management, and wikis for every project. Kubernetes is an open-source system that is a container orchestration system for the applications...
View in text
Excerpt 8
s://searchsecurity.techtarget.com/definition/Secure- Shell. VM: https://azure.microsoft.com/en-us/overview/what-is-a-virtual- machine/. Setting up remote dev...
View in text
Tags
AI categories
Programming LanguageBackendCloud Native
ISBN: 935551042X
Publisher: BPB Publications
Publish Year: 2022
Language: English
Pages: 353
File Format: PDF
File Size: 7.8 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…