पोस्ट
2025
Blazor Components में Isolated CSS का उपयोग करना
Global style conflicts से बचने के लिए CSS isolation का उपयोग करके CSS styles को अलग-अलग Blazor components तक सीमित करें।
2024
Semantic Kernel के साथ Christmas spending को नियंत्रित करना
Semantic Kernel, Azure OpenAI और Blazor का उपयोग करके receipts analyze करें और Christmas spending track करें।
Containers का उपयोग करके... Christmas presents की prices track करें?
Docker containers, Blazor और .NET API backend का उपयोग करके Christmas gift price monitoring ऑटोमेट करें।
Custom ValidationAttribute और Blazor validation
Data annotations के साथ Blazor form validation के लिए reusable custom ValidationAttribute classes बनाएं।
2023
.NET API पर Custom Exception Handling
.NET APIs से clean error responses वापस करने के लिए custom exception handling middleware बनाएं।
Dependency inject करने का एक बेहतर तरीका
clean IServiceCollection extension methods का उपयोग करके .NET dependency injection registrations को organize करें।
.NET API पर Attributes के साथ Dependency Injection
ActionAttribute के बजाय TypeFilterAttribute का उपयोग करके .NET API एक्शन फ़िल्टर में dependency injection सक्षम करें।
External libraries के साथ Swagger documentation
External .NET class libraries में defined models से XML documentation display करने के लिए Swagger को enable करें।
Git में local branches साफ़ करना
एक PowerShell command का उपयोग करके main branch को छोड़कर सभी local Git branches हटाएं।
ASP.NET Core 7 में Identity की routes अपडेट करना
Identity pages scaffold करके default ASP.NET Core Identity login और register URLs को customize करें।
2022
.NET 6 Core API पर Custom Attributes
.NET 6 Core APIs में request headers validate करने के लिए custom ActionFilterAttribute classes बनाएं।
Blazor में loading components handle करना
RenderFragment और ChildContent का उपयोग करके Blazor में एक reusable loading spinner wrapper component बनाएं।
Certificate से expiration date प्राप्त करना
C# HttpClient और X509Certificate2 का उपयोग करके SSL certificate expiration dates programmatically retrieve करें।
Blazor में एक element को Focus करना
JavaScript Interop और element references का उपयोग करके Blazor components में HTML elements पर focus set करें।
GitHub Actions में VS Database project से *.dacpac files generate करना
GitHub Actions pipelines का उपयोग करके Visual Studio Database projects से dacpac file generation ऑटोमेट करें।
Blazor में Javascript Interop के साथ Themes Toggle करना
JavaScript Interop और CSS data attributes का उपयोग करके Blazor में light और dark theme toggling लागू करें।
Blazor में Azure Blob Storage में files upload करना
Native HTML5 file input का उपयोग करके Blazor app से Azure Blob Storage में files upload करें।
2020
Pimcore का एक core controller Override करना
Custom Symfony bundles और service configuration बनाकर core Pimcore controllers को override करें।
Windows 10 पर Apple Magic Keyboard 2 कॉन्फ़िगर करना
Windows 10 पर Apple Magic Keyboard 2 को ठीक से काम करने के लिए drivers install करें और कॉन्फ़िगर करें।
NuGet पैकेज में संकलित लाइब्रेरी जोड़ना
nuspec फ़ाइल में संकलित लाइब्रेरी संदर्भ शामिल करके NuGet पैकेज में गुम DLL को ठीक करें।