.NET Daily

Recommended Resources


Popular Content


Navigation
Tagasp.net
Featured

Javascript

JavaScript events applied to a Dropdown control

Posted on February 19th, 2014.

Have you ever tried to dynamically open a dropdown control from a JavaScript event? Well, I’m not going to show you that because for the moment that’s almost impossible. It works only on Chrome browser. I’ve tried several tricks like assigning custom JavaScript triggers to a select tag but nothing worked on other...

Featured

Microsoft ASP.NET

How to Get External URL Reference in ASP.NET

Posted on December 11th, 2013.

We recently had a requirement to track the initial location of our users in a Single Sign On environment. One essential information that was needed for this requirement was to get the previous external URL from which the user came in our website. The external URL can be very easy extracted with the following code: if...

Featured

Microsoft ASP.NET

How to open an MVC 2 Project in Visual Studio 2012

Posted on September 25th, 2013.

It seems that Visual Studio 2012 doesn’t know how to upgrade projects created in Visual Studio 2010 with ASP.NET MVC 2 (or maybe it doesn’t want to). Follow these steps in order to unlock an ASP.NET MVC 2 or MVC 1 project in Visual Studio 2012: Step 1: Right click on the project and click “Edit projectname.csproj”. Step 2: In the opened...

Featured

C#

N-Tier Architecture. ASP.NET Example

Posted on August 12th, 2013.

Introduction N-tier architecture is probably one of the most used architecture models in the industry. It is used so often because it’s scalable, extensible, secure and maintainable over time. It also helps the developers with different roles to better do their job without interfering with each other. In this article I will present...

Featured

Featured

Front-End Performance Tips for ASP.NET Websites – Minimize HTTP Requests

Posted on August 7th, 2013.

According to Yahoo Developer website: 80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, stylesheets, scripts, Flash, etc. Reducing the number of components in turn reduces the number of HTTP requests required to render the page. This is the key...

Featured

Featured

Front-End Performance Tips for ASP.NET Websites – Using Telerik to Speed Up the Page

Posted on August 2nd, 2013.

Large ASP.NET pages have big ViewState size. I think this is one of the biggest downsizes that ASP.NET Webforms has because, if you have a big number of web controls in your page, the page size will increase exponentially after Postback. A weeks ago I found that Telerik AJAX Controls Library has the RadCompression module which can enable...

Featured

Featured

Front-End Performance Tips for ASP.NET Websites – Add Response Headers

Posted on July 31st, 2013.

There are quite few methods to do this. You can set the Expire Headers directly from IIS, you can write a custom HttpHandler or if you don’t want custom functionality you can set them from Web.config file. Below you have an example of how you can set the expiration date from Web.config: <system.webServer> <staticContent>...

Featured

Featured

Front-End Performance Tips for ASP.NET Websites – Introduction

Posted on July 31st, 2013.

The performance of a website is definitely one of the most important factors that affects its user experience. Not only that, but the performance can also affect sales and search engines ranking. Please take a look at some key facts below: About Response Times Jakob Nielsen says that there are 3 important limits in applications response...

Featured

Common .NET Exceptions

Nhibernate Exception: Named Query Not Found: storedproceduremaname

Posted on November 14th, 2012.

Nhibernate Exception: Named Query Not Found: storedproceduremaname Scenario 1: You call a WCF service method to populate a repeater and at page load you are prompted with the above exception. Resolution for Scenario 1: The above exception appears when Nhibernate doesn’t recognize the entity that you want to call. It could be...

Featured

Common .NET Exceptions

.NET Exception: For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server…

Posted on November 7th, 2012.

Exception: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as...