In this meeting we will face a very known but often overlooked aspect, namely the use of HTTPS. Many developers still think that the use of HTTPS is reserved for important sites and that for simpler things, such as a site consisting of a few static pages, it's not worth it. We will first try to dispel this myth, showing how much damage can be done using the HTTP pages of a simple static site, and then we will show how it is possible to use the free SSL certificates of Let's Encrypt to create HTTPS services without spending a fortune.
Introduction to Blazor and WebAssembly in Christmas sauce. In this session we will see how to create a small demonstration application to send Christmas greetings.
In this meeting we will face a very known but often overlooked aspect, namely the use of HTTPS. Many developers still think that the use of HTTPS is reserved for important sites and that for simpler things, such as a site consisting of a few static pages, it's not worth it. We will first try to dispel this myth, showing how much damage can be done using the HTTP pages of a simple static site, and then we will show how it is possible to use the free SSL certificates of Let's Encrypt to create HTTPS services without spending a fortune.
Introduction to Blazor and WebAssembly in Christmas sauce. In this session we will see how to create a small demonstration application to send Christmas greetings.
Swagger è una specifica Open Source ed è lo standard di fatto per la descrizione delle RESTful API. Usa un linguaggio JSON like per descrivere le azioni, i parametri e la struttura dei dati dell’API. In questa sessione spiegheremo in dettaglio cos'è, a cosa serve e come si usa.
Swagger è una specifica Open Source ed è lo standard di fatto per la descrizione delle RESTful API. Usa un linguaggio JSON like per descrivere le azioni, i parametri e la struttura dei dati dell’API. In questa sessione spiegheremo in dettaglio cos'è, a cosa serve e come si usa.
6. Programmazione dichiarativa
• XAML deriva da XML e per tale motivo è sintatticamente
molto adatto a descrivere strutture gerarchiche padre-figli.
• In XAML si dichiarano le relazioni di parentela (contenitore-
contenuto/i) e il valore degli attributi.
• Ogni elemento XAML corrisponde alla dichiarazione di una
istanza della classe corrispondente.
• Gli attributi XAML corrispondono alle proprietà e agli eventi di
tali classi.
• Il framework si incarica di effettuare il rendering di ciascun
elemento e di inoltrare gli eventi prodotti dalla UI al codice
associato.
7. Esempio
• Nota Bene: non c’è alcuna informazione relativa al posizionamento
sullo schermo dei vari elementi, che viene calcolata dal Layout
System a partire dalle proprietà dei singoli elementi e dalla loro
relazione di parentela.
9. Assegnazione di valori complessi agli attributi
• Quando non è possibile assegnare il valore di un attributo mediante
una stringa, allora occorre utilizzare la sintassi estesa:
10. Conversione implicita dei valori degli attributi
• XAML è in grado di convertire alcuni valori testuali nei corrispondenti
tipi.
12. Codice "tradizionale" e codice XAML
XAML è solo uno dei possibili modi di rappresentare il grafo di oggetti
che implementano la UI, volendo possiamo farlo via codice:
13. Link utili
• Il fattore X
http://www.domusdotnet.org/articoli/introduzione-a-xaml.aspx
• XAML Layout System
http://www.domusdotnet.org/articoli/xaml-layout-system.aspx
• XAML Transformations
http://www.domusdotnet.org/articoli/xaml-transformations.aspx