Blog Archives

How I applied Bundling in my application

While trying to optimize my old asp.net application, I found that lot of java script files and css files are affecting the performance of my web applications.To optimize the performance of an application I found that bundling and minification can significantly improve the performance. It can be applied on MVC as well as in ASP.NET web forms. So I decided to take a hand on this. Before applying bundling and minification, it is good to understand the basic logic behind this.

Read the rest of this entry

Advertisements

Highlights of Web Services

A world of web, where an organization provide its services like health care, banking, financial etc over the internet to end users.

To grow up business, organizations want to provide their services to more and more end users in simple ways.

So organizations use web app, mobile app, ipad app etc so that one can use their services easily and quickly.

This is where web services comes into picture. Communicating amongst all these entities (web app, mobile app, ipad app etc) without affecting their existence is made possible by web services.

Read the rest of this entry

ASP.NET Web API — Part 1

Hello All,

For Asp.net Web API, I am going to write a series of technical articles. Few of them will cover conceptual point, few will cover demos and in few of them, I will try to dig deep into it by covering important technical point like routing, hosting, security stuff.

So in this series of articles, Lets start with light node, what is ASP.NET Web API and why we should go for it.

Read the rest of this entry

Introduction to OData

Web is evolving very rapidly and so we have to. And demands of generic things are increasing as well.
We all know now days no application stands alone, because there are a lot of types of devices available
So we have to create services which can be called by any kind of device and business logic can be placed at a single place.
And when it comes to fetch data from a web service method, client devices don’t always need whole data, sometimes needs few columns or sometime needs data filtered on some basis and so on.

Read the rest of this entry

Get familiar with Lightwindow – not just another light whatever

I am pretty sure like me, many of you will be thinking same looking at those fancy popups which open on currently running rich UI websites. What if I can do same to incorporate such a window in my piece of work.

I crossed path with this awesome library called Lightwindow v2.0 when one of my colleague introduced me to it.

This is one of those javascript libraries which will help you to achieve those fancy looking popups, image galleries. It is really easy to implement. Quite fast & gives very awesome looking results I must say.

During my experience implementing it, I encountered some issues which really made me scratch my head hard. So let me take you along on my journey of dealing with this library and hopefully you can find answers to all your problems and doubts related to this library at the end of this journey.

Read the rest of this entry

Barcode with SSRS

In this blog I am going to introduce Barcode with SSRS reports. Before going ahead we need to know what is Barcode. A barcode is a machine readable code that is most common now adays. It is in the form of parallel lines. These parallel lines are generated with the help of number or alphabets or with combination of both (alphanumeric). These parallel lines are separated with some distance between them depending upon need. Barcodes are printed on a commodity and used especially for stock control. Example-: 01-barcode Read the rest of this entry

Telerik RadGrid Client Side Binding Using JavaScript

Before going to start about the code, I would like to tell you something about Telerik. Well, Telerik adds magic in our application. Its a third party tool that enhances the functionality of asp.net. If you have never used telerik and want to know more, I would suggest you to go through below links:-
http://www.telerik.com/
http://visualstudiogallery.msdn.microsoft.com/05896521-cda2-4c2e-9f5d-e562fe5059b0

In this article I am going to tell you, how to bind Telerik RAD grid using java script.

Read the rest of this entry

ASP.NET State Management

Definition-:

State Management: By name it means managing or preserving state of a control, web page or data.

Whenever we work on a page in asp.net have we ever thought how controls are able to get there state back after a post back. In real all the controls are stateless means when ever there is a postback state is lost. Then how are they able to get there state back after a postback???
This is all because of state management technique that asp.net provides for all the controls, web pages or data.

Now the question comes. How?
How are state management techniques used? Is it used on server side or client side? How many types of state management techniques are there?

Read the rest of this entry

How to handle multiple submit buttons on a single form – MVC Razor

In MVC, there is no click event like(Button_Click) for buttons, action is used to handle the post action of the buttons.

(There are various ways for handling multiple submit buttons on the same form but the best two are below)

Method 1: Handle all Submit Buttons post in one Action:

Example: Suppose we have to perform some mathematical operation like (Add, Substract, Multiply, Divide) with 2 numeric values.

For this case, we will create a form and add 2 TextBoxes and 4 submit buttons for each opeartion (Add, Substract, Multiply and Divide).

Read the rest of this entry

Introduction to Ajax Accordion Components

# Introduction:

The Accordion Control is a part of the Microsoft Ajax Toolkit. The Accordion is a web control that allows you to provide multiple panes and display them one at a time. The Accordion Control organizes your content into expandable Panes or Tabs which can be clicked to make the content of that Pane visible while hiding all the others. The Accordion is implemented as a web control that contains Accordion Pane web controls. Each Accordion Pane control has a template for its Header and its Content.

When used properly, the Accordion control can be a very effective UI element that can not only help you save costly screen real-estate, but will also make your site look more interactive and organized.

The Accordion control is one of the few independent or stand-alone controls in the Microsoft Ajax Toolkit. By standalone we mean that it does not extend the behavior of any existing ASP. Net control, and is instead implemented independently.

In this article we will learn how to use the Accordion Control in our websites, the different properties that can be modified to change the control appearance and the functionality that you can add.

Read the rest of this entry

%d bloggers like this: