Non è necessario possedere un dispositivo Kindle. Scarica una delle app Kindle gratuite per iniziare a leggere i libri Kindle sul tuo smartphone, tablet e computer.

  • Apple
  • Android
  • Windows Phone
  • Android

Per scaricare una app gratuita, inserisci il numero di cellulare.

Prezzo edizione digitale: EUR 33,27
Prezzo Kindle: EUR 30,25

Risparmia EUR 10,29 (25%)

include IVA (dove applicabile)

Queste promozioni verranno applicate al seguente articolo:

Alcune promozioni sono cumulabili; altre non possono essere unite con ulteriori promozioni. Per maggiori dettagli, vai ai Termini & Condizioni delle specifiche promozioni.

Invia a Kindle o a un altro dispositivo

Invia a Kindle o a un altro dispositivo

ASP.NET Core and Angular 2 di [Sanctis, Valerio De]
Annuncio applicazione Kindle

ASP.NET Core and Angular 2 Formato Kindle

5.0 su 5 stelle 4 recensioni clienti

Visualizza tutti i 2 formati e le edizioni Nascondi altri formati ed edizioni
Prezzo Amazon
Nuovo a partire da Usato da
Formato Kindle
"Ti preghiamo di riprovare"
EUR 30,25

Lunghezza: 442 pagine Miglioramenti tipografici: Abilitato Scorri Pagina: Abilitato
Lingua: Inglese
  • A causa delle dimensioni del file, il download di questo libro potrebbe richiedere più tempo.

Descrizione prodotto

Sinossi

Learn how to connect ASP.NET Core and Angular 2 to build a powerful and dynamic applications from scratch with this guide to cutting-edge web development

About This Book

  • Build a complete single page application with two of the most impressive frameworks in modern development
  • Find out how to bring together the capabilities and features of both Angular 2 and ASP.NET Core
  • From managing data, to application design, through to SEO optimization and security – take a comprehensive approach to building your next web project

Who This Book Is For

ASP.NET developers – find out how to bring Angular 2 into your development stack and extend your skillset so you can build even better single page applications.

What You Will Learn

  • Find out how ASP.NET Core's and Angular 2's features perfectly complement each other
  • Learn how to set up the resources you need and configure the MVC 6 interface
  • Handle requests and actions using server-side and client-side Routing
  • Create the Data Model using Entity Framework Core
  • Learn how to use Angular 2 components and master directives
  • Implement a token-based authorization and authentication flow supporting external login providers such as Facebook, Google, Twitter and more
  • Create responsive, mobile-friendly views using Bootstrap and LESS
  • Setup and optimize your production environment using IIS and SQL Server
  • Secure your application against a diverse range of dangerous security threats

In Detail

Writing code is about striking a balance between maintainability and productivity—how quickly you can write it against how much more you have to write in the future. This is a guide to doing just that by combining the impressive capabilities of ASP.NET Core and Angular 2. It shows you how to successfully manage an API and use it to support and power a dynamic single-page application.

We'll show you how to construct your data model and manage routing and redirects before wrapping it up and styling it, all with the help of ASP.NET and Angular 2. You'll also learn how to optimize your application for SEO, check and secure any vulnerabilities, implement a viable authentication mechanism and, last but not least, use the proper tools and strategies for successful deployment. From readable URIs to OData retrieval and authentication patterns, we'll make sure you have all the technical knowledge you need and, more importantly, bring it all together so you can focus on what's important: a high-quality application that performs for users.

Style and approach

More than just a technical manual, this guide takes you through the most important technical facets of developing with these two hugely popular frameworks and then demonstrates how to put those skills into practice. It's a book that recognizes that what's really important is the end product.

L'autore

Valerio De Sanctis is an experienced IT professional with more than 12 years of experience in lead programming, web-based development, and project management using ASP.NET, PHP, and Java. He held senior positions at a range of companies, most recently serving as Chief Technology Officer and Chief Operating Officer at a leading after-sales and IT service provider for many top-tier life and non-life insurance groups. He also runs an IT-oriented, web-focused blog at www.ryadel.com featuring news, reviews, and guides to help developers and enthusiasts worldwide.


