DevOps Engineer has essential role to make sure the development and operation is efficient. On this post, we discuss 9 keys skill that we need to prepare as DevOps engineer
Continuous Delivery: Understanding and implementing continuous delivery systems and methodologies on Azure or AWS.
Cloud Skills & Best Practices: Proficiency in AWS services, tools, and best practices, including d...
[More]
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 funct...
[More]
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]
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]