First time here? You are looking at the most recent posts. You may also want to check out older archives or the tag cloud. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS. Thank you for visiting! (hide this)

asp.net

There are 32 entries for the tag asp.net

IE6 no more

In February I joined the "IE6: Do NOT want!" campaign, which was started by some big media sites in Norway: I was planning to remove the script that showed more modern browsers to the user after one week, but I kept it till now. Probably not because of me joining the campaign, but IE6 is slightly dropping. I only have stats for my blog, but the percentage of users running IE6 dropped to 8.5% of January, to the 6.4% of July. But still it's not enough: IE6 is a 8 years old browser, there is no reason to keep on using it....

Beginning ASP.NET MVC 1.0 available on Amazon

It's been a long journey, that started more than one year ago: today our Beginning ASP.NET MVC 1.0 book is available for purchase on Amazon US. Probably some of you, the ones which pre-ordered the book, will be receiving it soon. And in a few days (probably next week), the book will be officially available also on Amazon UK (still in pre-sale now) and later this month also on physical bookstores. If you want to have a look at what's inside the book, you can download the free chapters we made available last month, or you can just...

ASP.NET MVC brings FUN back inside web development, on .NET

That’s the main fact about ASP.NET MVC: “ASP.NET MVC brings the web back inside web development” [from a tweet by Hadi Hariri] With ASP.NET MVC the “real” web is back into the development workflow of a web application. And to me this translates in having more fun developing apps, and, at the end of the day, being more productive since I don’t have to work-around issues of a framework that takes too much of my work. It’s true: some might say that ASP.NET MVC is “half-backed” or without a strong opinion about how the M should be implemented,...

I’m an ASP Insider

I just learnt that I’ve be invited to join the ASPInsiders. I’m really excited and honored to be part of this group of great ASP.NET experts. Looking forward to help with my feedbacks the ASP.NET team build a better web application framework on the .NET platform, especially in the area of ASP.NET MVC. If don’t know who they are, here is a quick “elevator speech”, taken from the site: “The ASPInsiders is a select group of international professionals who have demonstrated expertise in ASP.NET technologies and who provide valuable, early feedback on related...

ASP.NET MVC for RoR developers: do as locals do

A few days ago, Simon Tokumine, a Ruby On Rails developer from UK who had to build a web app using, as he calls it, .NET MVC (ASP.NET MVC as we usually calls it), wrote a nice post that makes a comparison between RoR and ASP.NET MVC. Actually it was not really a comparison, more a “ASP.NET MVC for RoR developers” kind of post. He was a foreigner that came into the .NET country and visited the city called ASP.NET MVC, and he gave his opinion on his first (or second) visit. But not being a local he only used...

Interest in ASP.NET MVC is raising

...Or at least this is what we can infer from Google Trends. From this graph we can see that searches started in 4th quarter of 2007 (when ASP.NET MVC was first announced) and spikes always happened at each release of the various preview versions. The final ramp coincides with the announcement of the RC and the wait for the actual RC release. I wonder what is going to happen when the RTW is released. If you browse to the graph, you'll notice a funny thing: the city that performs most searches...

New Features in ASP.NET 3.5 SP1

ASP.NET 3.5 SP1 has been released a few months ago and everybody (including me) talks only about Entity Framework, Dynamic Data and Routing. But there is more. But Sir Wally came to help and wrote a book (actually a Wrox Blox) about the New Features in ASP.NET 3.5 Service Pack 1, which are more than just EF, DynData and Routing: there are new features also on the Ajax side, ADO.NET Data services and caching. So, what are you waiting for, it's only US $6.99, go and buy yourself a copy of this eBook: New Features in ASP.NET 3.5 Service Pack 1 ASP.NET, Wrox,...

.NET vs PHP in the Enterprise comics strip

Far from me to start yet another religious war, but on the blog a friend from the Italian User Group I found a very amusing cartoon about .NET and PHP in the enterprise (made by David Betz in February 2008), so I thought it would have been funny to repost it here. The original post seems to be unreachable but when I first saw it, I read that there should be other comic strips on that topic. UPDATE: Seems like the original site is back to life, here is the second comic strip. Technorati Tags: php,asp.net,comics

Learn ASP.NET MVC from the guys that made it

A new book about ASP.NET MVC is coming: Professional ASP.NET 3.5 MVC. And is written by the guys that are developing it: Rob Conery, Scott Hanselman and Phil Haack. [via keyvan on twitter] Amazon says it will be released on October 20th, so I guess that by that date we will have the RTW version of ASP.NET MVC. Or maybe they are hiding the truth. ASP.NET, aspnetmvc, book

Comparing the backgrounds of web developers

Web developers on ASP.NET have (mostly) a client or client-server background. Web developers on Java have (mostly) a client-server background or a web background. PHP and Ruby and Pyton (and so on) ones have only web development background or even web design background. This is just a quick idea that came to my mind this evening while running, and I wanted to share... I think I'll elaborate more on this in a following post. PS: I know, there are exceptions to these statements (as I am, since I was born as web developer and I develop on ASP.NET), but for the majority of developers...

How to manage ASP.NET validation from Javascript with jQuery

Validators are a great part of the ASP.NET framework: they provide a standardized and easy way to add validation to form fields. But even if the framework provides different kinds of validators, there are so many different validations patterns that sometimes you have to write custom code to match your specific requirements. I wrote a post a few months ago about how to write a custom validator for a Checkbox list, but I was dealing with a completely new validation pattern. But what if I only want to enable the validation of certain field based on certain conditions? Or...

ASP.NET 3.5 + VS2008 SP1 beta

Probably you already read this announcement somewhere else in the net, so I'll not replicate the news here. What excites me the most are mainly two things: Part of the ASP.NET MVC framework are going to be included into the core ASP.NET framework: System.Web.Routing will be included in ASP.NET with the SP1, so around this summer, probably well before ASP.NET MVC is RTW Intellisense will work for Javascript files, and will have support for jQuery, Prototype and other popular JS library out of the box. You can read more about the other improvements on ScottGu blog...

Videos on ASP.NET MVC from ScottHa

I just spent the last 3 hours watching all the latest videos available on the ASP.NET MVC MIX08 Preview Release: Part 1 - Displaying Data Part 2 - Editing Data and Making Forms Part 3 - Advanced Techniques Part 4 - Testing Developing ASP.NET Applications Using the Model View Controller Pattern, session from MIX08 If you haven't done yet, I recommend you to watch them all, especially the last one, which is summing up of all the first 4 screencasts, but enhanced with some technical and...

Italian ALT.NET miniconf: small in size, high in value

Yesterday I went to the first conference of the recent born UGIALT.net usergroup. It was my first time at a OpenSpace conference and I really like it. We talked about ASP.NET MVC, about UnitTesting, TDD, Mocks, and also about code metrics with NDepend and SourceMonitor. I was the moderator of the session on the ASP.NET MVC framework, and was nice to see all the other bringing to the table their experiences, especially Gianluca that, for each feature of the ASP.NET MVC, made a comparison with MonoRail. We noticed that ASP.NET MVC lacks of a feature that might be interesting: the possibility to...

I'm a (DotNet)Slacker on the ASP.NET MVC Framework

Today my first article on DotNetSlackers just got published. It's an introduction to the ASP.NET MVC framework that was released as part of the ASP.NET 3.5 Extensions Preview: it contains an overview of the MVC pattern and how it is implemented inside the ASP.NET framework. Check it out: ASP.NET MVC Framework – Part 1. The second part is already in the works, and it will be about testability. Technorati Tag: aspnetmvc,asp.net,article,mvc

ASP.NET MVC Link collection

Together with playing around with Silverlight, lately I started to have a look at the MVC framework that the ASP.NET released as part of ASP.NET 3.5 extensions. Here is a list of some of the best links I found on the topic: Downloadable content from ScottHa blog: ScottGu MVC Presentation and ScottHa Screencast from ALT.NET Conference - the first presentation ever on the MVC framework ASP.NET 3.5 Extensions - plus MVC How-To Screencast - How-to Screencast on the...

