Visual C# - Programowanie

Publikacje, które znajdziecie w dziale Visual C# szczegółowo i wyczerpująco omawiają to rozbudowane środowisko programistyczne. Przeczytacie co zrobić aby zdecydowanie zwiększyć wydajność programowania lub poprawnie stworzyć aplikację sieciową w ASP.NET.

Poznacie elementy interfejsu, składnię języka C#, nauczycie się diagnozować lub refaktoryzować kod oraz pisać i konsumować szereg usług sieciowych. Znajdziecie wiedzę niezbędną przy programowaniu wielowątkowym lub tworzeniu aplikacji rozproszonych a technologia remoting stanie się prosta w użytkowaniu. Poznacie wszystkie składowe procesu tworzenia aplikacji, zaczynając od przygotowania, poprzez pisanie i ewentualne modyfikacje kodu, aż po końcową diagnostykę programu.

49
Ładowanie...
EBOOK

Microsoft Visual C# 2022 Krok po kroku

John Sharp

Praktyczny przewodnik po podstawach Visual C# przy użyciu Visual Studio 2022 Poszerz swoje umiejetności i samodzielnie poznawaj podstawy programowania w najnowszej wersji Visual C# i Visual Studio 2022. Znajdziesz tu niezbędne wskazówki, ćwiczenia i przykładowy kod, niezbędne do tworzenia skutecznych, skalowalnych, połączonych z chmurą aplikacji, które mogą działać niemal wszędzie. Dowiedz się jak: - Szybko rozpocząć tworzenie kodu i projektów Visual C# przy użyciu Visual Studio - Posługiwać się zmiennymi, operatorami, wyrażeniami i metodami i kontrolować przepływ sterowania - Budować solidne aplikacje za pomocą zarządzania błędami, wyjątkami i zasobami - Szybko rozpoznawać problem przy użyciu debugera Visual Studio - Doskonalić nowe domyślne metody interfejsów, statycznych funkcji lokalnych, asynchronicznie zwalnianych typów i innych ulepszeń - Wydobyć jak najwięcej z modelu obiektowego i tworzyć funkcjonalne struktury danych - Korzystać z zaawansowanych właściwości, indeksatorów, typów generycznych i klas kolekcji - Tworzyć aplikacje dla systemu Windows 11, które współużytkują dane i usługi chmurowe - Używać lekkich rekordów do łatwiejszego tworzenia niezmiennych typów referencyjnych - Używać LINQ do wykonywania zapytań wobec kolekcji obiektów - Poprawiać czas reakcji aplikacji za pomocą metod asynchronicznych - Używać delegatów do konstruowania rozszerzalnych systemów - Dostosowywać zachowanie operatorów C# dla swoich klas i struktur - Implementować efektywny wzorzec Model-View-ViewModel (MVVM) - Budować aplikacje UWP, które odczytują złożone dane i prezentują je intuicyjnie O tej książce - Dla projektantów oprogramowania, dla których Visual C# jest nowym językiem lub przechodzącym ze starszych wersji - Czytelnik powinien znać przynajmniej jeden język programowania - Nie jest wymagana znajomość .NET ani Visual Studio O autorze John Sharp, główny technolog w brytyjskiej firmie programistycznej CM Group Ltd, ma ponad 37 lat doświadczenia jako programista, konsultant, autor i wykładowca. Jest ekspertem od projektowania i tworzenia rozproszonych aplikacji dla systemu Windows i Microsoft Azure, a także autorem materiałów szkoleniowych dla firmy Microsoft, skupiającym się na takich obszarach, jak danetyka z wykorzystaniem języków R i Python, przetwarzanie big data za pomocą Spark i CosmosDB, SQL Server, NoSQL, usługi web, programistycze środowiska międzyplatformowe oraz architektury skalowalnych aplikacji Azure. Pliki ćwiczeń i kod dostępne są w witrynie MicrosoftPressStore.com/VisualCsharp10e/downloads

50
Ładowanie...
EBOOK

.NET Design Patterns. Learn to Apply Patterns in daily development tasks under .NET Platform to take your productivity to new heights

Arun Narayanan, Praseed Pai, Shine Xavier

