TOD : Wrapping Code Block and Statements in Visual Studio April 23, 2011Posted by Abhijit Jana in .NET 4.0, Tips and Tricks, Visual Studio.
Tags: .NET, C#, Code Formatting, How To, Microsoft Visual Studio, Productivity Tips, Programming, Tips and Tricks, Tools, Visual Studio Editor, Visual Studio Tips, Wrapping Code Block
add a comment
In this tips I have explained how you can automatically wrap up code blocks or code statement in Visual Studio. We can use Document formatting to format the whole contents, but that doesn’t wrap single line code block like Properties or not even single line multiple declaration statement. Let’s consider an example, you are creating a Properties using code snippet and by default it will came up like
But, you want you code to be look like as below
How ? Read Complete Tips
15 Tips from Daily .NET Tips February 28, 2011Posted by Abhijit Jana in General.
Tags: ASP.Net, Language Integrated Query, Microsoft Visual Studio, Tips & Tricks
1 comment so far
Daily .NET Tips is aiming to sharing useful coding tips and tricks for .NET Developers. This site completely design for sharing Tips and Tricks, useful Code Snippet which anyone use in daily development work and targeted anything related with .NET. Here I am sharing few frequently required tips which are already published over there.
- How to count number of active session for State Server Session Mode ?
- How to use Runtime Objects in Watch Window during debugging in Visual Studio ?
- How to calculate Session data size for SQL Server session mode?
- Know when your application pools recycling in IIS 7.5 – Log an entry in Event Viewer while recycling
- Workaround For Non Serializable Types
- How EnableViewStateMAC Makes ViewState Secure ?
- Different approaches to Casting
- How to Display “Yes” or “No” Instead of Checkbox while binding Boolean value with GridView ?
- Changing Variables Display Format in Watch Window
- Getting Added And Deleted Items In A List Using LINQ
- How to setup multiple startup projects in Visual Studio ?
- Displaying Custom Messages / Images with NULL Value in ASP.NET GridView
- ASP.NET Validation Control with Images Notification
- How to expand specific Tree View Node programmatically in ASP.NET ?
- Display custom messages or images when there is no records in GridView Data Source
Using Silverlight Chart Controls With SharePoint 2010 November 7, 2010Posted by Abhijit Jana in Sharepoint 2010, Silverlight 4.
Tags: codeproject, Data Visualization, Microsoft Silverlight, Microsoft Visual Studio, SharePoint 2010, Silverlight 4.0, Silverlight Chart Control Integration With SharePoint 2010
In this blog post I am going to explain how we can use Silverlight Chart Control with SharePoint 2010. SharePoint 2010 supports fully integration with Silverlight application either of Silverlight In Browser or as a Silverlight OOB ( Out Of Browser) applications. In this blog post, I will be using one Share Point List to read the data using SharePoint Client Object Model (OM) and display them using Silverlight Chart Control inside SharePoint as a SharePoint Out of the box Silverlight Web Parts. This is also an example High Touch Integration of Silverlight and Share Point 2010.
Tips on Debugging : Using DebuggerHidden attribute September 12, 2010Posted by Abhijit Jana in General, Tips and Tricks, Visual Studio 2010.
Tags: CallStack, codeproject, Debugging, Microsoft Visual Studio, Programming, Tools
DubuggerHidden attribute tells the Visual Studio debugger that the method is hidden from the debugging process and while debugging. This is quite helpful when you don’t want to go to stepping inside of a method while debugging.
When you mark a method with DebuggerHidden() attributes, It’s explicitly tells the debugger not to step inside of that methods and no break point will be hit over that method. Now I am going to explain the same using a Example with Intellitrace debugging.
IIS Articles Archives September 1, 2010Posted by Abhijit Jana in General, .NET 4.0, IIS.
Tags: codeproject, ASP.Net, Debugging, IIS, WorkerProcess, Microsoft Visual Studio, Remote Debugging, Internet Information Services, Servers
In this blog post I have going to list out all of my IIS articles that I have published over last few years. Why I am going to do such post ? Because, I have been asked many question on IIS and different debugging options related with IIS and ASP.NET Applications by many readers. Many times I have had given reference of my different articles. This post will be the single reference for all of those articles. In this blog post I have given link and small overview of all of my IIS articles, so that I can refer a single articles to who ever wants to learn about IIS.
This article describes details of IIS configuration, Virtual Directory creation, Application Pool Creation, Application Pool settings, IIS Request processing for ASP.NET .
Few Tips on Customizing Debugging Window View in Visual Studio August 29, 2010Posted by Abhijit Jana in General, Tips and Tricks, Visual Studio.
Tags: .NET, codeproject, DebuggerBrowsable, DebuggerDisplay, Debugging, Development Tools, How To, Microsoft Visual Studio, Programming, Tips and Tricks, Visual Studio
In this post I am going to discuss about few tips on customizing debugging debugging windows. This may be very helpful during debugging of application. While debugging, you may want to simplify debug window or you may want to clean up all the unnecessary fields that are not important during debugging from debugging windows. Here is few tips for customization of debug window.
To use above attributes you have to use System.Diagnostics namesapce