Ajax usage among .NET developers

UPDATE: The survey is closed and I just published the results of the survey: .NET Ajax Survey results. Given the results of Ajaxian's survey about the state of the usage in the web development community, I decided to make a new survey, but this time only focused on .NET developers. Please click here to take the survey. I'll collect the results and then make some more stats. The questions are the same as the Ajaxian's one: Are you using Ajax in production, development, proof of concept or not using it at all?...

One year of blogging

A friend just made me notice that yesterday it was exactly one year from my first real post on Codeclimber. With all the excitement for tomorrow event and for the new Mac I missed this important day. I'm not going to do a detailed analysis of what happened during this year of blogging as the one I did in July, but I only want to share with you a few numbers. The number of subscribers to the RSS feed is steadily growing at the rate of 100 new subscribers every 2 months (actually a bit more than 2 months), and...

How to install ASP.NET 3.5 Extensions Preview

If you are like me, and don't read the instructions and the readme files, you might encounter a few problems in getting the ADO.NET designer to work. To enable the ADO.NET designer you need to install the ADO.NET EF Tools. But in order to install it correctly you have to install also the ADO.NET EF beta 3 and a cryptic XML Editor QFE in the right order. So the correct installation order is: Visual Studio 2008 XML Editor QFE ADO.NET EF Beta 3 ADO.NET EF Tools (Dec...

Hammett on ASP.NET MVC

Hammett, founder of Castle, the father of MonoRail, went to Redmond invited by the ASP.NET MVC team, to review the new framework, and give his opinion based on his experience having built a similar framework. You can have a look at the blog post where he wrote his opinions, but I'd like to quote here the ones I feel are the most impressive: [...] surprisingly - at least to me - is how MS is approaching this framework. They are not in a rush, they are more concerned about getting it right than getting it done fast. My overall impression is that...

ASP.NET MVC

This afternoon, while I was installing for the 4th time this year the Service Pack 1 for Visual Studio 2005, I printed the first post by ScottGu about the new ASP.NET MVC framework. It's a long article (28 printed pages excluding comments) that details quite well the process behind the development of a simple website using all the default behaviors of the framework. I just want to highlight a sentence I really liked: You can use any unit testing framework (including NUnit, MBUnit, MSTest, XUnit, and others) with the ASP.NET MVC Framework. We'll also be shipping project template downloads for NUnit, MBUnit and other...

Yet another ALT.net opinion

