This tutorial provides a comprehensive guide on integrating ASP.NET Core Identity with NHibernate for effective user management. Understanding this integration is crucial for modern web applications that require scalable and secure authentication and authorization mechanisms. Readers should be familiar with C#, ASP.NET Core basics, and the fundamental concepts of NHibernate ORM.
core
All blogs tagged with core
Showing 74 of 74 articles
This blog post provides an in-depth exploration of unit testing NHibernate repositories within ASP.NET Core projects, covering the theory, practical implementations, and best practices. Understanding how to effectively test these repositories is crucial for ensuring data integrity and application reliability. Readers should have a basic knowledge of C#, ASP.NET Core, and unit testing principles.
This guide covers the various mapping strategies available in NHibernate for ASP.NET Core applications, offering insights into their practical applications and implications. Understanding these mapping techniques is crucial for efficient database interaction and object-relational mapping in .NET. Familiarity with C# and basic NHibernate concepts will be beneficial for maximizing the value of this content.
Readers will learn advanced techniques for optimizing NHibernate in ASP.NET Core applications, focusing on performance improvements. Understanding these concepts is crucial for building scalable and efficient applications that handle large datasets without compromising speed. Prior knowledge of ASP.NET Core and basic NHibernate configurations is recommended.
This comprehensive guide delves into troubleshooting NHibernate errors within ASP.NET Core applications, providing readers with the knowledge to identify, analyze, and resolve common issues. Understanding NHibernate's behavior and error messages is crucial for maintaining robust data access layers in enterprise applications. Prior familiarity with ASP.NET Core and basic ORM concepts will enhance the learning experience.
In this guide, readers will learn how to effectively configure NHibernate with ASP.NET Core to manage database interactions in a more flexible and powerful manner. This is crucial for developers looking to leverage object-relational mapping (ORM) for seamless database operations within their applications. Prior knowledge of ASP.NET Core and basic C# programming is recommended for optimal understanding.
This article will provide an in-depth exploration of integrating the Grok API with Entity Framework in an ASP.NET Core application. You'll learn about the architecture of both technologies, how they interact, and best practices for implementation. Familiarity with ASP.NET Core and basic knowledge of APIs and Entity Framework will be beneficial.
This guide will delve into best practices for securing Grok API integrations in ASP.NET, emphasizing the importance of robust security measures. Understanding these practices is crucial for protecting sensitive data and ensuring reliable application performance. Familiarity with ASP.NET core concepts and API development is recommended to maximize the learning experience.
This guide will teach you how to integrate the Grok API into your ASP.NET Core applications, simplifying data parsing and analysis. Understanding Grok API's capabilities will enhance your application’s ability to process log data efficiently. Familiarity with ASP.NET Core and RESTful API concepts is recommended before diving into this integration.
In this tutorial, readers will learn how to integrate Gemini API's WebSockets into an ASP.NET Core application to handle real-time data streaming effectively. This knowledge is crucial for developers looking to build responsive and dynamic applications that require live data updates. A foundational understanding of ASP.NET Core and WebSocket protocols will be beneficial before diving in.
This blog post will provide an exhaustive guide on testing Gemini API integration in ASP.NET Core, covering essential tools and techniques necessary for effective integration testing. Understanding how to properly test API integrations is crucial for ensuring reliability and performance in production applications. Readers should have a basic understanding of ASP.NET Core and RESTful API concepts.
This guide will walk you through the process of integrating the Gemini API with ASP.NET Core, providing you with essential tools and knowledge for real-world applications. Understanding how to effectively leverage this integration can enhance your application's capabilities, especially in finance-related projects. To follow along, you will need basic knowledge of ASP.NET Core, a valid Gemini API key, and the .NET SDK installed on your machine.
This blog post will provide an in-depth understanding of creating custom middleware in ASP.NET Core, explaining its importance in request processing and how it can enhance application functionality. Readers will learn about various use cases, coding examples, and best practices to implement middleware effectively. Familiarity with ASP.NET Core and C# is recommended before diving into this topic.
This article provides an in-depth exploration of middleware in ASP.NET Core, detailing its architecture, use cases, and implementation strategies. Understanding middleware is crucial for building flexible and maintainable applications, as it serves as a pipeline for request processing. Readers should have a basic understanding of ASP.NET Core and C# before diving into this topic.
In this blog post, readers will learn about advanced dependency injection patterns in .NET Core, including how to implement and use these patterns effectively. By the end of this article, you will have a strong understanding of dependency injection and its significance in building modular and testable applications.
In this blog post, you will learn how to implement real-time communication in your ASP.NET Core applications using SignalR. We will cover the basics of SignalR, its core concepts, and provide you with hands-on examples to get started quickly.
In this blog post, readers will learn about middleware in ASP.NET Core, its significance in request processing, and how to create custom middleware components. We will explore the lifecycle of middleware, built-in middleware options, and best practices to follow when implementing middleware in your applications.
In this blog post, you will learn about Dependency Injection (DI) in ASP.NET Core, a crucial design pattern that promotes loose coupling and enhances testability in your applications. We will cover its concepts, implementation, and best practices to help you effectively use DI in your projects.
In this blog post, we will explore how to build a RESTful Web API using ASP.NET Core. This guide will walk you through the essential concepts and provide practical examples to help you create robust and scalable APIs.
In this tutorial, you will learn the fundamentals of Entity Framework Core, a powerful Object-Relational Mapping (ORM) tool in C#. We will explore key concepts, set up a real-world application, and provide practical examples to help you effectively manage data access in your applications.
Hello everyone, in today's digital landscape, integrating Google authentication login using Google API has become increasingly essential. In this article, we will delve into the process of seamlessly integrating Google SignIn into Asp.Net Core 8.0, the latest framework in the .NET Core ecosystem. Let's explore how to streamline user authentication and elevate the security standards of your web applications by Integrating Google SignIn in Asp.Net Core 8.0.
Hello guys we often have to deal with json files in asp.net Core and we also have to read json files using c# and asp.net. So in this article we will see how to read json file in asp.net core 8.0. We will be creating one json reader class for this purpose.
In a production environment, securing your Swagger UI is essential to prevent unauthorized access. You can use authentication middleware to protect the Swagger UI endpoint. Below is an example of how you can configure authentication for Swagger UI in an ASP.NET Core application.
In this article, we'll dive into integrating PayPal subscriptions into an ASP.NET Core application. PayPal offers a robust API that allows developers to create and manage subscription plans seamlessly. We'll walk through a sample code snippet that demonstrates how to create a subscription plan, add a product, and initiate a subscription for a user.
Hello guys sometimes we need to call async methods inside sync methods in our asp.net application. So we will see how we can do that.
Dapper is a simple Object Mapper and is nothing but Object-relational mapping (ORM) and is responsible for mapping between database and programming language and also it owns the title of King of Micro ORM in terms of speed. It is virtually as fast as using a raw ADO.NET data reader and also Entity Framework.
Get random number in asp.net C#
Hello guys sometimes while trying to run Your Asp.net core project you may face error HTTP Error 500.32 Failed to load ASP NET Core runtime . So we will see how to solve that.
We will discover how to integrate the Razorpay payment gateway with ASP.Net Core in this tutorial. Here, we go over Razor Pay and show you how to incorporate it into ASP.Net Core MVC. Please read through my earlier post, "Build CRUD REST APIs with EF Core." You can view the result of our integration of Razorpay with ASP.Net Core MVC at the conclusion of this post.
Hello guys we will see how to fix Error An error occurred while processing your request.Swapping to Development environment will display more detailed information about the error that occurred.The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development. In asp.net core IIS
Hello guys, we often want to integrate payment gateways in our Asp.Net applications. Some of the most popular payment gateways are payumoney,paypal,stripe and razorpay. We have already covered payumoney and stripe in our blogs. In this article we will see how to implement paypal in Asp.Net Core 8.0.
This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET Core 8.0 application built with C# . The application uses Checkout to accept credit cards from the end user and send tokens to a back-end API. The back-end controller uses the Stripe .NET library to create a charge. We are using latest version on Stripe.Net api in this. Check out complete steps to Integrate Stripe Payment Gateway In ASP.NET Core 8.0
In this tutorial on ASP.NET Core, you will delve into executing CRUD operations using Entity Framework Core right from the start. This guide aims to facilitate your understanding of Entity Framework Core, enabling you to seamlessly integrate it into your web applications.
Hello, readers, and welcome to Code2Night! In this blog post, we will focus on the latter and explore how to implement JWT Token Authentication in ASP.NET Core 7.0 Web api and .net core 7 web application. So we will see how we will generate jwt token and how we will verify the token using authorize attribute.
This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET Core 7.0 application built with C# . The application uses Checkout to accept credit cards from the end user and send tokens to a back-end API. The back-end controller uses the Stripe .NET library to create a charge. We are using latest version on Stripe.Net api in this. Check out complete steps to Integrate Stripe Payment Gateway In ASP.NET Core 7.0
This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET Core application built with C# and Web Forms. The application uses Checkout to accept credit cards from the end user and send tokens to a back-end API. The back-end controller uses the Stripe .NET library to create a charge. We are using latest version on Stripe.Net api in this. Check out complete steps to Implement Stripe Payment Gateway In ASP.NET Core
In ASP.NET Core, App Trim refers to a feature that automatically removes unused assemblies from the application's memory during runtime. This helps to reduce the memory footprint of the application and improve its overall performance.
LINQ (Language Integrated Query) is a powerful tool in .NET that provides a unified way to query data from various data sources. When working with databases, LINQ can be used in conjunction with Entity Framework, a popular Object-Relational Mapping (ORM) framework, to simplify the process of mapping data to objects and querying the database.
Hello guys, sometimes we need to get mime type for specific file types. So we will see how we can get mime type for any file extension in Asp.Net.
Hello guys in this article we will discuss about features of .net core 7 which we can see in the upcoming release of .net core
Hello guys sometimes we have to get videos from our youtube channel and show on our websites. So in this tutorial we will let you know the steps of how to Get Channel Videos using YouTube Data Api in Asp.Net learnn With code2night
How to delete files to Azure Blob Storage in an ASP.NET Core Web
How to upload files to Azure Blob Storage in an ASP.NET Core Web
How to use Azure Blob Storage in an ASP.NET Core Web API to list, upload, download, and delete files
Hello guys, sometimes while using asp.net web application we face need to read json data from json files and parse them in c# . So will see how to read json data from file and parse using Asp.Net.
Hello guys, now a days we often have to use web api's in our Asp.Net core projects. In this article we will see how to create web api in asp.net core. We will create HttpGet,HttpPut,HttpPost and HttpDelete api's and see how to test them.
Hangfire is an open-source library to schedule and execute background jobs in .NET applications. You'll be able to create a simple background process inside the same application pool or thread without creating separate applications. Hangfire creates background jobs in persistence storage, like MS SQL Server, Redis, MongoDB, and others, that may prevent you from losing the job on recycling IIS pools or exception prevalence.
Hello guys, while using Paypal payment gateway we often need for payout to some other user using paypal. So in this article we will see how to do payout using paypal payment gateway.
Caching in ASP.NET Core using Redis Cache
Hello guys, we often want to integrate payment gateways in our Asp.Net applications. Some of the most popular payment gateways are payumoney,paypal,stripe and razorpay. We have already covered payumoney and stripe in our blogs. In this article we will see how to implement paypal in Asp.Net Core.
Hello guys, we often have to implement realtime chat functionality in our Asp.net web application. So we will see how to build real-time application with SignalR in Asp.Net Core
Hello guys, sometimes while working with Asp.Net application and mobile apps we often need to use Firebase database . So we will be using Firebase Database in Asp.Net web application.
Hello guys while working with Asp.Net Core we often need to read values from appsettings.json file. In today’s article, we will see how to read values from appsettings.json in ASP.NET Core.
Hello guys , we often need to integrate sms functionality in our asp.net web application . For that purpose we often use different sms libraries. In this article we will see how to send sms using Twillio in Asp.Net.
Hello guys sometimes while trying to run Your Asp.net core project you may face error HTTP Error 500.31 Failed to load ASP NET Core runtime . This error is basically because the framework required by the project is not on your system. So we will see how to solve that.
Publish Website using FTP in Visual Studio If we use FTP (File Transfer Protocol) to publish web applications, we need to enter all credentials provided by the FTP hosting company, and application files will upload directly to our FTP hosting space.
Model Validation In ASP.NET Core MVC 6.0
Hello guys, while creating asp.net core application we often need to implement export of data and for this purpose we sometimes need to export views to pdf file. So, We will see how to export view as pdf in Asp.Net Core MVC in simple steps using itextsharp library which is free.
This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET Core application built with C# and Web Forms. The application uses Checkout to accept credit cards from the end user and send tokens to a back-end API. The back-end controller uses the Stripe .NET library to create a charge. We are using latest version on Stripe.Net api in this. Check out complete steps to Implement Stripe Payment Gateway In ASP.NET Core
Hello guys, in this article we will discuss a issue that we face when we use sfgrid in Blazor. So sometimes while using SfGrid when we want to refresh data source of grid with different schema it doesn't refresh properly. We will see how to fix the issue Changing sfgrid datasource does not work in Blazor.
Hello guys, now a days we often need to implement api's in our Asp.net Core project and for testing api's we often use swagger. Swagger is a type of Api developer tools which helps developers in using and testing api's in a better way. We will see how to use Swagger in Existing Asp.Net Core MVC Project.
Hello guys, we all would have used cookies in our Asp.Net Core web projects. If you have used httpcookies in Asp.Net core 2.1 project and you are trying to update your .Net core version to 3.1 . You will notice your HttpCookies are not working there. So, we will see how to fix HttpCookies Issue with Asp.Net Core 3.1.
This post introduced you to ASP.net and why it is a good choice for the web development process.
Hello guys, sometimes we have to integrate google Login in our .Net applications. It can be hard sometimes to integrate that. So we will see how to integrate that using GoogleAuthentication Nuget package , which makes it easier to use and integrate.
Hello friends, as per being a .net developer we often have situations of Sending FCM Mobile Notification in Asp.net for IOS. So we will see all steps for sending notifications for IOS using Asp.Net core.
Hello friends, as per being a .net developer we often have situations of Sending FCM Mobile Notification in Asp.net for Android. So we will see all steps for sending notifications on android for Asp.Net core.
Hello guys, We often found ourself in the need of a realtime chat app . For two way communication in your webapp. We will see how to implement real time chat using SignalR with .Net core and Vue.js. SignalR is basically used for any sort of realtime functionalities. We will use .Net core for managing chathub . You can see complete steps in the article.
Hello guys, you might have noticed while working with .Net core 3.1 that whenever you make any client side change(html,css,js). It doesn't reflect in browser even after reload. So we will learn how to solve the issue Visual studio not refreshing changes in browser on reload.
In this article we will focus on implementing Globalization and localization in ASP.NET Core With Resource Files . We will be trying to implement culture in Asp.Net core 3.1.So if your are struggling in using you Asp.Net Resource Files in .net core have a look at the article in detail.
In this article we will see how to solve issue 'ConfigurationBuilder' does not contain a definition for 'SetBasePath' and no extension method 'SetBasePath' accepting a first argument of type 'ConfigurationBuilder' could be found (are you missing a using directive or an assembly reference? in .Net Core 3. We will see how to ready json files in .Net core 3.
After installing or updating the system or uploading your web app on IIS, you may receive the error HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure upon accessing the website. So we will see how to solve that error.
In this article, I will be explaining how an email can be send using ASP.NET with C#. I will be working on window forms of asp.net web application.I will be demonstrating how to use asp.net to build web application to send an email.
In this tutorial we will tell you how to create crud operations in Entity Framework
Error Handling in Asp.Net Core has changed a bit from what we used to use in Asp.Net Mvc. Before .Net Core We used to use OnException Methods to handle Exceptions while executing actions But it doesn't' see working in .Net Core as many features are changed.So In this Article we will see how to make exception handling work in Asp.Net Core.