Loading ...

ASP.NET Blogs | CodeAsp.Net

Who is online?  0 guests and 0 members
home  »  blogs  »  blogs: March 2007

Communifire Blogs

Blogs : March 2007 postings

Vivek Thakur

The type or namespace name 'Configuration' does not exist in the namespace 'System.Web'

3/12/2007 by Vivek Thakur · 0 · 4971

The type or namespace name 'Configuration' does not exist in the namespace 'System.Web' This error will crop up if you try to use Configuration namespace in VS 2005 in the same way we used to access configuration namespace in VS 2003. In .NET 2.0, the ConfigurationManager class is the new mechanism to handle configuration information instead of ConfigurationSettings class in 1.x. This na...

Vivek Thakur

DIV Vs Tables

3/12/2007 by Vivek Thakur · 0 · 1807

There are already many posts on this hotly debated topic on Tables vs CSS-P (Div tags). Some good links are: http://www.hotdesign.com/seybold/index.html http://www.decloak.com/Dev/CSSTables/CSS_Tables_01.aspx Both posts are very contrasting and both strongly present pros/cons of using tables vs DIVs. But in my opinion, working with DIVs is kinda cool but there is a learning curve, wherea...

Vivek Thakur

FormsAuthentication Persistent Cookies Crippled in ASP.NET 2.0?

3/12/2007 by Vivek Thakur · 0 · 4069

I was answering a query related to FormsAuthentication in ASP.NET 2.0 and got to know that the persistent cookies behavior has been changed in 2.0, means that they take the " timeout " value from the web.config file (even if we manually set the cookies expiry time). The documentation in MSDN( http://msdn2.microsoft.com/en-us/library/1d3t3c61.aspx ) is also incorrect in my opinion, which ...

Vivek Thakur

Base Page Class in ASP.NET

3/12/2007 by Vivek Thakur · 0 · 3832

I have found using a Base Page class in my web projects immensely useful. What exactly is a Base Page class? We know that all our web page code behinds derive from System.Web.UI.Page class as: public partial class Default4 : System.Web.UI. Page { ...} Now, many times we need to code the same thing in every page class, for example consider these scenarios: 1. Setting the culture of the cu...

Vivek Thakur

Running ASP.NET v1.1 and v2.0 on the same server

3/12/2007 by Vivek Thakur · 0 · 1995

Can we run both 1.1 and 2.0 web projects on the same Windows 2003 server? Many times I have answered this question on the forums , so thought of writing a post on the same. IIS 6.0 can run both ASP.NET 1.1 and 2.0 web applications simultaneously on the same server, if each version specific application is assigned a different application pool. Now what is an application pool? We know that...

Vivek Thakur

Export ASP.NET page to Word, Excel or PDF

3/12/2007 by Vivek Thakur · 6 · 45571

Many times we would like to export our page as an Excel sheet, Word doc or PDF file. This can be simply achieved by changing the ContentType of the Response object and overriding the RenderControl method of the control to be exported: Page Load() { //bind data to data bound controls and do other stuff Response.Clear(); //this clears the Response of any headers or previous output Response...

Vivek Thakur

Custom Page Directives in ASP.NET 2.0

3/12/2007 by Vivek Thakur · 0 · 1767

I came across this interesting post on how to extend the Page directives in ASP.NET 2.0 by Scott and though of sharing it. See the link for details: http://weblogs.asp.net/scottgu/archive/2005/08/02/421405.aspx

Vivek Thakur

Will J2EE really die?

3/12/2007 by Vivek Thakur · 0 · 1334

Yesterday while browsing I came across an interesting article which talks about the death of J2EE in a pure SOA world. See this link for the complete article: http://searchwebservices.techtarget.com/originalContent/0,289142,sid26_gci1198211,00.html It basically says that: 1. J2EE will go the CORBA way but JAVA language will not be affected in any way 2. J2EE is well suited for platform i...

Page 1 of 1 (8 items)

Product Spotlight

ASP.NET Hosting Spotlight

Join CodeAsp.Net for FREE Today!

It's fast, easy and free! Submit articles, get your own blog, ask questions & give answers in the forums, and become a better developer, faster.

enter your email address:

 

Quick Vote

What kind of email newsletter would you prefer to receive from CodeAsp.Net?