Dettagli prodotto

  • Formato: Formato Kindle
  • Dimensioni file: 25407 KB
  • Lunghezza stampa: 484
  • Editore: Packt Publishing; 1 edizione (12 ottobre 2016)
  • Venduto da: Amazon Media EU S.à r.l.
  • Lingua: Inglese
  • ASIN: B01DZQHCVU
  • Da testo a voce: Abilitato
  • X-Ray:
  • Word Wise: Non abilitato
  • Screen Reader: Supportato
  • Miglioramenti tipografici: Abilitato
  • Media recensioni: 5.0 su 5 stelle 4 recensioni clienti
  • Posizione nella classifica Bestseller di Amazon: #36.551 a pagamento nel Kindle Store (Visualizza i Top 100 a pagamento nella categoria Kindle Store)
  • Hai trovato questo prodotto a un prezzo più basso?
    Se sei un venditore per questo prodotto, desideri suggerire aggiornamenti tramite il supporto venditore?


Quali altri articoli acquistano i clienti, dopo aver visualizzato questo articolo?

Recensioni clienti

5.0 su 5 stelle
5 stelle
4
4 stelle
0
3 stelle
0
2 stelle
0
1 stella
0
Vedi tutte le 4 recensioni cliente
Condividi la tua opinione con altri clienti

Principali recensioni dei clienti

Formato: Formato Kindle
Ottimo acquisto, il libro è ben fatto e i concetti sia pure complessi sono espressi in maniera chiara ed approfondita. Grazie a questo libro mi sono avvicinato ad Asp.Net Core e ne ho trovato quasi da subito giovamento. Molto chiari anche i sample code contenuti all'interno.
Commento 2 persone l'hanno trovato utile. Questa recensione ti è stata utile? No Invio feedback...
Grazie del feedback.
Spiacenti, non siamo stati in grado di registrare il voto. Provare di nuovo.
Segnala un abuso
Formato: Formato Kindle
Un libro originale, che esce dai soliti schemi dei manuali e mantiene ciò che promette (dal titolo): offrire una panoramica sul nuovo framework e un'alternativa frontend che ne fa apprezzare ancora di più la versatilità.
Ottima anche la scelta di presentare i concetti costruendo passo passo una single-page application da usare successivamente come vademecum per tutto ciò che si è assimilato. Ottimo.
Commento Una persona l'ha trovato utile. Questa recensione ti è stata utile? No Invio feedback...
Grazie del feedback.
Spiacenti, non siamo stati in grado di registrare il voto. Provare di nuovo.
Segnala un abuso
Formato: Formato Kindle
Ho preso questo libro per capire se vale la pena prendere in considerazione ASP.NET Core già da quest'anno o se è ancora troppo presto. Viene spiegato con chiarezza cosa è cambiato, consentendo allo sviluppatore di toccare con mano le differenze con esempi di codice facilmente riproducibili con Visual Studio. Carina e semplice da realizzare la SPA di esempio, che guida passo passo nei vari passaggi: particolarmente interessanti i capitoli su Entity Framework Core e le autenticazioni integrate/esterne. Un pò meno immediata, almeno per uno sviluppatore che viene dal mondo .NET, la panoramica su Angular2 e Bootstrap, ma quello è più che altro un mio problema. Ottimo acquisto.
Commento 4 persone l'hanno trovato utile. Questa recensione ti è stata utile? No Invio feedback...
Grazie del feedback.
Spiacenti, non siamo stati in grado di registrare il voto. Provare di nuovo.
Segnala un abuso
Formato: Formato Kindle
Il libro è in inglese ma si legge facilmente, gli esempi di codice sono chiari ed efficaci per mettere in pratica le varie attività che servono per mettere in piedi l'applicazione di esempio. Molto completo!
Commento 2 persone l'hanno trovato utile. Questa recensione ti è stata utile? No Invio feedback...
Grazie del feedback.
Spiacenti, non siamo stati in grado di registrare il voto. Provare di nuovo.
Segnala un abuso

Le recensioni clienti più utili su Amazon.com (beta)

Amazon.com: 3.1 su 5 stelle 21 recensioni
10 di 11 persone hanno trovato utile la seguente recensione
4.0 su 5 stelle The best of books... but... 23 gennaio 2017
Di R. Smith - Pubblicato su Amazon.com
Formato: Formato Kindle Acquisto verificato
It's a great book, let me get that out of the way. For what it IS and what it DOES it is perhaps one of the best right now. The Author, for what he DID do, did perhaps as well as one could hope.

Yes, there is a "but" to that...

I won't start the annoying experienced programmer rant about how in the olden days people who pasta-ed together vbxes and ocxes and libraries from books or from a cd of '101 controls for just 99 cents' willy nilly were considered the bane of coding... the days of such attitudes are gone. Today, when you have a project that looks like a likely candidate for an SPA, which is a certain type of project, you just suck it up and know from the start that it's going to be a gluefest that would give a 90's C++ coder a coronary.

