Pro .NET Best Practices is a practical reference to the best practices that you can apply to your .NET projects today. You will learn standards, techniques, and conventions that are sharply focused, realistic and helpful for achieving results, steering clear of unproven, idealistic, and impractical recommendations. Pro .NET Best Practices covers a broad range of practices and principles that development experts agree are the right ways to develop software, which includes continuous integration, automated testing, automated deployment, and code analysis. Whether the solution is from a free and open source or a commercial offering, you will learn how to get a continuous integration server running and executing builds every time code changes. You will write clearer and more maintainable automated testing code that focuses on prevention and helping your .NET project succeed. By learning and following the .NET best practices in this book, you will avoid making the same mistakes once. With this book at your side, you'll get: Real-world, no-nonsense approaches to continuous integration, automated testing, automated deployment, and code analysis Tips and tricks you'll need to clear hurdles that keep others from putting these common sense ideas into common practice Guidance from the minimal, essential approach all the way to what's necessary to deliver at the highest levels of quality and effectiveness Benefit immediately, even before finishing it, from the knowledge, workable advice, and experience found in Pro .NET Best Practices. What you’ll learn How to set up a continuous integration server that executes builds every time code changes How to create automated tests that are easier to write, easier to maintain, and focused on making sure the code-under-test works the way it’s intended to work How to write a common automated deployment script that deploys to all target environments How to perform meaningful code analysis that gives the kind of information you can take action upon Why some best practices, which were once fresh, are now stale; avoid this trap by following best practices grounded in correct principles that endure How to gain support for following best practices from all project stakeholders by recognizing and overcoming biases, highlighting gaps, and demonstrating value Who this book is for Pro .NET Best Practices is for the .NET developer who is ready to learn realistic, practicable, and truly helpful best practices. It's for the .NET developer who wants to take the initiative and get started following best practices today, quickly producing results. It's for .NET developers who want to stay away from practices that only have theoretical benefits and move toward ones with real value, especially within a skeptical project environment. It's for the technical lead who has seen best practices get started only to fall out of practice, and wants to understand what goes wrong and how to implement suitable best practices likely to be followed by project teams. Table of Contents Ruthlessly Helpful .NET Practice Areas Achieving Desired Results Quantifying Value Strategy .NET Rules and Regulations Powerful C# Constructs Automated Testing Build Automation Continuous Integration Code Analysis Test Frameworks Aversions and Biases Appendix A: Resources Appendix B: Scorecard
Maximizing the performance of your algorithms and applications is extremely important and can give you a competitive advantage, a lower cost of ownership, and happier users. Pro .NET Performance explains the internals of Windows, the CLR, and the physical hardware that affect the performance of your applications, and gives you the knowledge and tools to measure how your code performs in isolation from external factors. The book is full of C# code samples and tips to help you squeeze every bit of juice from your application—lower memory utilization, consistent CPU usage, and fewer I/O operations across the network and disk. Pro .NET Performance will change the way you think about .NET application development. Guides you through performance measurement with a variety of profilers and other tools Explains how OS and CLR internals affect your application’s performance in unexpected ways Provides you with tips and real-life case studies for improving application performance
Microsoft's vision for the future, .NET, is a step forward in the evolution of programming that integrates proven and established technologies with the latest innovations. This guide helps readers understand in depth the constituent parts of Microsoft's .NET framework--the Common Language Runtime, the engine which drives the core functionality of .NET; the .NET Framework base classes; and the ASP.NET and Windows application services which utilize those classes across multiple languages.
Understand .NET memory management internal workings, pitfalls, and techniques in order to effectively avoid a wide range of performance and scalability problems in your software. Despite automatic memory management in .NET, there are many advantages to be found in understanding how .NET memory works and how you can best write software that interacts with it efficiently and effectively. Pro .NET Memory Management is your comprehensive guide to writing better software by understanding and working with memory management in .NET. Thoroughly vetted by the .NET Team at Microsoft, this book contains 25 valuable troubleshooting scenarios designed to help diagnose challenging memory problems. Readers will also benefit from a multitude of .NET memory management “rules” to live by that introduce methods for writing memory-aware code and the means for avoiding common, destructive pitfalls. What You'll Learn Understand the theoretical underpinnings of automatic memory management Take a deep dive into every aspect of .NET memory management, including detailed coverage of garbage collection (GC) implementation, that would otherwise take years of experience to acquire Get practical advice on how this knowledge can be applied in real-world software development Use practical knowledge of tools related to .NET memory management to diagnose various memory-related issues Explore various aspects of advanced memory management, including use of Span and Memory types Who This Book Is For .NET developers, solution architects, and performance engineers
Use this in-depth guide to correctly design benchmarks, measure key performance metrics of .NET applications, and analyze results. This book presents dozens of case studies to help you understand complicated benchmarking topics. You will avoid common pitfalls, control the accuracy of your measurements, and improve performance of your software. Author Andrey Akinshin has maintained BenchmarkDotNet (the most popular .NET library for benchmarking) for five years and covers common mistakes that developers usually make in their benchmarks. This book includes not only .NET-specific content but also essential knowledge about performance measurements which can be applied to any language or platform (common benchmarking methodology, statistics, and low-level features of modern hardware). What You'll Learn Be aware of the best practices for writing benchmarks and performance tests Avoid the common benchmarking pitfalls Know the hardware and software factors that affect application performance Analyze performance measurements Who This Book Is For .NET developers concerned with the performance of their applications
Pro NET 2 0 Windows Forms and Custom Controls in VB 2005
This book is the VB 2005 version of the author's best-selling and highly-praised Pro .NET 2.0 Windows Forms and Custom Controls in C#. The author shows Visual Basic 2005 programmers how to design flexible, user-friendly Windows interfaces, using .NET. They will learn to use the full range of .NET controls, as well as extend them with custom controls. From best practices to user interface design tips, to a comprehensive examination of .NET user interface controls, this is a lively and practical work. Although this book is more than a reference manual, it includes detailed discussion of user interface elements that programmers will use on a regular basis.
Visual C++ .NET is the latest incarnation of Microsoft's popular Visual C++ programming language. It has something of a unique character among all the .NET languages. Unlike the other Visual Studio languages, Visual C++ .NET can produce both unmanaged (native) code, and managed code that runs on the Common Language Runtime (CLR), the virtual machine which underlies Microsoft's new platform, the .NET Framework. This unique status makes C++ a much more powerful language than other .NET languages - not only can it bypass the CLR when maximum performance is needed, it can also interoperate far more seamlessly with existing applications.
The ASP.NET MVC 4 Framework is the latest evolution of Microsoft’s ASP.NET web platform. It provides a high-productivity programming model that promotes cleaner code architecture, test-driven development, and powerful extensibility, combined with all the benefits of ASP.NET. ASP.NET MVC 4 contains a number of significant advances over previous versions. New mobile and desktop templates (employing adaptive rendering) are included together with support for jQuery Mobile for the first time. New display modes allow your application to select views based on the browser that's making the request while Code Generation Recipes for Visual Studio help you auto-generate project-specific code for a wide variety of situtations including NuGet support. In this fourth edition, the core model-view-controller (MVC) architectural concepts are not simply explained or discussed in isolation, but are demonstrated in action. You’ll work through an extended tutorial to create a working e-commerce web application that combines ASP.NET MVC with the latest C# language features and unit-testing best practices. By gaining this invaluable, practical experience, you’ll discover MVC’s strengths and weaknesses for yourself—and put your best-learned theory into practice. The book's authors, Steve Sanderson and Adam Freeman, have both watched the growth of ASP.NET MVC since its first release. Steve is a well-known blogger on the MVC Framework and a member of the Microsoft Web Platform and Tools team. Adam started designing and building web applications 15 years ago and has been responsible for some of the world's largest and most ambitious projects. You can be sure you are in safe hands. What you’ll learn Gain a solid architectural understanding of ASP.NET MVC 4, including basic MVC Explore the entire ASP.NET MVC Framework Learn what's new in version 4 and how how best to apply these new features See how MVC and test-driven development work in action Capitalize on your existing knowledge quickly and easily through comparison of features in classic ASP.NET to those in ASP.NET MVC Learn about the latest security and deployment issues, including those related to IIS 7 Who this book is for This book is for web developers with a basic knowledge of ASP.NET and C# who want (or need) to start using the new ASP.NET MVC 4 Framework.
* Provides compact coverage of new ADO.NET features and use of cutting edge tools, such as Visual Studio .NET 2005. * Content and examples take practical focus as opposed to a theoretical, academic treatment. * Heavily trimmed content eliminates information the reader won’t find useful very often.