Contents tagged with ASP.Net 4
-
ASP.Net Web API in Visual Studio 2010
Recently for one of my project, it was necessary to create couple of services. In the past I was using WCF, since my Services are going to be utilized through HTTP, I was thinking of ASP.Net web API. So I decided to create a Web API project. Now the real issue is that ASP.Net Web API launched after Visual Studio 2010 and I had to use ASP.Net web API in VS 2010 itself. By default there is no template available for Web API in Visual Studio 2010.
-
Coexistence of projects between Visual Studio 2010 and 2012
Microsoft has released another version of Visual Studio named Visual Studio 2012. As you can see there are user interface (UI) changes in all/most of the Microsoft applications as Microsoft is moving towards Windows 8 and changing the UI scheme for all of the applications. Visual Studio 2012 is a move to adapt the new interface requirements that are in coherent with Windows 8. Not only this Visual Studio 2012 has lots of improvements in several areas and it supports .Net framework 4.5.
-
Integrate Bing Search API into ASP.Net application
Couple of months back, I wrote an article about how to integrate Bing Search engine (API 2.0) with ASP.Net website. You can refer the article here
-
Integrating Flickr with ASP.Net application
Flickr is the popular photo management and sharing application offered by yahoo. The services from flicker allow you to store and share photos and videos online. Flicker offers strong API support for almost all services they provide. Using this API, developers can integrate photos to their public website. Since 2005, developers have collaborated on top of Flickr's APIs to build fun, creative, and gorgeous experiences around photos that extend beyond Flickr.
-
Integrate BING API for Search inside ASP.Net web application
Update: Since Bing has moved Search API to Windows Azure Market place, I wrote a new article about the new Bing Search API. You can read this from the below link
-
Walkthrough: Wizard control in ASP.Net
In this article I am going to explain about the ASP.Net Wizard control and how you can use it in your application. When there are large forms, the wizard control is a useful tool that helps the end user to fill the form quiet easily. When you have large forms, it is a better approach to split the forms to various steps. In this article I am going to demonstrate how ASP.Net wizard control can be applied to multi-step form application. I am using ASP.Net 4.0 with Visual Studio 2010 for this demonstration.
-
Site Map Provider using custom business objects
Recently one of the project I was in a situation to build navigation for line of business data, the existing system available was fully designed as object oriented and it connects with some database other than SQL server. While thinking about showing navigation controls to the user, it was not a good idea to drill through objects as it takes lot of resources and more number of connections. So I decided to use a custom SiteMap provider that uses LOB objects to create navigation. In this article I am going to summarize the major steps I went through.
-
WalkThrough: aspnet_regsql.exe in ASP.Net 4
ASP.Net has the built-in support for Membership. Using this, you can securely store and validate user credentials. By using Membership along with Roles and Profiles you can build powerful applications. ASP.Net has a set of classes that allows you to access the Membership and Roles functionality. You can get complete reference of these classes from the below link.
-
Create PDF document using iTextSharp in ASP.Net 4.0 and MemoryMappedFile
In this article I am going to demonstrate how ASP.Net developers can programmatically create PDF documents using iTextSharp. iTextSharp is a software component, that allows developers to programmatically create or manipulate PDF documents. Also this article discusses the process of creating in-memory file, read/write data from/to the in-memory file utilizing the new feature MemoryMappedFile.
-
Include weather information in ASP.Net site from weather.com services
In this article, I am going to demonstrate how you can use the XMLOAP services (referred as XOAP from here onwards) provided by weather.com to display the weather information in your website. The XOAP services are available to be used for free of charge, provided you are comply with requirements from weather.com. I am writing this article from a technical point of view. If you are planning to use weather.com XOAP services in your application, please refer to the terms and conditions from weather.com website.
-
Getting Started with Chart control in ASP.Net 4.0
In this article I am going to demonstrate the Chart control available in ASP.Net 4 and Visual Studio 2010. Most of the web applications need to generate reports for business users. The business users are happy to view the results in a graphical format more that seeing it in numbers.
-
Create and Consume WCF service using Visual Studio 2010
In this article I am going to demonstrate how to create a WCF service, that can be hosted inside IIS and a windows application that consume the WCF service.
-
Multi-lingual web applications using ASP.Net 4
-
Prevent Cross Site Scripting/HTML injection attacks with <%:
The intention of this article is to speak about the new <%: (Known as Code Nugget syntax) introduced in ASP.Net 4. As mentioned in the title, this will help developers to avoid cross site scripting (XSS) attacks.
-
Routing in ASP.NET 4 Web Forms
ASP.NET version 4 has built-in support for URL routing.
-
ViewStateMode in ASP.Net 4.0
When asp.net introduced the concept of viewstate, it changed the way how developers maintain the state for the controls in a web page. Until then to keep the track of the control(in classic asp), it was the developer responsibility to manually assign the posted content before rendering the control again. Viewstate made allowed the developer to do it with ease. The developers are not bothered about how controls keep there state on post back.