ASP.NET Core Recipes

ASP.NET Core Recipes PDF Author: John Ciliberti
Publisher: Apress
ISBN: 1484204271
Category : Computers
Languages : en
Pages : 431

Get Book

Book Description
Quickly find solutions to common web development problems. Content is presented in the popular problem-solution format. Look up the problem that you want to solve. Read the solution. Apply the solution directly in your own code. Problem solved! ASP.NET Core Recipes is a practical guide for developers creating modern web applications, cutting through the complexities of ASP.NET, jQuery, React, and HTML5 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 MVC framework and development tools, presenting typical challenges, along with code solutions and clear, concise explanations, to accelerate application development. Solve problems immediately by pasting in code from the recipes, or put multiple recipe solutions together to overcome challenging development obstacles. What You'll Learn Take advantage of MVC's streamlined syntax Discover how to take full control over HTML Develop a simple API for creating RESTful web services Understand test-driven development Migrate a project from ASP.NET web forms to Core MVC, including recipes for converting DataGrids, Forms, Web Parts, Master Pages, and navigation controls Use Core MVC in combination with popular JavaScript libraries, including jQuery, React, Bootstrap, and more Write unit tests for your MVC controllers, views, custom filters, and HTML helpers Utilize the latest features in Visual Studio 2017 to accelerate your Core MVC projects Identify performance bottlenecks in your MVC application Who This Book Is For Web developers of all skill levels who are looking for a programming reference for ASP.NET Core MVC and would like to gain an understanding of the inner workings of the platform. In addition, parts of this book provide guidance to developers familiar with ASP.NET Web Forms who would like to update their skill set to include Core MVC.

ASP.NET Core in Action, Third Edition

ASP.NET Core in Action, Third Edition PDF Author: Andrew Lock
Publisher: Simon and Schuster
ISBN: 1633438627
Category : Computers
Languages : en
Pages : 982

Get Book

Book Description
Build professional-grade full-stack web applications using C# and ASP.NET Core. ASP.NET Core in Action, Third Edition is a comprehensive guide to creating web applications with ASP.NET Core 7.0. In it, Microsoft MVP Andrew Lock teaches you how you can use your C# and .NET skills to build amazing cross-platform web applications, and you'll quickly progress from HTTP concepts to advanced framework customization. Illustrations and annotated code make learning visual and easy, while hands-on examples demonstrate logins, dependency injection, security, and more. This updated edition covers the latest features and new paradigms of ASP.NET Core 7, such as minimal APIs and minimal hosting. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

ASP.NET MVC 4 Recipes

ASP.NET MVC 4 Recipes PDF Author: John Ciliberti
Publisher: Apress
ISBN: 1430247746
Category : Computers
Languages : en
Pages : 618

Get Book

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.

ASP.NET Core 5 Secure Coding Cookbook

ASP.NET Core 5 Secure Coding Cookbook PDF Author: Roman Canlas
Publisher: Packt Publishing Ltd
ISBN: 1801079021
Category : Computers
Languages : en
Pages : 324

Get Book

Book Description
Learn how to secure your ASP.NET Core web app through robust and secure code Key FeaturesDiscover the different types of security weaknesses in ASP.NET Core web applications and learn how to fix themUnderstand what code makes an ASP.NET Core web app unsafeBuild your secure coding knowledge by following straightforward recipesBook Description ASP.NET Core developers are often presented with security test results showing the vulnerabilities found in their web apps. While the report may provide some high-level fix suggestions, it does not specify the exact steps that you need to take to resolve or fix weaknesses discovered by these tests. In ASP.NET Secure Coding Cookbook, you'll start by learning the fundamental concepts of secure coding and then gradually progress to identifying common web app vulnerabilities in code. As you progress, you'll cover recipes for fixing security misconfigurations in ASP.NET Core web apps. The book further demonstrates how you can resolve different types of Cross-Site Scripting. A dedicated section also takes you through fixing miscellaneous vulnerabilities that are no longer in the OWASP Top 10 list. This book features a recipe-style format, with each recipe containing sample unsecure code that presents the problem and corresponding solutions to eliminate the security bug. You'll be able to follow along with each step of the exercise and use the accompanying sample ASP.NET Core solution to practice writing secure code. By the end of this book, you'll be able to identify unsecure code causing different security flaws in ASP.NET Core web apps and you'll have gained hands-on experience in removing vulnerabilities and security defects from your code. What you will learnUnderstand techniques for squashing an ASP.NET Core web app security bugDiscover different types of injection attacks and understand how you can prevent this vulnerability from being exploitedFix security issues in code relating to broken authentication and authorizationEliminate the risks of sensitive data exposure by getting up to speed with numerous protection techniquesPrevent security misconfiguration by enabling ASP.NET Core web application security featuresExplore other ASP.NET web application vulnerabilities and secure coding best practicesWho this book is for This ASP.NET Core book is for intermediate-level ASP.NET Core web developers and software engineers who use the framework to develop web applications and are looking to focus on their security using coding best practices. The book is also for application security engineers, analysts, and specialists who want to know more about securing ASP.NET Core using code and understand how to resolve issues identified by the security tests they perform daily.

