JavaScript for .NET Developers


Book Description

Unlock the potential of evergreen browsers and increase the efficiency of your ASP.NET applications by learning how to write JavaScript About This Book Boost your skillset and start bringing JavaScript into your web development projects Leverage your existing ASP.NET knowledge to develop dynamic and responsive SPAs Learn effective design patterns for sustainable, and scalable web development Who This Book Is For This book is for ASP.NET developers that want to bring JavaScript into their skillset to build applications that are truly dynamic and responsive. It's for developers who are focused on developing for users who want to deliver a great end product and a fantastic experience. What You Will Learn Get to grips with the basic to advanced concepts of JavaScript Learn how to use JavaScript on server side using Node.js Develop web applications in ASP.NET using JavaScript Get to know with industry-wide best practices and design patterns that provide maintainability and scalability Build an ASP.NET application using Angular 2 with TypeScript and Web API Explore WinJS and see how to use mobile capabilities from web applications Use JavaScript to develop scalable ASP.NET applications See how to test and debug JavaScript In Detail If you want to improve responsiveness or the UX in your ASP.NET applications, JavaScript can be a life saver. In an age where server-side operations have shifted to the client, being able to handle JavaScript with confidence and fluency is vital for ASP.NET developers. There's no point trying to fight it, so start learning with this book. Make sure your projects exceed user expectations. Begin by getting stuck into the basics of JavaScript, and explore the language in the context of ASP.NET Core. You'll then find out how to put the principles into practice, as you learn how to develop a basic ASP.NET application using Angular 2 and TypeScript. You'll also develop essential skills required to develop responsive apps, with a little help from AJAX, ensuring that you're building projects that can be easily accessed across different devices. With guidance on Node.js and some neat techniques to test and debug a range of JavaScript libraries in Visual Studio, you'll soon be well on your way to combining JavaScript with ASP.NET in a way that's capable of meeting the challenges of modern web development head-on. Style and approach This book will build the skillset of every .NET developer, so they can build stronger and more responsive web apps with confidence.




HTML5 for .NET Developers


Book Description

Summary HTML5 for .NET Developers teaches professional software engineers how to integrate the latest HTML5 APIs and semantic markup into rich web applications using JavaScript, ASP.NET MVC, and WCF. Written from the .NET perspective, this book is full of practical applications and ways to connect the new web standards with your existing development practices About the Technology A shift is underway for Microsoft developers—to build web applications you'll need to integrate HTML5 features like Canvas-based graphics and the new JavaScript-driven APIs with familiar technologies like ASP.NET MVC and WCF. This book is designed for you. About this Book HTML5 for .NET Developers teaches you how to blend HTML5 with your current .NET tools and practices. You'll start with a quick overview of the new HTML5 features and the semantic markup model. Then, you'll systematically work through the JavaScript APIs as you learn to build single page web apps that look and work like desktop apps. Along the way, you'll get tips and learn techniques that will prepare you to build "metro-style" applications for Windows 8 and WP 8. This book assumes you're familiar with HTML, and concentrates on the intersection between new HTML5 features and Microsoft-specific technologies. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside HTML5 from a .NET perspective Local storage, threading, and WebSockets Using JSON-enabled web services WCF services for HTML5 How to build single page web apps "This book speaks directly to the interests and concerns of the .NET developer."—From the Forward by Scott Hanselman, Microsoft Table of Contents HTML5 and .NET A markup primer: classic HTML, semantic HTML, and CSS Audio and video controls Canvas The History API: Changing the game for MVC sites Geolocation and web mapping Web workers and drag and drop Websockets Local storage and state management Offline web applications




Node.js for .NET Developers


Book Description

Build scalable, high-traffic websites and web applications with Node.js For many .NET programmers, Node.js represents a new way to build high-traffic websites and applications. Now there's a practical, concise introduction to Node.js specifically for Microsoft developers. David Gaynes guides you through the entire Node.js development process. Using Microsoft Visual Studio examples, he addresses everything from setting up servers and authorization through delivering rich CSS pages packed with graphics and data-driven content. Gaynes clearly explains Node.js's async model, coding approach, request/response paradigm, site structure, data management, security, and more. This quick guide will help you apply your hard-won .NET skills to Node.js. Expert guidance showing you how to: Choose, organize, and configure the tools you need to build Node.js solutions in Visual Studio Apply JavaScript coding practices that help you avoid problems in Node.js Work with callback functions and the Node.js asynchronous programming model Set up a Node.js project and use what you know about MVVM and MVC patterns Control the entire Node.js request/response life cycle Establish site structure, routes, and access to static resources Manage data through caching, forms, IO techniques, and file uploads Integrate data from Microsoft SQL Server and other databases Use Passport to integrate simple, flexible authentication




