Blogs @ IRM

Welcome to Blogs @ IRM Sign in | Join | Help
in Search

Browse by Tags

All Tags » ASP.NET MVC   (RSS)
  • Create Tag-Cloud from RSS Feed in ASP.NET MVC

    Say you want to generate your own tag-cloud from a list of categories or tags you pull from an RSS-feed or similar. This is one way to do it. I’m using ASP.NET MVC for this sample which creates a simple tag-cloud in a Razor-view with HTML looking something like this: The controller-code to start out with looks like this, where you read in the ...
    Posted to Johan's Blog (Weblog) by johan on augusti 8, 2011
  • Compile ASP.NET MVC on TFS 2010 Build Server

    Note to self: If you need to build ASP.NET MVC 2 applications on a fresh TFS 2010 Build Server without Visual Studio installed, copy the System.Web.Mvc.dll from your dev box to the build server and register it there. Cross-posted from my blog at http://weblogs.asp.net/jdanforth
    Posted to Johan's Blog (Weblog) by johan on april 22, 2010
  • Fill a Select/Option from Json with jQuery

    More jQuery and Json… To fill a listbox (select) with items from a Json call. I got this helper class to handle the options/items: public class SelectOption { public String Value { get; set; } public String Text { get; set; } } A sample action/method in ASP.NET MVC that returns Json: public JsonResult GetJson() { var ...
    Posted to Johan's Blog (Weblog) by johan on april 3, 2009
  • Json, jQuery and ASP.NET MVC

    I’m stacking a few things here related to Json, jQuery and ASP.NET MVC so that I can get to them later on. JQuery to grab some Json when a web page is loaded: $(document).ready(function() { $.getJSON("/MyController/MyJsonAction", null, function(data) { //do stuff with data here }); }); The smallish code in the ...
    Posted to Johan's Blog (Weblog) by johan on april 3, 2009
  • Running ASP.NET MVC on Your Windows Home Server

    Right, so I ran the new Web Platform Installer 2.0 Beta on my WHS and it seems (so far) to have worked out quite well. I created a new MVC website with File->New… and published it over to an MVC-directory on WHS (I have set that up earlier, with a file share and everything). Now, the version of IIS on Windows Home Server is IIS 6 (because WHS ...
    Posted to Johan's Blog (Weblog) by johan on mars 22, 2009
  • Web Platform Installer 2.0 Beta on Windows Home Server

    I’ve been thinking of setting up ASP.NET MVC 1.0 on my WHS and also start learning some Silverlight stuff, so I took a risk, went to the Microsoft Web Platform Installer page and clicked on the Beta 2.0 link. Downloaded the installer, marked ASP.NET MVC and the most necessary options and let it go. Should work, right? It had to reboot once to ...
    Posted to Johan's Blog (Weblog) by johan on mars 21, 2009
  • ASP.NET MVC v1 Source Code Released

    Phil twitted that the source code for ASP.NET MVC v1 is available on Codeplex now, so I guess it’ll be released as a proper installer on MSDN any time now. EDIT: …and a few hours later it was on MSDN :) Congrats to Phil Haack and his merry men for doing such an awesome job! Cross-posted from my blog at http://weblogs.asp.net/jdanforth
    Posted to Johan's Blog (Weblog) by johan on mars 19, 2009
  • ASP.NET MVC Preview 5 Released

    Hey, I'm just helping to spread the word! A sampled a few links and quotes that has already been posted to blogosphere for your pleasure and knowledge. :) Download it here -> http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=16775 Phil Haack said: We didn’t originally plan to have another preview. However, we ...
    Posted to Johan's Blog (Weblog) by johan on augusti 30, 2008
  • Auto Postback with Javascript in ASP.NET MVC

    I've looked this up twice now so I'm posting it to my blog for future reference and as a quick-tip for others. Say you got a web page with a dropdown/select listbox and you want to reload/auto postback the page when the selection changes. One way to do this without involving a Javascript or Ajax library like jQuery (which probably is a good ...
    Posted to Johan's Blog (Weblog) by johan on augusti 28, 2008
  • IronRuby with ASP.NET MVC

    Now that ASP.NET MVC preview 4 is out, Phil Haack did as promised and made available a working prototype of IronRuby + ASP.NET MVC integration. He wrote: Now that Preview 4 is out, I revisited the prototype and got it working again. I use the term working loosely here. Yeah, it works, but it is really rough around the edges. To be able to ...
    Posted to Johan's Blog (Weblog) by johan on juli 21, 2008
  • Fetching User Details from OpenId via Attribute Exchange

    Rob Conery did another excellent episode of his MVC Storefront series the other day where he ripped out his user membership code and replaced it with OpenId. Implementing the whole OpenId protocol yourself isn't necessary as there are some great libraries for you out there which makes it really, really simple to use and integrate with both ...
    Posted to Johan's Blog (Weblog) by johan on juli 11, 2008
  • ASP.NET MVC Resources

    Craig Shoemaker, the host of Polymorphic Podcast (a .NET podcast which is getting better and better all the time), published a great set of resources for ASP.NET MVC which will keep you occupied for hours. Also listen to his shows on MVC. He's got interviews with both Scott Hanselman and Jeffery Palermo around this topic. I'm not going to ...
    Posted to Johan's Blog (Weblog) by johan on juni 5, 2008
  • ASP.NET MVC Supporting IronRuby and IronPython

    I just picked up this answer to a comment on ScottGu's blog: I believe we will be showing using ASP.NET MVC with IronRuby and IronPython later this week at TechEd.  I don't think we've finalized what the tooling support will be - but you will be able to use these as language options with ASP.NET. It would have been cool to be at ...
    Posted to Johan's Blog (Weblog) by johan on juni 4, 2008
  • OpenID Support for ASP.NET MVC

    I've been monitoring the OpenID progress for a while now, and when I saw this post from Scott Hanselman about how easy it is to add OpenID support for ASP.NET MVC through the use of the DotNetOpenId package, I had to give it a try. It it sure wasn't hard at all. If you go to the DotNetOpenId website and download their stuff, you even get sample ...
    Posted to Johan's Blog (Weblog) by johan on maj 21, 2008
  • New ASP.NET 3.5 Extensions Videos

    Videos and screencasts are great ways to learn new programming techniques, at least it works well for me. If you're interested in ASP.NET MVC, maybe you've already downloaded the preview 2 which was released a couple of days ago. In that case you also might want to head over to the ASP.NET webby and have a look at the 4 new videos of ASP.NET MVC. ...
    Posted to Johan's Blog (Weblog) by johan on mars 7, 2008
  • ASP.NET MVC Framework (Part 1) - ScottGu's Blog

    I think Scott Guthrie himself just did a better job than me to describe that basics of the ASP.NET MVC Framework on his blog :) Since then I've been answering a lot of questions from people eager to learn more about it.  Given the level of interest I thought it might make sense to put together a few blog posts that describe how to use it ...
    Posted to Johan's Blog (Weblog) by johan on november 14, 2007
  • A Quick Look at the Basics of ASP.NET MVC

    I had a look at the demo code that Scott Hanselman made available :) So how does it look when using the ASP.NET MVC framework? Of course, since this is MVC, you got the ''model'', ''view'' and ''controller'' parts, but when listening to Scott Guthrie, it seems to be more about ''router'', ''view'' and ''controller'' and he's repeating the fact ...
    Posted to Johan's Blog (Weblog) by johan on november 10, 2007
Powered by Community Server, by Telligent Systems