Total Pageviews

1/24/2010

Discoverd Benifits of Visual Studio 2010

Hello viewers listing some of the discovered benefits for Visual Studio 2010.
----------------------------------------------------------------------------------------------

  1. Asp.net MVC
  2. Integration with Jquery
  3. The incredible shrinking session state
  4. Extensible Request Validation
  5. Auto-Start Web Applications
  6. Performance monitoring for Individual applications in a single worker process
  7. Enhancement in Controls like List view, CheckboxList , RadiobuttonList , Menu control
  8. Asp.net Chart Control
  9. New improved Microsoft Ajax Library
  10. Enabling view state for individual controls
  11. Web. Config File Modification
  12. Changes to browser capabilities
  13. Routing in Asp.net 4
  14. Setting Client Ids
  15. Filtering data with the QueryExtender Control
  16. Project Template changes
  17. CSS improvements
  18. New field templates for URLs and Email Address
  19. Permanently redirecting a page
  20. Visual studio 2010 web designer Improvements
  21. Expanding the Range of allowable URLs
  22. Web application Deployment with Visual studio 2010

1/14/2010

Close Browser Without Confirmation Using JavaScript.

Some time we need to close our browser after some process, while doing this our browser(particularly internet explorer) start confirming it with confirmation box.

to avoid this you can use this code at your server side after your code is executed just write this.


  

1/10/2010

ASP.NET application Time out Problem, Timeout in less than 20 minutes

Some time your asp.net application time out in less then 20 min which is actually default time out.
there are several causes for this problem.

Change the session state configuration in Web.config (Default: 20 minutes)

<sessionState timeout="120" cookieless="AutoDetect">





IIS worker process recycle too often

IIS worker process may recycle less than 20 minutes if you have lots of applications share a same application pool. Usually it will fix the problem if you put your application in a stand alone application.

Change the IIS worker process idle timeout value (Default: 20 minutes)

You can change it at IIS Manager > Application Pools > DefaultAppPool > Properties > Performance.


1/09/2010

ASP.NET Menu is not Working in Google Chrome and Apple Safari Browser

If your website is using ASP.NET Menu Control, the menu part will not work in Google Chrome browser and Apple Safari browser. The look and feel of the main menu is different. Submenu does not show up.


There is an easy fix for this problem. Just copy and paste the following codes to your page load event of your code behind master page file. You may need to copy it to every page if you do not use master page.



Partial Class Main
     Inherits System.Web.UI.MasterPage

        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            If Request.UserAgent.IndexOf("AppleWebKit") > 0 Then
                Request.Browser.Adapters.Clear()
            End If
        End Sub
    End Class

1/06/2010

Slow SQL Server Management Studio in Vista Operating System

It is very slow when you try to open a remote database using SQL Server Management Studio in Vista operating system.


Solution



Disable TCP Auto-Tuning and Receive-Side Scaling State.
  • Go to Start > Programs > Accessories. Right click "Command Prompt" and choose "Run as administrator".





  • Type the following command and press Enter:


C:\>netsh interface tcp set global rss=disabled 
C:\>netsh interface tcp set global autotuninglevel=disabled


  • Reboot the computer

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews