Tuesday, February 14, 2012

Why we go for VS2010 V4.0 in our application

Managed Languages
There are same great enhancements to the set of managed languages in Visual Studio 2010. Not only do C# and Visual Basic continue to evolve together as premier languages in Visual Studio, but we also added a new functional programming language called F#. 

ASP.NET 4 
In this unit, we'll cover the enhancements to ASP.NET in the .NET Framework 4. You'll learn about changes to WebForms, AJAX and Dynamic Data and you'll get introduced to ASP.NET MVC, now included in the framework. 

Data Platform
Almost every application needs to interact with data. In this unit, you'll learn about the enhancements to the .NET Framework's data access technologies including ADO.NET Entity Framework and OData protocol support. 

Windows Communication Foundation and Workflow
Windows Communication Foundation and Workflow are significantly improved in the .NET Framework 4. In this unit, you'll learn about the improvements to both as well as the integration of the two which make it easy to expose Workflows as services. 

Parallel Computing
Parallel computing is an important focus in the .NET Framework 4 as developers create applications that can take full advantage of multi-core processors. In this unit, you'll learn about the new additions to the .NET Framework to make developing parallel code easier. 

Silverlight
Silverlight 4 enhances the building of business applications, media applications, and applications that reach beyond the browser. In this unit, you will see key aspects of building business applications with Silverlight 4. 

Application Lifecycle Management
Visual Studio 2010 includes a first-class set of Application Lifecycle Management tools. In this unit, we'll cover several of the new ALM features in Visual Studio 2010. 

Windows Azure
Windows Azure is an internet-scale cloud computing and services platform hosted in Microsoft data centers, which provides an operating system and a set of developer services which can be used individually or together. In this unit, you will explore the basic elements of a Windows Azure service.

Friday, December 30, 2011

SQL SERVER – Reset sa Password

1.Open the SQL Server express management studio
2.Connect to SQL Server using windows authentication
3.Right click the server name and choose properties
4.Go to security tab. Change server authentication to “SQL Server and Windows Authentication mode”
5.Click OK and restart SQL Server
6.Go to SQL Server studio management express
7.Expand the server and choose security and expand logins
8.Right click on SA, from properties modify the password and confirm password

OR

To reset the sa password, you can make the following:
1. Login to the SQL Server box as the Administrator.
2. Run SQL Server Enterprise Manager.
3. Right-click the server name and choose ‘Edit SQL Server Registration properties’.
4. Choose ‘Use Windows authentication’ and click OK button.
5. Expand a server, expand a Security and click Logins.
6. Double-click the sa login and specify new password on the General tab. (enable Login to)

Or You Can Use

USE [master]
GO
ALTER LOGIN [sa] WITH DEFAULT_DATABASE=[master],
DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=ON, CHECK_POLICY=ON
GO
USE [master]
GO
ALTER LOGIN [sa] WITH PASSWORD=N’’ MUST_CHANGE
GO

or

From a command prompt
OSQL -S -E
1> EXEC sp_password NULL, ‘’, ‘sa’
2> GO

Sunday, October 23, 2011

Visual Studio 2010 Tips & Tricks for Developers

  1. Working in Full Screen Mode in Visual Studio

    1. Alt+Shift+Enter is the shortcut to enter to fullscreen mode in Visual Studio
    2. Its sometimes really helpful and more appealing for developers to work in full screen mode

    1. Editing


      1. For Copying a line in the IDE just go to the start of the line and press Ctrl+C,there is no need to select anything
      2. For Pasting a line just go to the start of the line and just press Ctrl+V
      3. For Deleting a line just go to the start of the line and press Ctrl+X, this is not actually delete but its similar to cut if you do Ctrl+X on current line and go to some other place in your code and do Ctrl+V then it will paste the same line there.
       
      1. Expanding and Collapsing the code units

        1. This nice little shortcuts has saved me a lot of time.Whenever i am working on a large piece of code i always get confused and make some changes in other Method or property because they were looking similar.
        2. But now with this shortcut i collapse one method as soon as it is finished.
        3. The shortcut is Ctrl+M+M.
        4. Just go to the beginning or end of the method or property or any code block and hit the shortcut it will expand or collapse the code block comparing to its present state.
        5. If you want to collapse all your code units or blocks to their definitions then the shortcut to achieve this is Ctrk+M+O or Ctrl+M Ctrl+O.This is also a very handy shortcut which helps a lot in development.
         
        1. Automatic Text Indentation and Formatting

          1. This shortcut helps me to write beautiful and decorative code which is easy to understand by any person.
          2. Shortcut is just press Ctrl+K+D.
          3. This works not only in C# and VB code behind but it works well in aspx pages.
          4. If you want to just format the selected piece of code then just press Ctrl+K+F
           

          Wednesday, September 21, 2011

          Steps Followed & Issues faced while Migration

          1.       Opened the application developed with VS 2008 solution with VS 2010.
          2.       Conversion took place automatically with help of Wizards.
          3.       Removed the references of .Net frame work 3.5.
          4.       Added references of .Net Framework 4.0.
          5.       Opened properties window of all the projects and changed the framework to 4.0
          6.       Download and installed the Web Deployment Setup for VS 2010.
          7.       Deployed the build.
          8.       Created Virtual directory in the server
          9.       Installed .Net Framework 4.0 in hosting Server.
          10.   Created a separate Application pool for the .Net Frame work 4.0     
          [Since two different .Net Frame works cannot run on the same application pool]
          11.   Changed the Version on the Virtual Directory to .Net 4.0