Scott Hanselmans Computer Zen - Firefox, ClickOnce, XBAPs and .NET 3.5 SP1 (3)
share
digg
by
Scott Hanselman (137)
on
Scott Hanselman's Computer Zen (137)
8 hours, 10 minutes
ago
permalink
One of the things that I noticed immediately when I made the SmallestDotNet was that Firefox was reporting the version of the .NET Framework installed. There's a Firefox extension that is installed with .NET 3.5SP1. I was stoked about this because I'd like users of BabySmash to be able to use ClickOnce from Firefox to launch it. ClickOnce and Firefox When you install .NET Framework 3.5SP1, there's a key written to the registry whether Firefox ...
Free E-Book: Brad's Sure Guide to SQL Server 2008 (2)
share
digg
jQuery Form Serialization without ASP.NET ViewState (4)
share
digg
by
Rick Strahl (22)
on
Rick Strahl's Web Log (22)
2 days, 6 hours
ago
permalink
If you're doing AJAX callbacks to the server with POST data from ASP.NET pages you might be inclined to do something like this: var post = $("#form1").serialize(); $.post("MethodCallback.aspx?Callback=ListPanel", post, function(result) { alert(result) }); This works fine, but it will pick up all of your ViewState and EventValidation making the post back to the server a heck of a lot bigger than it should be especially if you have a page where ViewState is heavily used. ...
ASP.NET MVC Application Building: Family Video Website #3 – Play Videos with Silverlight (2)
share
digg
by
swalther (13)
on
Stephen Walther on ASP.NET MVC (9)
2 days, 11 hours
ago
permalink
In this series of blog entries, I build an entire ASP.NET MVC application from start to finish. In this entry, I integrate the Silverlight Media Player into the Family Videos MVC application so I can play videos. Before reading this blog entry, you might want to first read the previous two entries: Family Video Website #1 – Upload the Videos – In this entry, I create an MVC controller that accepts large file uploads. Family ...
Новости о MVC (1)
share
digg
on
Oleg Aksenov (2)
3 days, 5 hours
ago
permalink
Всем доброго времени суток! Сегодня произошло два события - новый, интереснейший пост Scott Guthrie "ASP.NET MVC Preview 5 and Form Posting Scenarios", а также обновление самого проекта "ASP.NET MVC". Что касается поста Scott Guthrie , он там рассказывает много интересного, в частности про: UpdateModel + ModelState для обработки ошибок. ModelBinder - улучшение связывания параметров Наглядно рекомендуется PRG ("Post/Redirect/Get") pattern - на мой взгляд, очень полезная рекомендация - все-таки postback - чужеродная сущность для web'а... Html.Form ...
Watch out for Date Kind in JSON Deserialization (1)
share
digg
by
Rick Strahl (22)
on
Rick Strahl's Web Log (22)
3 days, 5 hours
ago
permalink
If you're working with dates that have been sent from the client encoded in JSON format, and you're using a JSON parser to handle the parsing for you make sure you deal carefully with date values. The various JSON serializers out there handle date formatting slightly differently and this can make a subtle difference that you might not immediately notice when dates are retrieved from the JSON. Specifically the issue is that Microsoft JSON deserializers ...
Opinionated ASP.NET MVC by Joshua Flanagan (1)
share
digg
by
chadmyers (11)
on
Chad Myers' Blog (7)
3 days, 11 hours
ago
permalink
Joshua Flanagan, who’s been tearing it up for the team I work on at Dovetail, has recently posted two great posts on how we’re doing ASP.NET MVC. I suggest you check ‘em out: Testing with Opinionated ASP.NET MVC (or how going with conventions made our controller testing considerably easier) Sample Opinionated Controller He’s done a good job of trying to wrap everything up in a nice package. Unfortunately some of the guts of how the ...
Steve Sanderson’s blog » Blog Archive » Prevent Cross-Site Request Forgery (CSRF) using ASP.NET MVC’s AntiForgeryToken() helper (2)
share
digg
by
Steve (209)
on
Steve Sanderson's blog (3)
3 days, 22 hours
ago
permalink
Cross-site scripting (XSS) is widely regarded as the number one security issue on the web. But since XSS gets all the limelight, few developers pay much attention to another form of attack that’s equally destructive and potentially far easier to exploit. Your application can be vulnerable to cross-site request forgery (CSRF) attacks not because you the developer did something wrong (as in, failing to encode outputs leads to XSS), but simply because of how the ...
ASP.NET MVC Preview 5 and Form Posting Scenarios - ScottGu's Blog (16)
share
digg
by
ScottGu (99)
on
ScottGu's Blog (99)
4 days, 2 hours
ago
permalink
This past Thursday the ASP.NET MVC feature team published a new "Preview 5" release of the ASP.NET MVC framework. You can download the new release here. This "Preview 5" release works with both .NET 3.5 and the recently released .NET 3.5 SP1. It can also now be used with both Visual Studio 2008 as well as (the free) Visual Web Developer 2008 Express SP1 edition (which now supports both class library and web application projects). ...
Setting the ASP.NET Form's Action Attribute, URL Rewriting (1)
share
digg
by
Harish Ranganathan (2)
on
An ASP.NET Blog (2)
5 days, 5 hours
ago
permalink
If you have worked with URL Rewriting in ASP.NET, you would have figured out that it is pretty difficult to sustain since the ASP.NET Form tag's Action attribute cannot be overridden or manually set until you do some plumbing work. In simple terms, you couldnt do a form1.Action = "Your Friendly URL" even though with URL mapping, the URL users see in the browser seems to be friendly. What is the issue with the Action ...
Silverlight Business Application Part 3: Validation (sync) (2)
share
digg
by
manish.dalal (3)
on
ASP.NET Weblogs (103)
5 days, 6 hours
ago
permalink
This is part three of Building Business Application with Silverlight series that showcases the basic building blocks of a data centric application. Series Link: Part 0, Part 1, Part 2 Almost all business application will have varying degree of validations. For our example, let say we have a business rule that states that Age must be a number and be greater than 0 and less than 200. DataGrid already prevents non numeric entry in Age ...
.NET 3.5 SP1 Source released (1)
share
digg
by
ASP.NET Debugging : IIS (2)
on
IIS.net (6)
5 days, 7 hours
ago
permalink
If you remember my previous blog about Debugging .NET Framework Source Code , well we have now updated the source to include 3.5 SP1. You can check out the announcement here . With this, we are releasing the source to the following files: mscorlib Read More......(read more)
FireFox 3 and Static File Caching Problems (3)
share
digg
by
Rick Strahl (22)
on
Rick Strahl's Web Log (22)
5 days, 11 hours
ago
permalink
FireFox 3.0 apparently is much more aggressive in caching content than previous versions of FireFox. While this is good for performance in many situations I've noticed that this is seriously becoming a problem in some of my applications where support files like scripts and CSS files get updated and FireFox doesn't recognize those changes. The problem appears to be that FireFox is not sending the required 304 request to check for last-modified headers that are ...
Using the ASP.NET MVC ModelBinder attribute (1)
share
digg
by
maarten.nospam@nospam.maartenballiauw.be (maartenba) (6)
on
Maarten Balliauw {blog} (6)
5 days, 11 hours
ago
permalink
ASP.NET MVC action methods can be developed using regular method parameters. In earlier versions of the ASP.NET MVC framework, these parameters were all simple types like integers, strings, booleans, … When required, a method parameter can be a complex type like a Contact with Name, Email and Message properties. It is, however, required to add a ModelBinder attribute in this case. Here’s how a controller action method could look like: public ActionResult Contact([ModelBinder(typeof(ContactBinder))]Contact contact) { ...
Building an ASP.NET MVC sitemap provider with security trimming (1)
share
digg
by
maarten.nospam@nospam.maartenballiauw.be (maartenba) (6)
on
Maarten Balliauw {blog} (6)
5 days, 14 hours
ago
permalink
Yes, it has been a while since my last post. A nice vacation to Austria, some work to catch up, ... All excuses, I know, but I'll make it up to you with a huge blog post! If you have been using the ASP.NET MVC framework, you possibly have been searching for something like the classic ASP.NET sitemap. After you've played with it, you even found it useful! But not really flexible and easy to ...
Thoughts on MVP and WebForms (2)
share
digg
by
chadmyers (11)
on
Chad Myers' Blog (7)
1 week
ago
permalink
I got an email from a friend asking about MVP in WebForms and how the view should do databinding. There was talk of using a FormView and various *DataSource objects, so I thought I’d do a brain-dump of MVP and Presentation Model. I’ve had a few other people ask me about this recently, so I hope it benefits all of you. Also, I’d like to credit Jeremy with most of my knowledge on this. NOTE: ...
New on Tips and Tricks Blog! (1)
share
digg
by
WebDevTools (3)
on
Visual Web Developer Team Blog (3)
1 week
ago
permalink
Here are three new tips on Tips and Tricks Blog. Tip #4 Did you know… You can add browsers to Visual Web Developer using the “Browse With…” option Tip #5 Did you know… How to Databind a ListView control? Tip #6 Did you know… About the “Tag Navigator” feature? Have a great weekend! Reshmi Mangalore SDET, Web Development Tools
GeoRSS Editor alpha version is up and running (1)
share
digg
by
albertpascual (0)
on
ASP.NET Weblogs (103)
1 week
ago
permalink
GeoRSS is a great way to share geographic information that updates all the time, sending simple geography (points, lines and polygons to a consumer. GeoRSS is RSS with a collection of points, as flexible as RSS with the advantage of providing location to your information. A great tool that I personally use in a regular basis in my professional and personal life. If I may I would recommend to extend GeoRSS to add attributes for ...