- Видео 32
- Просмотров 1 138
IT Pasanga
Шри-Ланка
Добавлен 11 май 2020
Purpose of this RUclips channel explain new technology updates, clear tech related doubts, delivering programming languages related tutorials and more cool tech information in both Tamil & English.
13. Filters to Handle Exceptions in ASP.NET Core API
இந்த டெமோவில், ASP.NET கோரில் வடிப்பான்களைப் பயன்படுத்தி API பதில்களை எவ்வாறு மாற்றுவது என்பதை ஆராய்வோம். கோரிக்கை-செயலாக்க பைப்லைனின் பல்வேறு நிலைகளில் குறியீட்டை இயக்க வடிகட்டிகள் உங்களை அனுமதிக்கின்றன, குறிப்பிட்ட செயல்களுக்கு முன்னும் பின்னும் தர்க்கத்தை இயக்க வாய்ப்புகளை வழங்குகின்றன.
ASP.NET கோரில் பல வடிகட்டி வகைகள் உள்ளன, ஒவ்வொன்றும் வெவ்வேறு புள்ளிகளில் செயல்படுத்தப்படுகின்றன:
- **அங்கீகார வடிப்பான்கள்**: பயனர் அங்கீகாரத்தைத் தீர்மானிக்க இவை முதலில் இயங்கும். ஒரு பயனருக்கு அங்கீகாரம் இல்லையென்றால், பைப்லைன் ஷார்ட் சர்க்யூட் செய்யப்பட்டு, ஒரு பதில் திருப்பி அனுப்பப்படும்.
- **வள வடிப்பான்கள்**: அங்கீகாரத்திற்குப் பிறகு செயல்படுத்தப்படும், இவை பிரதான கோரிக்கை பைப்லைனுக்கு முன் இயங்கும...
ASP.NET கோரில் பல வடிகட்டி வகைகள் உள்ளன, ஒவ்வொன்றும் வெவ்வேறு புள்ளிகளில் செயல்படுத்தப்படுகின்றன:
- **அங்கீகார வடிப்பான்கள்**: பயனர் அங்கீகாரத்தைத் தீர்மானிக்க இவை முதலில் இயங்கும். ஒரு பயனருக்கு அங்கீகாரம் இல்லையென்றால், பைப்லைன் ஷார்ட் சர்க்யூட் செய்யப்பட்டு, ஒரு பதில் திருப்பி அனுப்பப்படும்.
- **வள வடிப்பான்கள்**: அங்கீகாரத்திற்குப் பிறகு செயல்படுத்தப்படும், இவை பிரதான கோரிக்கை பைப்லைனுக்கு முன் இயங்கும...
Просмотров: 27
Видео
10. Testing WebHooks Endpoints with ngrok
Просмотров 114Месяц назад
இன்றைய உலகில், பல பயன்பாடுகள் webhookகள் மூலம் தொடர்பு கொள்கின்றன. எடுத்துக்காட்டாக, Application 2 ஆனது, Application ஒன்றில் மாற்றங்களைச் செய்ய குழுசேரலாம், இது ஒரு குறிப்பிட்ட இறுதிப்புள்ளிக்கு புதுப்பிப்புகளை அனுப்புகிறது. எங்கள் விஷயத்தில், ஒரு நிகழ்வு உருவாக்கப்பட்ட போதெல்லாம், Google Calendar இலிருந்து அறிவிப்புகளைப் பெறுவதை எங்கள் நிகழ்வுகள் API இல் உருவகப்படுத்துவோம். இதை அடைய, எங்கள் AP...
11. Multiple API Environments in ASP.NET Core Rest APIs
Просмотров 35Месяц назад
இந்த டெமோவில், எங்கள் web API க்கு பல சூழல்களை எவ்வாறு அமைப்பது என்பதை நாங்கள் கற்றுக்கொள்வோம், உற்பத்திக்கு செல்லும் முன் உள்நாட்டில் வெவ்வேறு உள்ளமைவுகளை சோதிக்க அனுமதிக்கிறது. எங்கள் விண்ணப்பத்தை இப்போதே தொடங்கினால், நாம் எப்போதும் `app.Environment.IsDevelopment` என்ற பிரேக் பாயிண்ட்டைத் தாக்குவோம், ஏனென்றால், அதை எப்படித் தொடங்கினாலும், சூழல் மேம்பாட்டிற்கு அமையும். சுற்றுச்சூழலை வளர்ச்சியி...
12. Custom Error Handler in ASP.NET Core Rest APIs
Просмотров 54Месяц назад
இந்த டெமோவில், மேம்பாடு மற்றும் உற்பத்தி சூழல்கள் இரண்டிலும் பிழை காட்சிகளை நிர்வகிப்பதற்கு ஒரு பிழை கையாளுதல் பக்கத்தை உருவாக்குவோம். எங்கள் API ஐ எர்ரர் எண்ட் பாயிண்ட் மூலம் அழைக்கும் போது, 500 இன்டர்னல் சர்வர் எர்ரர் ஸ்டேட்டஸ் குறியீட்டைப் பார்க்க வேண்டும். INSERT செயல்பாட்டின் போது FOREIGN KEY தடை தோல்வியின் காரணமாக DbUpdateException போன்ற கையாளப்படாத சிக்கலை இது குறிக்கிறது. வளர்ச்சியில்...
Business Story Telling 5 - Tech Overview
Просмотров 29Месяц назад
Business Story Telling 5 - Tech Overview
9. Collections and Variables in Postman
Просмотров 39Месяц назад
இந்த டெமோவில், போஸ்ட்மேனில் உள்ள சேகரிப்புகள் மற்றும் மாறிகளுடன் எவ்வாறு பணியாற்றுவது என்பதை நாங்கள் கற்றுக்கொள்வோம், இது உங்கள் குழுவிற்குப் பயனளிக்கும் மறுபயன்பாட்டு உள்ளமைவுகளை உருவாக்கவும் பகிரவும் அனுமதிக்கிறது. தனிப்பட்ட கோரிக்கைகளைச் சோதிப்பதற்குப் பதிலாக, பல கோரிக்கைகள் மற்றும் உள்ளமைவுகளை ஒரே குடையின் கீழ் இணைக்க சேகரிப்புகளைப் பயன்படுத்தலாம். தொகுப்பை உருவாக்க, "புதிய" என்பதைக் கிளிக்...
8. Test APIs using Postman
Просмотров 79Месяц назад
In this demonstration, we will explore how to debug APIs using Postman, a powerful testing tool. First, log into Postman and create an account if necessary. Download the desktop app by selecting the version compatible with your operating system and open it after installation. To create a new request, click the " " button and enter the URL, such as `localhost:7130/api/events`. Click "Send" to ex...
7. Testing API and Authentication with Swagger
Просмотров 52Месяц назад
In this demo, we’ll use Swagger UI to test our API endpoints. We'll run the project (ensure the SQL Server Image at Docker is running) and start with the Events endpoint. Initially, there are no events, but we can call this endpoint using the "Try it out" button. Since we’re not authenticated, we receive a 401 response. To fix this, we need to implement token authentication in Swagger UI. In th...
6. Add XML Comments to Swagger
Просмотров 402 месяца назад
In this demo, we will enhance Swagger UI by incorporating XML comments from our code. We'll extract these comments from function definitions for better documentation of our API. Let’s focus on the `AuthenticationController`, which currently lacks a visible summary in Swagger UI. To enable this, right-click on the EventScheduler application in your solution, go to Properties, and under Build and...
5. Add Swagger UI
Просмотров 812 месяца назад
In this demonstration, we'll document our web API using Swagger UI. This tool helps visualize API endpoints since web APIs lack a user interface. It's difficult to remember all API endpoints and the associated input and output data. To get started, navigate to the Swagger UI website, where you can find a demo of our implementation. Swagger UI scans your endpoints and generates a user-friendly i...
4. Explore The Project Structure
Просмотров 442 месяца назад
In this demonstration, we will explore our API project’s structure, logic, and endpoints. After loading the solution, you will find three projects: 1. EventScheduler.Data: This serves as our database model and utilizes Entity Framework for data management. You don’t need to modify anything in this project. 2. EventScheduler.Services: This library manages data without cluttering our controllers....
3. Look at the Project Dependencies
Просмотров 1212 месяца назад
In this demo, we will set up our project with a single dependency: the database. Our primary focus will be configuring a local database to persist changes after restarts. If a local database connection fails, we'll explore using an in-memory database instead. First, open the EventScheduler solution in your IDE (Rider, VS Code on Mac, or Visual Studio on Windows). Ensure the correct project is s...
1. Introduction
Просмотров 722 месяца назад
Debugging and Error Handling in ASP.NET Core Web API. APIs are key services in application development, and their success hinges on proper debugging and the delivery of understandable messages and error codes. Proper error handling in ASP.NET Core is a crucial skill for creating a web API that offers developers a seamless and user‑friendly experience. Ensuring your API has comprehensive documen...
2. Course Overview
Просмотров 362 месяца назад
Error handling is crucial in web APIs, as it prevents errors from appearing on the front end. Instead, we should provide meaningful messages and error codes for the front end to act upon. This course will guide you in handling errors and debugging .NET Web APIs using ASP.NET Core and targeting the .NET 8 framework with Visual Studio. The content is applicable for versions from .NET 6 to .NET 8....
C# Session 8 - Iterations (Switch, While, Do-While)
Просмотров 56 месяцев назад
C# Session 8 - Iterations (Switch, While, Do-While)
Code Review 1 - ASP.NET Core API with .NET 8
Просмотров 647 месяцев назад
Code Review 1 - ASP.NET Core API with .NET 8