Index Range
Entity Framework With Mysql
packages you have to install Create Tables Classes assume we have two tables like this then we will build class or record
C# – Multithreading
The Main Thread Sr.No. Property & Description 1 CurrentContext Gets the current context in which the thread is executing. 2 CurrentCulture Gets
ASP.NET Core – Dependency Injection and Middlewares
Services assume we have logger service like then we can register it in ioc like in the above example the service it
asp.net core Identity and authentication
HttpContext HttpContext encapsulates all information about an individual HTTP request and response.and it capsulated by ControllerBase HttpContext.User it will represent Th Identity any
dotnet CLI and Project file
dotnet run build Builds a project and all of its dependencies. Executable or library output Whether the project is executable or not
C# Topics (Pattern matching)
Pattern matching Simplifying switch statements with switch expressions with array patterns relational patterns
C# Topics (1)
is operator is with patterns with expresion a with expression produces a copy of its operand with the specified properties and fields modified. it
C++ Ranges
starting from c++ std 20 you can ranges STL library is coming up first example the ranges it executed once start iterate
C++20(templates and concepts)
what is template value type? value_type of the template is the type of template type for example if you have std::vector<int> the
C++ 20 (general subjects)
span array structure binding Initialize variables within if and switch statements Use template argument deduction for simplicity and clarity Use if constexpr
build GCC and G++
1- clone GCC repository 2- add select branch 3- in the source folder you will find ./contrib/download_prerequisites execute it to download dependencies
C++ GMock
add it to cmake Matchers expect call
C++ GTest
install GTest with CMake https://google.github.io/googletest/quickstart-cmake.html first example EXPECT AND ASSERT ASSERT: Fails fast, aborting the current function. EXPECT: Continues after the failure.
Mastering CMake (2)
Setting Up Your First CMake Project Working with Targets Essentially, it’s a recipe that a buildsystem uses to compile a list of
Mastering CMake (1)
Command Lines Generating a project buildsystem choose generatorThis can be overridden by the CMAKE_GENERATOR environment variable or by specifying the generator directly on the