Learning Node.js for .NET Developers


Book Description

Solve practical real-world problems using JavaScript and Node.js About This Book Learn the concepts of Node.js to gain a high-level understanding of the Node.js execution model Build an interactive web application with MongoDB and Redis and create your own JavaScript modules that work both on the client side and server side Familiarize yourself with the new features of Node.js and JavaScript with this exclusive step-by-step guide Who This Book Is For This book is for developers who want to learn JavaScript and Node.js. Previous experience with programming is desired, but no JavaScript or Node.js knowledge is required. The book focuses mostly on web development, such as networking, serving dynamic pages, and real-time client-server communication. What You Will Learn Understand which problems Node.js best solves Write idiomatic JavaScript and Node.js code Build web applications and command-line tools Minimise complexity and efficiently solve difficult problems Test and deploy Node.js applications Work with persistent data Implement real-time client-server applications Integrate .NET and Node.js code In Detail Node.js is an open source, cross-platform runtime environment that allows you to use JavaScript to develop server-side web applications. This short guide will help you develop applications using JavaScript and Node.js, leverage your existing programming skills from .NET or Java, and make the most of these other platforms through understanding the Node.js programming model. You will learn how to build web applications and APIs in Node, discover packages in the Node.js ecosystem, test and deploy your Node.js code, and more. Finally, you will discover how to integrate Node.js and .NET code. Style and approach This is a step-by-step and practical guide to Node.js for .Net developers. It covers the fundamentals relating to typical applications. The focus is on providing the practical skills required to develop applications, with a summary of the key concepts covered.




Getting Started with Knockout.js for .NET Developers


Book Description

This book is intended for .NET developers who want to use the MVVM design pattern to create powerful client-side JavaScript linked to server-side C# logic. Basic experience with ASP.NET, Razor, and creating web applications is needed.




Hands-On TypeScript for C# and .NET Core Developers


Book Description

Discover how TypeScript allows you to build modern client-rich applications, thanks to its object-oriented capabilities and third-party tools like Angular and Web APIs Key FeaturesMake a seamless transition to using TypeScript 3.1 in your development stackWork with TypeScript 3.1 in your ASP.NET Core projects to build rich applications that are easy to maintainBuild, test, and integrate your own TypeScript library in real-world projectsBook Description Writing clean, object-oriented code in JavaScript gets trickier and complex as the size of the project grows. This is where Typescript comes into the picture; it lets you write pure object-oriented code with ease, giving it the upper hand over JavaScript. This book introduces you to basic TypeScript concepts by gradually modifying standard JavaScript code, which makes learning TypeScript easy for C# ASP.NET developers. As you progress through the chapters, you'll cover object programming concepts, such as classes, interfaces, and generics, and understand how they are related to, and similar in, both ES6 and C#. You will also learn how to use bundlers like WebPack to package your code and other resources. The book explains all concepts using practical examples of ASP.NET Core projects, and reusable TypeScript libraries. Finally, you'll explore the features that TypeScript inherits from either ES6 or C#, or both of them, such as Symbols, Iterables, Promises, and Decorators. By the end of the book, you'll be able to apply all TypeScript concepts to understand the Angular framework better, and you'll have become comfortable with the way in which modules, components, and services are defined and used in Angular. You'll also have gained a good understanding of all the features included in the Angular/ASP.NET Core Visual Studio project template. What you will learnOrganize, test, and package large TypeScript code baseAdd TypeScript to projects using TypeScript declaration filesPerform DOM manipulation with TypeScriptDevelop Angular projects with the Visual Studio Angular project templateDefine and use inheritance, abstract classes, and methodsLeverage TypeScript-type compatibility rulesUse WebPack to bundle JavaScript and other resources such as CSS to improve performanceBuild custom directives and attributes, and learn about animationsWho this book is for If you’re a C# or .NET developer looking for an easy accessible way of learning TypeScript, this book is for you.




Learning Angular for .NET Developers


Book Description

