AspNet MVC
71.7K views | +20 today
Follow
AspNet MVC
AspNet MVC, Owin, SignalR, WebApi Currated blog posts
Curated by Marc Chouteau
Your new post is loading...
Your new post is loading...
Scooped by Marc Chouteau
Scoop.it!

Using oData with the NuGet API | John V. Petersen

Using oData with the NuGet API | John V. Petersen | AspNet MVC | Scoop.it

If you have visited the NuGet Gallery, you may have wondered were the RSS feed is. Try as you might, you won’t find it.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Disabling model binding on ASP.NET Web APIs Beta - Carlos' blog - Site Home - MSDN Blogs

Disabling model binding on ASP.NET Web APIs Beta - Carlos' blog - Site Home - MSDN Blogs | AspNet MVC | Scoop.it

As I mentioned in my first post about the ASP.NET Web APIs, people used to WCF services may get a little confused at first with the concept of model binding, which is the process by which the inputs to the actions (formerly known as operations) are retrieved from the request and bound to the parameters of the method which implements that action. Since I’ve already got three questions about how to disable the model binding, I decided to write a post about it.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Simple .NET MVC 3 web application with integrated Facebook OAuth API - CodeProject®

Simple .NET MVC 3 web application with integrated Facebook OAuth API - CodeProject® | AspNet MVC | Scoop.it
Integration of Facebook OAuth API with ASP.NET MVC 3 web site.; Author: Semyuel87***; Updated: 11 Apr 2012; Section: Social Network APIs; Chapter: Platforms, Frameworks & Libraries; Updated: 11 Apr 2012...
more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Contributing to ASP.NET Web Stack Source on CodePlex - Henrik's Blog - Site Home - MSDN Blogs

Contributing to ASP.NET Web Stack Source on CodePlex - Henrik's Blog - Site Home - MSDN Blogs | AspNet MVC | Scoop.it

In the blog Getting Started With ASP.NET Web Stack Source on CodePlex we describe how to set up a read-only clone of the ASP.NET Web Stack source repository. This allows you to sync your tree to the latest changes as soon as they appear but you can’t update the code, fix bugs, or suggest changes. In short, it is read-only.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Switching Orchard Theme Styles and Colors

Switching Orchard Theme Styles and Colors | AspNet MVC | Scoop.it
It is very easy to change the current Orchard Themes's colors, styles, and css with a custom Orchard Module.
more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Performance Considerations for EF5

Performance Considerations for EF5 | AspNet MVC | Scoop.it

Object-Relational Mapping frameworks are a convenient way to provide an abstraction for data access in an object-oriented application. For .NET applications, Microsoft's recommended O/RM is the Entity Framework. With any abstraction though, performance can become a concern.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Creating dynamic breadcrumb in asp.net mvc with mvcsitemap provider - DotNetJalps

Creating dynamic breadcrumb in asp.net mvc with mvcsitemap provider - DotNetJalps | AspNet MVC | Scoop.it

I have done lots breadcrumb kind of things in normal asp.net web forms I was looking for same for asp.net mvc. After searching on internet I have found one great nuget package for mvpsite map provider which can be easily implemented via site map provider. So let’s check how its works. I have create a new MVC 3 web application called breadcrumb and now I am adding a reference of site map provider via nuget package like following.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Internationalisation d'une application ASP.NET MVC 3 Razor

Internationalisation d'une application ASP.NET MVC 3 Razor | AspNet MVC | Scoop.it
Plusieurs articles sont déjà disponibles sur developpez.com ou sur le Web qui traitent de l'internationalisation d'une application Web ASP.NET. Cependant, pour ASP.NET MVC, il en existe très peu, et il n'y a pas de méthode reconnue comme standard pour écrire un site multilingue avec le framework Web de Microsoft.
En me basant donc du meilleur que j'ai pu tirer de quelques articles par-ci par-là et mon expérience, je suis parvenu à une solution qui répondait à mes besoins pour une application ASP.NET MVC Razor. Cette méthode n'est pas standard et peut-être pas la meilleure, mais elle répond pleinement aux exigences de mon projet et aux objectifs que je voulais atteindre.
more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Elegant Code » MVC Portable Areas