Knowing about design patterns enables developers to improve their code base, promoting code reuse and making their design more robust.This book focuses on the practical aspects of programming in .NET. You will learn about some of the relevant design patterns (and their application) that are most widely used. We start with classic object-oriented programming (OOP) techniques, evaluate parallel programming and concurrency models, enhance implementations by mixing OOP and functional programming, and finally to the reactive programming model where functional programming and OOP are used in synergy to write better code. Throughout this book, we’ll show you how to deal with architecture/design techniques, GoF patterns, relevant patterns from other catalogs, functional programming, and reactive programming techniques. After reading this book, you will be able to convincingly leverage these design patterns (factory pattern, builder pattern, prototype pattern, adapter pattern, facade pattern, decorator pattern, observer pattern and so on) for your programs. You will also be able to write fluid functional code in .NET that would leverage concurrency and parallelism!

51
Ładowanie...
EBOOK

.NET Standard 2.0 Cookbook. Develop high quality, fast and portable applications by leveraging the power of .NET Standard Library

Fiqri Ismail

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.

52
Ładowanie...
EBOOK

Poznaj Blazor. Buduj jednostronicowe aplikacje przy pomocy WebAssembly i C#

David Pine

Wykorzystaj swoje umiejętności programowania w języku C#, aby tworzyć składniki interfejsu użytkownika i środowiska klienckiego za pomocą platformy .NET. Dzięki temu praktycznemu przewodnikowi można dowiedzieć się, jak korzystać z Blazor WebAssembly do tworzenia interfejsów internetowych nowej generacji. Blazor opiera się na ASP.NET Core i stanowi przyszłość aplikacji jednostronicowych w .NET. Autor David Pine, który w firmie Microsoft zajmuje się opracowywaniem treści związanych z .NET i Azure, wyjaśnia, w jaki sposób WebAssembly umożliwia uruchamianie w przeglądarce klienta programów w wielu językach programowania innych niż JavaScript. Dzięki tej książce można poznać funkcje internetowe działające w czasie rzeczywistym i opracowywane za pomocą ASP.NET Core SignalR oraz odkryć strategie dwukierunkowej interakcji z JavaScript. David omawia również wiązanie danych dla składników, hierarchiczną komunikację sterowaną zdarzeniami, zarządzanie stanem w pamięci oraz lokalne przechowywanie danych. Dowiedz się, jak: - Tworzyć piękne, bogate w funkcje aplikacje Blazor - Tworzyć i lokalizować większe aplikacje przy użyciu usług GitHub Actions i Azure Cognitive Services Translator - Tworzyć zaawansowane scenariusze sprawdzania poprawności danych wejściowych dla składników formularzy - Automatycznie wdrażać i utrzymywać aplikacje w usłudze Azure Static Web Apps oraz jak korzystać z usług HTTP - Korzystać z usług geolokalizacyjnych oraz syntezy i rozpoznawania mowy dostępnych w przeglądarce - Tworzyć niestandardowe, modalne mechanizmy sprawdzania tożsamości użytkownika "Platforma webowa Blazor z otwartym kodem źródłowym to zupełnie nowy sposób tworzenia potężnych aplikacji internetowych. Poznaj Blazor wykorzystuje mnóstwo przykładów i kodu opartego na głębokim doświadczeniu Davida Pine'a jako autora treści w zespole .NET, aby umożliwić szybkie rozpoczęcie pisania aplikacji internetowych Blazor w języku C#!" -Scott Hanselman Partner Program Manager, Developer Division, Microsoft David Pine jest autorem treści w firmie Microsoft, gdzie skupia się na dokumentacji programistycznej dla .NET i Azure. Zdobył również tytuły Google Developer Expert in Web Technologies oraz Twilio Champion. Przed dołączeniem do firmy Microsoft David przez kilka lat był specjalistą wyróżnionym tytułem Microsoft MVP w dziedzinie technologii programistycznych. Rozwija się w społeczności programistów, dzieląc się swoją wiedzą poprzez wystąpienia na konferencjach i spotkaniach na całym świecie.

53
Ładowanie...
EBOOK

Practical Test-Driven Development using C# 7. Unleash the power of TDD by implementing real world examples under .NET environment and JavaScript

John Callaway, Clayton Hunt