I wanted to write my opinion about the ALT.net thing since a long time, but I really never find the time to sit down and organize my ideas into an organic post.The event that "triggered" this post is my friend Lorenzo asking my opinion about his blog post "There are architect and Architects" (it's in Italian but here is the link to the auto-translated version by Google). In his post Lorenzo, commenting on Sam's post about leaving CodeBetter and ALT.NET, adds some thoughts about something that usually the hard-core ALT.NET people don't get: imagine you have an Enterprise-level project,...

More details on the MVC for ASP.NET

I just watched the videos published by ScottHa with the presentation by ScottGu on the new MVC framework for ASP.NET, and really liked the approach the MS team that is going to be lead by Phil is having on this: everything is pluggable, everything is replaceable, no more postbacks, no more viewstate. To view the video yourself, if you are not among the 20k subscribers of Scott Hanselman blog, go to his post and follow the links to watch the videos in Silverlight format. Or download the WMV files: ScottGu on MVC at ALT.NET Conference ...

MVC framework for ASP.NET

Phil Haack already semi-announced it when he said he was going to work for Microsoft and would be the Program manager for the new MVC framework for ASP.NET that Microsoft was planning to build. Today at the ALT.NET conference, Scott Guthrie officially announced it. The main goals of the MVC for ASP.NET are: Natively support TDD model for controllers. Provide ASPX (without viewstate or postbacks) as a view engine Provide a hook for other view engines from MonoRail, etc. Support IoC containers for controller creation...

Yet another active community member joins Microsoft

After Scott Hanselman, Peli, Alex James and a lot more other active community member and opensource developers, also Phil Haack, founder of Subtext, is going to join Microsoft as Senior Program Manager in the ASP.NET team, and will be working on a MVC framework for a future version of ASP.NET. Congratulations Phil: two big achievements in just one year. Now, when is Microsoft coming to me for a job in the ASP.NET team as well? Technorati tags: Phil Haack, Microsoft, ASP.NET, aspnetmvc

LinkLift control for ASP.NET revised

A few months ago I released a rough first version of an ASP.NET control to display text-links served by LinkLift. Since then the control became the "de-facto" official control for ASP.NET (Italian, German, French and Spanish). Today I found quite a subtle bug that never showed up before (since I never really had the control on my site for more than a few hour): I used the FileSystemInfo.CreationTime to keep track of the last time the local copy of the XML was saved. But the CreationTime is the first time the file was saved, because all the subsequent saves are...

How to add a required validator to a CheckBoxList

If you add a normal RequiredFieldValidator and you want to validate a CheckBoxList, you will get a runtime exception informing you that the CheckBoxList cannot be validated. Sometimes you want to make sure the that user has selected at least one of the checkbox in the checkbox list, but as aforementioned, if you user a normal RequiredFieldValidator you will get an exception. You could use a CustomValidator control, but a nicer and more reusable approach is to build a custom web control that extends the BaseValidator. I found a 2001 article on how to do that (Building a CheckBoxList Validator Control) but...

LinkLift Control: here is the code

Last weekend I released a small ASP.NET User Control to display the Text Links provided by LinkLift. I also promised that I would have released the code for it. This weekend, among other things, I cleaned it up a bit, I fixed a small bug and here it is: Download the source of the  LinkLift ASP.NET control. I also set up a project on Google Code to store all my opensource projects that are too small to have their own repository, and I called it, ala Ayende, CodeClimber.Commons. And will move all my personal code on it soon. Technorati tags: linklift,...

How to clean your ASP.NET HTML markup with the CSS Adapter Toolkit

The HTML rendered by some built-in ASP.NET controls is ... ugly: lots of tables, nested tables, useless divs and spans, and sometimes even not compliant with accessibility guidelines for public sites. What is the CSS Adapter ASP.NET 2.0 has the Adaptive Control Adapter Architecture that allows developers to override the default rendering of the built-in controls for some specific browser (for example mobile devices or set-top box). Leveraging this feature, the ASP.NET team released the CSS Adapter Toolkit, which was initially intended as example to show how to develop a control adapter, but then became the de-facto implementation to render some built-in ASP.NET...

How to refresh an UpdatePanel from javascript

I thought that updating an UpdatePanel from javascript was one of the most frequently asked question about ASP.NET Ajax, but even looking around a lot I didn't find a clean and polished solution for what should be a common task. I didn't want to create an ASP.NET Ajax extender for such a simple task, but after a few hours of Google-ing, I found a few nice articles on Ben Rush's blog, which is a very valuable source of knowledge on the internals of ASP.NET Ajax, ScriptManager and other ASP.NET Ajax goodies. Programmatically or Manually refreshing an UpdatePanel...

Remember to set UpdatePanel's UpdateMode to Conditional

Since the cool thing about the ASP.NET Ajax UpdatePanel is that its contents are updated asynchronously when an event that would normally generate a postback is raised inside, one would think that this is its default behavior. But it's not: the UpdateMode property of the UpdatePanel has 2 possible values: Always Conditional and the default value is Always. When set to Always, the UpdatePanel is updated on every postback raised from anywhere in the page, so from controls inside the panel, inside other panels or just on the page. When set to Conditional, the UpdatePanel will be updated only on...

How to make a Gmail-like loading indicator with ASP.NET Ajax

At the moment I'm working on making a web application we just developed more user friendly and more appealing to the end users. The application uses a few ASP.NET Ajax controls so I was pretty surprised when the customer sent me an email saying that he liked all the dynamic loading and the fact that he could reorder "things" using drag&drop and saving them without waiting the page to reload, but it took him a while to understand was going on. The first time he clicked the button, and since nothing happened, he thought that something was going wrong, so he kept...