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.




ASP.NET MVC 5 with Bootstrap and Knockout.js


Book Description

Bring dynamic server-side web content and responsive web design together to build websites that work and display well on any resolution, desktop or mobile. With this practical book, you’ll learn how by combining the ASP.NET MVC server-side language, the Bootstrap front-end framework, and Knockout.js—the JavaScript implementation of the Model-View-ViewModel pattern. Author Jamie Munro introduces these and other related technologies by having you work with sophisticated web forms. At the end of the book, experienced and aspiring web developers alike will learn how to build a complete shopping cart that demonstrates how these technologies interact with each other in a sleek, dynamic, and responsive web application. Build well-organized, easy-to-maintain web applications by letting ASP.NET MVC 5, Bootstrap, and Knockout.js do the heavy lifting Use ASP.NET MVC 5 to build server-side web applications, interact with a database, and dynamically render HTML Create responsive views with Bootstrap that render on a variety of modern devices; you may never code with CSS again Add Knockout.js to enhance responsive web design with snappy client-side interactions driven by your server-side web application




Expert ASP.NET Web API 2 for MVC Developers


Book Description

Web API 2 is the latest evolution of Microsoft's web services toolkit, which allows the creation of RESTful applications built on the ASP.NET platform. It provides a standards-based approach and a high-productivity development model that makes it easy to deliver services to a wide-range of clients, including mobile devices. This book puts Web API into context for the experienced MVC Framework developer and dives deep into the tools and techniques required to build Web API applications that integrate with the MVC Framework and shows you how to create single-page applications to consume them. Best-selling author Adam Freeman explains how to get the most from Web API 2 by building on the foundation of the MVC Framework and the ASP.NET platform. He starts with the nuts-and-bolts and shows you everything through to advanced features, going in-depth to give you the knowledge you need.




ASP.NET Core Application Development


Book Description

This is the eBook of the printed book and may not include any media, website access codes, or print supplements that may come packaged with the bound book. Through four complete sprints, this book takes you through every step needed to build brand new cross-platform web apps with ASP.NET Core, and make them available on the Internet. You won't just master Microsoft's revolutionary open source ASP.NET Core technology: you'll learn how to integrate the immense power of MVC, Docker, Azure Web Apps, Visual Studio and Visual Studio Code, C#, JavaScript, TypeScript, and Entity Framework. Working through the authors' carefully designed sprints, you'll start with a blank canvas, move through software architecture and design, adjusting to user feedback, recovering from mistakes, builds, testing, deployment, maintenance, refactoring, and more. Along the way, you'll learn techniques for delivering state-of-the-art software to users more rapidly and repeatably than ever before.




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




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.




ASP.NET MVC 4 Recipes


Book Description

ASP.NET MVC 4 Recipes is a practical guide for developers creating modern web applications, cutting through the complexities of ASP.NET, jQuery, Knockout.js and HTML 5 to provide straightforward solutions to common web development problems using proven methods based on best practices. The problem-solution approach gets you in, out, and back to work quickly while deepening your understanding of the underlying platform and how to develop with it. Author John Ciliberti guides you through the framework and development tools, presenting typical challenges, along with code solutions and clear, concise explanations, to accelerate application development. Inside you will find recipes dealing with streamlined syntax, full control over HTML, a simple API for creating RESTful web services, writing support for test driven development, and more. Solve problems immediately by pasting in code from the recipes, or put multiple recipe solutions together to overcome challenging development obstacles. Dive head first into ASP.NET MVC web development with ASP.NET MVC 4 Recipes.




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.




Professional ASP.NET MVC 5


Book Description

ASP.NET MVC insiders cover the latest updates to the technology in this popular Wrox reference MVC 5 is the newest update to the popular Microsoft technology that enables you to build dynamic, data-driven websites. Like previous versions, this guide shows you step-by-step techniques on using MVC to best advantage, with plenty of practical tutorials to illustrate the concepts. It covers controllers, views, and models; forms and HTML helpers; data annotation and validation; membership, authorization, and security. MVC 5, the latest version of MVC, adds sophisticated features such as single page applications, mobile optimization, and adaptive rendering A team of top Microsoft MVP experts, along with visionaries in the field, provide practical advice on basic and advanced MVC topics Covers controllers, views, models, forms, data annotations, authorization and security, Ajax, routing, ASP.NET web API, dependency injection, unit testing, real-world application, and much more Professional ASP.NET MVC 5 is the comprehensive resource you need to make the best use of the updated Model-View-Controller technology.