ASP.NET Core in Action, Second Edition

ASP.NET Core in Action, Second Edition PDF Author: Andrew Lock
Publisher: Simon and Schuster
ISBN: 1638356459
Category : Computers
Languages : en
Pages : 1267

Get Book

Book Description
ASP.NET Core in Action, Second Edition is a comprehensive guide to creating web applications with ASP.NET Core 5.0. Go from basic HTTP concepts to advanced framework customization. Summary Fully updated to ASP.NET 5.0, ASP.NET Core in Action, Second Edition is a hands-on primer to building cross-platform web applications with your C# and .NET skills. Even if you've never worked with ASP.NET you'll start creating productive cross-platform web apps fast. And don’t worry about late-breaking changes to ASP.NET Core. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Build full-stack web applications that run anywhere. Developers love ASP.NET Core for its libraries and pre-built components that maximize productivity. Version 5.0 offers new features for server-side apps, as well as background services for cross-platform development. About the book ASP.NET Core in Action, Second Edition is a comprehensive guide to creating web applications with ASP.NET Core 5.0. Go from basic HTTP concepts to advanced framework customization. Illustrations and annotated code make learning visual and easy. Master logins, dependency injection, security, and more. This updated edition covers the latest features, including Razor Pages and the new hosting paradigm. What's inside Developing apps for Windows and non-Windows servers Configuring applications Building custom components Logging, testing, and security About the reader For intermediate C# developers. About the author Andrew Lock is a Microsoft MVP who has worked with ASP.NET Core since before its first release. Table of Contents PART 1 - GETTING STARTED WITH ASP.NET CORE 1 Getting started with ASP.NET Core 2 Your first application 3 Handling requests with the middleware pipeline 4 Creating a website with Razor Pages 5 Mapping URLs to Razor Pages using routing 6 The binding model: Retrieving and validating user input 7 Rendering HTML using Razor views 8 Building forms with Tag Helpers 9 Creating a Web API for mobile and client applications using MVC PART 2 - BUILDING COMPLETE APPLICATIONS 10 Service configuration with dependency injection 11 Configuring an ASP.NET Core application 12 Saving data with Entity Framework Core 13 The MVC and Razor Pages filter pipeline 14 Authentication: Adding users to your application with Identity 15 Authorization: Securing your application 16 Publishing and deploying your application PART 3 - EXTENDING YOUR APPLICATIONS 17 Monitoring and troubleshooting errors with logging 18 Improving your application’s security 19 Building custom components 20 Building custom MVC and Razor Pages components 21 Calling remote APIs with IHttpClientFactory 22 Building background tasks and services 23 Testing your application

ASP.NET Web API 2: Building a REST Service from Start to Finish

ASP.NET Web API 2: Building a REST Service from Start to Finish PDF Author: Jamie Kurtz
Publisher: Apress
ISBN: 1484201094
Category : Computers
Languages : en
Pages : 266

Get Book

Book Description
The ASP.NET MVC Framework has always been a good platform on which to implement REST-based services, but the introduction of the ASP.NET Web API Framework raised the bar to a whole new level. Now in release version 2.1, the Web API Framework has evolved into a powerful and refreshingly usable platform. This concise book provides technical background and guidance that will enable you to best use the ASP.NET Web API 2 Framework to build world-class REST services. New content in this edition includes: New capabilities in Web API 2 (currently version 2.1). Support for partial updates, or PATCH. API versioning. Support for legacy SOAP-based operations. How to handle non-resource APIs using REST How to best expose relationships between resources JSON Web Tokens, CORS, CSRF Get ready for authors Jamie Kurtz and Brian Wortman to take you from zero to REST service hero in no time at all. No prior experience with ASP.NET Web API is required; all Web API-related concepts are introduced from basic principles and developed to the point where you can use them in a production system. A good working knowledge of C# and the .NET Framework are the only prerequisites to best benefit from this book.