Build efficient web apps and deliver great results by integrating Angular and the .NET framework About This Book Become a more productive developer and learn to use frameworks that implement good development practices Achieve advanced autocompletion, navigation, and refactoring in Angular using Typescript Follow a gradual introduction to the concepts with a lot of examples and explore the evolution of a production-ready application Who This Book Is For If you are a .NET developer who now wants to efficiently build single-page applications using the new features that Angular 4 has to offer, then this book is for you. Familiarity of HTML, CSS, and JavaScript is assumed to get the most from this book. What You Will Learn Create a standalone Angular application to prototype user interfaces Validate complex forms with Angular version 4 and use Bootstrap to style them Build RESTful web services that work well with single-page applications Use Gulp and Bower in Visual Studio to run tasks and manage JavaScript packages Implement automatic validation for web service requests to reduce your boilerplate code Use web services with Angular version 4 to offload and secure your application logic Test your Angular version 4 and web service code to improve the quality of your software deliverables In Detail Are you are looking for a better, more efficient, and more powerful way of building front-end web applications? Well, look no further, you have come to the right place! This book comprehensively integrates Angular version 4 into your tool belt, then runs you through all the new options you now have on hand for your web apps without bogging you down. The frameworks, tools, and libraries mentioned here will make your work productive and minimize the friction usually associated with building server-side web applications. Starting off with building blocks of Angular version 4, we gradually move into integrating TypeScript and ES6. You will get confident in building single page applications and using Angular for prototyping components. You will then move on to building web services and full-stack web application using ASP.NET WebAPI. Finally, you will learn the development process focused on rapid delivery and testability for all application layers. Style and approach This book covers everything there is to know about getting well-acquainted with Angular 4 and .NET without bogging you down. Everything is neatly laid out under clear headings for quick consultation, offering you the information required to understand a concept immediately, with short, relevant examples of each feature.




Essential ASP.NET Web Forms Development


Book Description

Go from beginner to pro using one of the most effective and widely used technology stacks, Microsoft ASP.NET. Beginning with the basics, you will learn how to create interactive, professional-grade, database-driven web applications in no time, using ASP.NET, C#, SQL, Ajax, and JavaScript. Essential ASP.NET Web Forms Development is divided into six learning modules and will take you from soup to nuts with ASP.NET. Part I is an introduction to the major concepts, methodologies, and technologies associated with .NET web application development. You will learn about the client-server model, the .NET Framework, the ASP.NET and C# programming languages, and the Visual Studio integrated development environment. Part II teaches you how to develop a single-page .NET web application and add server and data validation controls, laying the foundation for learning languages in the context of an ASP.NET web application. Part III is all about C# operations and shows you how to perform assignment operations, conversion operations, control operations, string operations, arithmetic operations, date and time operations, array operations, collection operations, and file system operations, as well as create custom C# classes in the context of a .NET web application. In Part IV, you dive into a multiple-page .NET web application and learn how to maintain state between pages and create master pages, themes, and navigation controls. Part V shows you how to connect a .NET web application to a SQL Server database. You will learn to read a database schema, program in the SQL language, utilize data binding, perform single- and multiple-row database table maintenance, and write code behind database operations. And finally, Part VI teaches you how to enhance the interactivity of a .NET web application. You will learn how to generate email messages, make use of basic Ajax controls and the Ajax Control Toolkit, and program in the JavaScript language. What You Will Learn Delve into the basics of the client-server model, the .NET Framework, the ASP.NET and C# programming languages, and the Visual Studio integrated development environmentCreate a page and add server and data validation controlsDevelop basic programming skills in the C# languageMaintain state between pages and create master pages, themes, and navigation controlsRead a database schema, program in the SQL language, utilize data binding, perform single- and multiple-row database table maintenance, and write code behind database operationsGenerate email messages, make use of basic Ajax controls and the Ajax Control Toolkit, and program in the JavaScript language Who This Book Is For Anyone who wants to learn how to build ASP.NET web applications. Basic computer skills and the use of a database management system are recommended. Instructor materials and examples are available.




Node.js for .NET Developers


Book Description




Beginning jQuery 2 for ASP.NET Developers


Book Description

jQuery is the most popular JavaScript library in use today, appearing on nearly two thirds of the 10,000 most visited sites on the web. With this sort of popularity, it’s clear that ASP.NET developers can’t afford to miss out. By combining jQuery with ASP.NET you get the best of both worlds: the client-side interactivity and responsiveness of JavaScript with the robustness and extensibility of Microsoft's web stack. Beginning jQuery 2 for ASP.NET Developers shows you how. To begin with, you'll find out how jQuery hooks up with your ASP.NET controls, and simplifies event handling by keeping it in the browser. Then you'll learn to handle dynamic content and responsive layouts by interacting with the DOM. Effects and animations are one of the most popular uses of the jQuery library, so we cover that next—showing you how to get a sleek modern look and feel to your site using some of the vast library of JavaScript that's already out there waiting to be used. Ajax is one of the areas where jQuery really shines, so you'll find out how to make Ajax calls to a web service and get data onto a page without waiting for slow ASP.NET postbacks every time. And no book on jQuery would be complete without jQuery Mobile: the popular mobile web framework that gets you writing sites that work across all the major mobile platforms.