Server-Side Development

Server-side development is the makings of what happens when serving a web page to a client (such as a web browser).

If a client requests a web page, it will send the request to the server, and the server will return HTML code if it is able to do so. The client will then take that HTML code and translate it into something more pretty.

Server-side development can be used in the form of creating web applications, and there are many ways of creating web applications. Microsoft created ASP.NET back in 2002 and was supported up to 2017.

In-recent times, Microsoft has developed ASP.NET Core which is a complete rewrite of ASP.NET MVC and ASP.NET Web API, which were separate in ASP.NET. It has also incorporated some of the popular plugins, such as Dependency Injection.

Tools to Improve Slow SQL Queries in SQL Server

2 days ago

It can be frustrating when the cause of your slow web application is down to the queries it makes to the database. This can be down to many reasons, including: Computer hardware Large volumes of traffic querying the database simultaneously Too many joins with other tables Querying against a table that has lots of records […]

Using LINQ expressions to build dynamic queries in Entity Framework

1 week ago

Entity Framework is a Object Relational Mapper (ORM) that relates objects and properties in your .NET application with tables and columns in your database. As a result of it’s relationship between application and database, it has become widely used in .NET applications. For the purpose of this article, it is assumed that your database is […]

How the Mediator Design Pattern Simplifies an Application

3 weeks ago

As your computer application gets more complex, more classes may be added. So, the more classes you add, the more difficult it can be to communicate between these classes. This can be a problem if these classes are located in different assemblies. This is where the mediator design pattern comes in. With the mediator design […]

A Beginners Guide to XUnit

4 weeks ago

Over the last few weeks, I’ve been exploring the functionality of XUnit. For anyone who doesn’t know, XUnit is one of the unit testing frameworks that are available for .NET. Here are some of the topics I’m going to cover. How to set up a test project In-order to create a test, you need to […]

Three SQL Server features you may not use too often

1 month ago

Common SQL features regularly used in your web application will include the normal CRUD operations. However, SQL Server has many more features. Here are three that I picked out that you may not use too often: Check Constraints Check constraints is a way that you can check the integrity of your data when you are […]

Migrating from .NET Framework to .NET Core

1 month ago

.NET Core was born back in June 2016, and at time of writing, it’s now on to version 2.2, with a preview of version 3 available for download. But if you are still using .NET Framework for some or all of your projects, then it might not be obvious what’s different with .NET Core, or […]

Using SPA Pre-rendering in .NET Core for an Angular Project

2 months ago

Using an Angular project as a Single Page Application (SPA) is relatively straight forward in .NET Core. The ASP.NET Core project already has extensions that allow you to do this. You can find the Microsoft.AspNetCore.SpaServices.Extensions from Nuget and add it to your project. If you are running in development mode, you can use the AngularCliBuilder […]

An Efficient Way of Handling Multiple Actions through One Route

2 months ago

Recently, I wrote about a way that you can use one route to direct traffic to different controllers and actions in ASP.NET Core MVC. In that example, I mentioned that there were six different types of pages that would be handled by one route. This is great, but the problem I experienced was the data […]

Test First, Code Second

2 months ago

In the world where everyone wants something yesterday, it’s very easy not to write any test plans, particularly when you got an eager client on your back. And if you are severely behind schedule, and working all the hours god sends to deliver the work, you are going to have to cut corners and unit […]

Changing controllers and actions using one route in ASP.NET Core

2 months ago

I was presented with a challenge recently. Six different types of pages wanted to appear after a generic sub directory. Well that’s fine. In MVC, you can just set up six different routes to cope with the six different types of pages. Each of those routes can have a different default controller and action. Job […]