Problem: I have set of entities which are being used in service. And i need to validate them for following condition.Property is mandatoryProperty is a string of length 30Property has value either “PSHP” or “STOR”If property in point 4 has…
Validation using Data annotations .net Framework vs. Fluent Validation
Hello world!
Reading data from a flat file
Problem: Read the data from flat/delimited file which has huge number of columns Solution: Currently i am working on few integration projects and interesting ones too. Especially the last one as i had to get my tool out of my…
How to read command line arguments in .net
More than often when we write Console Application in .net , we are are required to parse the command line arguments. And most of the times just parsing the arguments is not the operation you do. You need to…
Importing Data from a flat file to SQL Server using SQLBulkCopy
Problem: Import a file with over 600,000 records which is around 250MB size. The import needs to be quick.Solution: Recently i was tasked with a carrier integration project. Now this carrier configuratiion file conatined data for 160 diffrent columns of…