Geeks With Blogs

News Microsoft MVP

Catch me on FaceBook too!

la familia
Title Of Blog ASP.NET
Why isn't Visual Studio letting me debug JavaScript any longer?
In my particular case the problem was due to Silverlight. I have my ASP.NET MVC application which is incorporating a Silverlight application into it. When integrating the Silverlight application VS will ask you if you want to allow for debugging your Silverlight application. Selecting yes will enable the Silverlight debugger in your web applications project settings (see below): To allow JavaScript debugging again simply uncheck the Silverlight checkbox and start your application ......

Posted On Friday, October 14, 2011 2:40 PM

jQuery with ASP.NET MVC and Telerik Controls
Continuing my short but sweet posts regarding issues I've encountered and corrected during development...... If you are working with the Telerik MVC suite of controls within your ASP.NET MVC application you may encounter a JavaScript error similar to "Object doesn't support this property or method". The problem? Telerik controls make use of jQuery and by default will add a script registrar to your view which then automatically includes the core jQuery JavaScript files. Like many developers you may ......

Posted On Tuesday, July 12, 2011 10:04 AM

Generating HTML Help files based on XML documentation
Since discovering the XML commenting features built into .NET years ago I have been using it to help make my code more readable and simpler for other developers to understand exactly what the code is doing. Entering /// preceding a line of code causes Visual Studio to insert "summary" tags. It also results in additional tags being generated if you are commenting a method with parameters and a return type. I already knew that Intellisense would pick up these comments and display them when coding and ......

Posted On Friday, February 11, 2011 2:00 PM

Base Pages and Interfaces for ASP.NET Pages
For quite a while I have been using the concept of base pages when developing pages in ASP.NET applications. It is a wonderful method for exposing common functions to all of your applications pages and also overriding certain events for various purposes (i.e. dynamic themes). Recently I found out a new developer will be joining my team. This prompted me to review the applications code for readability and ease of maintenance. I began adding comments through out the code behind for all pages within ......

Posted On Monday, January 31, 2011 10:31 AM

Use of Design vs. Source View in Visual Studio
Just a quick post back to a forum post I started regarding this topic: ASP.NET Forum Post ......

Posted On Monday, January 31, 2011 10:30 AM

So long wizards!
In an effort to make an application more robust I have been switching to a server-side method of tracking record selections vs. client side. The pages relying on record selections utilized the ASP.NET Wizard control which seemed like a good idea originally. Unfortunately, the design of the control is not all that flexible. It appears to want to center everything vertically which might not be a problem if it did not always use the vertical size of the largest Wizard Step for positioning. So, I am ......

Posted On Monday, January 31, 2011 10:29 AM

Deleting ASP.NET application subdirectories causes application recycle!
This may not be news to most people, but was definitely a shock to me! In the .NET 2.x framework a "feature" was implemented where by an ASP.NET application is automatically recycled if any subdirectory is deleted. This was apparently implemented to prevent stale content from appearing on a site. The unfortunate side effect of this "feature" is that when using the "InProc" model for session management, all session data is lost if a subdirectory is deleted. For those who progammatically may be adding/deleting ......

Posted On Monday, January 31, 2011 10:28 AM

ASP.NET Session Management
Great article (a little old but still relevant) about the inner workings of session management in ASP.NET: Underpinnings of the Session State Management Implementation in ASP.NET. Using StateServer and BinaryFormatter serialization caused me quite the headache over the last few days. Curiously, it appears the w3wp.exe process actually consumes more memory when utilizing StateServer and storing somewhat large and complex data types in session. Users began experiencing Out Of Memory exceptions in the ......

Posted On Monday, January 31, 2011 10:27 AM

Internet Explorer will not open Office files
An issue was brought to my attention today at work where certain users were unable to open Office files (specifically Excel) from Internet Explorer 7. The user would click on a button which simply generated an inline JS call to open a pop-up pointing to the .xlsx file on the server. IE would open the pop-up and then shortly thereafter the pop-up would disappear without the file ever opening. I tweaked the security settings in the users browser...added the site to the list of trusted sites and lowered ......

Posted On Monday, January 31, 2011 10:26 AM

Hidden inputs not always completely hidden in Internet Explorer
While working on an ASP.NET application today I noticed that after asynchronous ajax requests my page would have gap where when the page initially loaded it did not. I checked the pages source and noted that a hidden input field was declared precisely where the gap was occuring. I moved the hidden input field to the end of the pages source and the gap went away permanently. Curious ......

Posted On Monday, January 31, 2011 10:22 AM

Copyright © Jake Rutherford | Powered by: