Archives
-
New Request validation features in ASP.Net 4.5
(This article is based on ASP.Net 4.5 developer preview, when the version is released there may be changes applied.)
-
New HTML 5 input types in ASP.Net 4.5 Developer Preview
Microsoft has released developer previews for Visual Studio 2011 and .Net framework 4.5. There are lots of new features available in the developer preview. One of the most interested things for web developers is the support introduced for new HTML 5 form controls.
-
Create a List Definition in SharePoint 2010 using Visual Studio 2010
In this demonstration, I am going to create a list definition using Visual Studio 2010. For the demonstration purpose, I am going to create a list definition for storing expenses, once deployed, the list definition can be used to create lists to store expenses. The list definition will define a list template that inherit from custom list and add columns expensedate and amount.
-
Developing SharePoint 2010 features using Visual Studio 2010
Developers can extend SharePoint by creating new features. Using features developers can develop customizations and extensions that can be capable of automated deployment, management, un-installation and upgrading. SharePoint Feature allows developer to create a set of functionality to group into a component and allows administrators to add that functionality to the site/site collection. In addition to this, administrator can disable or uninstall the feature if they wish. With SharePoint 2010, it is possible to upgrade the feature to a new version. In this article I am going to demonstrate how to create a feature using SharePoint 2010.
-
Determine the version of MOSS 2007 installed
Recently I came across with an assignment to upgrade MOSS 2007 to SharePoint 2010. MOSS 2007 was already installed but no documentation was available. I asked the system administrator and he had no clue as he just joined the company. I need to know the service pack installed in the MOSS 2007 farm and I thought of document this as it may help others.
-
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.
-
Configure Forms based authentication in SharePoint 2010
-
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 a Web Application in SharePoint 2010 using Claims Based authentication
SharePoint 2010 supports two types of authentication modes. Classic Mode and Claims based. Classic mode supports only windows authentication, where in case of Claims based authentication you can use any of the supported authentication methods such as windows authentication, forms based authentication (LDAP, SQL Server, custom) and SAML token based authentication.
-
Auto-Implemented properties in C#
When you write applications based on Object Oriented Programming concepts, you need to define lot of classes. When you define classes in C#, you need to define member variables and properties. Usually you define member variables as private and you will expose these member variables with corresponding public properties. This gives you an overhead as you are forced to define private variables just to expose them as properties.
-
Backup and Restore in SharePoint 2010 using PowerShell
It is essential to have proper backup/restore strategy in place for your SharePoint farms. SharePoint 2010 provides three types of tools for backup/restore for your server farm. The tools are
-
What is new in HTML 5
Now most of the browsers have the support for HTML 5. From now, web developer’s needs to think how they can utilize the new elements arrived with HTML 5 in their web applications. In this article I am listing some major elements that every web developer will be interested in.
-
Support for optional parameters in C# 4.0
Since the advent of C#, one of the popular debate happened in the IT developer community was over the support for “optional parameters”. I saw lot of threads that speaks about this and most of the developers were in favor of optional parameters. The call is over. C# 4.0 introduces the support for optional parameters, an expected feature by developers for a long time.
-
Configure BLOB cache for SharePoint 2010 web applications
SharePoint 2010 supports disk-based BLOB Cache that controls the caching for binary large objects. If you configure BLOB for frequently used images, audio files, video files, java script files, css files etc., the performance will be improved. BLOB cache needs to be enabled in the front end web server and once configured; the configured files will be retrieved from the database and stored in a directory under Front end web server. This reduces the network traffic/load on the database server.
-
Create a Visual Web Part using Visual Studio 2010
Create a Visual Web part using Visual Studio 2010
-
Change SharePoint authentication from classic mode to claims based
Recently I was in a situation to enable form authentication for a SharePoint web application that was configured using classic mode authentication. So the solution for me is to change the authentication mode to claims based.
-
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.
-
Customize SharePoint 2010 list forms using InfoPath
In this article I am going to speak about how InfoPath 2010 can be utilized to customize SharePoint list forms. If you are not familiar with Info path, let me give you an introduction here
-
Chart Control in ASP.Net 4 – Second Part
Couple of weeks before, I have written an introduction about the chart control available in .Net framework. In that article, I explained the basic usage of the chart control with a simple example. You can read that article from the url http://weblogs.asp.net/sreejukg/archive/2010/12/31/getting-started-with-chart-control-in-asp-net-4-0.aspx.
-
Documenting C# Library using GhostDoc and SandCastle
Documentation is an essential part of any IT project, especially when you are creating reusable components that will be used by other developers (such as class libraries). Without documentation re-using a class library is almost impossible. Just think of coding .net applications without MSDN documentation (Ooops I can’t think of it).