Test-Driven Development (TDD) is a methodology that helps you to write as little as code as possible to satisfy software requirements, and ensures that what you've written does what it's supposed to do. If you're looking for a practical resource on Test-Driven Development this is the book for you. You've found a practical end-to-end guide that will help you implement Test-Driven Techniques for your software development projects.You will learn from industry standard patterns and practices, and shift from a conventional approach to a modern and efficient software testing approach in C# and JavaScript. This book starts with the basics of TDD and the components of a simple unit test. Then we look at setting up the testing framework so that you can easily run your tests in your development environment. You will then see the importance of defining and testing boundaries, abstracting away third-party code (including the .NET Framework), and working with different types of test double such as spies, mocks, and fakes.Moving on, you will learn how to think like a TDD developer when it comes to application development. Next, you'll focus on writing tests for new/changing requirements and covering newly discovered bugs, along with how to test JavaScript applications and perform integration testing. You’ll also learn how to identify code that is inherently un-testable, and identify some of the major problems with legacy applications that weren’t written with testability in mind. By the end of the book, you’ll have all the TDD skills you'll need and you’ll be able to re-enter the world as a TDD expert!

54
Ładowanie...
EBOOK

Roslyn Cookbook. Compiler as a Service, Code Analysis, Code Quality and more

Manish Vasani

Open-sourcing the C# and Visual Basic compilers is one of the most appreciated things by the .NET community, especially as it exposes rich code analysis APIs to analyze and edit code. If you want to use Roslyn API to write powerful extensions and contribute to the C# developer tool chain, then this book is for you. Additionally, if you are just a .NET developer and want to use this rich Roslyn-based functionality in Visual Studio to improve the code quality and maintenance of your code base, then this book is also for you.This book is divided into the following broad modules:1. Writing and consuming analyzers/fixers (Chapters 1 - 5): You will learn to write different categories of Roslyn analyzers and harness and configure analyzers in your C# projects to catch quality, security and performance issues. Moving ahead, you will learn how to improve code maintenance and readability by using code fixes and refactorings and also learn how to write them. 2. Using Roslyn-based agile development features (Chapters 6 and 7): You will learn how to improve developer productivity in Visual Studio by using features such as live unit testing, C# interactive and scripting.3. Contributing to the C# language and compiler tool chain (Chapters 8 - 10): You will see the power of open-sourcing the Roslyn compiler via the simple steps this book provides; thus, you will contribute a completely new C# language feature and implement it in the Roslyn compiler codebase. Finally, you will write simple command line tools based on the Roslyn service API to analyze and edit C# code.

55
Ładowanie...
EBOOK

SharePoint Development with the SharePoint Framework. Design and implement state-of-the-art customizations for SharePoint

Jussi Roine, Olli Jääskeläinen

SharePoint is one of Microsoft's best known web platforms. A loyal audience of developers, IT Pros and power users use it to build line of business solutions. The SharePoint Framework (SPFx) is a great new option for developing SharePoint solutions. Many developers are creating full-trust based solutions or add-in solutions, while also figuring out where and how SPFx fits in the big picture. This book shows you how design, build, deploy and manage SPFx based solutions for SharePoint Online and SharePoint 2016. The book starts by getting you familiar with the basic capabilities of SPFx. After that, we will walk through the tool-chain on how to best create production-ready solutions that can be easily deployed manually or fully automated throughout your target Office 365 tenants.We describe how to configure and use Visual Studio Code, the de facto development environment for SPFx-based solutions. Next, we provide guidance and a solid approach to packaging and deploying your code. We also present a straightforward approach to troubleshooting and debugging your code an environment where business applications run on the client side instead of the server side.

56
Ładowanie...
EBOOK

The Modern C# Challenge. Become an expert C# programmer by solving interesting programming problems

Rod Stephens

C# is a multi-paradigm programming language. The Modern C# Challenge covers with aspects of the .NET Framework such as the Task Parallel Library (TPL) and CryptoAPI. It also encourages you to explore important programming trade-offs such as time versus space or simplicity. There may be many ways to solve a problem and there is often no single right way, but some solutions are definitely better than others. This book has combined these solutions to help you solve real-world problems with C#.In addition to describing programming trade-offs, The Modern C# Challenge will help you build a useful toolkit of techniques such as value caching, statistical analysis, and geometric algorithms.By the end of this book, you will have walked through challenges in C# and explored the .NET Framework in order to develop program logic for real-world applications.

57
Ładowanie...
EBOOK

Unity 2017 Game Optimization. Optimize all aspects of Unity performance - Second Edition

Chris Dickinson

