Mar 18, 2023
Views: 56
Application security is becoming a more and more important topic on a day-to-day basis. Unauthorized access to protected data can potentially cost millions of dollars in the form of various financial penalties. Almost every application needs some reliable tool to manage its users’ identities and accesses.
There are a bunch of solutions on the market — both free and paid — that promise to provide such features. In today’s article, I...
more...
Mar 18, 2023
Views: 42
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...
more...
Mar 18, 2023
Views: 51
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’...
more...
Mar 15, 2023
Views: 88
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...
more...
Mar 12, 2023
Views: 81
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...
more...
Mar 10, 2023
Views: 84
“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...
more...
Mar 10, 2023
Views: 68
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...
more...
Mar 9, 2023
Views: 384
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...
more...
2 марта 2023 г.
Просмотров: 106
Ситуация на рынке IT
С каждым годом войти в IT становится всё труднее. За счёт высоких зарплат, комфортного образа жизни, амбиций, потребности в специалистах, сейчас чуть ли не каждый второй хочет стать программистом. За счёт этих факторов, рынок труда в IT перенасыщается, из-за чего потребности в навыках специалистов тоже выросли. Теперь от разработчиков даже требуют уметь программировать, я знаю, это ужасно...
Это не говорит о том, что сейчас в IT идти смысла...
далее...
Mar 1, 2023
Views: 99
Introduction
This article demonstrates Middleware concepts in ASP.NET Core. At the end of this article, you will have clear understanding on below points:
What is Middleware?
Why Middleware ordering is important?
Understanding of Run, Use and Map Method.
How to create a Custom Middleware?
How to enable directory browsing through Middleware?
What is Middleware?
Middleware is a piece...
more...
Mar 1, 2023
Views: 49
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...
more...
Feb 26, 2023
Views: 18
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
//...
more...
Feb 26, 2023
Views: 82
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...
more...
Feb 25, 2023
Views: 84
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...
more...
Feb 20, 2023
Views: 90
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...
more...
Feb 19, 2023
Views: 124
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...
more...
Feb 18, 2023
Views: 63
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...
more...
Feb 17, 2023
Views: 263
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...
more...
Feb 10, 2023
Views: 125
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...
more...