- عنوان کتاب: Real-World Web Development with .NET 10
- نویسنده: Mark J. Price
- حوزه: برنامهنویسی NET.
- سال انتشار: 2025
- تعداد صفحه: 825
- زبان اصلی: انگلیسی
- نوع فایل: pdf
- حجم فایل: 10.7 مگابایت
کتابهای برنامهنویسی وجود دارند که هزاران صفحه طول دارند و هدفشان ارائه منابع جامع به زبان C#، کتابخانههای .NET و مدلهای اپلیکیشن مانند وبسایتها، سرویسها و اپلیکیشنهای دسکتاپ و موبایل است. این کتاب متفاوت است. مختصر است و هدفش خواندن سریع و سرگرمکنندهای است که با آموزشهای عملی عملی برای هر موضوع همراه است. وسعت روایت کلی به قیمت کمی عمق تمام میشود، اما در صورت تمایل، نشانههای زیادی برای کاوش بیشتر خواهید یافت. این کتاب همزمان یک راهنمای گام به گام برای یادگیری توسعه وب بالغ و اثباتشده با استفاده از .NET چندسکویی، همراه با ایجاد وبسایتها و سرویسهایی است که میتوانند با این فناوریها ساخته شوند. این کتاب برای مبتدیان ASP.NET Core مناسبترین است، اما باید تجربه قبلی با C# و .NET داشته باشید. اگر این تجربه را ندارید، کتاب من، C# 14 و .NET 10 – مبانی توسعه چندسکویی مدرن را توصیه میکنم. من به گوشهها و نکات جالب توسعه وب با استفاده از .NET اشاره خواهم کرد تا بتوانید همکاران خود را تحت تأثیر قرار دهید و به سرعت به بهرهوری برسید. به جای اینکه با توضیح هر نکتهی کوچکی سرعت برخی از خوانندگان را کم و آنها را خسته کنم، فرض میکنم که شما به اندازهی کافی باهوش هستید که در گوگل توضیحی برای موضوعاتی که مرتبط هستند اما ضروری نیستند تا در یک راهنمای مبتدی تا متوسط که فضای محدودی در یک کتاب چاپی دارد، گنجانده شوند، جستجو کنید. برخی از فصلها برای خوانندگانی که جزئیات بیشتری میخواهند، پیوندهایی به محتوای آنلاین مرتبط اضافی دارند. به عنوان مثال، فصل 1، معرفی توسعه وب در دنیای واقعی با استفاده از .NET، دارای یک بخش آنلاین در مورد توسعه وب در سمت کلاینت با استفاده از HTML، CSS و جاوا اسکریپت است. این کتاب برای توسعهدهندگان .NET سطح متوسط با درک خوب از اصول C# و .NET طراحی شده است. این کتاب برای توسعهدهندگانی که به دنبال گسترش مهارتهای خود در ساخت برنامههای وب حرفهای و مبتنی بر کنترلر هستند، ایدهآل است. فصل 1، معرفی توسعه وب در دنیای واقعی با استفاده از .NET، در مورد معرفی شما با توسعه وب بالغ و اثباتشده با .NET است. این به معنای مجموعهای از فناوریها است که طی یک دهه یا بیشتر با مستندات فراوان، انجمنهای پشتیبانی و سرمایهگذاری شخص ثالث، از جمله ASP.NET Core Model-View-Controller (MVC)، سرویسهای Web API با استفاده از کنترلرها و OData و چارچوبهای محبوبی مانند Umbraco CMS، اصلاح شدهاند. فصل 2، ساخت وبسایتها با استفاده از ASP.NET Core MVC، ساخت وبسایتهایی با معماری HTTP مدرن در سمت سرور با استفاده از ASP.NET Core MVC، از جمله مدلها، نماها و کنترلرهایی که اجزای اصلی یک پروژه ASP.NET Core MVC را تشکیل میدهند، معرفی میکند. فصل 3، اتصال مدل، اعتبارسنجی و دادهها با استفاده از EF Core، اتصال مدل، اعتبارسنجی مدل و بازیابی و اصلاح دادهها با استفاده از EF Core در یک پروژه وبسایت ASP.NET Core MVC را پوشش میدهد. این مفاهیم با هم کار میکنند تا وظایف رایج دریافت ورودی کاربر، پردازش آن و ذخیره یا بازیابی دادهها از یک پایگاه داده را ساده کنند. فصل 4، ساخت و بومیسازی رابطهای کاربری وب، در مورد ساخت رابطهای کاربری وب با ASP.NET Core به طور عمیقتر است. شما جزئیات بیشتری در مورد نماهای ASP.NET Core MVC، سینتکس Razor، HTML و Tag Helpers، نحوه بینالمللی کردن وبسایت خود به گونهای که رابط کاربری آن در سراسر جهان قابل فهم باشد و نحوه استفاده از Bootstrap برای نمونهسازی سریع رابط کاربری خواهید آموخت. فصل 5، احراز هویت و مجوز، در مورد احراز هویت و مجوز و نحوه پیادهسازی آنها برای یک پروژه وبسایت ASP.NET Core MVC بحث میکند. این به معنای نحوه ارائه یک رابط کاربری وب برای بازدیدکننده جهت ثبت نام حساب کاربری با رمز عبور و نحوه ورود آنها برای دسترسی به قسمتهای امن وبسایت است. فصل 6، بهینهسازی عملکرد و مقیاسپذیری با استفاده از Caching، بهینهسازی عملکرد و مقیاسپذیری وبسایتها و سرویسهای وب شما را با استفاده از انواع مختلف Caching توضیح میدهد. فصل 7، تست رابط کاربری وب با استفاده از Playwright، شما را با تست رابط کاربری وب و نحوه استفاده از Microsoft Playwright برای نوشتن تستهای خودکار برای رابطهای کاربری وب آشنا میکند. فصل 8، پیکربندی و کانتینرسازی پروژههای ASP.NET Core، در مورد پیکربندی و کانتینرسازی پروژههای ASP.NET Core بحث میکند. فصل 9، ساخت سرویسهای وب با استفاده از ASP.NET Core Web API، به یادگیری نحوه ساخت سرویسهای وب، که با نام HTTP (پروتکل انتقال ابرمتن) یا سرویسهای انتقال حالت بازنمایی (REST) نیز شناخته میشوند، با استفاده از ASP.NET Core Web API با کنترلرها میپردازد. همچنین یاد خواهید گرفت که چگونه آنها را با استفاده از ابزارهایی از جمله REST Client در VS Code و HTTP Editor در Visual Studio امتحان کنید. فصل 10، ساخت کلاینت برای سرویسهای وب، شما را با نحوه استفاده از سرویسهای وب با استفاده از کلاینتهای HTTP آشنا میکند، که میتواند هر نوع برنامه .NET دیگری باشد، از جمله یک وبسایت، برنامه موبایل یا دسکتاپ، یا یک صفحه وب با استفاده از جاوا اسکریپت برای برقراری تماسهای HTTP. فصل 11، تست و اشکالزدایی سرویسهای وب، شما را با ابزارها و تکنیکهایی برای تست و اشکالزدایی سرویسهای وب خود آشنا میکند. تستهای واحد در تشخیص خطاها در منطق کسبوکار در یک کلاس یا متد خوب هستند، اما شما همچنین باید تأیید کنید که بخشهای بزرگتری از پایگاه کد شما به درستی کار میکنند.
There are programming books that are thousands of pages long that aim to be comprehensive references to the C# language, the .NET libraries, and app models like websites, services, and desktop and mobile apps. This book is different. It is concise and aims to be a brisk, fun read that is packed with practical handson walk-throughs of each subject. The breadth of the overarching narrative comes at the cost of some depth, but you will find many signposts to explore further if you wish. This book is simultaneously a step-by-step guide to learning mature and proven web development using cross-platform .NET, along with the creation of websites and services that can be built with these technologies. This book is most suitable for beginners to ASP.NET Core, but you must have previous experience with C# and .NET. If you do not have this experience, I recommend my book, C# 14 and .NET 10 – Modern Cross-Platform Development Fundamentals. I will point out the cool corners and gotchas of web development using.NET so that you can impress colleagues and get productive fast. Rather than slowing down and boring some readers by explaining every little thing, I will assume that you are smart enough to Google an explanation for topics that are related but not necessary to include in a beginner-to-intermediate guide that has limited space in a printed book. Some chapters have links to additional related online-only content for those readers who would like more details. For example, Chapter 1, Introducing Real-World Web Development Using .NET, has an online section about web development on the client side using HTML, CSS, and JavaScript. This book is aimed at intermediate .NET developers with a good understanding of C# and .NET fundamentals. It is ideal for developers looking to expand their skills in building professional, controller- based web applications. Chapter 1, Introducing Real-World Web Development Using .NET, is about introducing you to mature and proven web development with .NET. This means a set of technologies that have been refined over a decade or more with plenty of documentation, support forums, and third-party investment, including ASP.NET Core Model-View-Controller (MVC), Web API services using controllers and OData, and popular frameworks like Umbraco CMS. Chapter 2, Building Websites Using ASP.NET Core MVC, introduces building websites with a modern HTTP architecture on the server side using ASP.NET Core MVC, including the models, views, and controllers that make up the main components of an ASP.NET Core MVC project. Chapter 3, Model Binding, Validation, and Data Using EF Core, covers model binding, model validation, and retrieving and modifying data using EF Core in an ASP.NET Core MVC website project. These concepts work together to simplify the common tasks of taking user input, processing it, and storing or retrieving data from a database. Chapter 4, Building and Localizing Web User Interfaces, is about building web user interfaces with ASP.NET Core in more depth. You will learn more details about ASP.NET Core MVC views, Razor syntax, HTML and Tag Helpers, how to internationalize your website so that its user interface is understandable all over the world, and how to use Bootstrap for quick user interface prototyping. Chapter 5, Authentication and Authorization, discusses authentication and authorization and how to implement them for an ASP.NET Core MVC website project. This means how to provide a web user interface for a visitor to register an account with a password, and how they can log in to access secure areas of the website. Chapter 6, Performance and Scalability Optimization Using Caching, explains optimizing the performance and scalability of your websites and web services by using caching of various types. Chapter 7, Web User Interface Testing Using Playwright, introduces you to web user interface testing and how to use Microsoft Playwright to write automated tests for web user interfaces. Chapter 8, Configuring and Containerizing ASP.NET Core Projects, discusses configuring and containerizing ASP.NET Core projects. Chapter 9, Building Web Services Using ASP.NET Core Web API, covers learning how to build web services, AKA HTTP (Hypertext Transfer Protocol) or Representational State Transfer (REST) services, using ASP.NET Core Web API with controllers. You will also learn how to try them out using tools including REST Client in VS Code and HTTP Editor in Visual Studio. Chapter 10, Building Clients for Web Services, introduces you to how to consume web services using HTTP clients, which could be any other type of .NET app, including a website, mobile, or desktop app, or a web page using JavaScript to make HTTP calls. Chapter 11, Testing and Debugging Web Services, introduces you to tools and techniques for testing and debugging your web services. Unit tests are good at detecting errors in business logic in a class or method, but you also need to verify that larger parts of your codebase work together with each other and external systems. This is where integration testing becomes important for web services. Chapter 12, Building Web Services Using ASP.NET Core OData, explains OData, a standard that makes it easy to expose data via the web to make it accessible to any client that can make an HTTP request. Chapter 13, Building Web Services Using FastEndpoints, teaches you about building web services using FastEndpoints, a popular third-party package that shuns controllers in favor of a more efficient way of defining web service endpoints. Chapter 14, Web Content Management Using Umbraco CMS, is about building ASP.NET Core website projects that integrate with Umbraco CMS, a popular third-party web content management system. Chapter 15, Customizing and Extending Umbraco CMS, introduces customizing and extending Umbraco CMS. Epilogue describes your options for further study about .NET web development. Appendix A, Answers to the Test Your Knowledge Questions, has the answers to the test questions at the end of each chapter. Appendix B, Setting Up Your Development Environment, has step-by-step instructions for setting up your development environment. This includes a code editor such as Visual Studio or VS Code, and a database named Northwind on a database server such as SQL Server in Docker, SQL Server locally, or Azure SQL Database in the cloud. Appendix C, Looking For Help, is all about how to find quality information about programming on the web. You will learn about Microsoft Learn documentation, including its new MCP server for integration with AI systems, getting help while coding and using dotnet commands, getting help from fellow readers in the book’s Discord channel, searching the .NET source code for implementation details, and finally making the most of modern AI tools like GitHub Copilot. The Appendix chapters are available to download from a link in the README file in the GitHub repository: https://github.com/markjprice/web-dev-net10. You can also access a free PDF copy of the book (containing Appendix A, B, and C) through the following link: https://packtpub.com/unlock. Search for this book by name, ensure it’s the correct edition, and have your purchase invoice ready.
این کتاب را میتوانید از لینک زیر بصورت رایگان دانلود کنید:
Download: Real-World Web Development with .NET 10

نظرات کاربران