April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Here is the latest in my link-listing series.  Also check out my ASP.NET Tips, Tricks and Tutorials page and Silverlight Tutorials page for links to popular articles I've done myself in the past.

ASP.NET

  • Displaying the Number of Active Users on an ASP.NET Site: Scott Mitchell continues his excellent series on ASP.NET's membership, roles, and profile support.  In this article he discusses how to use ASP.NET's Membership features to estimate and display the number of active users currently visiting a site.

  • ASP.NET Dynamic Data Update: The ASP.NET team last week released an update of the new ASP.NET Dynamic Data feature.  This update adds several new features including cleaner URL support using the same URL routing feature that ASP.NET MVC uses, as well as better confirmation, foreign-key, and template support. 

ASP.NET AJAX

  • ASP.NET AJAX UI Templates: Nikhil Kothari from the ASP.NET team has a cool post that shows off a prototype he has been working on that enables clean client-side AJAX templating of UI. 

ASP.NET MVC

  • Inversion of Control, ASP.NET MVC and Unit Testing: Fredrik Kalseth has a cool article that talks about the concepts behind inversion of control (IOC) and how you can use this with ASP.NET MVC to better isolate dependencies and enable better unit testing of your code.

Silverlight

  • Silverlight - the Song: Spike Xavier and Dan Wahlin have posted another of their unique and special songs. :-)

Hope this helps,

Scott

Published Monday, April 28, 2008 10:35 PM by ScottGu

Comments

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Tuesday, April 29, 2008 2:45 AM by Gill Cleeren

Thanks for the links :)

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Tuesday, April 29, 2008 3:34 AM by ScottGu

Hi Eric,

Great testing links on Silverlight!  I just added them to my queue to link to next time.

Thanks,

Scott

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Tuesday, April 29, 2008 5:39 AM by software_developer

good set of links for Silverlight..

keep working :)

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Tuesday, April 29, 2008 8:04 AM by wisecarver

Cool as always bro. ;-)

May I request some SQL Server Report Server links for the newly updated reporting components? Pretty please.

U da man!

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Tuesday, April 29, 2008 8:09 AM by lee

Any word on Silverlight beta 2 and if IronPython and IronRuby will be included(with project templates, intellisense etc)

Thanks

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Tuesday, April 29, 2008 8:48 AM by akshay

Hi Rodiniz

nice presentation, cool combination..

Thanks a lot...

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Tuesday, April 29, 2008 9:35 AM by satheeshbabu

Thanks for the useful links scott!!

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Tuesday, April 29, 2008 7:26 PM by Rico

Excelent Links I find them useful every time

Thanks Scott

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Tuesday, April 29, 2008 9:12 PM by Michael

Thanks for your great work Scott.

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Tuesday, April 29, 2008 10:30 PM by chhaysambo

Great links, Thanks.

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Wednesday, April 30, 2008 12:24 AM by Vijay

Hi Scott,

When is VBx language going to be finally released? any ideas...

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Wednesday, April 30, 2008 6:51 AM by srulyt

thanks!!! these lists are great

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Wednesday, April 30, 2008 9:34 AM by RameshKanagaraj

Scott:  I was in Orlando for the DevConnections and enjoyed your presentations.  I was wondering if SilverLight version of SharePoint templates are in the works.

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Wednesday, April 30, 2008 10:10 AM by jmcfet

I just posted a Silverlight 2 two-data binding sample on my blog at jmcfetridge.blogspot.com

Enjoy

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Wednesday, April 30, 2008 12:42 PM by tech2neo

Hey Scott,

Thanks for the links!!! i have one question :)

Can we expect that silverlight will be integrated with new version of IE or with vista? so when any end user upgrades browser(IE) or OS(vista) then by default it will support XAML and people don't have to download it separately.

Regards,

Hardik Joshi(tech2hard@hotmail.com)

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Saturday, May 3, 2008 7:19 PM by qing02051981

It is impressive to see what Silverlight can do nowadays. Hope to see you write more about Silverlight.

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Sunday, May 4, 2008 10:45 PM by Curtis Rhodes

