Friday, October 30, 2009

Clean Web.Config Files (VS 2010 and ASP.NET 4.0)

You’ll encounter this improvement the first time you do a File->New Project within Visual Studio 2010 and create an empty ASP.NET 4.0 Web application (which is why I thought it might be appropriate to-do as the first post).

Web.config files in .NET 3.0 and 3.5
Over the last few releases, the web.config files within new ASP.NET projects have steadily increased in size. For example: the default web.config file that is added to a new web project in Visual Studio 2008 SP1 is now some 126 lines long, and contains everything from tag definitions to definitions of handlers and modules to be included in the ASP.NET HTTP pipeline.


This increase in size is because .NET 3.0 and .NET 3.5 use the same CLR and machine.config configuration file as those shipped with .NET 2.0 – and simply add and update assemblies in the framework when they are installed. To avoid the risk of us accidentally overwriting customized settings within the original 2.0 machine.config on the machine, we didn’t register the tag definitions, handlers and modules that shipped with the new ASP.NET functionality that came with the .NET 3.0 and .NET 3.5 versions. Instead, we defaulted to having new projects register these settings within the application’s local web.config file instead. This was safer – but caused the web.config files to increase and become more complicated and harder to read.


Web.config files in .NET 4
.NET 4 includes a new version of the CLR, and a new .NET 4 specific machine.config file (which is installed side-by-side with the one used by .NET 2, .NET 3 and .NET 3.5).



The new .NET 4 machine.config file now automatically registers all of the ASP.NET tag sections, handlers and modules that we’ve added over the years, including the functionality for:

ASP.NET AJAX
ASP.NET Dynamic Data
ASP.NET Routing (which can now be used for both ASP.NET WebForms and ASP.NET MVC)
ASP.NET Chart Control (which now ships built-into ASP.NET V4)


What this means is that when you create a new “Empty ASP.NET application” project in VS 2010, you’ll find that the new default application-level web.config file is now clean and simple:


Thursday, October 29, 2009

Sharepoint 2010

SharePoint 2010 Sneak Peak

I guess this will be blogged extensivly the coming hours and days: Microsoft has released official documentation about the next version of SharePoint. Read all about it here:
http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/default.aspx. From that site:

General overview SharePoint 2010 enables organizations to connect and empower people through an integrated set of rich features. Get a sneak peek of SharePoint 2010 product features today.

For IT Professionals For IT professionals, SharePoint 2010 offers enhancement to drive productivity, scalable unified infrastructure, and flexible deployment. Learn more about how to cut IT costs with SharePoint 2010.

For Developers YAY!For developers, SharePoint 2010 provides the business collaboration platform to rapidly build solutions and respond to business needs. Check out SharePoint 2010 features sneak peek for developers.

Wednesday, October 28, 2009

Sharepoint tutorial...

Are you new to Sharepoint??? Wanna to begin with Sharepoint development??? If yes then click on below link. There is plenty of information to begin with Sharepoint.

http://www.microsoft.com/click/SharePointDeveloper/

Enjoy and happy reading... :)