Archive for the ‘C#’ Category

Best way of Listview custom paging with Datapager and objectdatasource

Introduction Listview with paging is very frequent usage for webapplication. In this post we will see how we can achieve best performance paging with listview. I ended up explaining to some of the senior developers what is meant by paging and why we implement. This basic and very important thing should always be remembered. […]

October 18, 2015 · Adi · No Comments
Posted in: Asp.Net, C#, Sharepoint 2007, Sharepoint 2010, SharePoint 2013, Tools

Easily Download any Feed (RSS or Atom) Data in C#

Introduction Simple and very useful code snippet to download rss feed data to xml file. It works for both RSS and ATOM feeds. It is very useful snippet without putting much lines of code. No need to compare feed types also while downloading What are covered in this snippet Download feed data irrespective of type […]

October 5, 2015 · Adi · No Comments
Tags: , , , ,  · Posted in: C#, Sharepoint 2010, SharePoint 2013, Tools

FaceBook, Twitter, Googlge login for WebForms, MVC and WebPages

Introduction Implementing OAuth and OpenID (Facebook, Twitter, Google) in Asp.Net is quite easy and you will wonder how quickly we can set up external login mechanism to Asp.Net application. You might end up searching many how to articles, but this is one of the best and simple article This post highlights how you can turn […]

June 7, 2015 · Adi · No Comments
Posted in: Asp.Net, C#, OAuth and OpenID

ASP.Net Web API with ASP.Net Web Forms

Although ASP.NET Web API is packaged with ASP.NET MVC, it is easy to add Web API to a traditional ASP.NET Web Forms application. Tutorial for using Web API with Asp.Net Web Forms Overview To use Web API in a Web Forms application, there are two main steps: Add a Web API controller that derives from […]

June 1, 2015 · Adi · No Comments
Tags: , ,  · Posted in: Asp.Net Web API, C#

Dynamic Multi Level Menu Recursion in C#

Introduction This is code snippet how to develop multi level menu with UL and LI structure. Thought to write simple one as it will help many web application developers to develop multi level menu(n level) very easily Output All you need to do it is just grab the free css and apply, code is here […]

May 17, 2015 · Adi · 2 Comments
Tags: , ,  · Posted in: C#, Menu, Sharepoint 2007, Sharepoint 2010, SharePoint 2013

Parsing Json string in .Net C#

Introduction JSON.NET very good and open source tool with many features for parsing JSON String in .NET C#. This adds lot of comfort and must have utility for any .NET programmer. Json.NET is a popular high-performance JSON framework for .NET Skill Level – Medium Email this page

April 14, 2015 · Adi · No Comments
Tags: , , ,  · Posted in: C#, JSON, Tools

Upload large documents to SharePoint online Office 365

Introduction Code snippet how to upload large documents to SharePoint online Office 365 using CSOM and RPC Email this page

January 29, 2015 · Adi · No Comments
Tags: , ,  · Posted in: C#, Client Object Model, Office 365, SharePoint 2013, SharePoint Online

Asp.Net fully functional Tree View control free download

Introduction Fully functional treeview control for ASP.Net with free download Features drag and drop dynamic loading context menu tri-state checkbox selection xml import/export themes add/editing/deleting nodes with ajax right to left display support Email this page

November 26, 2014 · Adi · No Comments
Posted in: C#, Tools

Entity Framework – Raw Sql Queries and Stored Procedure execution

Introduction SQL Code snippet how to run raw SQL query and Stored Procedure in Entity Framework Email this page

November 26, 2014 · Adi · One Comment
Tags: , ,  · Posted in: C#, Entity Framework, SQL

ILSpy – opensource NET assembly browser and decompiler

If you are looking for a good free .NET assembly decompiler, I suggest ILSpy is the better option. Earlier I used Red Gate’s reflector but it is no more free. ILSpy is quality free opensource reflector/decompiler which perfectly suits to decomplie .NET assemblies. Skill Level – Medium, Advanced Email this page

November 13, 2014 · Adi · No Comments
Tags: , ,  · Posted in: C#, Sharepoint 2007, Sharepoint 2010, SharePoint 2013, Tools, Uncategorized