Serving Industries Worldwide

Innovative Ways - Satisfied Clientele

Razor pages vs MVC in ASP.NET

Table of Content 1. What is ASP.NET? 2. What are Razor Pages? 3. What is Razor Syntax in MVC? 4. Single block Statements 5. Multi statement block 6. Basic Structure of Razor Pages and MVC 7. Code Comparison between MVC and Razor 8. Conclusion What is ASP.NET? ASP.NET is a type of software framework/infrastructure that was developed by Microsoft. ASP.NET is used for developing, running, and deploying the applications same as console applications, window...

read more

Introduction to Mini-profiler in C-sharp

For a developer a main challenge is to debug and optimize queries that are written for the request made to the server. It is impossible to get the exact time of the queries request for each page. Usually, developer considers count such as one, two, three and calculate the average but this is not a solution and as a developer, this is not we want. In developer's tool network tab provide information about the time per the request made for a page load but that is not enough for a...

read more

Test Driven Development in MVC

MVC is an application design model. So MVC comprised of three interconnected parts Model, View, and Controller. It is used for developing modern UI. We can create responsive websites and mobile applications using the latest version of MVC. MVC supports testability which efficiently enables TDD. Table of Content 1. What is TDD? 1.1. Step 1: - Create the project with Unit tests 1.2. Step 2: - Create the classes 1.3. Step 3: - Run the project 2....

read more