Feeds:
Posts
Comments

Web.Config Minification

In all the previous version of .NET we do have Web.Config files with lot of informations that we dont really use.This make changes in Web.Config is more complex than other files.In this release, the Web.Config file has been minified.

There are two ASP.NET project templates one is Empty web application template and next is default web application template.
The Empty web application will have only 4 lines of configuration but the default web application will have all the configuration.(roles,rights,authentication) and database mapped to ASP.NET website administration.

This web.config minification will help us lot.

Good to see the sample below. Only this line will be there in this release web.config file under emtpy web application.

<?xml version="1.0"?>
<configuration>

<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>

</configuration>

Web application Project files changed in VS 2010

In older version of visual studio. when we create a new web application or new website we will have default page and web.config files But in Visual Studio 2010 there is a change.
There is a web template with a default Home Page and About Us page that you can use and customize and get started with a skeleton layout immediately.

This will be there whenever we create a new project.This resembles as like the pages in default MVC application. For newbies the new web application will be very helpful in using Scipts,Styles,Web apps infomation

In this Jquery is enlisted within the project.So we can use the JQuery in Visual Studio 2010.

The template is same both for web application and MVC application.

Add Reference Dialog improvement.

When we are working in console or Web application. If we want add class library we will do Add reference but this will take some time and make our Visual Studio busy. The reason is all the libaries in GAC need to load here under .NET tab. Here we have .NET, COM,Projects tab.

In Visual Studio 2010 we have improvement instead of populating the .NET tab initally the Projects tab was loaded. That is list of all projects in the solution. This will not take time since the projects will be very less.And all the .NET and COM loads asynchronously.

This is not major change but this will help for many of us

Today I came to know one good functionality in Visual Studio 2008 and 2010. I dont know why I unnoticed this earlier. Normally We will have our projects and start executing by pressing F5. These are single project with necessary project references. If we need to execute Multiple projects while start then it is possible in VS 2008 and 2010.

The example for this when we create our WCF Service and Client. We need to execute the service project first and then client project. The multiple start up will be very useful here.

Just set the start up projects and we can create the start project as multiple projects and

based on our project execution.

New Look in Visual Studio 2010 Beta 2

In this post I do explain about some important changes in VS 2010 Beta 2.

The default start up page grabbed me a lot.

The start page shows all the application development and extending application in Visual Studio 2010.

ASP.NET MVC application is released in Beta 2 which is not in Beta 1

Office 2010 Beta version is released. And Microsoft gave Office development support for Office 2007 and 2010 in VS2010

Cloud service is available in Beta 2 without any add ins

In previous versions of Microsoft there is application only for Reporting services. Now there is new project for Crystal Reports.

SharePoint 2010 is going to release. Here in VS 2010 Beta 2 there is development environment for SharePoint 2007 and 2010.

Call Hierarchy in VS 2010

Call Hierarchy in VS 2010:-

In projects, a single method may be used in various places and attempting to follow a particular method is being called is difficult. In VS 2010 We have the option of call hierarchy which address this problem by presenting the call from and call to for a particular method.

Just select the method and right click the "View Call hierarchy". This gives calls from and calls to.

Here in this example we can view the calls to GetMethod1() and calls from GetMethod1().

Call to GetMethod1 in this application is from Main() function and calls from GetMethod1() forwards to GetMethod2(). This hierarchy goes upto end of the method.

Direct 2D in IE9

What is Direct 2D:-

Direct 2D going to be the new feature in IE 9.

Define:-

Direct2D is a 2D and vector graphics application programming interface (API) designed by Microsoft

Direct2D is a hardware-accelerated, immediate-mode, 2-D graphics API that provides high performance and high-quality rendering for 2-D geometry, bitmaps, and text.

Usage:-

We can use Direct 2D where we can have server side rendering of 2D graphics

Sources:-

We can have this feature in Windows 7 and Windows Server 2008 R2 edition.

New year treat from Microsoft

Microsoft is going to launch the most awaited Windows Azure Cloud computing platform on January 1, 2010.
So From next year onwards microsoft going to provide internet based software as services, Infrastructure as services, Utility Computing.

In the release version of Azure will provide online platform for developers to access their code (Windows Azure)and store the data in Microsoft data center.(SQL Azure)

Currently Microsoft is providing the free cloud hosting for developers if they have their Windows live id with promo code.This will continue till January 2010 and billing will start from February 2010.

Some Big names like Amazon,Google are already into the cloud space. Now Microsoft stepped in to the Cloud computing market

Cloud computing will be the future for IT industry. All major IT Products and Services industry will try to implement Cloud computing and market their business towards newer technology.

For information:-

http://www.nytimes.com/reuters/2009/11/17/technology/tech-us-microsoft-azure.html

Benefits of SQL Azure

Benefits of SQL Azure

Self-Managing:-

SQL Azure offers the scale and functionality of an enterprise data center without the administrative overheads that are associated with on-premise instances of SQL Server.

High Availability:-

SQL Azure is built on proven Windows Server and SQL Server technologies, and is flexible enough to cope with any variations in usage and load. The service replicates multiple redundant copies of your data to multiple physical servers to maintain data availability and business continuity. In the case of a hardware failure, SQL Azure provides automatic failover to optimize availability for your application.

Scalability:-

A key advantage of SQL Azure is the ease with which you can scale your solution. After partitioning your data, the service scales as your data grows. A pay-as-you-grow pricing model makes sure that you only pay for the storage that you use, so that you can also scale down the service when you do not need it.

Familiar Development Model:-

When developers create on-premise applications that use SQL Server, they use client libraries that use the tabular data stream (TDS) protocol to communicate between client and server. SQL Azure provides the same TDS interface as SQL Server so that you can use the same tools and libraries to build client applications for data that is stored in SQL Azure

Relational Data Model

SQL Azure will seem very familiar to developers and administrators because data is stored in SQL Azure just like it is stored in SQL Server, by using Transact-SQL. Conceptually similar to an on-premise instance of SQL Server, a SQL Azure server is logical group of databases that acts as an authorization boundary.

Within each SQL Azure server, you can create multiple databases that have tables, views, stored procedures, indices, and other familiar database objects. This data model makes good use of your existing relational database design and Transact-SQL programming skills, and simplifies the process of migrating existing on-premise database applications to SQL Azure.

We used to receive periodical mails from our local NSS as emergency downtime or emergency maintenance of the server. But no one will care about that. It is good to see that there is an scheduled maintenece in Microsoft public Azure cloud.I got this email in my personal mail box. Initially I was thinking why cognizant is sending out a mail to my personal mail with subject “Planned downtime this weekend”. Then I checked that it was from microsoft for their Cloud server maintenance activities. It is very good that they are sending mail to all the devlopers who are all using Microsoft Cloud. Hope in future we will get the mail like this from our cognizant – private cloud to all our associates for maintenance activity of all our internal sites hosted in our local private cloud.

 

MicrosoftOutage

Older Posts »