ASP.NET Core MVC 2.0 Cookbook

ASP.NET Core MVC 2.0 Cookbook PDF Author: Jason De Oliveira
Publisher: Packt Publishing Ltd
ISBN: 1785889664
Category : Computers
Languages : en
Pages : 657

Get Book

Book Description
Learn to implement ASP.NET Core features to build effective software that can be scaled and maintained easily Key Features Practical solutions to recurring issues in the web development world Recipes on the latest features of ASP.Net Core 2.0 Coverage of Bootstrap, Angular, and JavaScript lets you supercharge your frontend Book Description The ASP.NET Core 2.0 Framework has been designed to meet all the needs of today’s web developers. It provides better control, support for test-driven development, and cleaner code. Moreover, it’s lightweight and allows you to run apps on Windows, OSX and Linux, making it the most popular web framework with modern day developers. This book takes a unique approach to web development, using real-world examples to guide you through problems with ASP.NET Core 2.0 web applications. It covers Visual Studio 2017- and ASP.NET Core 2.0-specifc changes and provides general MVC development recipes. It explores setting up .NET Core, Visual Studio 2017, Node.js modules, and NuGet. Next, it shows you how to work with Inversion of Control data pattern and caching. We explore everyday ASP.NET Core MVC 2.0 patterns and go beyond it into troubleshooting. Finally, we lead you through migrating, hosting, and deploying your code. By the end of the book, you’ll not only have explored every aspect of ASP.NET Core MVC 2.0, you’ll also have a reference you can keep coming back to whenever you need to get the job done. What you will learn Build ASP.Net Core 2.0 applications using HTTP services with WebApi Learn to unit-test, load test, and perform test applications using client-side and server-side frameworks Debug, monitor and troubleshoot ASP.Net Core 2.0 applications using popular tools Reuse components with NuGet and create modular components with middleware Create applications using client-side technologies such as HTML5, JavaScript, jQuery, and Angular Build responsive and dynamic UIs for your MVC apps using Bootstrap Leverage tools like Karma, Jasmine, QUnit, xUnit, Selenium, Microsoft Fakes, and Visual Studio 2017 Enterprise Who this book is for This book is written for the ASP.NET developer who wants to deliver professional-standard software, quickly and efficiently. It's filled with hands-on recipes, practical advice, and guidance to help developers with every aspect of the ASP.NET development cycle. Whether you've just started out or are a seasoned pro, the Asp.Net Core 2.0 Cookbook is written for you.

Entity Framework 6 Recipes

Entity Framework 6 Recipes PDF Author: Zeeshan Hirani
Publisher: Apress
ISBN: 1430257881
Category : Computers
Languages : en
Pages : 536

Get Book

Book Description
Entity Framework 6 Recipes provides an exhaustive collection of ready-to-use code solutions for Entity Framework, Microsoft's model-centric, data-access platform for the .NET Framework and ASP.NET development. With this book, you will learn the core concepts of Entity Framework through a broad range of clear and concise solutions to everyday data access tasks. Armed with this experience, you will be ready to dive deep into Entity Framework, experiment with new approaches, and develop ways to solve even the most difficult data access challenges. If you are a developer who likes to learn by example, then this is the right book for you. Gives ready-to-use, real-world recipes to help you with everyday tasks Places strong focus on DbContext and the Code First approach Covers new features such as Asynch Query and Save, Codebased Configuration, Connection Resiliency, Dependency Resolution, and much more What you’ll learn Implement basic data access design patterns using Entity Framework. Seamlessly model your solutions across both code and data. Provide data access to Windows 8 and Metro applications. Integrate with WCF Data Services Improve data access performance. Simplify and reduce your code through data binding. Who this book is for Entity Framework 6 Recipes is for anyone learning Microsoft’s Entity Framework—Microsoft’s primary data access platform in the .NET Framework. If you have ever struggled to learn a new technology, programming model, or way of doing something, you know how helpful simple and real-world examples can be. For the beginning developer, this book provides concrete examples for common data access tasks. For developers having experience with previous Microsoft data access platforms, this book provides a task-by-task mapping between previous approaches and the patterns used in Entity Framework. Table of Contents Getting Started with Entity Framework Entity Data Modeling Fundamentals Querying an Entity Data Model Using Entity Framework in ASP.NET Loading Entities and Navigation Properties Beyond the Basics with Modeling and Inheritance Working with Object Services Plain Old CLR Objects Using the Entity Framework in N-Tier Applications Stored Procedures Functions Customizing Entity Framework Objects Improving Performance Concurrency