Unity is an awesome game development engine. Through its massive feature-set and ease-of-use, Unity helps put some of the best processing and rendering technology in the hands of hobbyists and professionals alike.This book shows you how to make your games fly with the recent version of Unity 2017, and demonstrates that high performance does not need to be limited to games with the biggest teams and budgets.Since nothing turns gamers away from a game faster than a poor user-experience, the book starts by explaining how to use the Unity Profiler to detect problems. You will learn how to use stopwatches, timers and logging methods to diagnose the problem. You will then explore techniques to improve performance through better programming practices. Moving on, you will then learn about Unity’s built-in batching processes; when they can be used to improve performance, and their limitations. Next, you will import your art assets using minimal space, CPU and memory at runtime, and discover some underused features and approaches for managing asset data. You will also improve graphics, particle system and shader performance with a series of tips and tricks to make the most of GPU parallel processing. You will then delve into the fundamental layers of the Unity3D engine to discuss some issues that may be difficult to understand without a strong knowledge of its inner-workings. The book also introduces you to the critical performance problems for VR projects and how to tackle them.By the end of the book, you will have learned to improve the development workflow by properly organizing assets and ways to instantiate assets as quickly and waste-free as possible via object pooling.

58
Ładowanie...
EBOOK

Unity 2017 Mobile Game Development. Build, deploy, and monetize games for Android and iOS with Unity

John P. Doran

Unity has established itself as an overpowering force for developing mobile games. If you love mobile games and want to learn how to make them but have no idea where to begin, then this book is just what you need. This book takes a clear, step-by-step approach to building an endless runner game using Unity with plenty of examples on how to create a game that is uniquely your own.Starting from scratch, you will build, set up, and deploy a simple game to a mobile device. You will learn to add touch gestures and design UI elements that can be used in both landscape and portrait mode at different resolutions. You will explore the best ways to monetize your game projects using Unity Ads and in-app purchases before you share your game information on social networks. Next, using Unity’s analytics tools you will be able to make your game better by gaining insights into how players like and use your game. Finally, you’ll learn how to publish your game on the iOS and Android App Stores for the world to see and play along.

59
Ładowanie...
EBOOK

Unity 2018 Augmented Reality Projects. Build four immersive and fun AR applications using ARKit, ARCore, and Vuforia

Jesse Glover

Augmented Reality allows for radical innovations in countless areas. It magically blends the physical and virtual worlds, bringing applications from a screen into your hands. Meanwhile, Unity has now become the leading platform to develop augmented reality experiences, as it provides a great pipeline for working with 3D assets.Using a practical and project-based approach, Unity 2018 Augmented Reality Projects educates you about the specifics of augmented reality development in Unity 2018.This book teaches you how to use Unity in order to develop AR applications which can be experienced with devices such as HoloLens and Daydream. You will learn to integrate, animate, and overlay 3D objects on your camera feed, before gradually moving on to implementing sensor-based AR applications. In addition to this, you will explore the technical considerations that are especially important and possibly unique to AR. The projects in the book demonstrate how you can build a variety of AR experiences, whilst also giving insights into C# programming as well as the Unity 3D game engine via the interactive Unity Editor.By the end of the book, you will be equipped to develop rich, interactive augmented reality experiences for a range of AR devices and platforms using Unity.

60
Ładowanie...
EBOOK

Unity 2018 Shaders and Effects Cookbook. Transform your game into a visually stunning masterpiece with over 70 recipes - Third Edition

John P. Doran, Alan Zucconi

Since their introduction to Unity, shaders have been seen as notoriously difficult to understand and implement in games. Complex mathematics has always stood in the way of creating your own shaders and attaining the level of realism you crave.Unity 2018 Shaders and Effects Cookbook changes that by giving you a recipe-based guide to creating shaders using Unity. It will show you everything you need to know about vectors, how lighting is constructed with them, and how textures are used to create complex effects without the heavy math.This book starts by teaching you how to use shaders without writing code with the post-processing stack. Then, you’ll learn how to write shaders from scratch, build up essential lighting, and finish by creating stunning screen effects just like those in high-quality 3D and mobile games. You'll discover techniques, such as normal mapping, image-based lighting, and animating your models inside a shader. We'll explore how to use physically based rendering to treat light the way it behaves in the real world. At the end, we’ll even look at Unity 2018’s new Shader Graph system.With this book, what seems like a dark art today will be second nature by tomorrow.

61
Ładowanie...
EBOOK

Unity Artificial Intelligence Programming. Add powerful, believable, and fun AI entities in your game with the power of Unity 2018! - Fourth Edition

