Profile cover photo
Profile photo
Vikash Kumar
79 followers
79 followers
About
Communities and Collections
View all
Posts

Post has attachment
Centralized model validation both for MVC/WebApi and SPA client-side validation using FluentValidation
Validation is one of the crucial parts of any application. It has to validate on both client side and server side requests. What are target features or implementation from this article? Model validation for any given model. Centralized/One code for validati...
Add a comment...

Post has attachment
Custom SPA engine, similar to MVC pattern by using TypeScript
Single Page Application, a fundamental requirement for SPA is to develop the application with XMLHttpRequest (XHR) or AJAX. That is only main requirement, other things come as add-on stuff. Advancements of SPA? In today's world, we do not want to be restric...
Add a comment...

Post has attachment
Fluent mapping approach for EF Core
With the first release of EF Core, there wasn't any proper approach of fluent mapping of entities, in an easy manner for enterprises application where a lot of entities needs to be involved. You might have ended up with nasty or repeated codes. At that time...
Add a comment...

Post has attachment
jQuery Datatable generic implementation on .Net/dotnet Core for any entity server filtering or sorting through EF/EF Core
jQuery Datatable is one of the popular freely available grid for the developers. It works really great on the client side but there is always need to write a lot of codes on the server side for filtering and sorting for each individual entities. In this art...
Add a comment...

Post has attachment
Efficient custom mapping from data model to ViewModel/Dto or vice versa with LINQ support
How many lines of codes we waste on mapping from one source to a destination like DataModel to ViewModel.  There are well-known Mappers available to do the same but nothing can come close in terms of performance by using manual mapping just that we need to ...
Add a comment...

Post has attachment
Strongly typed Application configuration through EF SQL DB
The idea is to create a strongly typed application configuration by constructing concrete class and get the values populated from the database so that it is easier to change. This would allow admin to directly modify DB values for configuration. So, let's s...
Add a comment...

Post has attachment
Elegantly dealing with TimeZones in MVC Core / WebApi
In any new application handling TimeZone/DateTime is mostly least priority and generally, if someone is concerned then it would be handled by using DateTime.UtcNow on codes while creating current dates and converting incoming Date to UTC to save on servers....
Add a comment...

Post has attachment
Gracefully notifying end user about application error in .Net and .Net Core versions
We generally do error logging for the application to know what error might have occurred in the application. Notifying the end user about the error is equally important. Also, it is always better to implement this at first place rather than doing at a later...
Add a comment...

Post has attachment
Visual Studio 2015 Code Analyzer and configuration with StyleCop
What is Diagnostic/Code Analyzer? To put it simply it is something similar to Resharper or Telerik JustCode. It analyzes codes while writing on code editor and suggest for improvements of codes through Squiggles, light icon and based on various severity. Ho...
Add a comment...
Wait while more posts are being loaded