New features in Visual Studio 2017

You want to learn new features in Visual studio 2017.In channel 9, John Montgomery explain new features.

Visual studio 2017

Posted in General | Tagged , | Leave a comment

Visual Studio 2017 RC

Microsoft  announced the release of Visual Studio 2017 RC.Below link have the details.

Link

Posted in General | Tagged , | Leave a comment

Thread Abort Exception

In Asp.net application ,I have checked log files of the application i have found more exceptions  logged with “Thread Abort Exception“.This exception occurred due to wrong usage of the Response.Redirect in the application and it will effect application performance.

In general  we using below way
Response.Redirect(URL);

the right way of usage is
Response.Redirect(URL, false);
Context.ApplicationInstance.CompleteRequest();

By avoiding this exception performance of the Page response  will be increase.

Reference

Posted in Articles | Tagged , | Leave a comment

C# Evolution

Reference from msdn

Posted in Uncategorized | Tagged | Leave a comment

Configure Log files in IIS 7

Log files are very important when tracing errors in both application and IIS level. Below are the steps to configure the logs files in IIS.

  1. Open IIS
  2. Select your Website and Click on it.
  3. In Right Side Pane click on Logging.
  4. In Logging, in Log file Section, Select format(IIS,NCSA,W3C) for  logging and select Fields(Date, time etc…)
  5.  Give the Directory Location for log files In Directory Section.
  6.  In Log file Rollover, Give the Schedule (Weekly, Hourly etc) and Maximum file size and select  remaining options as your requirement.
  7. Right side click on Apply
Posted in Uncategorized | Tagged , | Leave a comment

Asp.net MVC hosting In IIS 5 & 6

Asp.net MVC is full supported in IIS  7  but in IIS 5 & 6 we need some work around.Below links are useful hosting Asp.net MVC in  IIS 5 & 6.

IIS 5

IIS 6

 

 

Posted in Articles | Tagged , , , | Leave a comment

Sql server Usefull link

Below link is very full for the sql server for instance reference  from beginner to experts.

Link

Posted in Articles | Tagged , , , | Leave a comment