An Olde Timer put it to me like this: "If I am saying to myself 'why can't Apple people just have an Access runtime for this stupid one-off?' then I figure it could be an SPA with a bunch of painful clientside glut."

The actual "But" that folks should know going into this book is that the sentence from the preface's "Who this book is for" is a bit misleading: "ASP.NET developers - find out how to bring Angular 2 into your development stack and extend your skillset so you can build even better single page applications."

That sentence is very broad, ASP.Net as a released toolset is now 17 years old and along the way it has had a lot of different aspects and growth including some paths that went pretty far only to be killed. So a person who has done WebForms without or even with AJAX and JQuery or written their own handlers to make a dll emit dynamic responses for a site using a single physical default.aspx page will consider themselves "ASP.NET developers"... but that doesn't mean that what the book shows is going to be an intuitive simple leap.

The good thing is that the book focuses on just Angular and the backend services written in mostly pure C# that are needed to accept the client calls. Yes, you need Newtonsoft JSON and Bootstrap and, yes, everything is a NuGet hit so you aren't going to be coding this on a plane or a train or pretty much anywhere you aren't fully connected, and you ARE going to be sitting there waiting for VS to do the pings and reference resolutions over and over again. But it's mostly straight ahead stuff. There is Entity Framework but if you (like me) have yet to truly come to trust EF then the way the book shows the code makes it very easy for you to see how you can take that out and put in your own data and object layers when your DBA comes running down the hall yelling for blood. YAY!!!

The only actual fluffy external library mentioned is TinyMapper. Again, if you're so inclined it is very simple to alter the calls to get rid of that and put in your own object/object mapping once your models are finalized. I can only assume that TinyMapper was put in because mapping code isn't interesting and it would have just padded the book - not because it's hard (a bunch of lines of 'this equals that' is intern level "code", after all).

Some would say that hooking up to Google or Twitter or Facebook for authentication is 'fluffy'. Personally I wouldn't use it for the projects that I think lean toward SPAs but it's in the book and seems to be pretty well done; It's 50 of the total 460 pages so Rodney Dangerfield would call it a 'B'. Again, it's not my professional interest so I did read pages 347 to 397 along with all the rest before sitting down to code but when I started typing I jumped right over Chapter 8 and nothing was missed.

Aside from all of that you get a very nicely written soup to almost-nuts that does as well as was likely possible when the book was written in the fall of 2016.

You WILL hit compilation and resource issues. You WILL. Even if you go to the publisher site and download the full source code after tearing your hair out and re-re-re-checking every character of a file that won't load - or sit there forever waiting for the index.html to move past the "Loading..." text. (that page is Slooooow to load even when the code is working, that's just how this style of client heavy SPA works.)

The main problem you will hit right in Chapter One is mentioned in the book on page 48 "Upgrading the typescriptServices.js file" The book says to replace a file in your VS 2015 installation with a file you can download from github (yes, this will prompt a mature developer to have all of their angry fears about the instability of the technology confirmed). I'm very glad that that little section is in the book. I am happier to say that as of my writing this review, that section is obsolete. You do not have to take a chance of killing your sacred VS2015 installation because Microsoft has released an official installer package ( TypeScript_Dev14Full.exe ) that you can download and use to update your machine. It is not a hack that some faceless person put on NuGet, it is a real MS patch. Install it and the //Observable cannot be found and other cannot-be-founds from Chapter One go away (as of the time I write this anyway, the tech is volatile and unstable and there's a good chance that some other library will muck it up all over again but as of now that is something to get and install to get Chapter One to actually work on a Windows 10 Pro machine).

Now just some tips:
- use EXACTLY the versions of resources the book uses. Do not tempt fate by adding a caret before the version numbers to let VS automatically grab the highest minor version available. AFTER you finish the book coding THEN you can add the caret and see if the thousands of minor updates break everything you did. If you see a leading caret in the book, don't use it. I trusted that minor updates would be best practice and they just added debugging woes for nothing.

