18 марта 2023 г.
Просмотров: 624
The core difference between GraphQL and REST APIs is that GraphQL is a specification, a query language, while REST is an architectural concept for network-based software.
Note: This article is mostly server-side related.
GraphQL is gaining momentum as a successor to REST APIs. However, it isn’t always a “replacement”, and making the decision to opt for GraphQL comes with several considerations.
Traditionally and when used “out of the box”, REST has had limitations...
далее...
18 марта 2023 г.
Просмотров: 727
This tutorial focuses on the elements of Apache Superset, a modern tool for Data Collection, Visualization, and Exploration. Apache Superset is one of the most comprehensive open-source Business Intelligence tools though it is very easy to use. It is faster and more efficient than existing similar tools, and it comes with varying features that enable users to process their data in different forms.
Hence, using the tool will enhance your business’...
далее...
15 марта 2023 г.
Просмотров: 966
1. JustDecompile
JustDecompile is a free decompiler tool that allows you to easily decompile .NET assemblies into readable code. With this tool, you can quickly and easily analyze the code of any .NET application, even if you don’t have the original source code.
https://www.telerik.com/products/decompiler.aspx
2. PostSharp
PostSharp is a powerful tool that allows you to add custom behaviors to your .NET code without having to modify the code itself. With PostSharp, you can easily...
далее...
12 марта 2023 г.
Просмотров: 1239
Introduction: In today’s world, real-time communication is essential for many web applications. For example, consider an online game where players need to communicate with each other in real-time, or a chat application where users expect instant messaging. Fortunately, SignalR, a real-time web framework, is available to help developers implement such functionalities in their web applications.
In this blog, we will explore how to use SignalR in .NET Core to implement real-time...
далее...
Просмотров: 179
10 марта 2023 г.
Просмотров: 901
“Get more done by doing this!” “Do this and be more productive!” These are common headlines in the productivity space.
As a contrarian, I usually feel like I need to do the opposite when I see everyone doing something. Now, that’s not always a smart thing to do.
But when it comes to career, business, and productivity, it usually pays off if you do what’s counterintuitive.
So while everybody’s focused on doing more...
далее...
10 марта 2023 г.
Просмотров: 1132
Writing unit test code when using the Dapper ORM tool for database operations with ASP.NET Core Web Application
How to write unit tests with Dapper
Writing unit tests when using the Dapper ORM tool for database operations in an ASP.NET Core Web Application can be complex. This is because Dapper uses static extension methods that are difficult to mock when testing services.
There is one approach to resolving this problem. We need to...
далее...
9 марта 2023 г.
Просмотров: 1765
ASP.NET Core Blazor Server is a platform for developing modern and dynamic web applications. With Blazor Server, you can write code in C# and create rich user interfaces using HTML and CSS, all while taking advantage of server-side rendering and real-time updates.
Advantages of Blazor
Server-side rendering
Interactive user interfaces
Real-time updates
.NET runtime
Easy integration...
далее...
2 марта 2023 г.
Просмотров: 620
Ситуация на рынке IT
С каждым годом войти в IT становится всё труднее. За счёт высоких зарплат, комфортного образа жизни, амбиций, потребности в специалистах, сейчас чуть ли не каждый второй хочет стать программистом. За счёт этих факторов, рынок труда в IT перенасыщается, из-за чего потребности в навыках специалистов тоже выросли. Теперь от разработчиков даже требуют уметь программировать, я знаю, это ужасно...
Это не говорит о том, что сейчас в IT идти смысла...
далее...
1 марта 2023 г.
Просмотров: 820
In this article, I’ll show you all the object mapping strategies of EF Core and especially the new one: TPC Inheritance Mapping. TPC mapping is the new feature introduced with Entity Framework Core 7. It’s called Table Per Concrete type inheritance mapping. I’ll explain the EF Core’s inheritance mapping strategies with how the inherited entity and the specific information are saved into a relational database. I’ll also explain which strategy...
далее...
26 февраля 2023 г.
Просмотров: 826
Error handling with Async/Await in JS
This will be a small article, based on some issues I picked up during code reviews and discussions with other developers. This article is rather focused on the novice JS developers.
A Simple Try Catch
Let’s start with the simple try...catch example.
function thisThrows() {
throw new Error("Thrown from thisThrows()");
}
try {
thisThrows();
} catch (e) {
console.error(e);
} finally {
console.log('We do cleanup here');
}
// Output:
// Error: Thrown from thisThrows()
// ...stacktrace
//...
далее...
26 февраля 2023 г.
Просмотров: 953
Achieve Typescript mastery with a 21-steps guide, that takes you from Padawan to Obi-Wan.
Content
Intro
Best Practice 1: Strict Type Checking
Best Practice 2: Type Inference
Best Practice 3: Linters
Best Practice 4: Interfaces
Best Practice 5: Type Aliases
Best Practice 6: Using Tuples
Best Practice...
далее...
25 февраля 2023 г.
Просмотров: 1126
Back in 2008, I wrote a series of articles about using iTextSharp to generate PDF files in an ASP.NET application. I still use iTextSharp in a large MVC 5 application that I'm in the process of migrating to ASP.NET Core. The version I use is very old (4.1.6), and the API is very low level so it takes quite a while to write the code required to generate even a...
далее...
20 февраля 2023 г.
Просмотров: 599
Both Kibana and Grafana are data visualization tools providing users capabilities to explore, analyze and visualize data with dashboards. The difference between Kibana and Grafana lies in their genesis. Kibana was built on top of the Elasticsearch stack, famous for log analysis and management. In comparison, Grafana was created mainly for metrics monitoring supporting visualization for time-series databases.
In this article, let’s learn more about these two tools, and understand their...
далее...
19 февраля 2023 г.
Просмотров: 813
The file upload feature requires essential validations to clean and maintain user data. Improper execution of a file upload input increases security vulnerability. So we must approve the uploaded files before sparing them on the server to reduce the vulnerability.
Uploading files from clients to servers is among the essential features of any PHP application. However, implementing features with proper security and hassle-free configuration could be tricky. That said, developers may...
далее...
18 февраля 2023 г.
Просмотров: 290
Good UX design happens when you don’t notice it during or after the experience. The main goal of good UX design is to take the user on a specific mission as quickly as possible, with the least effort possible. In good UX design, very rarely do users notice the mastery they encounter, even in the most simple and most obvious interactions like, for example, deleting items.
“A user interface is like...
далее...
17 февраля 2023 г.
Просмотров: 1754
A Guide to Building Scalable, Maintainable Web API using ASP .NET Core
The term “Clean Architecture” has become increasingly popular in software development in recent years. Clean Architecture is a software design pattern that prioritizes the separation of concerns, making it easier to maintain, test, and evolve an application over time. This article will look at Clean Architecture and how it can be applied to ASP.NET Core applications.
What is Clean Architecture?
Clean...
далее...
10 февраля 2023 г.
Просмотров: 826
A Quick Guide to Transient, Scoped, and Singleton in C#.
In C#, the Transient, Scoped, and Singleton scopes are options for controlling the lifetime of objects which are created by dependency injection.
Transient
Transient objects are created each time they are requested. This means that if a Transient is injected into multiple consumers, each consumer will receive a separate instance of the object.
Scoped
Scoped objects are created once per request. This means that if...
далее...
10 февраля 2023 г.
Просмотров: 304
Design patterns are essential for creating maintainable and reusable code in .NET. Whether you’re a seasoned developer or just starting out, understanding and applying these patterns can greatly improve your coding efficiency and overall development process. In this post, we’ll take a look at the most important design patterns in .NET, and provide examples of how they can be implemented.
1. The Singleton Pattern
The Singleton Pattern The singleton pattern is used...
далее...
8 февраля 2023 г.
Просмотров: 1049
Introduction
Today I am going to show how to create a simple PHP application following the MVC pattern (Model-View-Controller). I was inspired by a PHP course I taught some years ago, and in which I built a simple e-commerce with the students. This e-commerce was based on a simple MVC framework based on PHP. Then, people who have continued with code and programming already had a smattering of what means MVC...
далее...