Creating database unit test with GitHub Copilot

Step-by-Step Guide Set Up Your Environment: Ensure you have Visual Studio installed. Install the necessary NuGet packages: Moq and xUnit. Create Your Database Mock: Use Moq to create a mock database context. Write Your Unit Test: Define  your test cases using the xUnit framework. Use the mock objects to simulate database interactions. Example Let's say you have a function GetUserById t... [More]

Things that you need to do to improve App Services

Here are some tips and tricks to improve the performance of the application .net at Azure App Services: Activate http/2. HTTP/2 offers an increase in performance through header and multiplexing compression, which allows more simultaneous demand without blocking each other. Make sure to activate http/2 in your application platform settings Turn off the Application Request Routing Cookie. If you... [More]

The Fastest Data Access Library on NET

In the past, we have ADO.NET that use data reader and dataset that provides awesome performance in .NET era. Some of our customer uses ORM like XPO or Core Entity Framework that works just like ORM. f you're looking for a lightweight and high-performance ORM (Object-Relational Mapper) for your ASP.NET applications, Dapper is a fantastic choice. Known for its speed and simplicity, Dapper allows you... [More]

Topics Highlights

About @ridife

This blog will be dedicated to integrate a knowledge between academic and industry need in the Software Engineering, DevOps, Cloud Computing and Microsoft 365 platform. Enjoy this blog and let's get in touch in any social media.

Xbox

Month List

Visitor