C# Split CSV string


Output

Tom
Cruise
Scott
Bob
at

Stackoverflow post:
https://stackoverflow.com/a/45799171/799593

Advertisements

Read/Write Large XML Files


Up to certain extent the performance quite depends on .NET version your application is running on.

Another quick reference is Microsoft Patterns and Practices article

There’re 4 ways to read and write XML

Continue reading →

Parsing XML with special characters


It is pretty common to come across a scenario where we have to deal with special characters in XML. Like &, (, ), $, etc. With this fix the < be the only illeagal character.

Continue reading →

YouTube .NET API


https://github.com/ablaze8/YouTubeApp

Transcript Generator


Today, I want to share a utility program I built. This little program, takes subtitle files, and spits out a nice crisp paragraph. I tested this program with a directory containing subtitles of 2 movies, and on the 8th second, I was looking at their transcripts. To test the file I/O operation, I took transcripts for a graduate level computer science course. It was organized in sections and sub-topics, totaling about 200 small clips. Within 3 seconds, I had my class notes, which I could use to share with a class, highlight important things being said in the lectures without typing a word!

One more thing, it is free and open-source, you can literally clone it and start using it right away.

Visit: https://subtitlestotranscript.wordpress.com, for for examples, documentation and GitHub repo.

C# String Extension & Helper Methods


I enjoyed spending some time after creating some very useful (at least to me 😛 ) C# helper functions for string operation. So here is the gist of it Continue reading →

LINQ to XML and XPath


An XML needs to be parsed – I was told the other day. My first questions from experience, how big the XML is going to be? Do we know the schema? The answer : It’s never going to be bigger than few lines, as we use it to store our application’s menu – which may or may not have child(ren). And yes we know the XML schema. Enough said. Continue reading →

kendo ui (core)


Recently, I came to know that the free and open-source distribution of Kendo UI news also ships AngularJS with it.

FYI : Kendo UI core now ships with Apache 2 license and not GPL.

We all know that Kendo UI is a full front-end framework. That means that it has all of the UI widgets. And I had been using Kendo with MVC in the past. The trend has been changed a bit fellas ! Since few months, I had been working on Web API, MVC, bootstrap and AngularJS — pretty popular stack now a days. Anywhere you need a page, use a MVC controller and views, whereas for CRUD operations basically one may use Web API controllers ( async calls ) with HTTP verbs.

Now, Continue reading →