(Brij Bhushan Mishra) Recently, I took a session on KolkataGeeks and discussed on ASP.NET 4.5 enhancements. I mainly discussed on changes in data controls and model binding feature added in ASP.NET4.5.
Tag: Development
JavaScript isNaN() Coerces Values When Testing For Numbers
(Ben Nadel) Recently, I was tripped up in my JavaScript debugging due to the way that the isNaN() (ie. is “not a number”) function treats its argument. I was trying to track down an elusive bug that would occasionally present a numeric ID as the empty string (“”). To figure out why this was happenin
Task Parallel Library and Servers, Part 4: TaskHelpers
(Brad Wilson) This is part 4 in a series on using Task Parallel Library when writing server applications, especially ASP.NET MVC and ASP.NET Web API applications.
HttpClient, HttpClientHandler, and WebRequestHandler Explained
(Henrik F Nielsen) In two previous blogs I describe how to use HttpClient as well as how to use the HttpMessageHandler pipeline. What we haven’t done explicitly is showing when and how to use HttpClient, HttpClientHandler, and WebRequestHandler. This is the purpose of this blog.
Setting Properties In Models With Strongly Typed Model Filters ASP.Net MVC C#
(Mira Javora) I like strongly typed view models in MVC. Typical structure of my site in Razor View Engine includes a page base model that is used in the Layout template and then I use inheritance to add properties to each model or commonly re-used properties. There are various reasons why to avoid d
ASP.NET: Build Your Own Security Framework with SetAuthCookie
(Peter Vogel) I mentioned SetAuthCookie in a comprehensive look at the ASP.NET security framework about seven years ago, but it’s worth mentioning again (primarily because I keep getting asked to solve this problem).
Configuration Tips For ASP.NET MVC 4 on a Windows Azure Website
(K. Scott Allen) The new Windows Azure Website feature is easy to use. You can deploy an application by publishing from Visual Studio or by pushing code with git. There are a few extra configuration steps I’ve found useful.
ASP.NET MVC: Handling Exceptions and 404 Errors
(Sumit Maitra) In a previous article, we saw how to use ELMAH for managing unhandled errors in MVC applications. If for some unique scenario, ELMAH does not handle your needs, you can fallback on the default HandleError Attribute in MVC.
Mapping CSS Sprite Image Coordinates With ColdFusion
(Ben Nadel) Last week, I got the idea to upload a CSS Sprite image and have ColdFusion scan the image in order to calculate the coordinates and dimensions of individual sprites contained within the image. And, about five attempts later, I had nothing! What I had assumed would be a rather simple task
Issue While Achieve Method Overloading in WCF
(Rohatash Kumar) I have encountered a common problem during method overloading in WCF. In a WCF service, method overloading does not occur directly through WCF Service. Here I am creating a WCF service to describe method overloading in a WCF service. I am creating two functions with the same name: A
