Blog Archives

Working with NuGet Package Manager

NuGet is a visual studio extension which makes it easy to install and update open source libraries in visual studio. One can simply search for the library which needs to be added to the solution. The rest of the work

Tagged with: , ,
Posted in Microsoft .NET, NuGet

Using NHibernate in ASP .NET

Introduction We often need to create a Data Access Layer (DAL), which takes our business objects and performs CRUD (Create, Read, Update and Delete) in physical data store. If you have ever created the DAL you will come to know

Tagged with: ,
Posted in ASP .NET, Microsoft .NET, NHibernate, Object Relational Mapping (ORM)

JQUERY AJAX and HTTPHANDLER in ASP .NET

Introduction In this article we will see how we can make use of jQuery library to make AJAX calls in ASP .NET with the help of HTTPHANDLERS. Also, the use of JSON (Javascript Object Notation) which is a format describing

Tagged with: , ,
Posted in ASP .NET, jQuery

Web Custom Controls

Introduction This article describes the use of custom web controls in ASP .NET. Sometimes, when the requirement becomes complex and it’s difficult to build them using the available standard ASP .NET server controls. We can create a web custom control

Tagged with: ,
Posted in ASP .NET, Microsoft .NET

Filter, Sort and Joins with LINQ

Language Integrated Query (LINQ) is a new component of .NET framework 3.5. It’s main function is to add data querying capabilities to .NET framework using syntax similar to SQL. LINQ integrates the query syntax within .NET programming which makes it possible to

Tagged with: , , , ,
Posted in LINQ, Microsoft .NET

PDF file Generation using XSLFO and FOP in .NET

Introduction This article describes how to create a PDF document using XSLFO and Apache FOP. In the example I will be exporting datatable to pdf, which we need frequently. While developing a .NET based applications, we often come to a

Tagged with: , ,
Posted in ASP .NET, Microsoft .NET, XML

DataGrid/Gridview to Excel file generation

I have often feel the need for developers to generate an Excel report requirement. Here is a small code snippet to produce the same. C# Code string path = Path.GetTempFileName(); StreamWriter writer = new StreamWriter(path); HtmlTextWriter htmlWriter = new HtmlTextWriter(writer);

Tagged with: , ,
Posted in ASP .NET