- The book uses EMCAScript 5, I think, it doesn't actually come out and say it flatly but on page 31 you see that you are supposed to type "target":"es5" so I thought that meant EMCAScript5. EMCA6 is out, I think it was out around the time the book was released but 5 is what you're told to use (this is sounding like a Monty Python hand grenade joke). Why is this a point? The templates and scripts in the ts files are shown being wrapped in backquotes. I thought that backquotes were an es6 thing and not a es5 thing, I was wrong. It's confusing, especially when you're just typing away and your robot fingers type wrappings in single quotes and the IDE and Gulp don't complain but then your left staring at that loading screen forever wondering: "what the heck is wrong with this now!" The backquote or "grave accent" symbol is the one to the left of the 1 key; It's the unshifted tilde. As I said, The code in the Kindle and the printed book and in the downloads that you should get to check your work when it doesn't run is definitely *using the backquote*. Whether it's 5 or 6 it seems on my machine that if you don't use it you will not get things working. Even though some resources out there tell us that the backquote is a 6 thing - whatever, use the backquote. The ECMAScript 6 docs made a clear, bolded point about it being a very important new thing and adding difficulty for the sake of being special is just part of the silliness of the tech industry. If nothing renders, go check that first until your robot coding fingers are trained.

- page 81, just after a slightly confusing few pages on the different options for routing including a note that custom routing "could even be a better choice to shield our controllers against most trivial forms of request flood and/or DDoS attacks" the book says in the 'Three choices to route them all' section that "In this chapter we're going to use all of these approaches in order to learn when, where and how to properly make use of either of them.' Then the book code shows only attribute based routing and there's no plain talk of any reasons to use anything else. I would have liked to see an example of custom routing since he pointed out that it might be a good thing to use.

- page 135 showing the appRoutes array that you have to go back and add to a few times later... remember to keep the path: '**' at the end. The Author does mention to add the new stuff above that line but make a big flag for "ASP.NET developers" that '**' is the wildcard syntax for the Default and must always be the last item.

- page 143 shows the rewrite section of web.config under the handlers section. That don't work. You have to move it up above the handlers. (Hey, doesn't everyone say that Angular and ASP.Net Core means the end of web.config? Doesn't it say that in the beginning of this book? Huh, guess that's an Alternative fact.)

++++ Note: this point was due to my bad. I used Chrome and IE to look at http OpenGameList dot com, Chrome is my default and IE I use for checking because I'm a 'URL-to-shortcut dragger' which Edge doesn't support and Edge sometimes does 'helpful' things that can confuse me... like tricking me into thinking that I've set up my IIS redirects correctly. When you type http WWW dot OpenGameList dot com in Chrome or IE you will get the book site, else you will get ryadel dot com which is a great example of the book code taken to the next level... but it is not the book code. I apologize, and the 'debugging' of this is in the Comments for this review. The Author helping me proved even more that he is dedicated and 'like a friend.' I still would have liked to see the front end for the Comments after all of the backend code for it was in the book, but I can't say that the demo site was a mismatch to what the book covered. ++++

- The book tells you that the code in the book was used to make the running website OpenGameList dot com. And it says that once you finish the book you will get an exact duplicate of that real world site. That's not true. The site redirects to another domain name but that's not the issue. At that new domain name you WILL see a site that looks like what you think you are making. But it is not. In the opening chapters of the book you are guided through the minutia of making objects for the "Comments" that you see on that site. There is much good talk and big, clear diagrams and detailed code about how the **Comments** will use a self-referencing table. All very good. But after you finish typing in all the object code and after you later create the code that will tell EF to generate the tables and columns to support the feature including all of the code to seed the tables with data in the self-referencing way... you never hear about ***Comments*** again. Ok, that's not true, you get this line from the very end of Chapter 9:

"We are perfectly aware of the fact that a number of relevant features are still missing, such as the inability to refresh JWT Tokens, the lack of View Comments/Insert Comment components, the missing support for user-uploaded item image files and so on. However it is undoubtedly a potentially shippable product that will most likely meet our product owner's expectations."

Ummmmmm. Ok I didn't see any mention of image uploading on the web site and there was not mention of it in the book until this point so I wasn't expecting it. But the ****Comments**** feature was very well covered (pages 159 - 167 plus page 179-180 for the detailed seeding code) and it IS on the web site that we supposedly were making a complete duplicate of. So I don't know why any "product owner" would pay you when you deliver this after showing them that. Honestly, I feel a little cheated on this point.

The Item code that makes up most of the book shows the basics of a getting and showing the results of single, simple complete rows from a single table. The Item code is very good and solid code to show the very simplest of calls against a data source. The *****COMMENTS***** feature is talked about very distinctly and in detail over its complexity for the database and service objects so when you finish the several pages of typing for it you do expect it to be the big learning experience of the book... THE ONE THAT YOU REALLY WILL LEARN THE MOST FROM AND USE THE MOST IN A REAL WORLD PROGRAM. And the book throws it away. It just isn't in the clientside that you kind of bought an Angular 2 / .Net Core book for. +++ See the note above about this point and the comments from the Author +++

