User controls are containers into which you can put markup and Web server controls. You can then treat the user control as a unit and reuse it in many other ASP.NET pages. But here I show you how to combine any number of UserControls into a dll and re-use across applications.Step1: Creating a UserControlCreate a new ASP.NET Empty Web Site. I choose the Empty Web Site template so that after I publish I have the dll just for UserControls and not for any aspx page. This project will just contain Us...
Read More
Postscript is a language used for creating vector Images,Vector images are made up of many scalable objects and they are defined by mathematical equations rather than the pixels ,so they always renders higher quality images.The Advantages of Vector Images over Bitmap images1.Vector images are resolution independent, how much ever we resize the image the quality remains the same. 2.Vector Images images does not contains rectangular background as the bitmap images. &nbs...
Read More
Do you wish to extend the built-in types with new methods?Want to extend custom types with new methods?In C#, we can use the Extension Methods to extend both built-in types and custom types. These extension methods are introduced in C# 3.0What are Extension Methods?Extension methods are special kind of static methods in a static class which enables us to add new methods to built-in types and custom types without creating new derived type.How to implement Extension Methods: Create a static method...
Read More
Are you looking for any HTML Parser?Want to traverse through HTML DOM elements?Want to read properties and its values of HTML element?Want to add properties to HTML elements dynamically? Want to modify HTML form at runtime? JQuery is one of the best solution to do all these at client side. But what about to do the same on server side?Here is one of the best, smarter, fastest and reliable solution: Html Agility PackHtml Agility Pack is an open source .NET library which is very similar to working ...
Read More
How to deploy an Outlook 2010 Add-in Using C#.NET And Visual Studio 2010In the previous blog, we walked through the steps to build an outlook 2010 add-in, how to create a custom task pane, add a custom context menu item and add a ribbon in the Outlook 2010. In this post, I’ll take you through the steps required to create a setup package so that you can distribute the add-in to others.Creating a new Setup Project:Returning to the Add-in project we created in this blog, we’ll now need ...
Read More