Category Archives: ASP.Net
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.
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.
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.
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.
It was not a long time when I moved to Visual Studio 2010 for a project and first time listen for Nuget packages and after that day by day these nuget packages became and important part of my development environment. With almost 20k unique packages from the initial release in 2010 the community expanding exponentially and now this plugin became for .net in the same way ‘RubyGems’ stays to ruby by providing a centralized repository for thousands of packages.
Nuget is a free and open source package manager for dot net framework.NuGet is distributed as a visual studio extension, integrated with sharp developer , and included in the C# code snippet tool LINQPad. NuGet can be used from the command line and automated via scripts.
A Web application is an application that can be hosted on a web server and can be accessed from any machine that lies in the intranet or internet which has the web browser to render and display the web pages in that application.
With the help of Visual studio 2012, the web application can be created by using two different templates provided. One is by using “New Website” template and another is by using “New Web Application” template. This document is basically to compare and contrast the features of using these templates.
How to Create a New Web Application Project:
- In Visual Studio, Select new “project “option from file menu as shown below:
What is API:Application Programing Interface provides a medium of interaction between software components. Now-a-days API programing is one of the most important components of software development. Know more about API
API is something like URL that provides some intended data to the user. Let me explain it with some real world example.
Consider you have an account in Facebook and you want to access your friend list, status, photos through codding. Here Facebook is a total different entity which has no relation with your code (application), neither you can access Facebook’s code nor its database. So how can you access those data in your FB account via your application?
Here comes the role of API, Facebook provides an interface (URL/Graph API) that gives you all the intended details of your account, those can be used in any application. So your work is just to call the API provides by the client (here Facebook) and to use the response in your application. That’s it.
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-: Read the rest of this entry
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:-
In this article I am going to tell you, how to bind Telerik RAD grid using java script.
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?