Getting Started with jQuery in Visual Studio 2008

יום שישי, יוני 5, 2009

Getting Started with jQuery in Visual Studio 2008 In this post I’ll talk about adding jQuery IntellSense in Visual Studio 2008, and how to add jQuery to a simple Web Application inside Visual Studio 2008. jQuery IntelliSense in Visual Studio 2008 - KB946581 In order to use jQuery in Visual Studio 2008 with IntelliSence a hotfix for Visual Studio 2008 must be installed: Download the hotfix from Connect Run the executable and extract its contents to a folder in your hard drive. ...
4 comments

ASP.Net MVC on Windows Azure | ASP.Net MVC Web Role

יום שבת, מאי 23, 2009

ASP.Net MVC on Windows Azure | ASP.Net MVC Web Role When you install Windows Azure Tools for Visual Studio, you only get a project template for an ASP.Net Web Role. In this post I’ll talk about how to create a new ASP.Net MVC Web Role or move an existing ASP.Net MVC Application to Windows Azure. There are 2 ways to do this: Manually adding an ASP.Net MVC application as a Web Role (suitable both for a new ASP.Net MVC application and for an existing one). ...
one comment

Download MIX09 Sessions and Watch Offline

יום שישי, מרץ 20, 2009

Download MIX09 Sessions and Watch Offline personally prefer watching sessions regardless of my Internet connection status, so I decided to download MIX09 sessions and watch offline. I collected the list of available sessions from MIX 09, and they are easy to download. I personally use Free Download Manager for simultaneous efficient downloads - you can try it yourself. Just select all the text in this post, right click and select “Download Selected with Free Download Manager”. Note: Full details about the sessions, speakers, as well as user comments and feedbacks can be found at https://content.visitmix.com/2009/sessions/ MIX09-KEY01 - Day One Keynote (Video, Slides)Bill Buxton,...

MIX09 Bits Available on Microsoft Download Center

יום רביעי, מרץ 18, 2009

MIX09 Bits Available on Microsoft Download Center MIX09 will be officially opened today with a keynote full of announcements about new releases and technologies. It seems that the bits are already available via Microsoft’s Download Center. This post will list all the latest bits released during this happy week of technology. ASP.NET MVC 1.0 ASP.NET MVC 1.0 provides a new Model-View-Controller (MVC) framework on top of the existing ASP.NET 3.5 runtime. Microsoft® Silverlight™ 3 Software Development Kit Beta 1 The Microsoft® Silverlight™ 3 Software Development Kit provides libraries and tools for developing Silverlight...

New Release for Oxite: An ASP.Net MVC Sample Application

יום שני, פברואר 16, 2009

New Release for Oxite: An ASP.Net MVC Sample Application Oxite is a sample ASP.Net MVC application, that provides guidance, extensions and best practices for building ASP.Net MVC applications. The famous application built using Oxite is MIX Online. The new release contains architecture improvements and new features: New Model, Services and Repositories Dependency Injection (Routes, Controllers, Services, Repositories, etc) ActionFilter Registry Better test coverage New validation class added Improved background services...
no comments

Create a Strongly Typed CRUD UI With ASP.Net MVC RC

יום שלישי, פברואר 3, 2009

Create a Strongly Typed CRUD UI With ASP.Net MVC RC In this post I will show the tooling enhancements in ASP.Net MVC that lets you build CRUD (List, Details, Create and Edit) actions very fast. With a little amount of code we can create a good starting point for building a data entry application using ASP.Net MVC. 1. Prepare the database. In this sample I am using the Leasing database, that contains 3 tables. Download the schema and create the database. 2. Create a new ASP.Net MVC Application. 3. Create the Model. In this samples...

ASP.Net MVC Release Candidate is Available

ASP.Net MVC Release Candidate is Available Scott Guthrie has just announced that the ASP.NET MVC 1.0 Release Candidate is out. Few of the highlights of this release: Visual Studio Tooling Improvements Add Controller Command Add View Command Adding and Customizing Scaffold Templates Go To Controller / Go To View MSBuild Task for Compiling Views View Refactoring Support View Improvements Views without Code-Behind Files Model Property ...
no comments

ASP.Net MVC RSS Feed Action Result

יום ראשון, ינואר 11, 2009

ASP.Net MVC RSS Feed Action Result ASP.Net MVC Controller Actions usually returns an object that inherits from the ActionResult class. public abstract class ActionResult {   public abstract void ExecuteResult(ControllerContext context); } ASP.Net MVC ships with several Action Results: ContentResult – Simply writes the returned data to the response. EmptyResult – Returns an empty response. HttpUnauthorizedResult – Returns Http 401 code for non authorized access. JsonResult – Serializes the response to Json. RedirectResult – Redirects to another Url. RedirectToRouteResult –...
4 comments

ASP.Net MVC Route Constraints

ASP.Net MVC Route Constraints ASP.Net MVC has a powerful Routing Engine that allows mapping between URL Routes and Controller Actions. The default route that is created with an empty ASP.Net MVC application is: {controller}/{action}/{id} But, according to application requirements, other routes can be used, with parameters not necessarily of type string and int, and may require certain constraints to take place. For example, my previous post about Anatomy of an ASP.Net MVC Application can be found at: http://blogs.microsoft.co.il/blogs/bursteg/archive/2008/12/21/anatomy-of-an-asp-net-mvc-application.aspx, and has a route similar to: /blogs/{blogName}/archive/{year}/{month}/{day}/{*permalink} Each one of the parameters can be checked for validity...