Conocer las bases de .NET core

1

¿Qué necesitas para aprender a desarrollar aplicaciones profesionales en .NET con Blazor?

2

Todo lo que aprenderás sobre Blazor

3

Evolución de .Net

4

¿Cómo funciona el Desarrollo Web sin Blazor?

5

Instalando Visual Studio Community

6

Instalando SQL Server Express

Entender la estructura de Blazor

7

Webassemblies y .Net Core 3

8

Anatomía de una aplicación Blazor

9

Blazor pages

10

Blazor components

11

Introducción a formularios

12

Inyección de dependencias

Aplicar Entity Framework

13

Arquitectura vs. Patrones de Diseño

14

Estructurando nuestro proyecto

15

¿En qué consiste Entity Framework y por qué vamos a trabajarlo?

16

Creación de entidades

17

Data annotations

18

Trabajando el relacionamiento entre entidades

19

Creando el datacontext

20

Migraciones

21

Alimentando la base de datos

Integrar datos en ambientes Blazor

22

Construyendo la capa intermedia o capa de negocio

23

El CRUD de integración de datos

24

Creación de formularios con Blazor

25

Finalizando el formulario

26

Trabajando listas de datos

27

Agregando filtros a nuestra lista

28

Guardando nuevos registros

29

Creación formulario de actualización de datos

30

Aplicando actualización de datos

31

Registrando productos en almacenamiento

32

Creando página de almacenamiento

33

Cargando productos por Bodega para entradas y salidas

34

Relacionando productos y formulario de entradas y salidas

35

Finalizando el formulario de entradas y salidas

Aplicar Diseño con Bootstrap

36

Revisión de estilos: Introducción a Bootstrap

37

Publicando el sitio

38

Cierre del curso

You don't have access to this class

Keep learning! Join and start boosting your career

Aprovecha el precio especial y haz tu profesión a prueba de IA

Antes: $249

Currency
$209
Suscríbete

Termina en:

0 Días
10 Hrs
34 Min
6 Seg

Anatomía de una aplicación Blazor

8/38
Resources

How to structure an inventory application in .NET with Visual Studio Code?

When starting the development of an application, it is vital to have a clear and well-defined structure. In this guide we show you how to organize the elements of your .NET inventory application using Visual Studio Code. From dependencies to root files, each part has a specific function that facilitates the management and operation of your project.

What are dependencies and properties?

Starting from the top, we have the dependencies, which include all the libraries and code structures that we will use throughout our application. These depend on .NET Core and will serve as the basis for building our own libraries.

The properties, on the other hand, include the general launching configuration of the application. Here we determine that we will operate over a secure port using HTTPS, which guarantees a protected environment suitable for development.

How to manage pages and navigation?

Within the pages folder, we find several sections that make up the primary structure of the site:

  • Counter page.
  • Home page.
  • Data listing page.
  • Main page (Home), which loads all the global information of the site.

The error pages are customized to display different messages according to the type of error, a useful practice for exception handling.

In turn, the ser folder has elements common to the entire application, such as the navigation menu. This ensures a cohesive user experience and makes it easy to manage access to different sections of the site.

Example of basic view in .NET *@<h1>Welcometo the inventory application</h1><p>Manageyour products efficiently and securely.</p><p>What are the amounts and their importance?

What are amounts and their importance?

Amounts are crucial for the future development of components in the application, as they allow you to call functionalities in a more direct way. These built in spaces within our Blazor or site can include both internal and external libraries and are essential for smooth navigation.

What does the configuration file contain and how to work with Singleton?

Finally, the configuration structure is key. The .NET program file marks the starting point of the application, indicating which files to load and configure:

  • Blazor pages calls.
  • Use of server-side, which defines the application as server-side.

Finally, the use of the Singleton pattern is an effective strategy for dependency injection, allowing you to load information without creating full instances of classes, which optimizes performance and speed of response.

By familiarizing yourself with these aspects, you will be able to build robust and reliable applications that meet your expectations and those of your users. Keep learning and optimizing your application development skills!

Contributions 8

Questions 4

Sort by:

Want to see more contributions, questions and answers from the community?

En este capitulo una observacion cuando se hace uso de services.AddSingleton<Objeto>, lo que quiere decir en que cada vez que esa instacia se injectada sera la misma por que solo esta instanciada una vez, si no estuviera el un sigleton cada vez que sea inyectada seria una instancia nueva del objeto.

Por mi parte me toco volver al video 3 del curso para realizar la creación del proyecto correctamente, Genial clase

Como duda, una aplicación Blazor, es una evolución directa de las anteriores aplicaciones MVC?
Muchas gracias!
Un saludo.

La plantilla actual ha cambiado demasiado no tiene _host, ni starup

Segui los pasos del curso instale vs2019 community, cree el proyecto como blazor app pero la estructura no es igual a la que se muestra en este video, algo me esta faltando, alguna idea? gracias

![](

Cree un proyecto de tipo Server Blazor App en Visual Studio .Net 2022 con .Net6.0

Buenas tardes, yo baje el proyecto que está en enlaces pero no corre en Visual Studio Core, menciona que faltan dependencias

Creo que uno de los problemas al generar el proyecto es que no se explica como se genero el proyecto, yo al generar el mio me di cuenta de que en las páginas no aparecía el _Host.cshtml y buscando es que no se abrió un proyecto WebAssambly sino un proyecto Blazor Server, independientemente de la versión del Core que se esté utilizando, yo estoy trabajando desde Ubuntu con Visual Studio Core con .Net 5.0.

Por lo que pienso que faltan algunas explicaciones antes de revisar la estructura del Proyecto.