Loading ...

Net Core Tag Helpers

Hello everybody, today I want to describe some .Net core tag helpers that you can use in order to create your web pages. There are plenty of already implemented tag helpers that can simplify your life as a developer. Here is the list of already made: Anchor Cache Distributed Environment Form For...

How To Validate Input On Insert

Hello everybody, today I want to document small feature in Acumatica which I can call validation of insert.  As usually if you need to validate some logic of insertion you can use something like RowXXXXd event. But for simple validations you can use PXUIVerify attribute. Below goes example t...

Some Elastic Search Featues

Hello everybody, For few days I've got assigned to work with Elastic search. As faithful to my principles before doing any activity I'd like to familiarize myself with instrument that I had to use. In ordre to use it more effectively. So, first of all I want to mention terminology. As a lot of de...

How To Switch Google Developer Platform To English

Hello, recently I've went into google development platform and faced following issue:  all of it's user interface was in Russian. I prefer to see English interface because majority of manuals are written in English, not in Russian. How to switch that language to English? Very simply. Just ad...

How To Create Plugins That Can Be Loaded Unloaded

Hello everybody, today I want to show sample of code that you can use for your plugins. Sometime it can happen that you have some application with it's dlls and you can decide to make ad hoc dlls. In order to demonstrate how to do it I prepared following code: Create first class library as BaseLi...

How To Convert Excel File To Csv File

Hello everybody, today I want to document a few lines of code which can help to convert excel file to CSV file with help of OLE: static void ConvertExcelToCsv(string excelFileName, string csvOutputFileName, int worksheetNumber = 1) {   &...

Different Types Of Views

Hello everybody, today I want to write few words about different kinds of Views in .Net core. So, if you decide somehow to create new view you can see something like this: and now question. What is the difference between MVC View Page, MVC View Layout Page, MVC View Start Page and MVC View Impor...

How to check if type in Assembly implements particular Interface

Hello everybody, today I want to give sample of reading available types from dll .net assembly, check if at least one of them implements interface, and if implements then to create instance of that type and return it.  So, imagine you have such interface declaration in your code: public ...

Concurent Collections Of C

Hello everybody, today I want to write few words about Concurent collections in C#. First of all  I want to point there there are only four of them: ConcurrentDictionary ConcurrentQueue ConcurrentStack ConcurrentBag BlockingCollection Partitioner EnumerablePartitionerOptions IProducerConsum...

Features Of System Reflection

Hello everybody, today I want to document few features of System.Reflection namespace. It has following important types: Type ( with methods GetType, GetMemberInfo, GetPropertyInfo, GetFieldInfo ), Activator ( with method CreateInstance ), Assembly ( Load, LoadFrom, GetTypes, GetName, GetFiles ),...