<p>We need to build an administration portal website to support our client/server application. Since we're a .Net shop the obvious traditional way would be to do that in ASP.Net. But Silverlight 2 will be coming out of beta a good while before our release date. Should we consider building the whole website in silverlight instead, with a supporting WCF backend?</p>

<p>The main function of the portal will be: users, groups and permissions configuration; user profile settings configuration; file upload and download for files needed to support the application.</p>

<p>I think the main reason for taking this approach would be that we have good experience with WPF and WCF, but little experience in ASP.Net. Either way we would have to learn ASP.Net or Silverlight, and learning Silverlight seems a more natural extension of our current skills.</p>

<p>Are there any big no-nos from the experience of StackOverflowers? What are the big positives?</p>

[{'answer_id': 56268, 'author': 'Iain Holder', 'author_id': 1122, 'author_profile': 'https://Stackoverflow.com/users/1122', 'pm_score': 1, 'selected': False, 'text': "<p>ASP all the way.  You should only use silverlight/flash etc when text can't do what you want it to do - e.g. display video.</p>\n"}, {'answer_id': 56302, 'author': 'pilif', 'author_id': 5083, 'author_profile': 'https://Stackoverflow.com/users/5083', 'pm_score': 4, 'selected': False, 'text': '<p>I would recommend against building a pure Silverlight site.</p>\n\n<p>Silverlight suffers from the same issues as Flash does: Unintuitive Bookmarking, issues with printing, accessibility issues, not working back buttons and so on.</p>\n\n<p>Also, you would require your users to have Silverlight installed or at least to have the ability to install it. </p>\n\n<p>In controlled environements (eg. in large companies or health care) or on mobile devices, this might not be the case.</p>\n'}, {'answer_id': 56311, 'author': 'Mark Ingram', 'author_id': 986, 'author_profile': 'https://Stackoverflow.com/users/986', 'pm_score': 0, 'selected': False, 'text': '<p>There are some <a href="https://stackoverflow.com/questions/56266/using-silverlight-for-an-entire-website#56302">downsides</a> with developing a site completely in Flash / Silverlight, but if those downsides won\'t matter to you or won\'t have an impact then there is nothing stopping you. Choose whatever tool you think meets your needs more fully. I wouldn\'t be put off creating a site purely in Silverlight based on the downsides, because it brings a lot more positives to the user experience.</p>\n'}, {'answer_id': 56329, 'author': 'Keith', 'author_id': 905, 'author_profile': 'https://Stackoverflow.com/users/905', 'pm_score': 3, 'selected': False, 'text': '<p>It sounds like your problem is that you need a rich-client admin application. Why not use click-once?</p>\n'}, {'answer_id': 56366, 'author': 'ima', 'author_id': 5733, 'author_profile': 'https://Stackoverflow.com/users/5733', 'pm_score': 4, 'selected': True, 'text': "<p>Depends on your goals. If administration portal is part of application and will only be used from computers where your application is installed, there are plenty of advantages of going fully Silverlight - or even WPF.</p>\n\n<p>But if you can see a scenario where it will be used either from random PC or by random person, fully functional HTML/Javascript version is absolutely necessary.</p>\n\n<p>Some reasons are:</p>\n\n<ul>\n<li>Most people don't have silverlight and you'll earn a good load of swearing if they have to download and install it. Some people who have it installed keep it disabled (together with flash and sometimes even images) to avoid distractions and speed up browsing.</li>\n<li>When HTML site fails, user gets error page and reloads. When silverlight fails, it can hang or crash.</li>\n<li>HTML is what is expected - both by users and web browsers: back and refresh buttons work as they should, hyperlinks and forms work as expected.</li>\n<li>Slow internet is still very common, both in remote areas and mobile devices. </li>\n</ul>\n"}, {'answer_id': 56368, 'author': 'Jonas Follesø', 'author_id': 1199387, 'author_profile': 'https://Stackoverflow.com/users/1199387', 'pm_score': 4, 'selected': False, 'text': '<p>I would definitely go for a full Silverlight application, specially if you have good experience from WPF. You will be able to reuse your knowledge from WPF, and should be able to pick up Silverlight fairly quickly. I\'ve been working with Silverlight since Beta 1, and the current Beta 2 is of solid quality. I guess it\'s safe to assume that a RTW version is just around the corner.</p>\n\n<p>Pilf has some valid point, specially around printing. For that I would probably use SQL Reporting Services, or some other reporting framework, on the server side, and then pop up a new window with printable reports. For linking and bookmarking the issues are no different than any other AJAX application. I did a blog post today about <a href="http://jonas.follesoe.no/BackAndForwardNavigationInSilverlight2UsingASPNETAJAX.aspx" rel="nofollow noreferrer">how to provide deep linking and back-forward navigation in</a> Silverlight.</p>\n\n<p>Silverlight also has all the hooks needed for great accessibility support, as the UI Automation API from WPF is brought into Silverlight. I don\'t know if the screen reader vendors have caught up yet. The styling/template support in Silverlight makes it easy to provide high-contrast skins for visual impaired users if that is a concern.</p>\n'}, {'answer_id': 56371, 'author': 'Simon Steele', 'author_id': 4591, 'author_profile': 'https://Stackoverflow.com/users/4591', 'pm_score': 0, 'selected': False, 'text': "<p>The previous comments have dealt with most of the downsides of using Silverlight for a site like this and I agree. If you're determined to have rich-client style development and your audience is small (for admins only) then I'd probably recommend WPF over Silverlight as it currently provides a richer set of tools and controls.</p>\n\n<p>If you stick with ASP.NET have you looked at Dynamic Data - it's ideal for building backend management sites with little effort.</p>\n"}, {'answer_id': 56374, 'author': 'GateKiller', 'author_id': 383, 'author_profile': 'https://Stackoverflow.com/users/383', 'pm_score': 3, 'selected': False, 'text': '<p>I agree with what everyone had said so far and I think this Flow Chart, which is aimed at Flash, also applies to Silverlight.</p>\n\n<p><img src="https://i.stack.imgur.com/pnxmn.jpg" alt="enter image description here"></p>\n\n<p><em><a href="http://www.thegooglecache.com/rants-and-raves/should-i-make-a-flash-site-flash-website-flowchart/" rel="nofollow noreferrer">Source of Image</a></em></p>\n'}, {'answer_id': 56421, 'author': 'Martin Marconcini', 'author_id': 2684, 'author_profile': 'https://Stackoverflow.com/users/2684', 'pm_score': 0, 'selected': False, 'text': '<p>I\'ve seen "Silverlight only" websites at Microsoft and they are pretty impressive. But again, the demos were there to exploit the full potential of what Silverlight can do. The moment you need something different you may be out of luck. I don\'t see Silverlight like Flash except in the way they are installed/seen. But the Flash/ActionScript backend is really <em>bad</em> compared to what Visual Studio can offer with .NET</p>\n\n<p>Ask yourself why would you like to use Silverlight? Fancy effects or programming model?</p>\n'}, {'answer_id': 56434, 'author': 'wvdschel', 'author_id': 2018, 'author_profile': 'https://Stackoverflow.com/users/2018', 'pm_score': 1, 'selected': False, 'text': "<p>Using a plugin for your website makes it slow, and requires the user to have the plugin installed. Silverlight for instance rules out all Linux user. Also, since Silverlight is pretty new, there is no telling how committed Microsoft will be to keep the platform alive if it doesn't pick up soon.</p>\n\n<p>I'd stick to plain old HTML with server side scripting.</p>\n\n<p>Also, for public websites: Flash and Silverlight can't be indexed by any search engine, so good luck with writing tons of metadata if you want any visitors at all.</p>\n"}, {'answer_id': 212273, 'author': 'Daniel Crenna', 'author_id': 18440, 'author_profile': 'https://Stackoverflow.com/users/18440', 'pm_score': 1, 'selected': False, 'text': '<p>Silverlight is a good choice for an internal-facing portal, just as it would be for a public-facing portal if you\'ve already evaluated your project and have decided to go forward with a web portal. You are free to integrate Silverlight components within an existing ASP.NET application (i.e. the "islands of richness") approach, but if you have the ability to build a new project from scratch, don\'t discount a completely Silverlight solution as a valid choice where you would have went with a traditional ASP.NET portal. Silverlight is RTW now, so if this decision is still on the table, you know you won\'t have to deal with breaking changes going forward.</p>\n'}, {'answer_id': 212655, 'author': 'Bill Reiss', 'author_id': 18967, 'author_profile': 'https://Stackoverflow.com/users/18967', 'pm_score': 2, 'selected': False, 'text': "<p>On the topic of remote andministrators, another poster stated that was an argument in favor of HTML if the admins were on a slow connection. I would argue that depending on the type of information, it may be more efficient to use Silverlight. If you have an ASP.NET datagrid populated with server side data binding, you can be downloading a ton of markup and viewstate data. Even if you're using an alrternative to DataGrid that's lighter on the ViewState, you will still have a lot of HTML to download. </p>\n\n<p>In Silverlight, once you get the XAP down, which is probably going to be smaller than the corresponding HTML, the XAP is cached and so you shouldn't have that cost every time, and you'll just be retrieving the data itself.</p>\n\n<p>For another example, let's say you have a bunch of dropdown lists on one of your forms which all have the same values in the list. In Silverlight, you can get these values once and bind them to all of the dorpdowns, in HTML you will have to repeat them each time.</p>\n\n<p>This will get better with client side data binding in ASP.NET, which follows a very similar model to Silverlight and WPF for data binding.</p>\n\n<p>Overall, I would also think that you would need to write less code for the Silverlight implementation which can increase productivity and reduce maintenace costs.</p>\n"}]
['https://Stackoverflow.com/questions/56266', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1727/']