I appologize for bothering such an important man, but doing a web search on "Templates User Controls" topic returns very little besides one blog post of yours from several years ago, and the lame MSDN library article refered to in your post.  I gave up after wasting almost two full days when the benefits of the solution (avoiding lots of cut and paste repeatative code) became outweighed by the time already lost.  

  Whatever I name my 'template' the designer throws the error "UI.UserControl does not contain the public method.

   All I want to do is take all the somewhat gritty code of an overly metecliously crafted (dreamwaver) rounded edge box with a top and a bottom and sides and literally encapsulate a placeholder control where I will place datagrid views as well as other stuff.  

  I can get text to render in my box (even though the designer thows an error) but I can't easily "find" my inner template controls which I want to set dynamically.  

  Templated User Controls deserve a revist.  Perhaps you could assign one of your eager MVPs to write an updated article on this subject.

  ITemplate and IDataContainer only seem to work on 'templated' server controls and the UserControl Page is not really a templated control.

CurtishRhodes@hotmail.com

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Monday, May 5, 2008 12:18 AM by Orlin

Scott, I think it will be very helpful if you can do a more advanced post on how to generalize Linq queries in order to avoid code redundancy.  For example dynamic Where clauses.  

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Tuesday, May 6, 2008 7:21 AM by andrewstopford

Hi Scott,

Re: ASP.NET Testing with Ivonna

The framework is really a mocking add-on for webforms that is built ontop of TypeMock. As such you can use any unit test framework e.g. MSTest, NUnit, MbUnit etc.

Andy

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Thursday, May 8, 2008 5:49 AM by nithya_raghu

Scott,

Is it possible to use Custom Controls using FrameWork2.0 controls in Silver Light Application.Actually Silver Light application will allow only the controls which is built by silver light runtime. But my requirement is, I have created a customer control using FrameWork2.0(Converted to 3.5 now).I would like to use the control inside the Silver Light Application(means in Page.xaml file).Is it possible?

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Monday, May 12, 2008 6:12 AM by Fabien

Hi,

I’m currently working on a website project. The customer wants a nice interface using Silverlight 2.0. The problem is: “How to work with aspx pages and Silverlight?”. Let me explain with an example.

My website is a Masterpage composed by 3 ContentPlacesHolder. One for the title, one for the menu (on the left) and one for the main content. When the user clicks on an element in the menu, I load the associated aspx page into the main content part.

Now, I want to use Silvelight's components in my aspx pages. I thus create a Silverlight project and create "SLUserCotrol1" for my aspx page 1. Then, I load the Silverlight user control into my aspx page. What if I want to create 5 silverlight control for 5 different aspx pages? Do I need to create 5 Silverlight project? Because 1 project = 1 xap file. Is it possible to create all my user control inside the same Silverlight project and then select only the one I want to use for a page?

What could be the solution? Any idea?

Regards,

Fabien

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Monday, May 12, 2008 6:18 AM by Fabien

Hi Scott,

Could you explain how to implement the ASP.NET authentication in Silverlight in order to use "FormsAuthentication", etc.?

I want to be able to get the name of the logged user and so on. But how to do that with a webservice? I found several solution but it is not optimal.

Could you please make a special tutorial about that? ;)

Thank you very much

Fabien

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Saturday, May 17, 2008 5:26 AM by Kaveh

Hi dear Scott,

I really appreciate your work and the intelligence behind it, I am always recommending your blog to my colleagues  … I have a question though: I've been assigned a project which ought to show the company's organizational chart in silverlight. But as you would know the Silverlight 2 package doesn't come with a TreeView control so I can customize it to start with. So I was wondering if you could possibly guide me through how I could get hold of a TreeView control in a silverlight application. I hear it's possible to use the non-Silverlight controls of WPF in Silverlight but with the price of intensively maximizing the XAP file. I would be very grateful if you could kindly shed some light on this dilemma.

Thanks in advance,

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Monday, May 19, 2008 10:45 AM by Daniel Zeiss

Hi,

if you are interested in ASP.NET controls encapsulating server side rendering of XAML/WPF, take a look here:

www.albamond.de/XamlWebControls

Regards

Daniel

# re: April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight

Monday, May 19, 2008 3:16 PM by sreenivas

How do I use the webmenu TargetURL tag to route to controller attribute?

Currently I'm using Infragistics web menu and the menuitem tag uses TargetURL and not sure how to use html.routelink?