It is becoming extremely important now a days to use simple URLs without showing the .aspx extention and also hiding the Query String parameters such as page.aspx?name1=value1&name2=value2. SEO experts swear that simple canonical urls such as mysite.com/CountryName/CityName/CompanyName/ are much better in terms of search engine friendliness than mysite.com/getlisting.aspx?Country=CountryName&City=CityName&Company=CompanyName We can clearly see that the former URL is much better even for […]
Author Archives: Raja S
2 Easy steps to learn ASP.NET Routing, map URLs to aspx and pass variables
4 Simple steps to learn SqlCeDataAdapater, SqlCeDataSet to modify data in SQL Server CE tables
You already know, from my previous blog Using ADO.NET SqlCeCommand and SqlCeDataReader to select data from SQL Server Compact how to SELECT data for ReadOnly using SqlCeDataReader Object. You can’t update the data using SqlCeDataReader object. Instead you will need to use SqlCeDataAdapter and SqlCeDataSet objects if you have to make any changes and save the data […]
How to select data from SQL Server Compact CE using ADO.NET SqlCeCommand and SqlCeDataReader Objects
In this post, I will show you how to use some of the classes in System.Data.SqlServerCe Namespace to access a SQL Server CE database from a ASP.NET 4.0 web forms application. The DLL that contains System.Data.SqlServerCe Namespace and all classes in that namespace is System.Data.SqlServerCe.dll. The System.Data.SqlServerCe namespace is the managed data provider for SQLServer CE. This namespace is a collection […]
4 Easy steps to use SQL Server Compact (CE) in Visual Studio 2010 Express SP1
SQL Server Compact Edition is an embedded database that enables all functionality of SQL Server yet it is a simple and single file based. That means you don’t have to install the SQL Server. Simply copy the database file with .sdf extension and easily distribute it where ever you want to. Very useful in development environments […]
Top 8 new features in Visual Studio 2010 Service Pack 1 for the ASP.NET developers
Microsoft today released the latest version of its Visual Studio, Visual Studio Express and Visual Web Developer products. Its called Visual Studio 2010 Service Pack 1 (SP1). We at Chalaki have evaluated this product and very happy with the new enhancements. I am listing all the new features available for a web developer in this […]
4 Easy steps to create and consume .ACX web user controls in ASP.NET 4.0, Visual Studio 2010 SP1
What are ASP.NET Web User Controls? Web User Controls are re-usable controls that you can create and use across multiple ASPX pages. When you need functionality in a control that is not provided by the built-in ASP.NET Web server controls such as <asp:TextArea>, you can create your own controls. User controls are containers into which you can […]
5 Easy steps to install IIS 5.1 on Windows XP Professional SP3 and setup/run my CGI Program
IIS is the web server on the windows platform, similar to UNIX’s Apache server. Windows XP Professional SP3 has built in support for Internet Information Services or IIS. The built in version of IIS is 5.1. When you install windows XP, IIS is not automatically installed and enabled. You need to go to Control Panel to […]
How to maintain HTTP session state with cookies in C# CGI program in Visual C# 2010 Express and IIS
In my previous post 8 steps to develop, setup and call c# cgi programs in IIS 7, we learned how to create a CGI program in C#, install it as a website and call it using GET and POST. In this article, I am going to modify that C# program to include code to read and […]
8 Quick steps to develop and setup C# CGI program in IIS 7
CGI or common Gateway Interface is the protocol used by classic web forms to exchange data between the user and the web server. CGI uses HTTP protocol, which is a simple text exchange protocol on top of TCP/IP. In the HTTP protocol, environment variables of the OS and input from standard input devise such as […]
Why do I need ASP.NET Master Pages ?
I have a web application that has five ASPX pages. All have similar look and feel with same header, menu and footer. In order to simplify my coding I created two include files header.aspx and footer.aspx and included them at the right place in all my five ASPX pages. So my pages look like Page1.aspx […]