Elegant Code » MVC Portable Areas | AspNet MVC | Scoop.it
An MVC Portable Area is really just a dll that contains the views, controllers, scripts, etc… needed to use in a website that is either a Web Forms website or an MVC website. I will cover the MVC website here.
more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Back to Basics: Dynamic Image Generation, ASP.NET Controllers, Routing, IHttpHandlers, and runAllManagedModulesForAllRequests - Scott Hanselman

Back to Basics: Dynamic Image Generation, ASP.NET Controllers, Routing, IHttpHandlers, and runAllManagedModulesForAllRequests - Scott Hanselman | AspNet MVC | Scoop.it

Often folks want to dynamically generate stuff with ASP.NET. The want to dynamically generate PDFs, GIFs, PNGs, CSVs, and lots more. It's easy to do this, but there's a few things to be aware of if you want to keep things as simple and scalable as possible.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Moving from Action Filters to Message Handlers | John V. Petersen

Moving from Action Filters to Message Handlers | John V. Petersen | AspNet MVC | Scoop.it

The updated code for the Web API project can be found here In the last post on Making Your ASP.NET Web API’s Secure, I received some very useful comments. Thanks to Pedro Reys for pointing out my non-use of HttpMessageHandlers. Pedro is absolutely correct in his observation that through the use of handlers, we can detect issues BEFORE processing gets into the controller context.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Web Site Performance and Assembly Versioning – Part 2 Versioning Combined Files Using Subversion - Garry Pilkington

Web Site Performance and Assembly Versioning – Part 2 Versioning Combined Files Using Subversion - Garry Pilkington | AspNet MVC | Scoop.it

Ok so it took a while to post this second part. Many apologies, we had a big roll out of a new platform at work and many things had to get sidelined.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Making your ASP.NET Web API’s secure | John V. Petersen

Making your ASP.NET Web API’s secure | John V. Petersen | AspNet MVC | Scoop.it

Recently, I’ve been exploring the new ASP.NET Web API. So far, I’ve been impressed with how easy it is to build RESTful web interfaces. In the examples I’ve published, none have been secure. In the real world – the world that exists beyond the world of samples and demos – security is a matter than cannot be brushed aside. In this post, I squarely tackle that issue by showing you an approach that locks down and secures your ASP.NET Web API.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Async Mashups using ASP.NET Web API - Henrik's Blog - Site Home - MSDN Blogs

Async Mashups using ASP.NET Web API - Henrik's Blog - Site Home - MSDN Blogs | AspNet MVC | Scoop.it
This blog shows an example of how to build an ASP.NET Web API ApiController that asynchronously talks to multiple other Web APIs in parallel without blocking a thread on the server. Btw, if you have detected a certain theme in these blogs around using Tasks with ASP.NET Web API then you are indeed on to something :)
more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Pager for ASP.NET MVC

I recently implemented a pager in ASP.NET MVC and thought it would be worth sharing. It uses fluent syntax - a technique I've not seen used much in MVC to solve similar problems so I thought I'd throw it out there! At first glance, MVC has a much more limited number of built in features for building user interfaces compared to ASP.NET Web Forms where you get hundreds of ready made controls.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Combining LESS with ASP.NET - SitePoint

Combining LESS with ASP.NET - SitePoint | AspNet MVC | Scoop.it

Everyone knows how cool LESS is. If you’re not, then here’s the elevator speech. LESS extends CSS with dynamic behavious such as variables, mixins, namespaces and functions, it makes CSS easy to work with. Now, it’s important to remember it doesn’t code your CSS for you – it isn’t a magic CSS editor. You still need to know how to work with CSS. It allows you to write CSS once and use it in multiple places. This is something I’ve wanted for a long time and now it’s here.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Comment compiler les vues d’un projet asp.net mvc