.NET Standard 2.0 Cookbook

.NET Standard 2.0 Cookbook PDF Author: Fiqri Ismail
Publisher: Packt Publishing Ltd
ISBN: 1788838726
Category : Computers
Languages : en
Pages : 389

Get Book

Book Description
Get the most out of .NET framework using standard libraries and create a .NET Standard 2.0 library from scratch Key Features Write code once and share within .NET ecosystem in Windows, Linux and macOS Give your .NET Libraries a common framework in cloud and on premise with the latest .NET Standard 2.0 Build a wide range of applications from Mobile with Xamarin to Web with ASP.NET Book Description The .NET Standard is a standard that represents a set of APIs that all .NET platforms have to implement, making it easy for developers to access and use one common library for their development needs. This book begins with a quick refresher, helping you understand the mechanics of the new standard and offering insight into how it works. You’ll explore the core library concepts, such as working with collections, configurations, I/O, security, and multithreading. You’ll explore the iOS and Android libraries of Xamarin and we’ll guide you through creating a .NET Standard 2.0 library, which you’ll use with both Android and iOS applications. In the final chapters, you’ll learn the various debugging and diagnostics tools to deliver quality libraries and create a NuGet package of the .NET Standard 2.0 library. By the end of this book, you’ll be able to expand your current workflow to various .NET flavors and have the essential skills to create a .NET Standard 2.0 library from scratch to package and deliver it to the world. What you will learn Create a .NET Standard 2.0 library Use System.IO within the .NET Standard 2.0 Make use of your legacy .NET libraries with the new .NET Core standard Explore the thread support to create a multithreaded .NET Standard 2.0 library Create a .NET Standard 2.0 library and use it with an Android and iOS application Implement various Visual Studio 2017 diagnostics and debugging tools Create a NuGet Package and submit the package to the NuGet Package Manager Use Visual Studio 2017 azure tools to deploy the application to Azure Test and deliver a .NET Standard 2.0 library Who this book is for This book is for .NET developers who are looking to build dynamic applications with the latest .NET Standard. C# knowledge is required.

An An Atypical ASP.NET Core 5 Design Patterns Guide

An An Atypical ASP.NET Core 5 Design Patterns Guide PDF Author: Carl-Hugo Marcotte
Publisher: Packt Publishing Ltd
ISBN: 1789340659
Category : Computers
Languages : en
Pages : 762

Get Book

Book Description
A .NET developer’s guide to crafting robust, maintainable, and flexible web apps by leveraging C# 9 and .NET 5 features and component-scale and application-scale design patterns Key FeaturesApply software design patterns effectively, starting small and progressing to cloud-scaleDiscover modern application architectures such as vertical slice, clean architecture, and event-driven microservicesExplore ASP.NET design patterns, from options to full-stack web development using BlazorBook Description Design patterns are a set of solutions to many of the common problems occurring in software development. Knowledge of these design patterns helps developers and professionals to craft software solutions of any scale. ASP.NET Core 5 Design Patterns starts by exploring basic design patterns, architectural principles, dependency injection, and other ASP.NET Core mechanisms. You’ll explore the component scale as you discover patterns oriented toward small chunks of the software, and then move to application-scale patterns and techniques to understand higher-level patterns and how to structure the application as a whole. The book covers a range of significant GoF (Gangs of Four) design patterns such as strategy, singleton, decorator, facade, and composite. The chapters are organized based on scale and topics, allowing you to start small and build on a strong base, the same way that you would develop a program. With the help of use cases, the book will show you how to combine design patterns to display alternate usage and help you feel comfortable working with a variety of design patterns. Finally, you’ll advance to the client side to connect the dots and make ASP.NET Core a viable full-stack alternative. By the end of the book, you’ll be able to mix and match design patterns and have learned how to think about architecture and how it works. What you will learnApply the SOLID principles for building flexible and maintainable softwareGet to grips with .NET 5 dependency injectionWork with GoF design patterns such as strategy, decorator, and compositeExplore the MVC patterns for designing web APIs and web applications using RazorDiscover layering techniques and tenets of clean architectureBecome familiar with CQRS and vertical slice architecture as an alternative to layeringUnderstand microservices, what they are, and what they are notBuild ASP.NET UI from server-side to client-side BlazorWho this book is for This design patterns book is for intermediate-level software and web developers with some knowledge of .NET who want to write flexible, maintainable, and robust code for building scalable web applications. Knowledge of C# programming and an understanding of web concepts like HTTP is necessary.