Dr. Davide Aversa, Aung Sithu Kyaw, Clifford...

Developing Artificial Intelligence (AI) for game characters in Unity 2018 has never been easier. Unity provides game and app developers with a variety of tools to implement AI, from the basic techniques to cutting-edge machine learning-powered agents. Leveraging these tools via Unity's API or built-in features allows limitless possibilities when it comes to creating your game's worlds and characters.This fourth edition with Unity will help you break down AI into simple concepts to give you a fundamental understanding of the topic to build upon. Using a variety of examples, the book then takes those concepts and walks you through actual implementations designed to highlight key concepts and features related to game AI in Unity.Further on, you'll learn how to distinguish the state machine pattern and implement one of your own. This is followed by learning how to implement a basic sensory system for your AI agent and coupling it with a Finite State Machine (FSM).Next, you'll learn how to use Unity's built-in NavMesh feature and implement your own A* pathfinding system. You'll then learn how to implement simple ?ocks and crowd dynamics, which are key AI concepts in Unity. Moving on, you'll learn how to implement a behavior tree through a game-focused example. Lastly, you'll apply all the concepts in the book to build a popular game.

62
Ładowanie...
EBOOK

Visual Studio 2013. Podręcznik programowania w C# z zadaniami

Jacek Matulewski

Ucz się, projektuj, zarabiaj! Poznaj język C# 5.0 i platformę .NET 4.5.1 — podstawy nowoczesnego projektowania aplikacji Windows Dowiedz się, jak projektować aplikacje Windows Forms i efektywnie używać kontrolek Wybierz optymalny sposób przechowywania informacji w bazie danych w aplikacjach dla platformy .NET Współczesne oprogramowanie musi sprostać wysokim standardom — powinno być funkcjonalne, bezawaryjne i szybkie. Pisanie i kompilowanie takich programów znacznie ułatwiają Visual Studio 2013 oraz platforma .NET. Warto wykorzystać także obiektowy język programowania C# 5.0, sprawdzone rozwiązanie zaprojektowane i wykorzystywane przez Microsoft. Ta wiedza pomoże Ci odnieść sukces na elitarnym rynku programistów Windows. Jeśli chcesz dowiedzieć się więcej o praktycznych aspektach działania Visual Studio, platformy .NET i programowaniu w języku C#, koniecznie przeczytaj tę książkę! Dowiesz się, jak pisać programy w C#, debugować je i kompilować. Zobaczysz, do czego służy biblioteka kontrolek i gdzie możesz bezpiecznie przechowywać dane. Przede wszystkim jednak będziesz miał możliwość rozwiązania wielu zadań, bo nic nie sprzyja nauce tak bardzo, jak samodzielne zmaganie się z ciekawymi zadaniami. Pierwsze spotkanie ze środowiskiem Visual Studio i językiem C# Błędy i ich tropienie Język C# 5.0 i programowanie obiektowe w C# Biblioteki DLL, testy jednostkowe i elementy programowania współbieżnego Pierwszy projekt aplikacji Windows Forms i komponenty biblioteki Windows Forms Technologia LINQ Przechowywanie danych w plikach XML (LINQ to XML) Tworzenie i rozbudowa bazy danych SQL Server i kreator źródeł danych Tradycyjne ADO.NET (DataSet) i nowoczesne Entity Framework Przykładowe zadania Twórz nowoczesne aplikacje w najnowszym Visual Studio i z platformą .NET!

63
Ładowanie...
EBOOK

Windows Presentation Foundation Development Cookbook. 100 recipes to build rich desktop client applications on Windows

Kunal Chowdhury

Windows Presentation Foundation (WPF) is Microsoft's development tool for building rich Windows client user experiences that incorporate UIs, media, and documents. With the updates in .NET 4.7, Visual Studio 2017, C# 7, and .NET Standard 2.0, WPF has taken giant strides and is now easier than ever for developers to use. If you want to get an in-depth view of WPF mechanics and capabilities, then this book is for you.The book begins by teaching you about the fundamentals of WPF and then quickly shows you the standard controls and the layout options. It teaches you about data bindings and how to utilize resources and the MVVM pattern to maintain a clean and reusable structure in your code. After this, you will explore the animation capabilities of WPF and see how they integrate with other mechanisms. Towards the end of the book, you will learn about WCF services and explore WPF's support for debugging and asynchronous operations.By the end of the book, you will have a deep understanding of WPF and will know how to build resilient applications.