Il est possible de compiler toutes les vues d’un projet MVC, c’est plus simple pour retrouver toutes les erreurs de syntaxe possibles avant de les decouvrir en production

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

What’s new in Razor v2

What’s new in Razor v2 | AspNet MVC | Scoop.it

I know, it’s been too long since I blogged, and I won’t even bother saying I’ll try to blog more (though I will) because hopefully you’ll see that for yourself. A lot has happened since I last blogged but the biggest thing is that the ASP.Net Web Stack (which is what we call the out-of-band stuff we ship, like MVC, WebPages, WebAPI and Razor) is now truly an open-source project! We’re hosted on CodePlex (http://aspnetwebstack.codeplex.com/) and if you want more details, check out Scott Hanselman’s awesome post about it.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Comment mettre en place des tests unitaires avec asp.net mvc

Comment mettre en place des tests unitaires avec asp.net mvc | AspNet MVC | Scoop.it

Quand on utilise de l’injection de dépendance avec asp.net mvc il est difficile de reproduire au plus proche le comportement du serveur, mais il est possible de reproduire le comportement d’une requête, pour cela j’utilise le framework Moq http://code.google.com/p/moq/ et NUnit http://www.nunit.org/ et “toujours” une classe de base abstraite TestBase

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

How to 'Git' ASP.NET Web Stack

How to 'Git' ASP.NET Web Stack | AspNet MVC | Scoop.it

Recently Microsoft went Apache 2.0 with large chunks of the ASP.NET Web Framework. Just before that, they introduced Git support on Codeplex. Now it doesn’t seem so co-incidental.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Host ASP.NET Web API In WPF Application » CodeEase.com

Host ASP.NET Web API In WPF Application » CodeEase.com | AspNet MVC | Scoop.it

Now WCF Web API changed to ASP.NET Web API. ASP.NET Web API has the feature of self-host. In Microsoft official site, they also provides two simples ASP.NET Web API self-host samples. However, they are so simple and actually they looks like the “same” one because these 2 simples are Console applications and use very similar content.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

HTML5 drag and drop asynchronous multi file upload with ASP.NET WebAPI | StrathWeb

HTML5 drag and drop asynchronous multi file upload with ASP.NET WebAPI | StrathWeb | AspNet MVC | Scoop.it
Today we are going to build a neat HTML5 file uploader using ASP.NET Web API and jQuery. We are also going to include knockout.js to keep the list of uploaded files updating smoothly in real time.
more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Pager for ASP.NET MVC

Pager for ASP.NET MVC | AspNet MVC | Scoop.it

I recently implemented a pager in ASP.NET MVC and thought it would be worth sharing. At first glance, MVC has a much more limited number of built in features for building UIs compared to ASP.NET Web Forms where you get hundreds of ready made controls.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Html5 Offline Cache Integration with ASP.NET MVC Bundle - Kazi Manzur Rashid

Html5 Offline Cache Integration with ASP.NET MVC Bundle - Kazi Manzur Rashid | AspNet MVC | Scoop.it

One of the lesser known and misunderstood feature of Html5 is offline cache, with carefully crafted it can make your application blazingly fast. In this post, I will show you how can you implement offline cache with the new asp.net asset bundle, the same technique can be also applied to other asset managers like combres or cassette. Currently the browser support of offline cache is aligned towards mobile platform comparing to desktop(except IE all other has this support) but the nice thing of offline cache is the browser that does not support it will simply ignore it, on the other hand the mobile platform which is dominated by the mobile web-kit has first class support of it, so I will use the default jQuery Mobile project the comes with the ASP.NET MVC 4.

more...
No comment yet.
Scooped by Marc Chouteau
Scoop.it!

Code Reuse with External Templates and Knockout.js -- Visual Studio Magazine

Code Reuse with External Templates and Knockout.js -- Visual Studio Magazine | AspNet MVC | Scoop.it
External templates allow you to reduce the code in your main HTML page, and reuse it in multiple places.
more...
No comment yet.