Articles : Page 11 of 126
-
Loading jQuery Consistently in a .NET Web App
Oct 1110One thing that frequently comes up in discussions when using jQuery is how to best load the jQuery library (as well as other commonly used and updated libraries) in a Web application. Specifically the issue is the one of versioning and making sure that you can easily update and switch versions of script files with application wide settings in one place and having your script usage reflect those settings in the entire application on all pages that use the script. Although I use jQuery as an exa...
-
RFC: New Beta.ASP.net website
Oct 1110Before I worked for the ASP.NET team as I do now, I worked for MSDN. While I was over there, part of my time was spent working on the http://asp.net team. I led the charge to move the site over to Umbraco, and we did. Over the last two years, we have continually made improvements to the .NET (asp.net, silverlight.net, windowsclient.net) sites. In July, the MSDN team announced the release of a new Silverlight site, and today I'm happy to announce the Beta launch of a redesigned ASP.NET websit...
-
Modernizr.js
Oct 1106Modernizr.js is a little library that will help "modernize" old browsers. As an example, let's say you create a new ASP.NET MVC 3 application with the "Use HTML 5 semantic markup" checkbox selected. If you peek into the layout view for the app, you'll find the following markup: <nav> <ul id="menu"> <li>@Html.ActionLink("Home", "Index", "Home")</li> <li>@Html.ActionLink("About", "About", "Home")</li> </ul> </nav> The nav element represents a section with navigation links, and is a new e...
-
Getting a Web Resource Url in non WebForms Applications
Oct 1105WebResources in ASP.NET are pretty useful feature. WebResources are resources that are embedded into a .NET assembly and can be loaded from the assembly via a special resource URL. WebForms includes a method on the ClientScriptManager (Page.ClientScript) and the ScriptManager object to retrieve URLs to these resources. For example you can do: ClientScript.GetWebResourceUrl(typeof(ControlResources), ControlResources.JQUERY_SCRIPT_RESOURCE); GetWebResourceUrl requires a type (which is use...
-
Prevent Forms Authentication Login Page Redirect When You Don’t Want It
Oct 1104Go that way instead - Photo by JacobEnos CC some rights reserved In an ASP.NET web application, it’s very common to write some jQuery code that makes an HTTP request to some URL (a lightweight service) in order to retrieve some data. That URL might be handled by an ASP.NET MVC controller action, a Web API operation, or even an ASP.NET Web Page or Web Form. If it can return curly brackets, it can be respond to a JavaScript request for JSON. One pain point when hosting lightweight HTTP ser...
-
Series of webcasts about ASP.NET MVC 3 (in Italian)
Oct 1104After a long gestation period, today it was published on Channel9 a series of webcasts about ASP.NET MVC 3. This webcasts Ugo Lattanzi, a fellow ASP.NET Italian MVP, and I recorded (in Italian) covers the following topics: Introduction to the new features of ASP.NET MVC 3 Razor, the new view engine of ASP.NET MVC 3 How ASP.NET MVC 3, SQL CE 4 and EF CodeFirst work together Introduction to IoC/DI and how to use Ninject inside ASP.NET MVC 3 They are in Italian, but, especially the l...
-
Updated Release: Orchard 1.3
Oct 1103Build: 1.3.1Published: 10/3/2010 How to Install Orchard To install Orchard using Web PI, follow these instructions: http://www.orchardproject.net/docs/Installing-Orchard.ashx. Web PI will detect your hardware environment and install the application.Alternatively, to install the release manually, download the Orchard.Web.1.3.1.zip file.http://orchardproject.net/docs/Manually-installing-Orchard-zip-file.ashxThe zip contents are pre-built and ready-to-run. Simply extract the contents of the Orcha...
-
Download ASP.NET MVC 3 for Visual Studio 11 Developer Preview
Sep 1130On Microsoft Downloads!...
-
10 articles on ASP.NET MVC Extensibility to land on Simple-Talk in the next months
Sep 1126If you are following my blog since at least a few years you know that one of my main interest is the possibility to extend ASP.NET MVC and fine tune it to fit your (and your team’s) needs. One of my most popular posts is 13 ASP.NET MVC extensibility points you have to know, which I published almost 2 years and half ago (and was based on ASP.NET MVC v1). Still on the same subject I gave a two hours long presentation at Umbraco CodeGarden ‘10 Mvc Pre-Conf: ASP.NET MVC Extensibility. To try a...
-
F# Programming: Authoring an F#/C# VSIX Project Template
Sep 1126Encourage reuse and cut out those repetitive, time-wasting setup chores by creating a Visual Studio Extension project template composed of a C# ASP.NET MVC 3 Web app and two F# libraries. Dan Mohl MSDN Magazine October 2011...

