Life, Surf, Code and everything in between
Contact
|
Articles
|
Products
|
Support
Weblog Posts in April 2012
GZip/Deflate Compression in ASP.NET MVC
April 28, 2012 @ 4:00 am
If you want to create ASP.NET MVC content that uses gzip or deflate compression you need to use some custom code. Here's an action filter that compresses content in your ASP.NET MVC applications.
4 comments
Internet Explorer and Cookie Domains
April 25, 2012 @ 6:04 am
Got tripped up today by another IE issue: Internet Explorer will not accept Cookies with local domains set for the Cookie Domain and fail silently.
5 comments
Getting a 'base' Domain from a Domain
April 24, 2012 @ 9:17 pm
I was surprised to see that there wasn't some way in .Net to retrieve the base domain name from a sub-domain. For example, I want www.west-wind.com, and store.west-wind.com to return me just the base url. Easy enough but there are a couple small issues to check for especially when dealing with string based domain names.
10 comments
ASP.NET MVC Postbacks and HtmlHelper Controls ignoring Model Changes
April 20, 2012 @ 2:19 am
Today I discovered an MVC behavior I hadn't noticed: For HTML helper controls MVC always uses POSTBACK values to display the control value rather than model values when the View is rendering in a POST back. In effect this means that MVC Views can't update the value of controls during a POST back using the standard HTML Helper Controls.
17 comments
Wishful Thinking: Why can't HTML fix Script Attacks at the Source?
April 14, 2012 @ 5:49 pm
I'm dealing with user HTML input in a Web application today and again I curse over the complexities involved in sanitizing this html. So today I started dreaming about a possible alternative...
15 comments
Odd MVC 4 Beta Razor Designer Issue
April 14, 2012 @ 12:54 pm
I have an odd designer issue with MVC 4 Razor pages which are causing errors in the environment.
4 comments
Physical Directories vs. MVC View Paths
April 05, 2012 @ 2:38 pm
Physical directories that map paths that are also mapped by ASP.NET MVC routes can cause some consternation, especially if you're not aware that there's pathing overlap between the two. This post is a story about an operator error episode of an accidental file move that took a while to trace down due physical path interference.
4 comments
Creating a JSONP Formatter for ASP.NET Web API
April 02, 2012 @ 5:03 pm
Web API doesn't include native JSONP support, but it's pretty easy to create a custom formatter that handles this task. Here's how to create a JsonpFormatter and hook it up as well as a short review of how JSONP works.
31 comments
Archives
May, 2013 (2)
April, 2013 (5)
March, 2013 (4)
February, 2013 (2)
December, 2012 (2)
November, 2012 (7)
October, 2012 (3)
September, 2012 (3)
August, 2012 (5)
July, 2012 (1)
June, 2012 (1)
May, 2012 (4)
April, 2012 (8)
March, 2012 (7)
February, 2012 (3)
January, 2012 (4)
December, 2011 (6)
November, 2011 (4)
October, 2011 (4)
September, 2011 (3)
August, 2011 (2)
July, 2011 (3)
June, 2011 (1)
May, 2011 (4)
Categories
ASP.NET (228)
.NET (95)
Personal (68)
JavaScript (57)
jQuery (55)
AJAX (53)
Visual Studio (51)
CSharp (43)
HTML (37)
ASP.NET (36)
LINQ (32)
IIS (30)
WCF (28)
Vista (28)
Windows (28)
FoxPro (22)
Localization (21)
Web Services (17)
Web Api (15)
COM (15)
ADO.NET (13)
Microsoft AJAX (13)
MVC (13)
WPF (12)
XML (10)
Security (10)
IIS7 (10)
CSS (9)
Silverlight (8)
Web Connection (8)
Sql Server (8)
HTTP (7)
West Wind Ajax Toolkit (7)
HTML5 (6)
C++ (6)
Html Help Builder (5)
Hardware (5)
Office (5)
ISV (4)
Live Writer (4)
Software Development (4)
Source Control (4)
WebLog (4)
Bugs (4)
ADO.NET (3)
Visual Studio (3)
Conferences (3)
DataBinding (3)
Help (3)
Help Builder (3)
Entity Framework (3)
IIS7 (3)
Windsurfing (3)
Razor (3)
RegEx (2)
RSS (2)
Maui (2)
Networking (2)
WinForms (2)
Web Design (2)
Tools (2)
Speaking (2)
Installation (2)
Internet Explorer (2)
iPhone (1)
JSON (1)
FireFox (1)
Graphics (1)
Deployment (1)
Dynamic Types (1)
Control Development (1)
Addins (1)
C# (1)
Threading (1)
Web Deployment Projects (1)
Travel (1)
Utilities (1)
SmartPhone (1)
SignalR (1)
wwHoverPanel (1)
© Rick Strahl, West Wind Technologies, 2005 - 2013