Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
This article discuss REST in practice.
Learn how to use ASP.NET Core Data Protection to encrypt and decrypt custom request headers, request bodies, and API responses in a .NET Core Web API.
Learn how to effectively consume APIs using the Repository Design Pattern. This approach enhances code organization by separating data access logic into reusable repositories, promoting maintainability and testability.
C# and .NET form the backbone of a simple web server application described in this article. Using TcpListener, the application listens on a specified port for incoming HTTP requests, handling them using fundamental HTTP methods like GET. MIME types, defined in Mime.Dat.
Master the creation of a powerful CRUD RESTful API using Java, MySQL, Spring Boot, JPA, and Maven. Learn how to efficiently handle data operations with clear, concise endpoints. Elevate your backend development skills and build scalable solutions for your Java projects.
Day 6 of the RESTful journey focuses on robust request logging and exception handling in Web APIs. Employ Action Filters, Exception Filters, and NLog for comprehensive logging and error management, ensuring reliability and traceability.
In Day #4 of your RESTful journey, delve into the power of custom URL re-writing and routing using attribute routes in MVC 4 Web APIs. Unleash the flexibility of tailored endpoints, optimizing your API architecture for seamless communication and enhanced user experience.
Day 3 of RESTful learning dives into resolving dependencies of dependencies using IoC & DI in ASP.NET Web APIs. Employ Unity Container & MEF for seamless extension and management of components, ensuring flexible and scalable development.
Explore the intricacies of Web APIs, leverage Entity Framework for seamless data access, implement the efficient Generic Repository Pattern, and ensure transactional integrity with the Unit of Work pattern.
Day 2 of RESTful Learning explores the Inversion of Control through Dependency Injection in Web APIs. Utilize Unity Container and Bootstrapper for seamless management, enabling flexible and scalable development.
Learn how to build CRUD endpoints with ASP.NET Web API and Entity Framework, then consume the service from an ASP.NET MVC application.
Learn how to secure ASP.NET Web APIs with Basic Authentication and token-based authorization using custom authentication and authorization action filters.
Method overloading in web services involves defining multiple methods with the same name but different parameters. This enables versatility and cleaner API design, allowing services to handle diverse request types efficiently.
Web Service Method Attribute Properties define behavior and metadata for methods in web services. They encompass features like message formatting, parameter handling, and service invocation specifications, crucial for interoperability and service functionality within distributed systems.
Efficient session management in web services ensures secure, stateful interactions. Explore techniques like token-based authentication, session timeouts, and encryption for robust user experiences.
In today's interconnected digital world, the need for efficient communication between software systems has never been greater. In this article, we'll delve into the world of REST APIs, exploring what they are, how they work, and why they are essential in modern software development.
This tutorial guides beginners on consuming a Web Service in an ASP.Net Windows Application step-by-step, from adding a service reference to calling methods. It emphasizes simplicity and clarity for easy understanding.
Integrate web services seamlessly into console applications using .NET frameworks like .NET Core or .NET Framework. Utilize HttpClient or service references to communicate with SOAP or RESTful APIs, enabling efficient data exchange.
This article explains how to consume web service in an ASP.Net web Application. Here we will see how to add a Web Service Reference in the ASP.Net Web Application and how to call the Web Service method from the ASP.Net Web Application
Explore creating web services in ASP.Net for code reuse across multiple applications. Understand web method attributes, platform independence, and date conversion functionalities. Examples demonstrate creating and invoking web methods for calculating days from given dates.
Swagger (OpenAPI) defines REST APIs for both machines and humans. This article explores integrating C# special comments into Swagger for clearer API documentation and utilization in .NET and .NET Core MVC Web APIs.
Swagger (OpenAPI) simplifies REST API description for both machines and humans. Its web-based UI, Swagger UI, offers comprehensive API info. Here's how to integrate Swagger with .NET MVC and .NET Core MVC Web APIs.
Swagger (OpenAPI) is a versatile tool for describing REST APIs, aiding both developers and users in understanding API capabilities. It includes Swagger UI, an alternative to Postman, offering interactive documentation.
Explore the seamless integration of systems through Remote Procedure Calls (RPC) using SOAP (Simple Object Access Protocol). SOAP facilitates communication between distributed applications, ensuring interoperability across platforms.
Explore seamless integration of Prometheus for advanced telemetry in ASP.NET Core Web API. Monitor and collect metrics, enabling deep insights into application performance and behavior.
Learn .NET API design best practices for RESTful resources, versioning, input validation, error handling, security, and Swagger/OpenAPI documentation.
This tutorial covers building a full-fledged application with WPF, REST API, and Entity Framework. It emphasizes the importance and implementation of REST APIs, discussing CRUD operations and their relevance in scenarios involving multiple applications accessing a single database. The tutorial walks through each step, from project setup to implementation of various REST API methods.
GraphQL offers a more flexible and efficient approach compared to traditional REST APIs, especially when integrated with React. With GraphQL, frontend developers can request only the data they need, reducing overfetching and underfetching issues.
Learn the key differences between REST and GraphQL, including data fetching, API structure, performance considerations, and when to choose each approach.
Everything on Web API, not only its articles: the Web API page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article