Just know that going in.

Related, but arguably acceptable, the book shows no way to search for an item. The web site demonstration doesn't have the feature - something that you'll probably notice right away - so that's the hint. However, there's a bit of a bait n switch in the book. On page 209 when discussing Observables and subscribing it says "... we'll see it better when we implement some reactive functionalities such as search with autocomplete and similar stuff." Makes you think that you will at some point be seeing examples of 'search with autocomplete and similar stuff.' I figured showing FullTextSearch with EntityFramework Core would be a lot of magical pages ;-), but truth is you won't find even how to search a single String column on a single table in this book. And no 'autocomplete or similar stuff.'

Look, it's a great book. Very, very well written in conversational style. I think it was translated into English so the team gets major cudos for making it so perfectly readable. It is an enjoyable read, like your friend, a long time coder who's been around like you, is talking to you. It shows the basics and goes into some great detail. It does a decent job at the basics and some of the most common gotchas of deployment to IIS (though, that is always more of an Art than a follow-the-bouncing-ball task). Most all of the stuff above is little stuff that a working developer is used to working around with a book o'code. But ... I would give it 5 stars, maybe 6, if only it had done one thing: Included the code for the clientside of the Comments. Honestly, I think that hitting the extra tables and bringing back the parent-child with CRUD examples would have made this a go-to reference that I would bring with me and use whenever I started up any new SPA project - I don't do them often so when I do a refresher tome would be great to have and this is soooo close. Without that, it's a book I'll take with me but I know I'll be feeling the pain of Google and all the out of date, just pointers to videos and flat out wrong blogs for the stuff that my "product owners" actually want in even a v.5 release.

Glad I bought it, with that caveat.
3 di 3 persone hanno trovato utile la seguente recensione
5.0 su 5 stelle Perfect balance between "do it yourself" and "let me show you". 1 febbraio 2017
Di Timothy Myers - Pubblicato su Amazon.com
Formato: Formato Kindle Acquisto verificato
This is one of the best most complete programming books of any language I have ever found. I have attached a screenshot of all the programming books I have purchased. This is not a complete list these are just the Kindle books I have purchased. I have not taken the time to write any reviews for any of those books.

I think where most books go wrong is they either just paste in a bunch of code and say, "OK, copy all of the code out of this book and you will be a programmer"...WRONG

Or they take this approach: "You will not write any code in this book, I will blab on about theory until you get bored to death and never open this book again"...WRONG

THIS book is the PERFECT balance of those two extremes. It is a nice balance between theory and getting your hands dirty. I hope Valerio writes more books in the future, I will buy them with no questions asked.

Great Job!!!
1.0 su 5 stelle Convoluted, hard to read and follow, really slow going. Better check the Big Nerd Ranch publishings. 24 marzo 2017
Di Damir Colak - Pubblicato su Amazon.com
Formato: Copertina flessibile Acquisto verificato
Really convoluted book. This sentence from the book is a real example of it:

"In other words, unless the task is so trivial, or involves a minimal amount of data, that the client can entirely handle it, meaning that it already has everything that they need."

WTH did the author want to say and why in the world did he use so many words? Check the punctuation too.

First 63 pages just to try to setup the development environment!

Really?! Is that kind of technology you'd like to use?
1 di 1 persone hanno trovato utile la seguente recensione
5.0 su 5 stelle This is a great book for learning to put these 2 technologies together 27 marzo 2017
Di nhandrew - Pubblicato su Amazon.com
Formato: Copertina flessibile Acquisto verificato
I don't usually write reviews, but I had to give this book its props. This is a great book for learning to put these 2 technologies together, even if you are unfamiliar with one or both. Most impressive to me was the author's ability to explain what was going on in every step of the process. This has become my go-to on how to architect applications even when I'm using different technologies than the author used in the examples.
1 di 1 persone hanno trovato utile la seguente recensione
4.0 su 5 stelle Great book. I gave it four stars because the ... 5 febbraio 2017
Di Luis F. Penedo - Pubblicato su Amazon.com
Formato: Copertina flessibile Acquisto verificato
Great book. I gave it four stars because the printing errors I found like saying that the changes in the code were highlighted and in reality not all of them were like that. Also I ended up with different configuration files and I had to use automapper because I wasn't able to use the one suggested in the book. Other than that it provides a good introduction to AngularJS 2 and type script.
click to open popover